diff --git a/dist/VueDocumentEditor.common.js b/dist/VueDocumentEditor.common.js index 435fcf8..aebe7af 100644 --- a/dist/VueDocumentEditor.common.js +++ b/dist/VueDocumentEditor.common.js @@ -1618,9 +1618,9 @@ if (typeof window !== 'undefined') { ;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue"); -;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true +;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true -const _withScopeId = n => (_pushScopeId("data-v-604af7f9"), n = n(), _popScopeId(), n); +const _withScopeId = n => (_pushScopeId("data-v-ae3eff30"), n = n(), _popScopeId(), n); const _hoisted_1 = { class: "editor", ref: "editor" @@ -1648,11 +1648,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) { contenteditable: $props.editable, style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)($options.page_style(-1)), onInput: _cache[0] || (_cache[0] = (...args) => $options.input && $options.input(...args)), - onKeyup: _cache[1] || (_cache[1] = (...args) => $options.process_current_text_style && $options.process_current_text_style(...args)), - onKeydown: _cache[2] || (_cache[2] = (...args) => $options.keydown && $options.keydown(...args)) + onKeyup: _cache[1] || (_cache[1] = (...args) => $options.process_current_text_style && $options.process_current_text_style(...args)) }, null, 44, _hoisted_4)], 512); } -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js var es_array_push = __webpack_require__(7658); @@ -1904,7 +1903,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, // Initialize text pages for (const page of this.pages) { // set raw HTML content - if (!this.content[page.content_idx]) page.elt.innerHTML = "

";else if (typeof this.content[page.content_idx] == "string") page.elt.innerHTML = "
" + this.content[page.content_idx] + "
";else if (page.template) { + if (!this.content[page.content_idx]) page.elt.innerHTML = "

"; // ensure empty pages are filled with at least

, otherwise editing fails on Chrome + else if (typeof this.content[page.content_idx] == "string") page.elt.innerHTML = "
" + this.content[page.content_idx] + "
";else if (page.template) { const componentElement = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.defineCustomElement)(page.template); customElements.define('component-' + page.uuid, componentElement); page.elt.appendChild(new componentElement({ @@ -1944,6 +1944,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, // If all the document was wiped out, start a new empty document if (!this.pages.length) { + this.fit_in_progress = false; // clear "fit in progress" flag this.$emit("update:content", [""]); return; } @@ -2008,6 +2009,11 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, this.update_pages_elts(); } + // Normalize pages HTML content + for (const page of this.pages) { + if (!page.template) page.elt.normalize(); // normalize HTML (merge text nodes) - don't touch template pages or it can break Vue + } + // Restore selection and remove empty elements if (document.body.contains(start_marker)) { const range = document.createRange(); @@ -2019,9 +2025,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, if (start_marker.parentElement) start_marker.parentElement.removeChild(start_marker); if (end_marker.parentElement) end_marker.parentElement.removeChild(end_marker); - // Normalize and store current page HTML content + // Store pages HTML content for (const page of this.pages) { - if (!page.template) page.elt.normalize(); // normalize HTML (merge text nodes) - don't touch template pages or it can break Vue page.prev_innerHTML = page.elt.innerHTML; // store current pages innerHTML for next call } @@ -2036,15 +2041,6 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, if (e.inputType != "insertText") this.process_current_text_style(); // update current style if it has changed }, - // Keydown event - keydown(e) { - // if the document is empty, prevent removing the first page container with a backspace input (keycode 8) - // which is now the default behavior for web browsers - if (e.keyCode == 8 && this.content.length <= 1 && typeof this.content[0] == "string") { - const text = this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi, ''); - if (!text) e.preventDefault(); - } - }, // Emit content change to parent emit_new_content() { let removed_pages_flag = false; // flag to call reset_content if some pages were removed by the user @@ -2067,8 +2063,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, while (elt.children.length == 1 && elt.firstChild.tagName && elt.firstChild.tagName.toLowerCase() == "div" && !elt.firstChild.getAttribute("style")) { elt = elt.firstChild; } - return elt.innerHTML; - }).join('') || false; + return elt.innerHTML == "
" || elt.innerHTML == "" ? "" : elt.innerHTML; // treat a page containing a single
or an empty comment as an empty content + }).join(''); } // if item is a component, just clone the item else return { @@ -2077,7 +2073,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, ...item.props } }; - }).filter(item => item != false); // remove empty items + }).filter(item => item !== false); // remove empty items // avoid calling reset_content after the parent content is updated (infinite loop) if (!removed_pages_flag) this.prevent_next_content_update_from_parent = true; @@ -2335,15 +2331,15 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, }); ;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=script&lang=js -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js var exportHelper = __webpack_require__(3744); @@ -2356,7 +2352,7 @@ var exportHelper = __webpack_require__(3744); -const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-604af7f9"]]) +const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-ae3eff30"]]) /* harmony default export */ var DocumentEditor = (__exports__); ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js diff --git a/dist/VueDocumentEditor.common.js.map b/dist/VueDocumentEditor.common.js.map index 2c1f992..765615f 100644 --- a/dist/VueDocumentEditor.common.js.map +++ b/dist/VueDocumentEditor.common.js.map @@ -1 +1 @@ -{"version":3,"file":"VueDocumentEditor.common.js","mappings":";;;;;;AAAA,iBAAiB,mBAAO,CAAC,GAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,eAAe,mBAAO,CAAC,GAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/Ba;AACb,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mBAAO,CAAC,IAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AAC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;MAAE;IACzC,CAAC;IACDjC,cAAc,EAAE;MACd4J,OAAMA,CAAA,EAAK;QACT,IAAI,CAAChJ,sBAAsB,CAAC,CAAC;QAC7B,IAAI,CAACC,aAAa,CAAC,CAAC;MACtB;IACF,CAAC;IACDZ,YAAY,EAAE;MACZ2J,OAAMA,CAAA,EAAK;QACT,IAAI,CAAC/I,aAAa,CAAC,CAAC;MACtB;IACF,CAAC;IACDX,IAAI,EAAE;MACJ0J,OAAMA,CAAA,EAAK;QAAE,IAAI,CAAC3H,iBAAiB,CAAC,CAAC;MAAE;IACzC;EACF;AAEF,CAAC;;AGzjB0P;;ACA3P;;;;;AEAA;;;;;;;AEAuF;AACtB;AACL;;AAE5D,CAAyE;AACY;;AAEiC;AACtH,iCAAiC,+BAAe,CAAC,qCAAM,aAAa,MAAM;;AAE1E,mDAAe;;ACVS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://vue-document-editor/./node_modules/core-js/internals/a-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/an-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-includes.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-set-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/classof-raw.js","webpack://vue-document-editor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-global-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/descriptors.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-all.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-create-element.js","webpack://vue-document-editor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue-document-editor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/export.js","webpack://vue-document-editor/./node_modules/core-js/internals/fails.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-bind-native.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-call.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-name.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-method.js","webpack://vue-document-editor/./node_modules/core-js/internals/global.js","webpack://vue-document-editor/./node_modules/core-js/internals/has-own-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/hidden-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue-document-editor/./node_modules/core-js/internals/indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/inspect-source.js","webpack://vue-document-editor/./node_modules/core-js/internals/internal-state.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-array.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-forced.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-pure.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-symbol.js","webpack://vue-document-editor/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue-document-editor/./node_modules/core-js/internals/make-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/math-trunc.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-define-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue-document-editor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/own-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-store.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared.js","webpack://vue-document-editor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-property-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/try-to-string.js","webpack://vue-document-editor/./node_modules/core-js/internals/uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue-document-editor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue-document-editor/./node_modules/core-js/modules/es.array.push.js","webpack://vue-document-editor/./node_modules/vue-loader/dist/exportHelper.js","webpack://vue-document-editor/webpack/bootstrap","webpack://vue-document-editor/webpack/runtime/define property getters","webpack://vue-document-editor/webpack/runtime/global","webpack://vue-document-editor/webpack/runtime/hasOwnProperty shorthand","webpack://vue-document-editor/webpack/runtime/publicPath","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-document-editor/external commonjs2 {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?f0f6","webpack://vue-document-editor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?6dba","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?5265","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?b0b6","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?dcac","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?25b9","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var __WEBPACK_NAMESPACE_OBJECT__ = require(\"vue\");","\n\n\n\n\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true\"","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-604af7f9\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","overlay","_hoisted_2","_Fragment","_renderList","$data","pages","page","page_idx","key","uuid","elt","pages_overlay_refs","innerHTML","length","style","_normalizeStyle","$options","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","input","onKeyup","process_current_text_style","onKeydown","keydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","defineCustomElement","props","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","customElements","define","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","css_to_string","css","Object","entries","k","v","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"VueDocumentEditor.common.js","mappings":";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CAAC7H,mBAAmB,CAAC,CAAC;IAC5B;EACF,CAAC;EAED;EACA6I,KAAK,EAAE;IACLjK,OAAO,EAAE;MACPkK,OAAMA,CAAA,EAAK;QACT;QACA,IAAG,IAAI,CAAClJ,uCAAuC,EAAE;UAC/C,IAAI,CAACA,uCAAsC,GAAI,KAAK;QACtD,OAAO,IAAI,CAACM,aAAa,CAAC,CAAC;MAC7B,CAAC;MACD6I,IAAI,EAAE;IACR,CAAC;IACD/J,OAAO,EAAE;MACP8J,OAAMA,CAAA,EAAK;QAAE,IAAI,CAACxH,iBAAiB,CAAC,CAAC;MAAE;IACzC,CAAC;IACDjC,cAAc,EAAE;MACdyJ,OAAMA,CAAA,EAAK;QACT,IAAI,CAAC7I,sBAAsB,CAAC,CAAC;QAC7B,IAAI,CAACC,aAAa,CAAC,CAAC;MACtB;IACF,CAAC;IACDZ,YAAY,EAAE;MACZwJ,OAAMA,CAAA,EAAK;QACT,IAAI,CAAC5I,aAAa,CAAC,CAAC;MACtB;IACF,CAAC;IACDX,IAAI,EAAE;MACJuJ,OAAMA,CAAA,EAAK;QAAE,IAAI,CAACxH,iBAAiB,CAAC,CAAC;MAAE;IACzC;EACF;AAEF,CAAC;;AGnjB0P;;ACA3P;;;;;AEAA;;;;;;;AEAuF;AACtB;AACL;;AAE5D,CAAyE;AACY;;AAEiC;AACtH,iCAAiC,+BAAe,CAAC,qCAAM,aAAa,MAAM;;AAE1E,mDAAe;;ACVS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://vue-document-editor/./node_modules/core-js/internals/a-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/an-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-includes.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-set-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/classof-raw.js","webpack://vue-document-editor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-global-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/descriptors.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-all.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-create-element.js","webpack://vue-document-editor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue-document-editor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/export.js","webpack://vue-document-editor/./node_modules/core-js/internals/fails.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-bind-native.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-call.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-name.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-method.js","webpack://vue-document-editor/./node_modules/core-js/internals/global.js","webpack://vue-document-editor/./node_modules/core-js/internals/has-own-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/hidden-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue-document-editor/./node_modules/core-js/internals/indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/inspect-source.js","webpack://vue-document-editor/./node_modules/core-js/internals/internal-state.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-array.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-forced.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-pure.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-symbol.js","webpack://vue-document-editor/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue-document-editor/./node_modules/core-js/internals/make-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/math-trunc.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-define-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue-document-editor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/own-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-store.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared.js","webpack://vue-document-editor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-property-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/try-to-string.js","webpack://vue-document-editor/./node_modules/core-js/internals/uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue-document-editor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue-document-editor/./node_modules/core-js/modules/es.array.push.js","webpack://vue-document-editor/./node_modules/vue-loader/dist/exportHelper.js","webpack://vue-document-editor/webpack/bootstrap","webpack://vue-document-editor/webpack/runtime/define property getters","webpack://vue-document-editor/webpack/runtime/global","webpack://vue-document-editor/webpack/runtime/hasOwnProperty shorthand","webpack://vue-document-editor/webpack/runtime/publicPath","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-document-editor/external commonjs2 {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?8b2a","webpack://vue-document-editor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?6dba","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?467c","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?68cf","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?ef4b","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?7ee5","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://vue-document-editor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var __WEBPACK_NAMESPACE_OBJECT__ = require(\"vue\");","\n\n\n\n\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true\"","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ae3eff30\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","overlay","_hoisted_2","_Fragment","_renderList","$data","pages","page","page_idx","key","uuid","elt","pages_overlay_refs","innerHTML","length","style","_normalizeStyle","$options","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","input","onKeyup","process_current_text_style","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","defineCustomElement","props","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","customElements","define","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","css_to_string","css","Object","entries","k","v","replace","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/VueDocumentEditor.css b/dist/VueDocumentEditor.css index 0dfc177..b781a7f 100644 --- a/dist/VueDocumentEditor.css +++ b/dist/VueDocumentEditor.css @@ -1 +1 @@ -body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-604af7f9]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-604af7f9] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-604af7f9] ::-webkit-scrollbar-corner,.editor[data-v-604af7f9] ::-webkit-scrollbar-track{display:none}.editor[data-v-604af7f9] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-604af7f9] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-604af7f9]{display:none}.editor>.content[data-v-604af7f9]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-604af7f9]>.page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-604af7f9],.editor>.content[data-v-604af7f9] [contenteditable]{cursor:text}.editor>.content[data-v-604af7f9] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-604af7f9]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-604af7f9]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1} \ No newline at end of file +body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-ae3eff30]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-ae3eff30] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-ae3eff30] ::-webkit-scrollbar-corner,.editor[data-v-ae3eff30] ::-webkit-scrollbar-track{display:none}.editor[data-v-ae3eff30] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-ae3eff30] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-ae3eff30]{display:none}.editor>.content[data-v-ae3eff30]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-ae3eff30]>.page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-ae3eff30],.editor>.content[data-v-ae3eff30] [contenteditable]{cursor:text}.editor>.content[data-v-ae3eff30] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-ae3eff30]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-ae3eff30]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1} \ No newline at end of file diff --git a/dist/VueDocumentEditor.umd.js b/dist/VueDocumentEditor.umd.js index 7cd60e8..70c8e46 100644 --- a/dist/VueDocumentEditor.umd.js +++ b/dist/VueDocumentEditor.umd.js @@ -1636,9 +1636,9 @@ if (typeof window !== 'undefined') { // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203); -;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true +;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true -const _withScopeId = n => (_pushScopeId("data-v-604af7f9"), n = n(), _popScopeId(), n); +const _withScopeId = n => (_pushScopeId("data-v-ae3eff30"), n = n(), _popScopeId(), n); const _hoisted_1 = { class: "editor", ref: "editor" @@ -1666,11 +1666,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) { contenteditable: $props.editable, style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($options.page_style(-1)), onInput: _cache[0] || (_cache[0] = (...args) => $options.input && $options.input(...args)), - onKeyup: _cache[1] || (_cache[1] = (...args) => $options.process_current_text_style && $options.process_current_text_style(...args)), - onKeydown: _cache[2] || (_cache[2] = (...args) => $options.keydown && $options.keydown(...args)) + onKeyup: _cache[1] || (_cache[1] = (...args) => $options.process_current_text_style && $options.process_current_text_style(...args)) }, null, 44, _hoisted_4)], 512); } -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js var es_array_push = __webpack_require__(7658); @@ -1922,7 +1921,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, // Initialize text pages for (const page of this.pages) { // set raw HTML content - if (!this.content[page.content_idx]) page.elt.innerHTML = "

";else if (typeof this.content[page.content_idx] == "string") page.elt.innerHTML = "
" + this.content[page.content_idx] + "
";else if (page.template) { + if (!this.content[page.content_idx]) page.elt.innerHTML = "

"; // ensure empty pages are filled with at least

, otherwise editing fails on Chrome + else if (typeof this.content[page.content_idx] == "string") page.elt.innerHTML = "
" + this.content[page.content_idx] + "
";else if (page.template) { const componentElement = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineCustomElement)(page.template); customElements.define('component-' + page.uuid, componentElement); page.elt.appendChild(new componentElement({ @@ -1962,6 +1962,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, // If all the document was wiped out, start a new empty document if (!this.pages.length) { + this.fit_in_progress = false; // clear "fit in progress" flag this.$emit("update:content", [""]); return; } @@ -2026,6 +2027,11 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, this.update_pages_elts(); } + // Normalize pages HTML content + for (const page of this.pages) { + if (!page.template) page.elt.normalize(); // normalize HTML (merge text nodes) - don't touch template pages or it can break Vue + } + // Restore selection and remove empty elements if (document.body.contains(start_marker)) { const range = document.createRange(); @@ -2037,9 +2043,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, if (start_marker.parentElement) start_marker.parentElement.removeChild(start_marker); if (end_marker.parentElement) end_marker.parentElement.removeChild(end_marker); - // Normalize and store current page HTML content + // Store pages HTML content for (const page of this.pages) { - if (!page.template) page.elt.normalize(); // normalize HTML (merge text nodes) - don't touch template pages or it can break Vue page.prev_innerHTML = page.elt.innerHTML; // store current pages innerHTML for next call } @@ -2054,15 +2059,6 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, if (e.inputType != "insertText") this.process_current_text_style(); // update current style if it has changed }, - // Keydown event - keydown(e) { - // if the document is empty, prevent removing the first page container with a backspace input (keycode 8) - // which is now the default behavior for web browsers - if (e.keyCode == 8 && this.content.length <= 1 && typeof this.content[0] == "string") { - const text = this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi, ''); - if (!text) e.preventDefault(); - } - }, // Emit content change to parent emit_new_content() { let removed_pages_flag = false; // flag to call reset_content if some pages were removed by the user @@ -2085,8 +2081,8 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, while (elt.children.length == 1 && elt.firstChild.tagName && elt.firstChild.tagName.toLowerCase() == "div" && !elt.firstChild.getAttribute("style")) { elt = elt.firstChild; } - return elt.innerHTML; - }).join('') || false; + return elt.innerHTML == "
" || elt.innerHTML == "" ? "" : elt.innerHTML; // treat a page containing a single
or an empty comment as an empty content + }).join(''); } // if item is a component, just clone the item else return { @@ -2095,7 +2091,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, ...item.props } }; - }).filter(item => item != false); // remove empty items + }).filter(item => item !== false); // remove empty items // avoid calling reset_content after the parent content is updated (infinite loop) if (!removed_pages_flag) this.prevent_next_content_update_from_parent = true; @@ -2353,15 +2349,15 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, }); ;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=script&lang=js -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css -;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css +;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js var exportHelper = __webpack_require__(3744); @@ -2374,7 +2370,7 @@ var exportHelper = __webpack_require__(3744); -const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-604af7f9"]]) +const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-ae3eff30"]]) /* harmony default export */ var DocumentEditor = (__exports__); ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js diff --git a/dist/VueDocumentEditor.umd.js.map b/dist/VueDocumentEditor.umd.js.map index b9d4cf8..5288ddc 100644 --- a/dist/VueDocumentEditor.umd.js.map +++ b/dist/VueDocumentEditor.umd.js.map @@ -1 +1 @@ -{"version":3,"file":"VueDocumentEditor.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;ACVA,iBAAiB,mBAAO,CAAC,GAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,eAAe,mBAAO,CAAC,GAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/Ba;AACb,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mBAAO,CAAC,IAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;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,CAAChJ,sBAAsB,CAAC,CAAC;QAC7B,IAAI,CAACC,aAAa,CAAC,CAAC;MACtB;IACF,CAAC;IACDZ,YAAY,EAAE;MACZ2J,OAAMA,CAAA,EAAK;QACT,IAAI,CAAC/I,aAAa,CAAC,CAAC;MACtB;IACF,CAAC;IACDX,IAAI,EAAE;MACJ0J,OAAMA,CAAA,EAAK;QAAE,IAAI,CAAC3H,iBAAiB,CAAC,CAAC;MAAE;IACzC;EACF;AAEF,CAAC;;AGzjB0P;;ACA3P;;;;;AEAA;;;;;;;AEAuF;AACtB;AACL;;AAE5D,CAAyE;AACY;;AAEiC;AACtH,iCAAiC,+BAAe,CAAC,qCAAM,aAAa,MAAM;;AAE1E,mDAAe;;ACVS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/./node_modules/vue-loader/dist/exportHelper.js","webpack://VueDocumentEditor/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?03c6","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0586","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?5741","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?176e","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?b7eb","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?8a7d","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__7203__) {\nreturn ","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\n\n\n\n\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true\"","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-604af7f9\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","overlay","_hoisted_2","_Fragment","_renderList","$data","pages","page","page_idx","key","uuid","elt","pages_overlay_refs","innerHTML","length","style","_normalizeStyle","$options","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","input","onKeyup","process_current_text_style","onKeydown","keydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","defineCustomElement","props","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","customElements","define","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","css_to_string","css","Object","entries","k","v","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"VueDocumentEditor.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;ACVA,iBAAiB,mBAAO,CAAC,GAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA4B;;AAEtD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,eAAe,mBAAO,CAAC,GAAwB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,IAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/Ba;AACb,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mBAAO,CAAC,IAAuB;;AAE7C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,iBAAiB;AAC3D,IAAI;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;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iB,CAAC,CAAC;MAAE;IACzC;EACF;AAEF,CAAC;;AGnjB0P;;ACA3P;;;;;AEAA;;;;;;;AEAuF;AACtB;AACL;;AAE5D,CAAyE;AACY;;AAEiC;AACtH,iCAAiC,+BAAe,CAAC,qCAAM,aAAa,MAAM;;AAE1E,mDAAe;;ACVS;AACA;AACxB,8CAAe,cAAG;AACI","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/./node_modules/vue-loader/dist/exportHelper.js","webpack://VueDocumentEditor/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?fe9a","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0586","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?e700","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?9cfc","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?b250","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?a112","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__7203__) {\nreturn ","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\n\n\n\n\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true\"","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=script&lang=js\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ae3eff30\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","overlay","_hoisted_2","_Fragment","_renderList","$data","pages","page","page_idx","key","uuid","elt","pages_overlay_refs","innerHTML","length","style","_normalizeStyle","$options","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","input","onKeyup","process_current_text_style","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","defineCustomElement","props","content","type","Array","required","display","String","default","Boolean","Function","page_format_mm","page_margins","zoom","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","customElements","define","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","nb_pages_x","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","css_to_string","css","Object","entries","k","v","replace","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/VueDocumentEditor.umd.min.js b/dist/VueDocumentEditor.umd.min.js index 7f73994..5511ab1 100644 --- a/dist/VueDocumentEditor.umd.min.js +++ b/dist/VueDocumentEditor.umd.min.js @@ -1,2 +1,2 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueDocumentEditor"]=e(require("vue")):t["VueDocumentEditor"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(){var e={9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),u=i(c),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,l=0;ln)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),s=n(8113),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),a=n(3072),c=n(9920),u=n(4705);t.exports=function(t,e){var n,l,p,f,d,h,g=t.target,m=t.global,_=t.stat;if(l=m?r:_?r[g]||a(g,{}):(r[g]||{}).prototype,l)for(p in e){if(d=e[p],t.dontCallGetSet?(h=o(l,p),f=h&&h.value):f=l[p],n=u(m?p:g+(_?".":"#")+p,t.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),s(l,p,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,a=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(4811),a=n(7854),c=n(111),u=n(8880),l=n(2597),p=n(5465),f=n(6200),d=n(3501),h="Object already initialized",g=a.TypeError,m=a.WeakMap,_=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(s||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,r=function(t,e){if(v.has(t))throw g(h);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var b=f("state");d[b]=!0,r=function(t,e){if(l(t,b))throw g(h);return e.facade=t,u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:_,getterFor:y}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),a=n(9781),c=n(6530).CONFIGURABLE,u=n(2788),l=n(9909),p=l.enforce,f=l.get,d=String,h=Object.defineProperty,g=r("".slice),m=r("".replace),_=r([].join),y=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),v=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===g(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&s(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=p(t);return s(r,"source")||(r.source=_(v,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&f(this).source||u(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),a=n(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",d="writable";e.f=r?i?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),a=n(5656),c=n(4948),u=n(2597),l=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=a(t),e=c(e),l)try{return p(t,e)}catch(n){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(a,n)&&o(r,n)&&c(l,n);while(e.length>u)o(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&o(n=t.toString)&&!i(a=r(n,t)))return a;if(o(n=t.valueOf)&&!i(a=r(n,t)))return a;if("string"!==e&&o(n=t.toString)&&!i(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),a=n(9670),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=s.f;return n?c(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});t.exports=s},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293),i=n(7854),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),a=n(2140),c=n(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),a=n(6293),c=n(3307),u=r.Symbol,l=o("wks"),p=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),l[t]}},7658:function(t,e,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),a=n(7207),c=n(7293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=u||!l();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),n=i(e),r=arguments.length;a(n+r);for(var c=0;c{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n}},7203:function(e){"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t].call(i.exports,i,i.exports,r),i.exports}!function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.p=""}();var o={};return function(){"use strict";if(r.d(o,{default:function(){return _}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}var n=r(7203);const i={class:"editor",ref:"editor"},s={key:0,class:"overlays",ref:"overlays"},a=["innerHTML"],c=["contenteditable"];function u(t,e,r,o,u,l){return(0,n.openBlock)(),(0,n.createElementBlock)("div",i,[r.overlay?((0,n.openBlock)(),(0,n.createElementBlock)("div",s,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(u.pages,((t,e)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"overlay",key:t.uuid+"-overlay",ref_for:!0,ref:e=>u.pages_overlay_refs[t.uuid]=e,innerHTML:r.overlay(e+1,u.pages.length),style:(0,n.normalizeStyle)(l.page_style(e,!1))},null,12,a)))),128))],512)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:"content",ref:"content",contenteditable:r.editable,style:(0,n.normalizeStyle)(l.page_style(-1)),onInput:e[0]||(e[0]=(...t)=>l.input&&l.input(...t)),onKeyup:e[1]||(e[1]=(...t)=>l.process_current_text_style&&l.process_current_text_style(...t)),onKeydown:e[2]||(e[2]=(...t)=>l.keydown&&l.keydown(...t))},null,44,c)],512)}r(7658);function l(t,e){if(!t||!e)return!1;const n=t.childNodes;for(let r=0;r{const n=l(t,e.s_tag);n&&e.childNodes.length?r(n,e.firstChild):(t.append(e),t.normalize())};r(t,n)}}var d={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_overlay_refs:{},pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1,printing_mode:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeUpdate(){this.pages_overlay_refs=[]},beforeUnmount(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const t=document.createElement("style");return document.head.appendChild(t),t}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),reset_content(){if(this.reset_in_progress)return;if(this.reset_in_progress=!0,!this.content.length)return this.reset_in_progress=!1,void this.$emit("update:content",[""]);this.pages=this.content.map(((t,e)=>({uuid:this.new_uuid(),content_idx:e,template:t.template,props:t.props}))),this.update_pages_elts();const t=this.pages[0].elt;this.$refs.content.contains(t)||this.$refs.content.appendChild(t),this.pages_height=t.clientHeight+1;for(const e of this.pages){if(this.content[e.content_idx]){if("string"==typeof this.content[e.content_idx])e.elt.innerHTML="
"+this.content[e.content_idx]+"
";else if(e.template){const t=(0,n.defineCustomElement)(e.template);customElements.define("component-"+e.uuid,t),e.elt.appendChild(new t({modelValue:e.props}))}}else e.elt.innerHTML="

";this.$refs.content.contains(e.elt)||this.$refs.content.appendChild(e.elt)}this.fit_content_over_pages(),this.$refs.content.blur(),this.reset_in_progress=!1},fit_content_over_pages(){if(!this.pages_height)return;if(this.fit_in_progress)return;this.fit_in_progress=!0;for(let o=this.pages.length-1;o>=0;o--){const t=this.pages[o];t.elt&&document.body.contains(t.elt)||this.pages.splice(o,1)}if(!this.pages.length)return void this.$emit("update:content",[""]);const t=window.getSelection(),e=document.createElement("null"),n=document.createElement("null");if(t&&t.rangeCount&&t.anchorNode&&(!t.anchorNode.dataset||null==t.anchorNode.dataset.isVDEPage)){const r=t.getRangeAt(0);r.insertNode(e),r.collapse(!1),r.insertNode(n)}let r=!1;for(let o=0;o!n.childNodes.length||t.elt.clientHeight>this.pages_height)),t.elt.clientHeight>this.pages_height&&(e&&e.content_idx==t.content_idx||(e={uuid:this.new_uuid(),content_idx:t.content_idx},this.pages.splice(o+1,0,e),this.update_pages_elts(),n=e.elt),p(t.elt,n,(()=>t.elt.clientHeight<=this.pages_height),this.do_not_break)),n&&e.content_idx==t.content_idx&&!n.childNodes.length&&this.pages.splice(o+1,1)),this.update_pages_elts()}if(document.body.contains(e)){const r=document.createRange();r.setStart(e,0),document.body.contains(n)&&r.setEnd(n,0),t.removeAllRanges(),t.addRange(r)}e.parentElement&&e.parentElement.removeChild(e),n.parentElement&&n.parentElement.removeChild(n);for(const o of this.pages)o.template||o.elt.normalize(),o.prev_innerHTML=o.elt.innerHTML;this.fit_in_progress=!1},input(t){t&&(this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=t.inputType&&this.process_current_text_style())},keydown(t){if(8==t.keyCode&&this.content.length<=1&&"string"==typeof this.content[0]){const e=this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"");e||t.preventDefault()}},emit_new_content(){let t=!1;const e=this.content.map(((e,n)=>{const r=this.pages.filter((t=>t.content_idx==n));return r.length?"string"==typeof e?r.map((t=>{let e=t.elt;while(1==e.children.length&&e.firstChild.tagName&&"div"==e.firstChild.tagName.toLowerCase()&&!e.firstChild.getAttribute("style"))e=e.firstChild;return e.innerHTML})).join("")||!1:{template:e.template,props:{...e.props}}:(t=!0,!1)})).filter((t=>0!=t));t||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",e)},process_current_text_style(){let t=!1;const e=window.getSelection();if(e.focusNode){const n=e.focusNode.tagName?e.focusNode:e.focusNode.parentElement;if(n&&n.isContentEditable){t=window.getComputedStyle(n),t.textDecorationStack=[],t.headerLevel=0,t.isList=!1;let e=n;while(e){const n=window.getComputedStyle(e);if(t.textDecorationStack.push(n.textDecoration),"list-item"==n.display&&(t.isList=!0),!t.headerLevel)for(let r=1;r<=6;r++)if(e.tagName.toUpperCase()=="H"+r){t.headerLevel=r;break}e=e.parentElement}}}this.current_text_style=t},page_style(t,e){const n=.2645833333333,r=this.page_format_mm[0]/n,o=10,i=(o+this.page_format_mm[0])*this.zoom/n,s=20,a=this.editor_width-2*s;let c,u,l,p,f,d,h,g=1;if("horizontal"==this.display)a>this.pages.length*i?(g=Math.floor(a/i),p=a/(2*g)*(1+2*t)-r/2):(g=this.pages.length,p=i*t+r/2*(this.zoom-1)),f=0,d=this.zoom*(this.page_format_mm[0]*g+(g-1)*o),h=this.page_format_mm[1]*this.zoom;else{g=Math.floor(a/i),(g<1||"vertical"==this.display)&&(g=1),c=t%g,u=a/(2*g)*(1+2*c)-r/2,l=Math.max(0,(r*this.zoom-a)/2),p=u+l,f=(this.page_format_mm[1]+o)*this.zoom*Math.floor(t/g);const e=Math.ceil(this.pages.length/g);d=this.zoom*(this.page_format_mm[0]*g+(g-1)*o),h=this.zoom*(this.page_format_mm[1]*e+(e-1)*o)}if(t>=0){const n={position:"absolute",left:"calc("+p+"px + "+s+"px)",top:"calc("+f+"mm + "+s+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(t+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return n[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",n}return{width:"calc("+d+"mm + "+2*s+"px)",height:"calc("+h+"mm + "+2*s+"px)"}},css_to_string:t=>Object.entries(t).map((([t,e])=>t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+":"+e)).join(";"),update_pages_elts(){const t=[...this.$refs.content.children].filter((t=>!this.pages.find((e=>e.elt==t))));for(const e of t)e.remove();for(const[e,n]of this.pages.entries()){if(!n.elt){n.elt=document.createElement("div"),n.elt.className="page",n.elt.dataset.isVDEPage="";const t=this.pages[e+1];this.$refs.content.insertBefore(n.elt,t?t.elt:null)}n.elt.dataset.contentIdx=n.content_idx,this.printing_mode||(n.elt.style=Object.entries(this.page_style(e,!n.template)).map((([t,e])=>t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+":"+e)).join(";")),n.elt.contentEditable=!(!this.editable||n.template)}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.update_pages_elts(),this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this.printing_mode=!0,this._page_body=document.body;const t=document.createElement("body");t.style.margin="0",t.style.padding="0",t.style.background="white",t.style.font=window.getComputedStyle(this.$refs.editor).font,t.className=this.$refs.editor.className;for(const[n,r]of this.pages.entries()){r.elt.style="",r.elt.style.position="relative",r.elt.style.padding="function"==typeof this.page_margins?this.page_margins(n+1,this.pages.length):this.page_margins,r.elt.style.breakBefore=n?"page":"auto",r.elt.style.width="calc("+this.page_format_mm[0]+"mm - 2px)",r.elt.style.height="calc("+this.page_format_mm[1]+"mm - 2px)",r.elt.style.boxSizing="border-box",r.elt.style.overflow="hidden";const e=this.pages_overlay_refs[r.uuid];e&&(e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.transform="none",e.style.padding="0",e.style.overflow="hidden",r.elt.prepend(e)),t.append(r.elt)}const e=document.createElement("div");e.className="hidden-print",e.style.position="fixed",e.style.left="0",e.style.top="0",e.style.right="0",e.style.bottom="0",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.background="rgba(255, 255, 255, 0.95)",e.style.cursor="pointer",e.innerHTML='',e.addEventListener("click",this.after_print),t.append(e),document.body=t},after_print(){this.printing_mode=!1;for(const[t,e]of this.pages.entries()){e.elt.style=this.css_to_string(this.page_style(t,!e.template)),this.$refs.content.append(e.elt);const n=this.pages_overlay_refs[e.uuid];n&&(n.style=this.css_to_string(this.page_style(t,!1)),this.$refs.overlays.append(n))}document.body=this._page_body,this.update_editor_width()}},watch:{content:{handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:this.reset_content()},deep:!0},display:{handler(){this.update_pages_elts()}},page_format_mm:{handler(){this.update_css_media_style(),this.reset_content()}},page_margins:{handler(){this.reset_content()}},zoom:{handler(){this.update_pages_elts()}}}},h=r(3744);const g=(0,h.Z)(d,[["render",u],["__scopeId","data-v-604af7f9"]]);var m=g,_=m}(),o=o["default"],o}()})); +(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueDocumentEditor"]=e(require("vue")):t["VueDocumentEditor"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(){var e={9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),u=i(c),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,l=0;ln)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),s=n(8113),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),a=n(3072),c=n(9920),u=n(4705);t.exports=function(t,e){var n,l,p,f,d,h,g=t.target,m=t.global,_=t.stat;if(l=m?r:_?r[g]||a(g,{}):(r[g]||{}).prototype,l)for(p in e){if(d=e[p],t.dontCallGetSet?(h=o(l,p),f=h&&h.value):f=l[p],n=u(m?p:g+(_?".":"#")+p,t.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),s(l,p,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,a=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(4811),a=n(7854),c=n(111),u=n(8880),l=n(2597),p=n(5465),f=n(6200),d=n(3501),h="Object already initialized",g=a.TypeError,m=a.WeakMap,_=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(s||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,r=function(t,e){if(v.has(t))throw g(h);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var b=f("state");d[b]=!0,r=function(t,e){if(l(t,b))throw g(h);return e.facade=t,u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:r,get:o,has:i,enforce:_,getterFor:y}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),a=n(9781),c=n(6530).CONFIGURABLE,u=n(2788),l=n(9909),p=l.enforce,f=l.get,d=String,h=Object.defineProperty,g=r("".slice),m=r("".replace),_=r([].join),y=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),v=String(String).split("String"),b=t.exports=function(t,e,n){"Symbol("===g(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&s(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=p(t);return s(r,"source")||(r.source=_(v,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return i(this)&&f(this).source||u(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),a=n(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",d="writable";e.f=r?i?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),a=n(5656),c=n(4948),u=n(2597),l=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=a(t),e=c(e),l)try{return p(t,e)}catch(n){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(a,n)&&o(r,n)&&c(l,n);while(e.length>u)o(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&o(n=t.toString)&&!i(a=r(n,t)))return a;if(o(n=t.valueOf)&&!i(a=r(n,t)))return a;if("string"!==e&&o(n=t.toString)&&!i(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),a=n(9670),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=s.f;return n?c(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});t.exports=s},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293),i=n(7854),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),a=n(2140),c=n(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),a=n(6293),c=n(3307),u=r.Symbol,l=o("wks"),p=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),l[t]}},7658:function(t,e,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),a=n(7207),c=n(7293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=u||!l();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),n=i(e),r=arguments.length;a(n+r);for(var c=0;c{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n}},7203:function(e){"use strict";e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t].call(i.exports,i,i.exports,r),i.exports}!function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.p=""}();var o={};return function(){"use strict";if(r.d(o,{default:function(){return _}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}var n=r(7203);const i={class:"editor",ref:"editor"},s={key:0,class:"overlays",ref:"overlays"},a=["innerHTML"],c=["contenteditable"];function u(t,e,r,o,u,l){return(0,n.openBlock)(),(0,n.createElementBlock)("div",i,[r.overlay?((0,n.openBlock)(),(0,n.createElementBlock)("div",s,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(u.pages,((t,e)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"overlay",key:t.uuid+"-overlay",ref_for:!0,ref:e=>u.pages_overlay_refs[t.uuid]=e,innerHTML:r.overlay(e+1,u.pages.length),style:(0,n.normalizeStyle)(l.page_style(e,!1))},null,12,a)))),128))],512)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:"content",ref:"content",contenteditable:r.editable,style:(0,n.normalizeStyle)(l.page_style(-1)),onInput:e[0]||(e[0]=(...t)=>l.input&&l.input(...t)),onKeyup:e[1]||(e[1]=(...t)=>l.process_current_text_style&&l.process_current_text_style(...t))},null,44,c)],512)}r(7658);function l(t,e){if(!t||!e)return!1;const n=t.childNodes;for(let r=0;r{const n=l(t,e.s_tag);n&&e.childNodes.length?r(n,e.firstChild):(t.append(e),t.normalize())};r(t,n)}}var d={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_overlay_refs:{},pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1,printing_mode:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeUpdate(){this.pages_overlay_refs=[]},beforeUnmount(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const t=document.createElement("style");return document.head.appendChild(t),t}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),reset_content(){if(this.reset_in_progress)return;if(this.reset_in_progress=!0,!this.content.length)return this.reset_in_progress=!1,void this.$emit("update:content",[""]);this.pages=this.content.map(((t,e)=>({uuid:this.new_uuid(),content_idx:e,template:t.template,props:t.props}))),this.update_pages_elts();const t=this.pages[0].elt;this.$refs.content.contains(t)||this.$refs.content.appendChild(t),this.pages_height=t.clientHeight+1;for(const e of this.pages){if(this.content[e.content_idx]){if("string"==typeof this.content[e.content_idx])e.elt.innerHTML="
"+this.content[e.content_idx]+"
";else if(e.template){const t=(0,n.defineCustomElement)(e.template);customElements.define("component-"+e.uuid,t),e.elt.appendChild(new t({modelValue:e.props}))}}else e.elt.innerHTML="

";this.$refs.content.contains(e.elt)||this.$refs.content.appendChild(e.elt)}this.fit_content_over_pages(),this.$refs.content.blur(),this.reset_in_progress=!1},fit_content_over_pages(){if(!this.pages_height)return;if(this.fit_in_progress)return;this.fit_in_progress=!0;for(let o=this.pages.length-1;o>=0;o--){const t=this.pages[o];t.elt&&document.body.contains(t.elt)||this.pages.splice(o,1)}if(!this.pages.length)return this.fit_in_progress=!1,void this.$emit("update:content",[""]);const t=window.getSelection(),e=document.createElement("null"),n=document.createElement("null");if(t&&t.rangeCount&&t.anchorNode&&(!t.anchorNode.dataset||null==t.anchorNode.dataset.isVDEPage)){const r=t.getRangeAt(0);r.insertNode(e),r.collapse(!1),r.insertNode(n)}let r=!1;for(let o=0;o!n.childNodes.length||t.elt.clientHeight>this.pages_height)),t.elt.clientHeight>this.pages_height&&(e&&e.content_idx==t.content_idx||(e={uuid:this.new_uuid(),content_idx:t.content_idx},this.pages.splice(o+1,0,e),this.update_pages_elts(),n=e.elt),p(t.elt,n,(()=>t.elt.clientHeight<=this.pages_height),this.do_not_break)),n&&e.content_idx==t.content_idx&&!n.childNodes.length&&this.pages.splice(o+1,1)),this.update_pages_elts()}for(const o of this.pages)o.template||o.elt.normalize();if(document.body.contains(e)){const r=document.createRange();r.setStart(e,0),document.body.contains(n)&&r.setEnd(n,0),t.removeAllRanges(),t.addRange(r)}e.parentElement&&e.parentElement.removeChild(e),n.parentElement&&n.parentElement.removeChild(n);for(const o of this.pages)o.prev_innerHTML=o.elt.innerHTML;this.fit_in_progress=!1},input(t){t&&(this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=t.inputType&&this.process_current_text_style())},emit_new_content(){let t=!1;const e=this.content.map(((e,n)=>{const r=this.pages.filter((t=>t.content_idx==n));return r.length?"string"==typeof e?r.map((t=>{let e=t.elt;while(1==e.children.length&&e.firstChild.tagName&&"div"==e.firstChild.tagName.toLowerCase()&&!e.firstChild.getAttribute("style"))e=e.firstChild;return"
"==e.innerHTML||"\x3c!----\x3e"==e.innerHTML?"":e.innerHTML})).join(""):{template:e.template,props:{...e.props}}:(t=!0,!1)})).filter((t=>!1!==t));t||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",e)},process_current_text_style(){let t=!1;const e=window.getSelection();if(e.focusNode){const n=e.focusNode.tagName?e.focusNode:e.focusNode.parentElement;if(n&&n.isContentEditable){t=window.getComputedStyle(n),t.textDecorationStack=[],t.headerLevel=0,t.isList=!1;let e=n;while(e){const n=window.getComputedStyle(e);if(t.textDecorationStack.push(n.textDecoration),"list-item"==n.display&&(t.isList=!0),!t.headerLevel)for(let r=1;r<=6;r++)if(e.tagName.toUpperCase()=="H"+r){t.headerLevel=r;break}e=e.parentElement}}}this.current_text_style=t},page_style(t,e){const n=.2645833333333,r=this.page_format_mm[0]/n,o=10,i=(o+this.page_format_mm[0])*this.zoom/n,s=20,a=this.editor_width-2*s;let c,u,l,p,f,d,h,g=1;if("horizontal"==this.display)a>this.pages.length*i?(g=Math.floor(a/i),p=a/(2*g)*(1+2*t)-r/2):(g=this.pages.length,p=i*t+r/2*(this.zoom-1)),f=0,d=this.zoom*(this.page_format_mm[0]*g+(g-1)*o),h=this.page_format_mm[1]*this.zoom;else{g=Math.floor(a/i),(g<1||"vertical"==this.display)&&(g=1),c=t%g,u=a/(2*g)*(1+2*c)-r/2,l=Math.max(0,(r*this.zoom-a)/2),p=u+l,f=(this.page_format_mm[1]+o)*this.zoom*Math.floor(t/g);const e=Math.ceil(this.pages.length/g);d=this.zoom*(this.page_format_mm[0]*g+(g-1)*o),h=this.zoom*(this.page_format_mm[1]*e+(e-1)*o)}if(t>=0){const n={position:"absolute",left:"calc("+p+"px + "+s+"px)",top:"calc("+f+"mm + "+s+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(t+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return n[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",n}return{width:"calc("+d+"mm + "+2*s+"px)",height:"calc("+h+"mm + "+2*s+"px)"}},css_to_string:t=>Object.entries(t).map((([t,e])=>t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+":"+e)).join(";"),update_pages_elts(){const t=[...this.$refs.content.children].filter((t=>!this.pages.find((e=>e.elt==t))));for(const e of t)e.remove();for(const[e,n]of this.pages.entries()){if(!n.elt){n.elt=document.createElement("div"),n.elt.className="page",n.elt.dataset.isVDEPage="";const t=this.pages[e+1];this.$refs.content.insertBefore(n.elt,t?t.elt:null)}n.elt.dataset.contentIdx=n.content_idx,this.printing_mode||(n.elt.style=Object.entries(this.page_style(e,!n.template)).map((([t,e])=>t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+":"+e)).join(";")),n.elt.contentEditable=!(!this.editable||n.template)}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.update_pages_elts(),this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this.printing_mode=!0,this._page_body=document.body;const t=document.createElement("body");t.style.margin="0",t.style.padding="0",t.style.background="white",t.style.font=window.getComputedStyle(this.$refs.editor).font,t.className=this.$refs.editor.className;for(const[n,r]of this.pages.entries()){r.elt.style="",r.elt.style.position="relative",r.elt.style.padding="function"==typeof this.page_margins?this.page_margins(n+1,this.pages.length):this.page_margins,r.elt.style.breakBefore=n?"page":"auto",r.elt.style.width="calc("+this.page_format_mm[0]+"mm - 2px)",r.elt.style.height="calc("+this.page_format_mm[1]+"mm - 2px)",r.elt.style.boxSizing="border-box",r.elt.style.overflow="hidden";const e=this.pages_overlay_refs[r.uuid];e&&(e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.transform="none",e.style.padding="0",e.style.overflow="hidden",r.elt.prepend(e)),t.append(r.elt)}const e=document.createElement("div");e.className="hidden-print",e.style.position="fixed",e.style.left="0",e.style.top="0",e.style.right="0",e.style.bottom="0",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.background="rgba(255, 255, 255, 0.95)",e.style.cursor="pointer",e.innerHTML='',e.addEventListener("click",this.after_print),t.append(e),document.body=t},after_print(){this.printing_mode=!1;for(const[t,e]of this.pages.entries()){e.elt.style=this.css_to_string(this.page_style(t,!e.template)),this.$refs.content.append(e.elt);const n=this.pages_overlay_refs[e.uuid];n&&(n.style=this.css_to_string(this.page_style(t,!1)),this.$refs.overlays.append(n))}document.body=this._page_body,this.update_editor_width()}},watch:{content:{handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:this.reset_content()},deep:!0},display:{handler(){this.update_pages_elts()}},page_format_mm:{handler(){this.update_css_media_style(),this.reset_content()}},page_margins:{handler(){this.reset_content()}},zoom:{handler(){this.update_pages_elts()}}}},h=r(3744);const g=(0,h.Z)(d,[["render",u],["__scopeId","data-v-ae3eff30"]]);var m=g,_=m}(),o=o["default"],o}()})); //# sourceMappingURL=VueDocumentEditor.umd.min.js.map \ No newline at end of file diff --git a/dist/VueDocumentEditor.umd.min.js.map b/dist/VueDocumentEditor.umd.min.js.map index fffe0c5..f7ea610 100644 --- a/dist/VueDocumentEditor.umd.min.js.map +++ b/dist/VueDocumentEditor.umd.min.js.map @@ -1 +1 @@ -{"version":3,"file":"VueDocumentEditor.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,QACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIJ,GACe,kBAAZC,QACdA,QAAQ,qBAAuBD,EAAQG,QAAQ,QAE/CJ,EAAK,qBAAuBC,EAAQD,EAAK,OAC1C,EATD,CASoB,qBAATO,KAAuBA,KAAOC,MAAO,SAASC,GACzD,O,uCCVA,IAAIC,EAAa,EAAQ,KACrBC,EAAc,EAAQ,MAEtBC,EAAaC,UAGjBV,EAAOD,QAAU,SAAUY,GACzB,GAAIJ,EAAWI,GAAW,OAAOA,EACjC,MAAMF,EAAWD,EAAYG,GAAY,qBAC3C,C,uBCTA,IAAIC,EAA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AS4T,KAAO9X,KAAKod,WAGrBpd,KAAK+V,qBACP,GAIFqI,MAAO,CACLpJ,QAAS,CACPqJ,UAEKre,KAAK2V,wCACN3V,KAAK2V,yCAA0C,EAC1C3V,KAAKiW,eACd,EACAqI,MAAM,GAERpJ,QAAS,CACPmJ,UAAare,KAAKmX,mBAAqB,GAEzC9B,eAAgB,CACdgJ,UACEre,KAAKgW,yBACLhW,KAAKiW,eACP,GAEFX,aAAc,CACZ+I,UACEre,KAAKiW,eACP,GAEFV,KAAM,CACJ8I,UAAare,KAAKmX,mBAAqB,K,UE7iB7C,MAAMoH,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,QCRA,G","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/./node_modules/vue-loader/dist/exportHelper.js","webpack://VueDocumentEditor/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__7203__) {\nreturn ","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\n\n\n\n\n","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","import { render } from \"./DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-604af7f9\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__7203__","isCallable","tryToString","$TypeError","TypeError","argument","isObject","$String","String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","value","O","length","index","includes","indexOf","DESCRIPTORS","isArray","getOwnPropertyDescriptor","Object","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","defineProperty","writable","error","uncurryThis","toString","stringSlice","slice","it","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","i","key","createPropertyDescriptor","object","bitmap","enumerable","configurable","makeBuiltIn","defineGlobalProperty","options","simple","name","global","unsafe","nonConfigurable","nonWritable","fails","get","documentAll","document","all","IS_HTMLDDA","EXISTS","createElement","MAX_SAFE_INTEGER","navigator","userAgent","match","version","process","Deno","versions","v8","split","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","FORCED","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","prototype","dontCallGetSet","forced","sham","exec","test","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","arguments","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","aFunction","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","toObject","a","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","set","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","enforce","getterFor","TYPE","state","type","metadata","facade","STATE","Array","$documentAll","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","getBuiltIn","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","constructor","ceil","floor","trunc","x","n","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","enumBugKeys","concat","getOwnPropertyNames","getOwnPropertySymbols","push","names","result","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","uid","SHARED","IS_PURE","mode","copyright","license","V8_VERSION","symbol","Symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","requireObjectCoercible","number","isSymbol","getMethod","ordinaryToPrimitive","wellKnownSymbol","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","properErrorOnNonWritableLength","proto","item","len","argCount","sfc","props","__vccOpts","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","e","prop","p","currentScript","src","class","ref","_createElementBlock","_hoisted_1","$props","overlay","_hoisted_2","_Fragment","_renderList","$data","pages","page","page_idx","uuid","elt","pages_overlay_refs","innerHTML","style","_normalizeStyle","$options","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","onKeyup","process_current_text_style","onKeydown","keydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","sub_child_continuation","createTextNode","prepend","l","tagName","console","log","sub_child_sibling","new_random_tag","cloneNode","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","content","required","display","default","Boolean","page_format_mm","page_margins","zoom","Number","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","update_editor_width","update_css_media_style","reset_content","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","defineCustomElement","customElements","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","emit_new_content","inputType","keyCode","text","preventDefault","removed_pages_flag","new_content","filter","children","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","nb_pages_y","position","left","top","width","padding","transform","height","css_to_string","css","entries","k","v","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep","__exports__","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"VueDocumentEditor.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,QACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIJ,GACe,kBAAZC,QACdA,QAAQ,qBAAuBD,EAAQG,QAAQ,QAE/CJ,EAAK,qBAAuBC,EAAQD,EAAK,OAC1C,EATD,CASoB,qBAATO,KAAuBA,KAAOC,MAAO,SAASC,GACzD,O,uCCVA,IAAIC,EAAa,EAAQ,KACrBC,EAAc,EAAQ,MAEtBC,EAAaC,UAGjBV,EAAOD,QAAU,SAAUY,GACzB,GAAIJ,EAAWI,G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AAKyV,yCAA0C,EAC1CzV,KAAK+V,eACd,EACAkI,MAAM,GAERjJ,QAAS,CACPgJ,UAAahe,KAAKiX,mBAAqB,GAEzC9B,eAAgB,CACd6I,UACEhe,KAAK8V,yBACL9V,KAAK+V,eACP,GAEFX,aAAc,CACZ4I,UACEhe,KAAK+V,eACP,GAEFV,KAAM,CACJ2I,UAAahe,KAAKiX,mBAAqB,K,UEviB7C,MAAMiH,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,QCRA,G","sources":["webpack://VueDocumentEditor/webpack/universalModuleDefinition","webpack://VueDocumentEditor/./node_modules/core-js/internals/a-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/an-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-includes.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/array-set-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/classof-raw.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/define-global-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/descriptors.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-all.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/document-create-element.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-user-agent.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/engine-v8-version.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/export.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/fails.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-bind-native.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-call.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-name.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/get-method.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/global.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/has-own-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/hidden-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/inspect-source.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/internal-state.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-array.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-callable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-forced.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-pure.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/is-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/length-of-array-like.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/make-built-in.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/math-trunc.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-define-property.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-keys-internal.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/own-keys.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/require-object-coercible.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared-store.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/shared.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-absolute-index.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-indexed-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-length.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-object.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-primitive.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/to-property-key.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/try-to-string.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://VueDocumentEditor/./node_modules/core-js/internals/well-known-symbol.js","webpack://VueDocumentEditor/./node_modules/core-js/modules/es.array.push.js","webpack://VueDocumentEditor/./node_modules/vue-loader/dist/exportHelper.js","webpack://VueDocumentEditor/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://VueDocumentEditor/webpack/bootstrap","webpack://VueDocumentEditor/webpack/runtime/define property getters","webpack://VueDocumentEditor/webpack/runtime/global","webpack://VueDocumentEditor/webpack/runtime/hasOwnProperty shorthand","webpack://VueDocumentEditor/webpack/runtime/publicPath","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://VueDocumentEditor/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueDocumentEditor\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"VueDocumentEditor\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__7203__) {\nreturn ","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","\n\n\n\n\n","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","import { render } from \"./DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ae3eff30\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__7203__","isCallable","tryToString","$TypeError","TypeError","argument","isObject","$String","String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","value","O","length","index","includes","indexOf","DESCRIPTORS","isArray","getOwnPropertyDescriptor","Object","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","defineProperty","writable","error","uncurryThis","toString","stringSlice","slice","it","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","i","key","createPropertyDescriptor","object","bitmap","enumerable","configurable","makeBuiltIn","defineGlobalProperty","options","simple","name","global","unsafe","nonConfigurable","nonWritable","fails","get","documentAll","document","all","IS_HTMLDDA","EXISTS","createElement","MAX_SAFE_INTEGER","navigator","userAgent","match","version","process","Deno","versions","v8","split","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","FORCED","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","prototype","dontCallGetSet","forced","sham","exec","test","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","arguments","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","aFunction","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","toObject","a","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","set","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","enforce","getterFor","TYPE","state","type","metadata","facade","STATE","Array","$documentAll","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","getBuiltIn","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","constructor","ceil","floor","trunc","x","n","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","propertyIsEnumerableModule","internalObjectKeys","enumBugKeys","concat","getOwnPropertyNames","getOwnPropertySymbols","push","names","result","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","uid","SHARED","IS_PURE","mode","copyright","license","V8_VERSION","symbol","Symbol","toIntegerOrInfinity","max","min","integer","IndexedObject","requireObjectCoercible","number","isSymbol","getMethod","ordinaryToPrimitive","wellKnownSymbol","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","properErrorOnNonWritableLength","proto","item","len","argCount","sfc","props","__vccOpts","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","e","prop","p","currentScript","src","class","ref","_createElementBlock","_hoisted_1","$props","overlay","_hoisted_2","_Fragment","_renderList","$data","pages","page","page_idx","uuid","elt","pages_overlay_refs","innerHTML","style","_normalizeStyle","$options","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","onKeyup","process_current_text_style","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","sub_child_continuation","createTextNode","prepend","l","tagName","console","log","sub_child_sibling","new_random_tag","cloneNode","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","content","required","display","default","Boolean","page_format_mm","page_margins","zoom","Number","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","update_editor_width","update_css_media_style","reset_content","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","defineCustomElement","customElements","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","emit_new_content","inputType","removed_pages_flag","new_content","filter","children","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","nb_pages_y","position","left","top","width","padding","transform","height","css_to_string","css","entries","k","v","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep","__exports__","render"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/css/app.c7fcd6ad.css b/docs/css/app.2f6243d6.css similarity index 90% rename from docs/css/app.c7fcd6ad.css rename to docs/css/app.2f6243d6.css index 9db123a..d20a7a0 100644 --- a/docs/css/app.c7fcd6ad.css +++ b/docs/css/app.2f6243d6.css @@ -1 +1 @@ -.bar-button>.color-square[data-v-2fe7124b]{width:15px;height:15px;border:1px solid rgba(0,0,0,.7);margin:0 3px}.bar-button.disabled>.color-square[data-v-2fe7124b]{border:solid 1px var(--bar-button-disabled-color,rgba(0,0,0,.3))}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons.59322316.woff2) format("woff2"),url(../fonts/material-icons.4ad034d2.woff) format("woff")}.material-icons{font-family:Material Icons;font-feature-settings:"liga"}@font-face{font-family:Material Icons Outlined;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-outlined.f86cb7b0.woff2) format("woff2"),url(../fonts/material-icons-outlined.78a93b20.woff) format("woff")}.material-icons,.material-icons-outlined{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-outlined{font-family:Material Icons Outlined;font-feature-settings:"liga"}@font-face{font-family:Material Icons Round;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-round.b10ec9db.woff2) format("woff2"),url(../fonts/material-icons-round.92dc7ca2.woff) format("woff")}.material-icons-round{font-family:Material Icons Round;font-feature-settings:"liga"}@font-face{font-family:Material Icons Sharp;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-sharp.3885863e.woff2) format("woff2"),url(../fonts/material-icons-sharp.a71cb2bf.woff) format("woff")}.material-icons-round,.material-icons-sharp{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-sharp{font-family:Material Icons Sharp;font-feature-settings:"liga"}@font-face{font-family:Material Icons Two Tone;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-two-tone.675bd578.woff2) format("woff2"),url(../fonts/material-icons-two-tone.588d6313.woff) format("woff")}.material-icons-two-tone{font-family:Material Icons Two Tone;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.bar[data-v-9653a704]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;color:var(--bar-font-color,rgba(0,0,0,.7));font-family:var(--bar-font-family,Avenir,Helvetica,Arial,sans-serif);font-size:var(--bar-font-size,16px);font-weight:var(--bar-font-weight,500);font-style:var(--bar-font-style);letter-spacing:var(--bar-letter-spacing);margin:var(--bar-margin);padding:var(--bar-padding);border:var(--bar-border);border-radius:var(--bar-border-radius);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.bar[data-v-9653a704] ::-webkit-scrollbar{width:16px;height:16px}.bar[data-v-9653a704] ::-webkit-scrollbar-corner,.bar[data-v-9653a704] ::-webkit-scrollbar-track{display:none}.bar[data-v-9653a704] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.bar[data-v-9653a704] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.bar[data-v-9653a704] .ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar[data-v-9653a704] .bar-button{position:relative;display:flex;align-items:center;justify-content:center;padding:var(--bar-button-padding,7px);border-radius:var(--bar-button-radius,3px);white-space:nowrap}.bar[data-v-9653a704] .bar-button.active{color:var(--bar-button-active-color,#41b883);background:var(--bar-button-active-bkg,#eaf7f4)}.bar[data-v-9653a704] .bar-button.open:hover{color:var(--bar-button-open-color,#41b883);background:var(--bar-button-open-bkg,#eaf7f4)}.bar[data-v-9653a704] .bar-button.disabled{color:var(--bar-button-disabled-color,rgba(0,0,0,.3));background:var(--bar-button-disabled-bkg)}.bar[data-v-9653a704] .bar-button:not(.active):not(.open):not(.disabled):hover{color:var(--bar-button-hover-color);background:var(--bar-button-hover-bkg,#f1f3f4)}.bar[data-v-9653a704] .bar-button>.label{display:flex;align-items:center;padding:var(--bar-button-label-padding,0 3px)}.bar[data-v-9653a704] .bar-button>.emoji,.bar[data-v-9653a704] .bar-button>.icon{font-display:block;width:1em;font-size:var(--bar-button-icon-size,24px);margin:var(--bar-button-icon-margin)}.bar[data-v-9653a704] .bar-button>.chevron{font-display:block;width:1em;margin:var(--bar-button-chevron-margin,0 -5px 0 0)}.bar[data-v-9653a704] .bar-button>.menu{position:absolute;left:0;top:100%;display:none;z-index:1000}.bar[data-v-9653a704] .bar-button>.menu.align-left{left:0}.bar[data-v-9653a704] .bar-button>.menu.align-center{left:auto}.bar[data-v-9653a704] .bar-button>.menu.align-right{left:auto;right:0}.bar[data-v-9653a704] .bar-button.open:hover>.menu{display:block}.bar[data-v-9653a704] .bar-menu{position:relative;white-space:normal}.bar[data-v-9653a704] .bar-menu>.extended-hover-zone{position:absolute;top:0;left:-100px;right:-100px;bottom:-40px}.bar[data-v-9653a704] .bar-menu>.bar-menu-items{position:relative;min-width:var(--bar-menu-min-width,160px);color:var(--bar-menu-color,rgba(0,0,0,.7));background:var(--bar-menu-bkg,#fff);padding:var(--bar-menu-padding,5px 0);box-shadow:var(--bar-menu-shadow,rgba(60,64,67,.15) 0 2px 6px 2px);border:var(--bar-menu-border);border-radius:var(--bar-menu-border-radius)}@supports ((-webkit-backdrop-filter:var(--bar-menu-backdrop-filter )) or (backdrop-filter:var(--bar-menu-backdrop-filter ))){.bar[data-v-9653a704] .bar-menu>.bar-menu-items{-webkit-backdrop-filter:var(--bar-menu-backdrop-filter);backdrop-filter:var(--bar-menu-backdrop-filter);background:var(--bar-menu-backdrop-filter-bkg,var(--bar-menu-bkg,#fff))}}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item{position:relative;display:flex;align-items:center;justify-content:flex-start;font-size:var(--bar-menu-item-font-size);padding:var(--bar-menu-item-padding,8px 15px)}.bar[data-v-9653a704] .bar-men>.bar-menu-items>.bar-menu-item.active{color:var(--bar-menu-item-active-color);background:var(--bar-menu-item-active-bkg,#e7e8e9)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item.disabled{color:var(--bar-menu-item-disabled-color,rgba(0,0,0,.3))}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item:not(.active):not(.disabled):hover{color:var(--bar-menu-item-hover-color);background:var(--bar-menu-item-hover-bkg,#f1f3f4)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.label{display:flex;align-items:center;flex-grow:1}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.emoji,.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.icon{font-display:block;width:1em;font-size:var(--bar-menu-item-icon-size,24px);margin:var(--bar-menu-item-icon-margin,0 10px 0 0)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.chevron{font-display:block;width:1em;margin:var(--bar-menu-item-chevron-margin,0 -6px 0 0)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.menu{position:absolute;left:100%;top:0;display:none;z-index:1000}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item:hover>.menu{display:block}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu{border-radius:var(--bar-sub-menu-border-radius)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu>.extended-hover-zone{top:-100px;left:0;bottom:-100px}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-separator{height:var(--bar-menu-separator-height,1px);margin:var(--bar-menu-separator-margin,5px 0);background-color:var(--bar-menu-separator-color,rgba(0,0,0,.1))}.bar[data-v-9653a704] .bar-separator{width:var(--bar-separator-width,2px);margin:var(--bar-separator-margin,5px);background-color:var(--bar-separator-color,rgba(0,0,0,.1))}.bar[data-v-9653a704] .bar-spacer{flex-grow:1}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-604af7f9]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-604af7f9] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-604af7f9] ::-webkit-scrollbar-corner,.editor[data-v-604af7f9] ::-webkit-scrollbar-track{display:none}.editor[data-v-604af7f9] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-604af7f9] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-604af7f9]{display:none}.editor>.content[data-v-604af7f9]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-604af7f9]>.page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-604af7f9],.editor>.content[data-v-604af7f9] [contenteditable]{cursor:text}.editor>.content[data-v-604af7f9] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-604af7f9]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-604af7f9]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1}html{height:100%}body{margin:0;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background:#f8f9fa}::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{display:none}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.main[data-v-758a62d1]{width:-moz-fit-content;width:fit-content;min-width:100%}.bar[data-v-758a62d1]{position:sticky;left:0;top:0;width:calc(100vw - 16px);z-index:1000;background:rgba(248,249,250,.8);border-bottom:1px solid #f8f9fa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);--bar-button-active-color:#188038;--bar-button-open-color:#188038;--bar-button-active-bkg:#e6f4ea;--bar-button-open-bkg:#e6f4ea} \ No newline at end of file +.bar-button>.color-square[data-v-2fe7124b]{width:15px;height:15px;border:1px solid rgba(0,0,0,.7);margin:0 3px}.bar-button.disabled>.color-square[data-v-2fe7124b]{border:solid 1px var(--bar-button-disabled-color,rgba(0,0,0,.3))}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons.59322316.woff2) format("woff2"),url(../fonts/material-icons.4ad034d2.woff) format("woff")}.material-icons{font-family:Material Icons;font-feature-settings:"liga"}@font-face{font-family:Material Icons Outlined;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-outlined.f86cb7b0.woff2) format("woff2"),url(../fonts/material-icons-outlined.78a93b20.woff) format("woff")}.material-icons,.material-icons-outlined{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-outlined{font-family:Material Icons Outlined;font-feature-settings:"liga"}@font-face{font-family:Material Icons Round;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-round.b10ec9db.woff2) format("woff2"),url(../fonts/material-icons-round.92dc7ca2.woff) format("woff")}.material-icons-round{font-family:Material Icons Round;font-feature-settings:"liga"}@font-face{font-family:Material Icons Sharp;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-sharp.3885863e.woff2) format("woff2"),url(../fonts/material-icons-sharp.a71cb2bf.woff) format("woff")}.material-icons-round,.material-icons-sharp{font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.material-icons-sharp{font-family:Material Icons Sharp;font-feature-settings:"liga"}@font-face{font-family:Material Icons Two Tone;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/material-icons-two-tone.675bd578.woff2) format("woff2"),url(../fonts/material-icons-two-tone.588d6313.woff) format("woff")}.material-icons-two-tone{font-family:Material Icons Two Tone;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.bar[data-v-9653a704]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;color:var(--bar-font-color,rgba(0,0,0,.7));font-family:var(--bar-font-family,Avenir,Helvetica,Arial,sans-serif);font-size:var(--bar-font-size,16px);font-weight:var(--bar-font-weight,500);font-style:var(--bar-font-style);letter-spacing:var(--bar-letter-spacing);margin:var(--bar-margin);padding:var(--bar-padding);border:var(--bar-border);border-radius:var(--bar-border-radius);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.bar[data-v-9653a704] ::-webkit-scrollbar{width:16px;height:16px}.bar[data-v-9653a704] ::-webkit-scrollbar-corner,.bar[data-v-9653a704] ::-webkit-scrollbar-track{display:none}.bar[data-v-9653a704] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.bar[data-v-9653a704] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.bar[data-v-9653a704] .ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar[data-v-9653a704] .bar-button{position:relative;display:flex;align-items:center;justify-content:center;padding:var(--bar-button-padding,7px);border-radius:var(--bar-button-radius,3px);white-space:nowrap}.bar[data-v-9653a704] .bar-button.active{color:var(--bar-button-active-color,#41b883);background:var(--bar-button-active-bkg,#eaf7f4)}.bar[data-v-9653a704] .bar-button.open:hover{color:var(--bar-button-open-color,#41b883);background:var(--bar-button-open-bkg,#eaf7f4)}.bar[data-v-9653a704] .bar-button.disabled{color:var(--bar-button-disabled-color,rgba(0,0,0,.3));background:var(--bar-button-disabled-bkg)}.bar[data-v-9653a704] .bar-button:not(.active):not(.open):not(.disabled):hover{color:var(--bar-button-hover-color);background:var(--bar-button-hover-bkg,#f1f3f4)}.bar[data-v-9653a704] .bar-button>.label{display:flex;align-items:center;padding:var(--bar-button-label-padding,0 3px)}.bar[data-v-9653a704] .bar-button>.emoji,.bar[data-v-9653a704] .bar-button>.icon{font-display:block;width:1em;font-size:var(--bar-button-icon-size,24px);margin:var(--bar-button-icon-margin)}.bar[data-v-9653a704] .bar-button>.chevron{font-display:block;width:1em;margin:var(--bar-button-chevron-margin,0 -5px 0 0)}.bar[data-v-9653a704] .bar-button>.menu{position:absolute;left:0;top:100%;display:none;z-index:1000}.bar[data-v-9653a704] .bar-button>.menu.align-left{left:0}.bar[data-v-9653a704] .bar-button>.menu.align-center{left:auto}.bar[data-v-9653a704] .bar-button>.menu.align-right{left:auto;right:0}.bar[data-v-9653a704] .bar-button.open:hover>.menu{display:block}.bar[data-v-9653a704] .bar-menu{position:relative;white-space:normal}.bar[data-v-9653a704] .bar-menu>.extended-hover-zone{position:absolute;top:0;left:-100px;right:-100px;bottom:-40px}.bar[data-v-9653a704] .bar-menu>.bar-menu-items{position:relative;min-width:var(--bar-menu-min-width,160px);color:var(--bar-menu-color,rgba(0,0,0,.7));background:var(--bar-menu-bkg,#fff);padding:var(--bar-menu-padding,5px 0);box-shadow:var(--bar-menu-shadow,rgba(60,64,67,.15) 0 2px 6px 2px);border:var(--bar-menu-border);border-radius:var(--bar-menu-border-radius)}@supports ((-webkit-backdrop-filter:var(--bar-menu-backdrop-filter )) or (backdrop-filter:var(--bar-menu-backdrop-filter ))){.bar[data-v-9653a704] .bar-menu>.bar-menu-items{-webkit-backdrop-filter:var(--bar-menu-backdrop-filter);backdrop-filter:var(--bar-menu-backdrop-filter);background:var(--bar-menu-backdrop-filter-bkg,var(--bar-menu-bkg,#fff))}}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item{position:relative;display:flex;align-items:center;justify-content:flex-start;font-size:var(--bar-menu-item-font-size);padding:var(--bar-menu-item-padding,8px 15px)}.bar[data-v-9653a704] .bar-men>.bar-menu-items>.bar-menu-item.active{color:var(--bar-menu-item-active-color);background:var(--bar-menu-item-active-bkg,#e7e8e9)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item.disabled{color:var(--bar-menu-item-disabled-color,rgba(0,0,0,.3))}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item:not(.active):not(.disabled):hover{color:var(--bar-menu-item-hover-color);background:var(--bar-menu-item-hover-bkg,#f1f3f4)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.label{display:flex;align-items:center;flex-grow:1}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.emoji,.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.icon{font-display:block;width:1em;font-size:var(--bar-menu-item-icon-size,24px);margin:var(--bar-menu-item-icon-margin,0 10px 0 0)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.chevron{font-display:block;width:1em;margin:var(--bar-menu-item-chevron-margin,0 -6px 0 0)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.menu{position:absolute;left:100%;top:0;display:none;z-index:1000}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item:hover>.menu{display:block}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu{border-radius:var(--bar-sub-menu-border-radius)}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-item>.bar-menu>.extended-hover-zone{top:-100px;left:0;bottom:-100px}.bar[data-v-9653a704] .bar-menu>.bar-menu-items>.bar-menu-separator{height:var(--bar-menu-separator-height,1px);margin:var(--bar-menu-separator-margin,5px 0);background-color:var(--bar-menu-separator-color,rgba(0,0,0,.1))}.bar[data-v-9653a704] .bar-separator{width:var(--bar-separator-width,2px);margin:var(--bar-separator-margin,5px);background-color:var(--bar-separator-color,rgba(0,0,0,.1))}.bar[data-v-9653a704] .bar-spacer{flex-grow:1}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-ae3eff30]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-ae3eff30] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-ae3eff30] ::-webkit-scrollbar-corner,.editor[data-v-ae3eff30] ::-webkit-scrollbar-track{display:none}.editor[data-v-ae3eff30] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-ae3eff30] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-ae3eff30]{display:none}.editor>.content[data-v-ae3eff30]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-ae3eff30]>.page{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;background:var(--page-background,#fff);box-shadow:var(--page-box-shadow,0 1px 3px 1px rgba(60,64,67,.15));border:var(--page-border);border-radius:var(--page-border-radius);transition:left .3s,top .3s;overflow:hidden;pointer-events:all}.editor>.content[contenteditable][data-v-ae3eff30],.editor>.content[data-v-ae3eff30] [contenteditable]{cursor:text}.editor>.content[data-v-ae3eff30] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-ae3eff30]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-ae3eff30]{position:absolute;box-sizing:border-box;left:50%;transform-origin:center top;transition:left .3s,top .3s;overflow:hidden;z-index:1}html{height:100%}body{margin:0;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;background:#f8f9fa}::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{display:none}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.main[data-v-d2c209e0]{width:-moz-fit-content;width:fit-content;min-width:100%}.bar[data-v-d2c209e0]{position:sticky;left:0;top:0;width:calc(100vw - 16px);z-index:1000;background:rgba(248,249,250,.8);border-bottom:1px solid #f8f9fa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);--bar-button-active-color:#188038;--bar-button-open-color:#188038;--bar-button-active-bkg:#e6f4ea;--bar-button-open-bkg:#e6f4ea} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 519d67f..478d219 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -vue-document-editor
\ No newline at end of file +vue-document-editor
\ No newline at end of file diff --git a/docs/js/app.42e386f1.js b/docs/js/app.42e386f1.js deleted file mode 100644 index 5f07c02..0000000 --- a/docs/js/app.42e386f1.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var e={1313:function(e,t,i){var n=i(9963),s=i(6252);const a={class:"main"};function o(e,t,i,n,o,r){const l=(0,s.up)("vue-file-toolbar-menu"),c=(0,s.up)("vue-document-editor");return(0,s.wg)(),(0,s.iD)("div",a,[(0,s.Wm)(l,{content:r.menu,class:"bar"},null,8,["content"]),(0,s.Wm)(c,{class:"editor",ref:"editor",content:o.content,"onUpdate:content":t[0]||(t[0]=e=>o.content=e),overlay:r.overlay,zoom:o.zoom,page_format_mm:o.page_format_mm,page_margins:o.page_margins,display:o.display},null,8,["content","overlay","zoom","page_format_mm","page_margins","display"])])}var r=i(3183),l=i(3577);const c={class:"editor",ref:"editor"},d={key:0,class:"overlays",ref:"overlays"},u=["innerHTML"],m=["contenteditable"];function h(e,t,i,n,a,o){return(0,s.wg)(),(0,s.iD)("div",c,[i.overlay?((0,s.wg)(),(0,s.iD)("div",d,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(a.pages,((e,t)=>((0,s.wg)(),(0,s.iD)("div",{class:"overlay",key:e.uuid+"-overlay",ref_for:!0,ref:t=>a.pages_overlay_refs[e.uuid]=t,innerHTML:i.overlay(t+1,a.pages.length),style:(0,l.j5)(o.page_style(t,!1))},null,12,u)))),128))],512)):(0,s.kq)("",!0),(0,s._)("div",{class:"content",ref:"content",contenteditable:i.editable,style:(0,l.j5)(o.page_style(-1)),onInput:t[0]||(t[0]=(...e)=>o.input&&o.input(...e)),onKeyup:t[1]||(t[1]=(...e)=>o.process_current_text_style&&o.process_current_text_style(...e)),onKeydown:t[2]||(t[2]=(...e)=>o.keydown&&o.keydown(...e))},null,44,m)],512)}i(7658);function p(e,t){if(!e||!t)return!1;const i=e.childNodes;for(let n=0;n{const i=p(e,t.s_tag);i&&t.childNodes.length?n(i,t.firstChild):(e.append(t),e.normalize())};n(e,i)}}var _={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_overlay_refs:{},pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1,printing_mode:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeUpdate(){this.pages_overlay_refs=[]},beforeUnmount(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const e=document.createElement("style");return document.head.appendChild(e),e}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),reset_content(){if(this.reset_in_progress)return;if(this.reset_in_progress=!0,!this.content.length)return this.reset_in_progress=!1,void this.$emit("update:content",[""]);this.pages=this.content.map(((e,t)=>({uuid:this.new_uuid(),content_idx:t,template:e.template,props:e.props}))),this.update_pages_elts();const e=this.pages[0].elt;this.$refs.content.contains(e)||this.$refs.content.appendChild(e),this.pages_height=e.clientHeight+1;for(const t of this.pages){if(this.content[t.content_idx]){if("string"==typeof this.content[t.content_idx])t.elt.innerHTML="
"+this.content[t.content_idx]+"
";else if(t.template){const e=(0,n.MW)(t.template);customElements.define("component-"+t.uuid,e),t.elt.appendChild(new e({modelValue:t.props}))}}else t.elt.innerHTML="

";this.$refs.content.contains(t.elt)||this.$refs.content.appendChild(t.elt)}this.fit_content_over_pages(),this.$refs.content.blur(),this.reset_in_progress=!1},fit_content_over_pages(){if(!this.pages_height)return;if(this.fit_in_progress)return;this.fit_in_progress=!0;for(let s=this.pages.length-1;s>=0;s--){const e=this.pages[s];e.elt&&document.body.contains(e.elt)||this.pages.splice(s,1)}if(!this.pages.length)return void this.$emit("update:content",[""]);const e=window.getSelection(),t=document.createElement("null"),i=document.createElement("null");if(e&&e.rangeCount&&e.anchorNode&&(!e.anchorNode.dataset||null==e.anchorNode.dataset.isVDEPage)){const n=e.getRangeAt(0);n.insertNode(t),n.collapse(!1),n.insertNode(i)}let n=!1;for(let s=0;s!i.childNodes.length||e.elt.clientHeight>this.pages_height)),e.elt.clientHeight>this.pages_height&&(t&&t.content_idx==e.content_idx||(t={uuid:this.new_uuid(),content_idx:e.content_idx},this.pages.splice(s+1,0,t),this.update_pages_elts(),i=t.elt),g(e.elt,i,(()=>e.elt.clientHeight<=this.pages_height),this.do_not_break)),i&&t.content_idx==e.content_idx&&!i.childNodes.length&&this.pages.splice(s+1,1)),this.update_pages_elts()}if(document.body.contains(t)){const n=document.createRange();n.setStart(t,0),document.body.contains(i)&&n.setEnd(i,0),e.removeAllRanges(),e.addRange(n)}t.parentElement&&t.parentElement.removeChild(t),i.parentElement&&i.parentElement.removeChild(i);for(const s of this.pages)s.template||s.elt.normalize(),s.prev_innerHTML=s.elt.innerHTML;this.fit_in_progress=!1},input(e){e&&(this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=e.inputType&&this.process_current_text_style())},keydown(e){if(8==e.keyCode&&this.content.length<=1&&"string"==typeof this.content[0]){const t=this.content[0].replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"");t||e.preventDefault()}},emit_new_content(){let e=!1;const t=this.content.map(((t,i)=>{const n=this.pages.filter((e=>e.content_idx==i));return n.length?"string"==typeof t?n.map((e=>{let t=e.elt;while(1==t.children.length&&t.firstChild.tagName&&"div"==t.firstChild.tagName.toLowerCase()&&!t.firstChild.getAttribute("style"))t=t.firstChild;return t.innerHTML})).join("")||!1:{template:t.template,props:{...t.props}}:(e=!0,!1)})).filter((e=>0!=e));e||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",t)},process_current_text_style(){let e=!1;const t=window.getSelection();if(t.focusNode){const i=t.focusNode.tagName?t.focusNode:t.focusNode.parentElement;if(i&&i.isContentEditable){e=window.getComputedStyle(i),e.textDecorationStack=[],e.headerLevel=0,e.isList=!1;let t=i;while(t){const i=window.getComputedStyle(t);if(e.textDecorationStack.push(i.textDecoration),"list-item"==i.display&&(e.isList=!0),!e.headerLevel)for(let n=1;n<=6;n++)if(t.tagName.toUpperCase()=="H"+n){e.headerLevel=n;break}t=t.parentElement}}}this.current_text_style=e},page_style(e,t){const i=.2645833333333,n=this.page_format_mm[0]/i,s=10,a=(s+this.page_format_mm[0])*this.zoom/i,o=20,r=this.editor_width-2*o;let l,c,d,u,m,h,p,g=1;if("horizontal"==this.display)r>this.pages.length*a?(g=Math.floor(r/a),u=r/(2*g)*(1+2*e)-n/2):(g=this.pages.length,u=a*e+n/2*(this.zoom-1)),m=0,h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.page_format_mm[1]*this.zoom;else{g=Math.floor(r/a),(g<1||"vertical"==this.display)&&(g=1),l=e%g,c=r/(2*g)*(1+2*l)-n/2,d=Math.max(0,(n*this.zoom-r)/2),u=c+d,m=(this.page_format_mm[1]+s)*this.zoom*Math.floor(e/g);const t=Math.ceil(this.pages.length/g);h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.zoom*(this.page_format_mm[1]*t+(t-1)*s)}if(e>=0){const i={position:"absolute",left:"calc("+u+"px + "+o+"px)",top:"calc("+m+"mm + "+o+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(e+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return i[t?"minHeight":"height"]=this.page_format_mm[1]+"mm",i}return{width:"calc("+h+"mm + "+2*o+"px)",height:"calc("+p+"mm + "+2*o+"px)"}},css_to_string:e=>Object.entries(e).map((([e,t])=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+":"+t)).join(";"),update_pages_elts(){const e=[...this.$refs.content.children].filter((e=>!this.pages.find((t=>t.elt==e))));for(const t of e)t.remove();for(const[t,i]of this.pages.entries()){if(!i.elt){i.elt=document.createElement("div"),i.elt.className="page",i.elt.dataset.isVDEPage="";const e=this.pages[t+1];this.$refs.content.insertBefore(i.elt,e?e.elt:null)}i.elt.dataset.contentIdx=i.content_idx,this.printing_mode||(i.elt.style=Object.entries(this.page_style(t,!i.template)).map((([e,t])=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+":"+t)).join(";")),i.elt.contentEditable=!(!this.editable||i.template)}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.update_pages_elts(),this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this.printing_mode=!0,this._page_body=document.body;const e=document.createElement("body");e.style.margin="0",e.style.padding="0",e.style.background="white",e.style.font=window.getComputedStyle(this.$refs.editor).font,e.className=this.$refs.editor.className;for(const[i,n]of this.pages.entries()){n.elt.style="",n.elt.style.position="relative",n.elt.style.padding="function"==typeof this.page_margins?this.page_margins(i+1,this.pages.length):this.page_margins,n.elt.style.breakBefore=i?"page":"auto",n.elt.style.width="calc("+this.page_format_mm[0]+"mm - 2px)",n.elt.style.height="calc("+this.page_format_mm[1]+"mm - 2px)",n.elt.style.boxSizing="border-box",n.elt.style.overflow="hidden";const t=this.pages_overlay_refs[n.uuid];t&&(t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.transform="none",t.style.padding="0",t.style.overflow="hidden",n.elt.prepend(t)),e.append(n.elt)}const t=document.createElement("div");t.className="hidden-print",t.style.position="fixed",t.style.left="0",t.style.top="0",t.style.right="0",t.style.bottom="0",t.style.display="flex",t.style.alignItems="center",t.style.justifyContent="center",t.style.background="rgba(255, 255, 255, 0.95)",t.style.cursor="pointer",t.innerHTML='',t.addEventListener("click",this.after_print),e.append(t),document.body=e},after_print(){this.printing_mode=!1;for(const[e,t]of this.pages.entries()){t.elt.style=this.css_to_string(this.page_style(e,!t.template)),this.$refs.content.append(t.elt);const i=this.pages_overlay_refs[t.uuid];i&&(i.style=this.css_to_string(this.page_style(e,!1)),this.$refs.overlays.append(i))}document.body=this._page_body,this.update_editor_width()}},watch:{content:{handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:this.reset_content()},deep:!0},display:{handler(){this.update_pages_elts()}},page_format_mm:{handler(){this.update_css_media_style(),this.reset_content()}},page_margins:{handler(){this.reset_content()}},zoom:{handler(){this.update_pages_elts()}}}},y=i(3744);const b=(0,y.Z)(_,[["render",h],["__scopeId","data-v-604af7f9"]]);var v=b,x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4On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8z7Z7Ab/bbX+rUII0PdY36DcKJUgu8R7btnkcv83+RqEEaRncwnZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC";const k=e=>((0,s.dD)("data-v-98a429fc"),e=e(),(0,s.Cn)(),e),w={class:"template"},C=(0,s.uE)('

INTERACTIVE INVOICE

This page is rendered from a "template" Vue.js component.
You can modify the fields highlighted in green and interact with the buttons without having them in the print. Check out InvoiceTemplate.ce.vue
',1),I=k((()=>(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("td",null,"OUR DETAILS"),(0,s._)("td",{style:{"text-align":"right"}},"INVOICE DETAILS")])],-1))),L=k((()=>(0,s._)("td",{contenteditable:"true"},[(0,s._)("div",null,[(0,s._)("b",null,"MyCompany")]),(0,s._)("div",null,"24 Poazkz Pazoek"),(0,s._)("div",null,"89232 Oijzrazro"),(0,s._)("div",null,"FRIGNEDRY"),(0,s._)("div",null,"AB251648730890")],-1))),z={style:{"min-width":"250px","text-align":"right"}},E=k((()=>(0,s._)("b",null,"Invoice number:",-1))),N=k((()=>(0,s._)("b",null,"Invoice date:",-1))),M=k((()=>(0,s._)("b",null,"Order number:",-1))),A=k((()=>(0,s._)("b",null,"Order date:",-1))),T=k((()=>(0,s._)("b",null,"Your client number:",-1))),P={style:{margin:"10px 0 35px 0"}},R=k((()=>(0,s._)("td",{style:{width:"50%"}},"BILLING ADDRESS",-1))),B={class:"hide-in-print",style:{"margin-left":"10px"}},U=["innerHTML"],S={key:1,contenteditable:"true"},D=k((()=>(0,s._)("h2",null,"Your order",-1))),O={style:{"margin-top":"10px"},class:"order-table"},V=k((()=>(0,s._)("thead",null,[(0,s._)("tr",{style:{"font-size":"13px"}},[(0,s._)("td",null,"ITEM #"),(0,s._)("td",null,"REFERENCE"),(0,s._)("td",null,"DESIGNATION"),(0,s._)("td",null,"QUANTITY"),(0,s._)("td",null,"UNIT PRICE"),(0,s._)("td",{style:{"text-align":"right"}},"TOTAL PRICE")])],-1))),W=["onClick"],H={contenteditable:"true"},Z={contenteditable:"true"},j={style:{padding:"0","text-align":"center"}},Y=["onUpdate:modelValue"],G={style:{padding:"0"}},Q=["onUpdate:modelValue"],q={style:{"text-align":"right"}},J={colspan:"5",style:{"text-align":"right"}},K={colspan:"6",style:{"text-align":"right"}},X={colspan:"6",style:{"text-align":"right"}},F={colspan:"6",style:{"text-align":"right","font-weight":"bold"}},$=k((()=>(0,s._)("div",{style:{"margin-bottom":"20px"}},"Thank you for your order.",-1))),ee=k((()=>(0,s._)("b",null,"Payment method:",-1))),te=k((()=>(0,s._)("b",null,"Payment term:",-1)));function ie(e,t,i,a,o,r){return(0,s.wg)(),(0,s.iD)("div",w,[C,(0,s._)("table",null,[I,(0,s._)("tbody",null,[(0,s._)("tr",null,[L,(0,s._)("td",z,[(0,s._)("div",null,[E,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[0]||(t[0]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(i.modelValue.invoice_number),33)]),(0,s._)("div",null,[N,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[1]||(t[1]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(r.today),33)]),(0,s._)("div",null,[M,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[2]||(t[2]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},"W210984204",32)]),(0,s._)("div",null,[A,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[3]||(t[3]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(r.today),33)]),(0,s._)("div",null,[T,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[4]||(t[4]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},"120948",32)])])])])]),(0,s._)("table",P,[(0,s._)("thead",null,[(0,s._)("tr",null,[R,(0,s._)("td",null,[(0,s.Uk)("SHIPPING ADDRESS "),(0,s._)("label",B,[(0,s.wy)((0,s._)("input",{type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=e=>o.is_shipping_identical=e)},null,512),[[n.e8,o.is_shipping_identical]]),(0,s.Uk)(" Identical ")])])])]),(0,s._)("tbody",null,[(0,s._)("tr",null,[(0,s._)("td",{ref:"billing_address",contenteditable:"true",onInput:t[6]||(t[6]=e=>this.billing_address=e.target.innerHTML)},null,544),o.is_shipping_identical?((0,s.wg)(),(0,s.iD)("td",{key:0,innerHTML:o.billing_address,contenteditable:"false"},null,8,U)):((0,s.wg)(),(0,s.iD)("td",S,"Insert custom shipping address"))])])]),D,(0,s._)("table",O,[V,(0,s._)("tbody",null,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(o.items,((e,t)=>((0,s.wg)(),(0,s.iD)("tr",{key:e.key},[(0,s._)("td",null,[(0,s._)("div",{class:"left-btn hide-in-print",onClick:()=>o.items.splice(t,1)},"➖",8,W),(0,s.Uk)((0,l.zw)(t+1),1)]),(0,s._)("td",H,(0,l.zw)(e.ref),1),(0,s._)("td",Z,(0,l.zw)(e.desc),1),(0,s._)("td",j,[(0,s.wy)((0,s._)("input",{type:"number",min:"1",style:{width:"3em"},"onUpdate:modelValue":t=>e.qty=t},null,8,Y),[[n.nr,e.qty]])]),(0,s._)("td",G,[(0,s.Uk)("€ "),(0,s.wy)((0,s._)("input",{type:"number",step:"0.01",style:{width:"4em"},"onUpdate:modelValue":t=>e.price=t},null,8,Q),[[n.nr,e.price]])]),(0,s._)("td",q,"€ "+(0,l.zw)((e.qty*e.price).toFixed(2)),1)])))),128)),(0,s._)("tr",null,[(0,s._)("td",null,[o.items.length<5?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"left-btn hide-in-print",onClick:t[7]||(t[7]=()=>o.items.push({key:Math.random(),ref:"MyRef",desc:"My description",qty:1,price:0}))},"➕")):(0,s.kq)("",!0)]),(0,s._)("td",J,"Sub-total: € "+(0,l.zw)(r.sub_total.toFixed(2)),1)]),(0,s._)("tr",null,[(0,s._)("td",K,[(0,s.Uk)("Taxes: "),(0,s._)("span",{ref:"tax_percent",contenteditable:"true",onInput:t[8]||(t[8]=e=>this.tax_percent=parseFloat(e.target.innerText))},null,544),(0,s.Uk)("%")])]),(0,s._)("tr",null,[(0,s._)("td",X,[(0,s.Uk)("Shipping: € "),(0,s._)("span",{ref:"shipping",contenteditable:"true",onInput:t[9]||(t[9]=e=>this.shipping=parseFloat(e.target.innerText))},null,544)])]),(0,s._)("tr",null,[(0,s._)("td",F,"Order total: € "+(0,l.zw)(r.total.toFixed(2)),1)])])]),$,(0,s._)("div",null,[ee,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[10]||(t[10]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},"Bank transfer",32)]),(0,s._)("div",null,[te,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[11]||(t[11]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(r.next_month),33)])])}var ne={props:{modelValue:Object},data(){return{is_shipping_identical:!0,billing_address:"M. John Doe
98 Ooezfjefoi Laozdij
09823 Ljeiznr
FOPKSOFOF
AC310592815039",items:[{key:Math.random(),ref:"X3000",desc:"My great product",qty:1,price:299}],tax_percent:20,shipping:15}},mounted(){this.$refs.billing_address.innerHTML=this.billing_address,this.$refs.tax_percent.innerHTML=this.tax_percent,this.$refs.shipping.innerHTML=this.shipping+".00"},computed:{today(){var e=new Date;return e.toJSON().slice(0,10).replace(/-/g,".")},next_month(){var e=new Date;return e.setDate(e.getDate()+30),e.toJSON().slice(0,10).replace(/-/g,".")},sub_total(){return this.items.reduce(((e,t)=>e+t.qty*t.price),0)},total(){return this.sub_total*(1+this.tax_percent/100)+this.shipping}},methods:{preventLineBreaks(e){13==e.which&&e.preventDefault()}}},se='\ntable[data-v-98a429fc] {\n width: 100%;\n border-spacing: 0;\n}\ntable td[data-v-98a429fc] {\n position: relative;\n padding: 6px;\n vertical-align: top;\n}\ntable.order-table td[data-v-98a429fc] {\n vertical-align: middle;\n}\ntable thead td[data-v-98a429fc] {\n font-weight: bold;\n}\ntable tbody td[data-v-98a429fc] {\n border-top: solid 1px #CCC;\n}\ninput[type=number][data-v-98a429fc] {\n border: none;\n font-family: inherit;\n font-size: inherit;\n color: inherit;\n background: rgba(200, 250, 230, 0.4);\n padding: 6px;\n}\n*[contenteditable="true"][data-v-98a429fc] {\n background: rgba(200, 250, 230, 0.4);\n cursor: text;\n transition: padding 0.05s linear;\n}\nspan[contenteditable="true"][data-v-98a429fc]:focus {\n padding: 0 4px;\n}\n@media print {\n*[contenteditable="true"][data-v-98a429fc], input[data-v-98a429fc] {\n background: none;\n}\n.hide-in-print[data-v-98a429fc] {\n display: none;\n}\ninput[data-v-98a429fc]::-webkit-outer-spin-button,\n input[data-v-98a429fc]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\ninput[type=number][data-v-98a429fc] {\n -moz-appearance: textfield;\n background: none;\n}\n}\n.header[data-v-98a429fc] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.order[data-v-98a429fc] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.left-btn[data-v-98a429fc] {\n position: absolute;\n left: -40px;\n top: 2px;\n}\n.left-btn[data-v-98a429fc]:hover {\n opacity: 0.6;\n}\n';const ae=(0,y.Z)(ne,[["render",ie],["styles",[se]],["__scopeId","data-v-98a429fc"]]);var oe=ae,re=i(2262),le={components:{VueDocumentEditor:v,VueFileToolbarMenu:r.Z},data(){return{content:['

Hello world!

This is a rich-text editor built on top of Vue.js using the native contenteditable browser implementation and some JavaScript trickery to spread content over paper-sized pages.

Built-in functionality includes:

  • Using Vue.js components as interactive page templates (see next page)
  • Word-by-word page splitting with forward and backward propagation (still experimental)
  • Native Print compatible
  • Dynamic document format and margins in millimeters
  • Custom page overlays (headers, footers, page numbers)
  • Page breaks
  • Smart zoom and page display modes
  • Computes text style at caret position

This library may be useful if you design an application that generate documents and you would let the user to modify them slightly before printing / saving, but with limited / interactive possibilities. It does not intend to replace a proper document editor with full functionality.
Make sure this project is suitable to your needs before using it.

This demo adds:

  • The top bar (vue-file-toolbar-menu component) and the functions associated with it
  • Rewritten history stack (undo/redo) compatible with native commands
  • Pinch and trackpad zooming

Check out the Demo.vue file if you need to add these functionalities to your application.

The link below is an example of non-editable block set with contenteditable="false":

View docs on Github, you can\'t edit me.

But you can still edit this.

',{template:(0,re.Xl)(oe),props:{invoice_number:"AB38052985"}},'

Headers / footers example


Page numbers have been added on every page of this document.
Header and footer overlays will be added from page 3 to all subsequent ones.

Check out the overlay method of the Demo.vue file to customize this.','

«

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

»

','

--- This is a page break. ---

'],zoom:.8,zoom_min:.1,zoom_max:5,page_format_mm:[210,297],page_margins:"10mm 15mm",display:"grid",mounted:!1,undo_count:-1,content_history:[]}},created(){let e=!1,t=!1,i=!1;window.addEventListener("wheel",(e=>{e.ctrlKey&&(e.preventDefault(),this.zoom=Math.min(Math.max(this.zoom-.01*e.deltaY,this.zoom_min),this.zoom_max))}),{passive:!1}),window.addEventListener("gesturestart",(t=>{t.preventDefault(),e=this.zoom})),window.addEventListener("gesturechange",(t=>{t.preventDefault(),i||(this.zoom=Math.min(Math.max(e*t.scale,this.zoom_min),this.zoom_max))})),window.addEventListener("gestureend",(()=>{e=!1})),window.addEventListener("touchstart",(e=>{2==e.touches.length&&(e.preventDefault(),t=Math.hypot(e.touches[0].pageX-e.touches[1].pageX,e.touches[0].pageY-e.touches[1].pageY),i=this.zoom)}),{passive:!1}),window.addEventListener("touchmove",(e=>{if(t&&i){e.preventDefault();let n=i*Math.hypot(e.touches[0].pageX-e.touches[1].pageX,e.touches[0].pageY-e.touches[1].pageY)/t;this.zoom=Math.min(Math.max(n,this.zoom_min),this.zoom_max)}}),{passive:!1}),window.addEventListener("touchend",(()=>{t=!1,i=!1}),{passive:!1});const n=e=>{switch(e&&e.inputType){case"historyUndo":e.preventDefault(),e.stopPropagation(),this.undo();break;case"historyRedo":e.preventDefault(),e.stopPropagation(),this.redo();break}};window.addEventListener("beforeinput",n),window.addEventListener("input",n)},mounted(){this.mounted=!0},computed:{menu(){return[{text:"New",title:"New",icon:"description",click:()=>{confirm("This will create an empty document. Are you sure?")&&(this.content=[""],this.resetContentHistory())}},{text:"Print",title:"Print",icon:"print",click:()=>window.print()},{is:"spacer"},{title:"Undo",icon:"undo",disabled:!this.can_undo,hotkey:this.isMacLike?"command+z":"ctrl+z",click:()=>this.undo()},{title:"Redo",icon:"redo",disabled:!this.can_redo,hotkey:this.isMacLike?"shift+command+z":"ctrl+y",click:()=>this.redo()},{is:"spacer"},{icon:"format_align_left",title:"Align left",active:this.isLeftAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+l":"ctrl+shift+l",click:()=>document.execCommand("justifyLeft")},{icon:"format_align_center",title:"Align center",active:this.isCentered,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+e":"ctrl+shift+e",click:()=>document.execCommand("justifyCenter")},{icon:"format_align_right",title:"Align right",active:this.isRightAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+r":"ctrl+shift+r",click:()=>document.execCommand("justifyRight")},{icon:"format_align_justify",title:"Justify content",active:this.isJustified,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+j":"ctrl+shift+j",click:()=>document.execCommand("justifyFull")},{is:"separator"},{icon:"format_bold",title:"Bold",active:this.isBold,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+b":"ctrl+b",click:()=>document.execCommand("bold")},{icon:"format_italic",title:"Italic",active:this.isItalic,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+i":"ctrl+i",click:()=>document.execCommand("italic")},{icon:"format_underline",title:"Underline",active:this.isUnderline,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+u":"ctrl+u",click:()=>document.execCommand("underline")},{icon:"format_strikethrough",title:"Strike through",active:this.isStrikeThrough,disabled:!this.current_text_style,click:()=>document.execCommand("strikethrough")},{is:"button-color",type:"compact",menu_class:"align-center",disabled:!this.current_text_style,color:this.curColor,update_color:e=>document.execCommand("foreColor",!1,e.hex8)},{is:"separator"},{icon:"format_list_numbered",title:"Numbered list",active:this.isNumberedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertOrderedList")},{icon:"format_list_bulleted",title:"Bulleted list",active:this.isBulletedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertUnorderedList")},{html:"H1",title:"Header 1",active:this.isH1,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H2",title:"Header 2",active:this.isH2,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H3",title:"Header 3",active:this.isH3,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{icon:"format_clear",title:"Clear format",disabled:!this.current_text_style,click(){document.execCommand("removeFormat"),document.execCommand("formatBlock",!1,"
")}},{icon:"splitscreen",title:"Page break",disabled:!this.current_text_style,click:()=>this.insertPageBreak()},{is:"spacer"},{text:this.current_format_name,title:"Format",icon:"crop_free",chevron:!0,menu:this.formats.map((([e,t,i])=>({text:e,active:this.page_format_mm[0]==t&&this.page_format_mm[1]==i,click:()=>{this.page_format_mm=[t,i]}}))),menu_width:80,menu_height:280},{text:this.current_margins_name,title:"Margins",icon:"select_all",chevron:!0,menu:this.margins.map((([e,t])=>({text:e+" ("+t+")",active:this.page_margins==t,click:()=>{this.page_margins=t}}))),menu_width:200,menu_class:"align-center"},{text:Math.floor(100*this.zoom)+"%",title:"Zoom",icon:"zoom_in",chevron:!0,menu:[["200%",2],["150%",1.5],["125%",1.25],["100%",1],["75%",.75],["50%",.5],["25%",.25]].map((([e,t])=>({text:e,active:this.zoom==t,click:()=>{this.zoom=t}}))),menu_width:80,menu_height:280,menu_class:"align-center"},{title:"Display",icon:"horizontal"==this.display?"view_column":"vertical"==this.display?"view_stream":"view_module",chevron:!0,menu:[{icon:"view_module",active:"grid"==this.display,click:()=>{this.display="grid"}},{icon:"view_column",active:"horizontal"==this.display,click:()=>{this.display="horizontal"}},{icon:"view_stream",active:"vertical"==this.display,click:()=>{this.display="vertical"}}],menu_width:55,menu_class:"align-right"}]},current_format_name(){const e=this.formats.find((([,e,t])=>this.page_format_mm[0]==e&&this.page_format_mm[1]==t));return e?e[0]:this.page_format_mm[0]+"mm x "+this.page_format_mm[1]+"mm"},formats:()=>[["A0",841,1189],["A0L",1189,841],["A1",594,841],["A1L",841,594],["A2",420,594],["A2L",594,420],["A3",297,420],["A3L",420,297],["A4",210,297],["A4L",297,210],["A5",148,210],["A5L",210,148],["A6",105,148],["A6L",148,105]],current_margins_name(){const e=this.margins.find((([,e])=>this.page_margins==e));return e?e[0]:this.page_margins},margins:()=>[["Medium","20mm"],["Small","15mm"],["Slim","10mm 15mm"],["Tiny","5mm"]],current_text_style(){return!!this.mounted&&this.$refs.editor.current_text_style},isLeftAligned(){return["start","left","-moz-left"].includes(this.current_text_style.textAlign)},isRightAligned(){return["end","right","-moz-right"].includes(this.current_text_style.textAlign)},isCentered(){return["center","-moz-center"].includes(this.current_text_style.textAlign)},isJustified(){return["justify","justify-all"].includes(this.current_text_style.textAlign)},isBold(){const e=this.current_text_style.fontWeight;return e&&(parseInt(e)>400||0==e.indexOf("bold"))},isItalic(){return"italic"==this.current_text_style.fontStyle},isUnderline(){const e=this.current_text_style.textDecorationStack;return e&&e.some((e=>0==e.indexOf("underline")))},isStrikeThrough(){const e=this.current_text_style.textDecorationStack;return e&&e.some((e=>0==e.indexOf("line-through")))},isNumberedList(){return this.current_text_style.isList&&"decimal"==this.current_text_style.listStyleType},isBulletedList(){return this.current_text_style.isList&&["disc","circle"].includes(this.current_text_style.listStyleType)},isH1(){return 1==this.current_text_style.headerLevel},isH2(){return 2==this.current_text_style.headerLevel},isH3(){return 3==this.current_text_style.headerLevel},curColor(){return this.current_text_style.color||"transparent"},isMacLike:()=>/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),can_undo(){return this.undo_count>0},can_redo(){return this.content_history.length-this.undo_count-1>0}},methods:{overlay(e,t){let i='
Page '+e+" of "+t+"
";return e>=3&&(i+='
MYCOMPANY example.com /// This is a custom header overlay
',i+='
MY COMPANY - example.com /// This is a custom footer overlay
'),i},undo(){this.can_undo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[--this.undo_count])},redo(){this.can_redo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[++this.undo_count])},resetContentHistory(){this.content_history=[],this.undo_count=-1},async insertPageBreak(){document.execCommand("insertParagraph");const e="###PB###";document.execCommand("insertText",!1,e),await this.$nextTick(),await this.$nextTick();const t=new RegExp("<(p|div|h\\d)( [^/>]+)*>(<[^/>]+>)*"+e);for(let i=0;i"+a),void this.content.splice(i,1,n.substr(0,s.index),t+a)}}for(let i=0;i=a)&&Object.keys(i.O).every((function(e){return i.O[e](n[l])}))?n.splice(l--,1):(r=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[n,s,a]}}(),function(){i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){var e={143:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,a,o=n[0],r=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(s in r)i.o(r,s)&&(i.m[s]=r[s]);if(l)var d=l(i)}for(t&&t(n);c\n
\n\n \n \n\n \n \n\n
\n\n\n\n\n\n\n","\n\n\n\n\n","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","import { render } from \"./DocumentEditor.vue?vue&type=template&id=604af7f9&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=604af7f9&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=604af7f9&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-604af7f9\"]])\n\nexport default __exports__","\n\n\n\n","export default \"\\ntable[data-v-98a429fc] {\\n width: 100%;\\n border-spacing: 0;\\n}\\ntable td[data-v-98a429fc] {\\n position: relative;\\n padding: 6px;\\n vertical-align: top;\\n}\\ntable.order-table td[data-v-98a429fc] {\\n vertical-align: middle;\\n}\\ntable thead td[data-v-98a429fc] {\\n font-weight: bold;\\n}\\ntable tbody td[data-v-98a429fc] {\\n border-top: solid 1px #CCC;\\n}\\ninput[type=number][data-v-98a429fc] {\\n border: none;\\n font-family: inherit;\\n font-size: inherit;\\n color: inherit;\\n background: rgba(200, 250, 230, 0.4);\\n padding: 6px;\\n}\\n*[contenteditable=\\\"true\\\"][data-v-98a429fc] {\\n background: rgba(200, 250, 230, 0.4);\\n cursor: text;\\n transition: padding 0.05s linear;\\n}\\nspan[contenteditable=\\\"true\\\"][data-v-98a429fc]:focus {\\n padding: 0 4px;\\n}\\n@media print {\\n*[contenteditable=\\\"true\\\"][data-v-98a429fc], input[data-v-98a429fc] {\\n background: none;\\n}\\n.hide-in-print[data-v-98a429fc] {\\n display: none;\\n}\\ninput[data-v-98a429fc]::-webkit-outer-spin-button,\\n input[data-v-98a429fc]::-webkit-inner-spin-button {\\n -webkit-appearance: none;\\n margin: 0;\\n}\\ninput[type=number][data-v-98a429fc] {\\n -moz-appearance: textfield;\\n background: none;\\n}\\n}\\n.header[data-v-98a429fc] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.order[data-v-98a429fc] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.left-btn[data-v-98a429fc] {\\n position: absolute;\\n left: -40px;\\n top: 2px;\\n}\\n.left-btn[data-v-98a429fc]:hover {\\n opacity: 0.6;\\n}\\n\"","import { render } from \"./InvoiceTemplate.ce.vue?vue&type=template&id=98a429fc&scoped=true\"\nimport script from \"./InvoiceTemplate.ce.vue?vue&type=script&lang=js\"\nexport * from \"./InvoiceTemplate.ce.vue?vue&type=script&lang=js\"\n\nimport _style_0 from \"./InvoiceTemplate.ce.vue?vue&type=style&index=0&id=98a429fc&inline&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['styles',[_style_0]],['__scopeId',\"data-v-98a429fc\"]])\n\nexport default __exports__","import { render } from \"./Demo.vue?vue&type=template&id=758a62d1&scoped=true\"\nimport script from \"./Demo.vue?vue&type=script&lang=js\"\nexport * from \"./Demo.vue?vue&type=script&lang=js\"\n\nimport \"./Demo.vue?vue&type=style&index=0&id=758a62d1&lang=css\"\nimport \"./Demo.vue?vue&type=style&index=1&id=758a62d1&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-758a62d1\"]])\n\nexport default __exports__","import { createApp } from 'vue'\nimport Demo from './Demo/Demo.vue'\n\nconst app = createApp(Demo);\n\n// enable devtools for the demo\napp.config.devtools = true;\n\napp.mount('#app');","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue_document_editor\"] = self[\"webpackChunkvue_document_editor\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(1313); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementBlock","_hoisted_1","_createVNode","_component_vue_file_toolbar_menu","content","$options","menu","_component_vue_document_editor","ref","$data","$event","overlay","zoom","page_format_mm","page_margins","display","$props","_hoisted_2","_Fragment","_renderList","pages","page","page_idx","key","uuid","elt","pages_overlay_refs","innerHTML","length","style","_normalizeStyle","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","input","onKeyup","process_current_text_style","onKeydown","keydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","props","type","Array","required","String","default","Boolean","Function","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","this","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","defineCustomElement","customElements","define","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","keyCode","text","replace","preventDefault","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","css_to_string","css","Object","entries","k","v","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep","__exports__","colspan","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","preventLineBreaks","invoice_number","_hoisted_7","today","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","is_shipping_identical","billing_address","target","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","items","onClick","_hoisted_19","_hoisted_20","_toDisplayString","_hoisted_21","desc","_hoisted_22","min","qty","_hoisted_24","step","price","_hoisted_26","toFixed","_hoisted_27","sub_total","_hoisted_28","tax_percent","parseFloat","innerText","_hoisted_29","shipping","_hoisted_30","total","_hoisted_31","_hoisted_32","_hoisted_33","next_month","date","Date","toJSON","setDate","getDate","reduce","acc","which","components","VueDocumentEditor","VueFileToolbarMenu","markRaw","InvoiceTemplate","zoom_min","zoom_max","undo_count","content_history","created","start_zoom_gesture","start_dist_touch","start_zoom_touch","ctrlKey","deltaY","passive","scale","touches","hypot","pageX","pageY","manage_undo_redo","stopPropagation","undo","redo","title","icon","click","confirm","resetContentHistory","print","is","disabled","can_undo","hotkey","isMacLike","can_redo","active","isLeftAligned","execCommand","isCentered","isRightAligned","isJustified","isBold","isItalic","isUnderline","isStrikeThrough","menu_class","color","curColor","update_color","new_color","hex8","isNumberedList","isBulletedList","html","isH1","isH2","isH3","insertPageBreak","current_format_name","chevron","formats","w","h","menu_width","menu_height","current_margins_name","margins","value","format","width_mm","height_mm","includes","textAlign","fontWeight","parseInt","indexOf","fontStyle","stack","some","d","listStyleType","test","navigator","platform","_mute_next_content_watcher","async","marker","$nextTick","regexp","RegExp","exec","tags_open","content_plus_tags_close","substr","index","immediate","render","app","createApp","Demo","config","devtools","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","keys","every","r","definition","o","defineProperty","enumerable","get","g","globalThis","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","id","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/js/app.c7c9ff63.js b/docs/js/app.c7c9ff63.js new file mode 100644 index 0000000..962b2f3 --- /dev/null +++ b/docs/js/app.c7c9ff63.js @@ -0,0 +1,2 @@ +(function(){"use strict";var e={8449:function(e,t,i){var n=i(9963),s=i(6252);const a={class:"main"};function o(e,t,i,n,o,r){const l=(0,s.up)("vue-file-toolbar-menu"),c=(0,s.up)("vue-document-editor");return(0,s.wg)(),(0,s.iD)("div",a,[(0,s.Wm)(l,{content:r.menu,class:"bar"},null,8,["content"]),(0,s.Wm)(c,{class:"editor",ref:"editor",content:o.content,"onUpdate:content":t[0]||(t[0]=e=>o.content=e),overlay:r.overlay,zoom:o.zoom,page_format_mm:o.page_format_mm,page_margins:o.page_margins,display:o.display},null,8,["content","overlay","zoom","page_format_mm","page_margins","display"])])}var r=i(3183),l=i(3577);const c={class:"editor",ref:"editor"},d={key:0,class:"overlays",ref:"overlays"},u=["innerHTML"],m=["contenteditable"];function h(e,t,i,n,a,o){return(0,s.wg)(),(0,s.iD)("div",c,[i.overlay?((0,s.wg)(),(0,s.iD)("div",d,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(a.pages,((e,t)=>((0,s.wg)(),(0,s.iD)("div",{class:"overlay",key:e.uuid+"-overlay",ref_for:!0,ref:t=>a.pages_overlay_refs[e.uuid]=t,innerHTML:i.overlay(t+1,a.pages.length),style:(0,l.j5)(o.page_style(t,!1))},null,12,u)))),128))],512)):(0,s.kq)("",!0),(0,s._)("div",{class:"content",ref:"content",contenteditable:i.editable,style:(0,l.j5)(o.page_style(-1)),onInput:t[0]||(t[0]=(...e)=>o.input&&o.input(...e)),onKeyup:t[1]||(t[1]=(...e)=>o.process_current_text_style&&o.process_current_text_style(...e))},null,44,m)],512)}i(7658);function p(e,t){if(!e||!t)return!1;const i=e.childNodes;for(let n=0;n{const i=p(e,t.s_tag);i&&t.childNodes.length?n(i,t.firstChild):(e.append(t),e.normalize())};n(e,i)}}var _={props:{content:{type:Array,required:!0},display:{type:String,default:"grid"},editable:{type:Boolean,default:!0},overlay:Function,page_format_mm:{type:Array,default:()=>[210,297]},page_margins:{type:[String,Function],default:"10mm 15mm"},zoom:{type:Number,default:1},do_not_break:Function},data(){return{pages:[],pages_overlay_refs:{},pages_height:0,editor_width:0,prevent_next_content_update_from_parent:!1,current_text_style:!1,printing_mode:!1}},mounted(){this.update_editor_width(),this.update_css_media_style(),this.reset_content(),window.addEventListener("resize",this.update_editor_width),window.addEventListener("click",this.process_current_text_style),window.addEventListener("beforeprint",this.before_print),window.addEventListener("afterprint",this.after_print)},beforeUpdate(){this.pages_overlay_refs=[]},beforeUnmount(){window.removeEventListener("resize",this.update_editor_width),window.removeEventListener("click",this.process_current_text_style),window.removeEventListener("beforeprint",this.before_print),window.removeEventListener("afterprint",this.after_print)},computed:{css_media_style(){const e=document.createElement("style");return document.head.appendChild(e),e}},methods:{new_uuid:()=>Math.random().toString(36).slice(-5),reset_content(){if(this.reset_in_progress)return;if(this.reset_in_progress=!0,!this.content.length)return this.reset_in_progress=!1,void this.$emit("update:content",[""]);this.pages=this.content.map(((e,t)=>({uuid:this.new_uuid(),content_idx:t,template:e.template,props:e.props}))),this.update_pages_elts();const e=this.pages[0].elt;this.$refs.content.contains(e)||this.$refs.content.appendChild(e),this.pages_height=e.clientHeight+1;for(const t of this.pages){if(this.content[t.content_idx]){if("string"==typeof this.content[t.content_idx])t.elt.innerHTML="
"+this.content[t.content_idx]+"
";else if(t.template){const e=(0,n.MW)(t.template);customElements.define("component-"+t.uuid,e),t.elt.appendChild(new e({modelValue:t.props}))}}else t.elt.innerHTML="

";this.$refs.content.contains(t.elt)||this.$refs.content.appendChild(t.elt)}this.fit_content_over_pages(),this.$refs.content.blur(),this.reset_in_progress=!1},fit_content_over_pages(){if(!this.pages_height)return;if(this.fit_in_progress)return;this.fit_in_progress=!0;for(let s=this.pages.length-1;s>=0;s--){const e=this.pages[s];e.elt&&document.body.contains(e.elt)||this.pages.splice(s,1)}if(!this.pages.length)return this.fit_in_progress=!1,void this.$emit("update:content",[""]);const e=window.getSelection(),t=document.createElement("null"),i=document.createElement("null");if(e&&e.rangeCount&&e.anchorNode&&(!e.anchorNode.dataset||null==e.anchorNode.dataset.isVDEPage)){const n=e.getRangeAt(0);n.insertNode(t),n.collapse(!1),n.insertNode(i)}let n=!1;for(let s=0;s!i.childNodes.length||e.elt.clientHeight>this.pages_height)),e.elt.clientHeight>this.pages_height&&(t&&t.content_idx==e.content_idx||(t={uuid:this.new_uuid(),content_idx:e.content_idx},this.pages.splice(s+1,0,t),this.update_pages_elts(),i=t.elt),g(e.elt,i,(()=>e.elt.clientHeight<=this.pages_height),this.do_not_break)),i&&t.content_idx==e.content_idx&&!i.childNodes.length&&this.pages.splice(s+1,1)),this.update_pages_elts()}for(const s of this.pages)s.template||s.elt.normalize();if(document.body.contains(t)){const n=document.createRange();n.setStart(t,0),document.body.contains(i)&&n.setEnd(i,0),e.removeAllRanges(),e.addRange(n)}t.parentElement&&t.parentElement.removeChild(t),i.parentElement&&i.parentElement.removeChild(i);for(const s of this.pages)s.prev_innerHTML=s.elt.innerHTML;this.fit_in_progress=!1},input(e){e&&(this.fit_content_over_pages(),this.emit_new_content(),"insertText"!=e.inputType&&this.process_current_text_style())},emit_new_content(){let e=!1;const t=this.content.map(((t,i)=>{const n=this.pages.filter((e=>e.content_idx==i));return n.length?"string"==typeof t?n.map((e=>{let t=e.elt;while(1==t.children.length&&t.firstChild.tagName&&"div"==t.firstChild.tagName.toLowerCase()&&!t.firstChild.getAttribute("style"))t=t.firstChild;return"
"==t.innerHTML||"\x3c!----\x3e"==t.innerHTML?"":t.innerHTML})).join(""):{template:t.template,props:{...t.props}}:(e=!0,!1)})).filter((e=>!1!==e));e||(this.prevent_next_content_update_from_parent=!0),this.$emit("update:content",t)},process_current_text_style(){let e=!1;const t=window.getSelection();if(t.focusNode){const i=t.focusNode.tagName?t.focusNode:t.focusNode.parentElement;if(i&&i.isContentEditable){e=window.getComputedStyle(i),e.textDecorationStack=[],e.headerLevel=0,e.isList=!1;let t=i;while(t){const i=window.getComputedStyle(t);if(e.textDecorationStack.push(i.textDecoration),"list-item"==i.display&&(e.isList=!0),!e.headerLevel)for(let n=1;n<=6;n++)if(t.tagName.toUpperCase()=="H"+n){e.headerLevel=n;break}t=t.parentElement}}}this.current_text_style=e},page_style(e,t){const i=.2645833333333,n=this.page_format_mm[0]/i,s=10,a=(s+this.page_format_mm[0])*this.zoom/i,o=20,r=this.editor_width-2*o;let l,c,d,u,m,h,p,g=1;if("horizontal"==this.display)r>this.pages.length*a?(g=Math.floor(r/a),u=r/(2*g)*(1+2*e)-n/2):(g=this.pages.length,u=a*e+n/2*(this.zoom-1)),m=0,h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.page_format_mm[1]*this.zoom;else{g=Math.floor(r/a),(g<1||"vertical"==this.display)&&(g=1),l=e%g,c=r/(2*g)*(1+2*l)-n/2,d=Math.max(0,(n*this.zoom-r)/2),u=c+d,m=(this.page_format_mm[1]+s)*this.zoom*Math.floor(e/g);const t=Math.ceil(this.pages.length/g);h=this.zoom*(this.page_format_mm[0]*g+(g-1)*s),p=this.zoom*(this.page_format_mm[1]*t+(t-1)*s)}if(e>=0){const i={position:"absolute",left:"calc("+u+"px + "+o+"px)",top:"calc("+m+"mm + "+o+"px)",width:this.page_format_mm[0]+"mm",padding:"function"==typeof this.page_margins?this.page_margins(e+1,this.pages.length):this.page_margins,transform:"scale("+this.zoom+")"};return i[t?"minHeight":"height"]=this.page_format_mm[1]+"mm",i}return{width:"calc("+h+"mm + "+2*o+"px)",height:"calc("+p+"mm + "+2*o+"px)"}},css_to_string:e=>Object.entries(e).map((([e,t])=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+":"+t)).join(";"),update_pages_elts(){const e=[...this.$refs.content.children].filter((e=>!this.pages.find((t=>t.elt==e))));for(const t of e)t.remove();for(const[t,i]of this.pages.entries()){if(!i.elt){i.elt=document.createElement("div"),i.elt.className="page",i.elt.dataset.isVDEPage="";const e=this.pages[t+1];this.$refs.content.insertBefore(i.elt,e?e.elt:null)}i.elt.dataset.contentIdx=i.content_idx,this.printing_mode||(i.elt.style=Object.entries(this.page_style(t,!i.template)).map((([e,t])=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+":"+t)).join(";")),i.elt.contentEditable=!(!this.editable||i.template)}},update_editor_width(){this.$refs.editor.classList.add("hide_children"),this.editor_width=this.$refs.editor.clientWidth,this.update_pages_elts(),this.$refs.editor.classList.remove("hide_children")},update_css_media_style(){this.css_media_style.innerHTML="@media print { @page { size: "+this.page_format_mm[0]+"mm "+this.page_format_mm[1]+"mm; margin: 0 !important; } .hidden-print { display: none !important; } }"},before_print(){this.printing_mode=!0,this._page_body=document.body;const e=document.createElement("body");e.style.margin="0",e.style.padding="0",e.style.background="white",e.style.font=window.getComputedStyle(this.$refs.editor).font,e.className=this.$refs.editor.className;for(const[i,n]of this.pages.entries()){n.elt.style="",n.elt.style.position="relative",n.elt.style.padding="function"==typeof this.page_margins?this.page_margins(i+1,this.pages.length):this.page_margins,n.elt.style.breakBefore=i?"page":"auto",n.elt.style.width="calc("+this.page_format_mm[0]+"mm - 2px)",n.elt.style.height="calc("+this.page_format_mm[1]+"mm - 2px)",n.elt.style.boxSizing="border-box",n.elt.style.overflow="hidden";const t=this.pages_overlay_refs[n.uuid];t&&(t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.transform="none",t.style.padding="0",t.style.overflow="hidden",n.elt.prepend(t)),e.append(n.elt)}const t=document.createElement("div");t.className="hidden-print",t.style.position="fixed",t.style.left="0",t.style.top="0",t.style.right="0",t.style.bottom="0",t.style.display="flex",t.style.alignItems="center",t.style.justifyContent="center",t.style.background="rgba(255, 255, 255, 0.95)",t.style.cursor="pointer",t.innerHTML='',t.addEventListener("click",this.after_print),e.append(t),document.body=e},after_print(){this.printing_mode=!1;for(const[e,t]of this.pages.entries()){t.elt.style=this.css_to_string(this.page_style(e,!t.template)),this.$refs.content.append(t.elt);const i=this.pages_overlay_refs[t.uuid];i&&(i.style=this.css_to_string(this.page_style(e,!1)),this.$refs.overlays.append(i))}document.body=this._page_body,this.update_editor_width()}},watch:{content:{handler(){this.prevent_next_content_update_from_parent?this.prevent_next_content_update_from_parent=!1:this.reset_content()},deep:!0},display:{handler(){this.update_pages_elts()}},page_format_mm:{handler(){this.update_css_media_style(),this.reset_content()}},page_margins:{handler(){this.reset_content()}},zoom:{handler(){this.update_pages_elts()}}}},y=i(3744);const b=(0,y.Z)(_,[["render",h],["__scopeId","data-v-ae3eff30"]]);var v=b,x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTk2QkI4RkE3NjE2MTFFNUE4NEU4RkIxNjQ5MTYyRDgiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTk2QkI4Rjk3NjE2MTFFNUE4NEU4RkIxNjQ5MTYyRDgiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9In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p+UIIrZ8SzbM4L8ecb6pFCC6BNbWw8lSB7wLtt2AX5st74olCDikPWskfRZNSVIi2OKst2+c5P1QaEEEYuH2V7N4Lqv2msrlCDisa5FrqkEUSwIL7E93sDrPW6vqVCC5AaN0l/kVZ+iBGlxfMR2awOuc6u9lkIJkjvcwXagjuc/YK+hUILkEgnVdxeRDfYaCiVIbvEk2546nHePPbdCCZJ7rMvJORVKkEzwBtuOGp5vhz2nQgnSNMBu6uM1OM84Nedu80qQFscY1SYfx2Z7LoUSpOlwH9ubi/j9m/YcCiWIDth1YK4EaUU8z7Z7Ab/bbX+rUII0PdY36DcKJUgu8R7btnkcv83+RqEEaRncwnZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC";const k=e=>((0,s.dD)("data-v-98a429fc"),e=e(),(0,s.Cn)(),e),w={class:"template"},C=(0,s.uE)('

INTERACTIVE INVOICE

This page is rendered from a "template" Vue.js component.
You can modify the fields highlighted in green and interact with the buttons without having them in the print. Check out InvoiceTemplate.ce.vue
',1),L=k((()=>(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("td",null,"OUR DETAILS"),(0,s._)("td",{style:{"text-align":"right"}},"INVOICE DETAILS")])],-1))),I=k((()=>(0,s._)("td",{contenteditable:"true"},[(0,s._)("div",null,[(0,s._)("b",null,"MyCompany")]),(0,s._)("div",null,"24 Poazkz Pazoek"),(0,s._)("div",null,"89232 Oijzrazro"),(0,s._)("div",null,"FRIGNEDRY"),(0,s._)("div",null,"AB251648730890")],-1))),z={style:{"min-width":"250px","text-align":"right"}},M=k((()=>(0,s._)("b",null,"Invoice number:",-1))),E=k((()=>(0,s._)("b",null,"Invoice date:",-1))),N=k((()=>(0,s._)("b",null,"Order number:",-1))),A=k((()=>(0,s._)("b",null,"Order date:",-1))),T=k((()=>(0,s._)("b",null,"Your client number:",-1))),P={style:{margin:"10px 0 35px 0"}},R=k((()=>(0,s._)("td",{style:{width:"50%"}},"BILLING ADDRESS",-1))),B={class:"hide-in-print",style:{"margin-left":"10px"}},U=["innerHTML"],S={key:1,contenteditable:"true"},D=k((()=>(0,s._)("h2",null,"Your order",-1))),O={style:{"margin-top":"10px"},class:"order-table"},V=k((()=>(0,s._)("thead",null,[(0,s._)("tr",{style:{"font-size":"13px"}},[(0,s._)("td",null,"ITEM #"),(0,s._)("td",null,"REFERENCE"),(0,s._)("td",null,"DESIGNATION"),(0,s._)("td",null,"QUANTITY"),(0,s._)("td",null,"UNIT PRICE"),(0,s._)("td",{style:{"text-align":"right"}},"TOTAL PRICE")])],-1))),H=["onClick"],W={contenteditable:"true"},Z={contenteditable:"true"},j={style:{padding:"0","text-align":"center"}},Y=["onUpdate:modelValue"],G={style:{padding:"0"}},Q=["onUpdate:modelValue"],q={style:{"text-align":"right"}},J={colspan:"5",style:{"text-align":"right"}},K={colspan:"6",style:{"text-align":"right"}},X={colspan:"6",style:{"text-align":"right"}},F={colspan:"6",style:{"text-align":"right","font-weight":"bold"}},$=k((()=>(0,s._)("div",{style:{"margin-bottom":"20px"}},"Thank you for your order.",-1))),ee=k((()=>(0,s._)("b",null,"Payment method:",-1))),te=k((()=>(0,s._)("b",null,"Payment term:",-1)));function ie(e,t,i,a,o,r){return(0,s.wg)(),(0,s.iD)("div",w,[C,(0,s._)("table",null,[L,(0,s._)("tbody",null,[(0,s._)("tr",null,[I,(0,s._)("td",z,[(0,s._)("div",null,[M,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[0]||(t[0]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(i.modelValue.invoice_number),33)]),(0,s._)("div",null,[E,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[1]||(t[1]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(r.today),33)]),(0,s._)("div",null,[N,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[2]||(t[2]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},"W210984204",32)]),(0,s._)("div",null,[A,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[3]||(t[3]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(r.today),33)]),(0,s._)("div",null,[T,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[4]||(t[4]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},"120948",32)])])])])]),(0,s._)("table",P,[(0,s._)("thead",null,[(0,s._)("tr",null,[R,(0,s._)("td",null,[(0,s.Uk)("SHIPPING ADDRESS "),(0,s._)("label",B,[(0,s.wy)((0,s._)("input",{type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=e=>o.is_shipping_identical=e)},null,512),[[n.e8,o.is_shipping_identical]]),(0,s.Uk)(" Identical ")])])])]),(0,s._)("tbody",null,[(0,s._)("tr",null,[(0,s._)("td",{ref:"billing_address",contenteditable:"true",onInput:t[6]||(t[6]=e=>this.billing_address=e.target.innerHTML)},null,544),o.is_shipping_identical?((0,s.wg)(),(0,s.iD)("td",{key:0,innerHTML:o.billing_address,contenteditable:"false"},null,8,U)):((0,s.wg)(),(0,s.iD)("td",S,"Insert custom shipping address"))])])]),D,(0,s._)("table",O,[V,(0,s._)("tbody",null,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(o.items,((e,t)=>((0,s.wg)(),(0,s.iD)("tr",{key:e.key},[(0,s._)("td",null,[(0,s._)("div",{class:"left-btn hide-in-print",onClick:()=>o.items.splice(t,1)},"➖",8,H),(0,s.Uk)((0,l.zw)(t+1),1)]),(0,s._)("td",W,(0,l.zw)(e.ref),1),(0,s._)("td",Z,(0,l.zw)(e.desc),1),(0,s._)("td",j,[(0,s.wy)((0,s._)("input",{type:"number",min:"1",style:{width:"3em"},"onUpdate:modelValue":t=>e.qty=t},null,8,Y),[[n.nr,e.qty]])]),(0,s._)("td",G,[(0,s.Uk)("€ "),(0,s.wy)((0,s._)("input",{type:"number",step:"0.01",style:{width:"4em"},"onUpdate:modelValue":t=>e.price=t},null,8,Q),[[n.nr,e.price]])]),(0,s._)("td",q,"€ "+(0,l.zw)((e.qty*e.price).toFixed(2)),1)])))),128)),(0,s._)("tr",null,[(0,s._)("td",null,[o.items.length<5?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"left-btn hide-in-print",onClick:t[7]||(t[7]=()=>o.items.push({key:Math.random(),ref:"MyRef",desc:"My description",qty:1,price:0}))},"➕")):(0,s.kq)("",!0)]),(0,s._)("td",J,"Sub-total: € "+(0,l.zw)(r.sub_total.toFixed(2)),1)]),(0,s._)("tr",null,[(0,s._)("td",K,[(0,s.Uk)("Taxes: "),(0,s._)("span",{ref:"tax_percent",contenteditable:"true",onInput:t[8]||(t[8]=e=>this.tax_percent=parseFloat(e.target.innerText))},null,544),(0,s.Uk)("%")])]),(0,s._)("tr",null,[(0,s._)("td",X,[(0,s.Uk)("Shipping: € "),(0,s._)("span",{ref:"shipping",contenteditable:"true",onInput:t[9]||(t[9]=e=>this.shipping=parseFloat(e.target.innerText))},null,544)])]),(0,s._)("tr",null,[(0,s._)("td",F,"Order total: € "+(0,l.zw)(r.total.toFixed(2)),1)])])]),$,(0,s._)("div",null,[ee,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[10]||(t[10]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},"Bank transfer",32)]),(0,s._)("div",null,[te,(0,s.Uk)(),(0,s._)("span",{contenteditable:"true",onKeydown:t[11]||(t[11]=(...e)=>r.preventLineBreaks&&r.preventLineBreaks(...e))},(0,l.zw)(r.next_month),33)])])}var ne={props:{modelValue:Object},data(){return{is_shipping_identical:!0,billing_address:"M. John Doe
98 Ooezfjefoi Laozdij
09823 Ljeiznr
FOPKSOFOF
AC310592815039",items:[{key:Math.random(),ref:"X3000",desc:"My great product",qty:1,price:299}],tax_percent:20,shipping:15}},mounted(){this.$refs.billing_address.innerHTML=this.billing_address,this.$refs.tax_percent.innerHTML=this.tax_percent,this.$refs.shipping.innerHTML=this.shipping+".00"},computed:{today(){var e=new Date;return e.toJSON().slice(0,10).replace(/-/g,".")},next_month(){var e=new Date;return e.setDate(e.getDate()+30),e.toJSON().slice(0,10).replace(/-/g,".")},sub_total(){return this.items.reduce(((e,t)=>e+t.qty*t.price),0)},total(){return this.sub_total*(1+this.tax_percent/100)+this.shipping}},methods:{preventLineBreaks(e){13==e.which&&e.preventDefault()}}},se='\ntable[data-v-98a429fc] {\n width: 100%;\n border-spacing: 0;\n}\ntable td[data-v-98a429fc] {\n position: relative;\n padding: 6px;\n vertical-align: top;\n}\ntable.order-table td[data-v-98a429fc] {\n vertical-align: middle;\n}\ntable thead td[data-v-98a429fc] {\n font-weight: bold;\n}\ntable tbody td[data-v-98a429fc] {\n border-top: solid 1px #CCC;\n}\ninput[type=number][data-v-98a429fc] {\n border: none;\n font-family: inherit;\n font-size: inherit;\n color: inherit;\n background: rgba(200, 250, 230, 0.4);\n padding: 6px;\n}\n*[contenteditable="true"][data-v-98a429fc] {\n background: rgba(200, 250, 230, 0.4);\n cursor: text;\n transition: padding 0.05s linear;\n}\nspan[contenteditable="true"][data-v-98a429fc]:focus {\n padding: 0 4px;\n}\n@media print {\n*[contenteditable="true"][data-v-98a429fc], input[data-v-98a429fc] {\n background: none;\n}\n.hide-in-print[data-v-98a429fc] {\n display: none;\n}\ninput[data-v-98a429fc]::-webkit-outer-spin-button,\n input[data-v-98a429fc]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\ninput[type=number][data-v-98a429fc] {\n -moz-appearance: textfield;\n background: none;\n}\n}\n.header[data-v-98a429fc] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.order[data-v-98a429fc] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.left-btn[data-v-98a429fc] {\n position: absolute;\n left: -40px;\n top: 2px;\n}\n.left-btn[data-v-98a429fc]:hover {\n opacity: 0.6;\n}\n';const ae=(0,y.Z)(ne,[["render",ie],["styles",[se]],["__scopeId","data-v-98a429fc"]]);var oe=ae,re=i(2262),le={components:{VueDocumentEditor:v,VueFileToolbarMenu:r.Z},data(){return{content:['

Hello world!

This is a rich-text editor built on top of Vue.js using the native contenteditable browser implementation and some JavaScript trickery to spread content over paper-sized pages.

Built-in functionality includes:

  • Using Vue.js components as interactive page templates (see next page)
  • Word-by-word page splitting (still experimental - only for plain HTML content)
  • Native Print compatible
  • Dynamic document format and margins in millimeters
  • Custom page overlays (headers, footers, page numbers)
  • Page breaks
  • Smart zoom and page display modes
  • Computes text style at caret position

This library may be useful if you design an application that generate documents and you would let the user to modify them slightly before printing / saving, but with limited / interactive possibilities. It does not intend to replace a proper document editor with full functionality.
Make sure this project is suitable to your needs before using it.

This demo adds:

  • The top bar (vue-file-toolbar-menu component) and the functions associated with it
  • Rewritten history stack (undo/redo) compatible with native commands
  • Pinch and trackpad zooming

Check out the Demo.vue file if you need to add these functionalities to your application.

The link below is an example of non-editable block set with contenteditable="false":

View docs on Github, you can\'t edit me.

But you can still edit this.

',{template:(0,re.Xl)(oe),props:{invoice_number:"AB38052985"}},'

Headers / footers example


Page numbers have been added on every page of this document.
Header and footer overlays will be added from page 3 to all subsequent ones.

Check out the overlay method of the Demo.vue file to customize this.','

«

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

Ut velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.

Aliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.

»

','

--- This is a page break. ---

'],zoom:.8,zoom_min:.1,zoom_max:5,page_format_mm:[210,297],page_margins:"10mm 15mm",display:"grid",mounted:!1,undo_count:-1,content_history:[]}},created(){let e=!1,t=!1,i=!1;window.addEventListener("wheel",(e=>{e.ctrlKey&&(e.preventDefault(),this.zoom=Math.min(Math.max(this.zoom-.01*e.deltaY,this.zoom_min),this.zoom_max))}),{passive:!1}),window.addEventListener("gesturestart",(t=>{t.preventDefault(),e=this.zoom})),window.addEventListener("gesturechange",(t=>{t.preventDefault(),i||(this.zoom=Math.min(Math.max(e*t.scale,this.zoom_min),this.zoom_max))})),window.addEventListener("gestureend",(()=>{e=!1})),window.addEventListener("touchstart",(e=>{2==e.touches.length&&(e.preventDefault(),t=Math.hypot(e.touches[0].pageX-e.touches[1].pageX,e.touches[0].pageY-e.touches[1].pageY),i=this.zoom)}),{passive:!1}),window.addEventListener("touchmove",(e=>{if(t&&i){e.preventDefault();let n=i*Math.hypot(e.touches[0].pageX-e.touches[1].pageX,e.touches[0].pageY-e.touches[1].pageY)/t;this.zoom=Math.min(Math.max(n,this.zoom_min),this.zoom_max)}}),{passive:!1}),window.addEventListener("touchend",(()=>{t=!1,i=!1}),{passive:!1});const n=e=>{switch(e&&e.inputType){case"historyUndo":e.preventDefault(),e.stopPropagation(),this.undo();break;case"historyRedo":e.preventDefault(),e.stopPropagation(),this.redo();break}};window.addEventListener("beforeinput",n),window.addEventListener("input",n)},mounted(){this.mounted=!0},computed:{menu(){return[{text:"New",title:"New",icon:"description",click:()=>{confirm("This will create an empty document. Are you sure?")&&(this.content=[""],this.resetContentHistory())}},{text:"Print",title:"Print",icon:"print",click:()=>window.print()},{is:"spacer"},{title:"Undo",icon:"undo",disabled:!this.can_undo,hotkey:this.isMacLike?"command+z":"ctrl+z",click:()=>this.undo()},{title:"Redo",icon:"redo",disabled:!this.can_redo,hotkey:this.isMacLike?"shift+command+z":"ctrl+y",click:()=>this.redo()},{is:"spacer"},{icon:"format_align_left",title:"Align left",active:this.isLeftAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+l":"ctrl+shift+l",click:()=>document.execCommand("justifyLeft")},{icon:"format_align_center",title:"Align center",active:this.isCentered,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+e":"ctrl+shift+e",click:()=>document.execCommand("justifyCenter")},{icon:"format_align_right",title:"Align right",active:this.isRightAligned,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+r":"ctrl+shift+r",click:()=>document.execCommand("justifyRight")},{icon:"format_align_justify",title:"Justify content",active:this.isJustified,disabled:!this.current_text_style,hotkey:this.isMacLike?"shift+command+j":"ctrl+shift+j",click:()=>document.execCommand("justifyFull")},{is:"separator"},{icon:"format_bold",title:"Bold",active:this.isBold,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+b":"ctrl+b",click:()=>document.execCommand("bold")},{icon:"format_italic",title:"Italic",active:this.isItalic,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+i":"ctrl+i",click:()=>document.execCommand("italic")},{icon:"format_underline",title:"Underline",active:this.isUnderline,disabled:!this.current_text_style,hotkey:this.isMacLike?"command+u":"ctrl+u",click:()=>document.execCommand("underline")},{icon:"format_strikethrough",title:"Strike through",active:this.isStrikeThrough,disabled:!this.current_text_style,click:()=>document.execCommand("strikethrough")},{is:"button-color",type:"compact",menu_class:"align-center",disabled:!this.current_text_style,color:this.curColor,update_color:e=>document.execCommand("foreColor",!1,e.hex8)},{is:"separator"},{icon:"format_list_numbered",title:"Numbered list",active:this.isNumberedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertOrderedList")},{icon:"format_list_bulleted",title:"Bulleted list",active:this.isBulletedList,disabled:!this.current_text_style,click:()=>document.execCommand("insertUnorderedList")},{html:"H1",title:"Header 1",active:this.isH1,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H2",title:"Header 2",active:this.isH2,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{html:"H3",title:"Header 3",active:this.isH3,disabled:!this.current_text_style,click:()=>document.execCommand("formatBlock",!1,"

")},{icon:"format_clear",title:"Clear format",disabled:!this.current_text_style,click(){document.execCommand("removeFormat"),document.execCommand("formatBlock",!1,"
")}},{icon:"splitscreen",title:"Page break",disabled:!this.current_text_style,click:()=>this.insertPageBreak()},{is:"spacer"},{text:this.current_format_name,title:"Format",icon:"crop_free",chevron:!0,menu:this.formats.map((([e,t,i])=>({text:e,active:this.page_format_mm[0]==t&&this.page_format_mm[1]==i,click:()=>{this.page_format_mm=[t,i]}}))),menu_width:80,menu_height:280},{text:this.current_margins_name,title:"Margins",icon:"select_all",chevron:!0,menu:this.margins.map((([e,t])=>({text:e+" ("+t+")",active:this.page_margins==t,click:()=>{this.page_margins=t}}))),menu_width:200,menu_class:"align-center"},{text:Math.floor(100*this.zoom)+"%",title:"Zoom",icon:"zoom_in",chevron:!0,menu:[["200%",2],["150%",1.5],["125%",1.25],["100%",1],["75%",.75],["50%",.5],["25%",.25]].map((([e,t])=>({text:e,active:this.zoom==t,click:()=>{this.zoom=t}}))),menu_width:80,menu_height:280,menu_class:"align-center"},{title:"Display",icon:"horizontal"==this.display?"view_column":"vertical"==this.display?"view_stream":"view_module",chevron:!0,menu:[{icon:"view_module",active:"grid"==this.display,click:()=>{this.display="grid"}},{icon:"view_column",active:"horizontal"==this.display,click:()=>{this.display="horizontal"}},{icon:"view_stream",active:"vertical"==this.display,click:()=>{this.display="vertical"}}],menu_width:55,menu_class:"align-right"}]},current_format_name(){const e=this.formats.find((([,e,t])=>this.page_format_mm[0]==e&&this.page_format_mm[1]==t));return e?e[0]:this.page_format_mm[0]+"mm x "+this.page_format_mm[1]+"mm"},formats:()=>[["A0",841,1189],["A0L",1189,841],["A1",594,841],["A1L",841,594],["A2",420,594],["A2L",594,420],["A3",297,420],["A3L",420,297],["A4",210,297],["A4L",297,210],["A5",148,210],["A5L",210,148],["A6",105,148],["A6L",148,105]],current_margins_name(){const e=this.margins.find((([,e])=>this.page_margins==e));return e?e[0]:this.page_margins},margins:()=>[["Medium","20mm"],["Small","15mm"],["Slim","10mm 15mm"],["Tiny","5mm"]],current_text_style(){return!!this.mounted&&this.$refs.editor.current_text_style},isLeftAligned(){return["start","left","-moz-left"].includes(this.current_text_style.textAlign)},isRightAligned(){return["end","right","-moz-right"].includes(this.current_text_style.textAlign)},isCentered(){return["center","-moz-center"].includes(this.current_text_style.textAlign)},isJustified(){return["justify","justify-all"].includes(this.current_text_style.textAlign)},isBold(){const e=this.current_text_style.fontWeight;return e&&(parseInt(e)>400||0==e.indexOf("bold"))},isItalic(){return"italic"==this.current_text_style.fontStyle},isUnderline(){const e=this.current_text_style.textDecorationStack;return e&&e.some((e=>0==e.indexOf("underline")))},isStrikeThrough(){const e=this.current_text_style.textDecorationStack;return e&&e.some((e=>0==e.indexOf("line-through")))},isNumberedList(){return this.current_text_style.isList&&"decimal"==this.current_text_style.listStyleType},isBulletedList(){return this.current_text_style.isList&&["disc","circle"].includes(this.current_text_style.listStyleType)},isH1(){return 1==this.current_text_style.headerLevel},isH2(){return 2==this.current_text_style.headerLevel},isH3(){return 3==this.current_text_style.headerLevel},curColor(){return this.current_text_style.color||"transparent"},isMacLike:()=>/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),can_undo(){return this.undo_count>0},can_redo(){return this.content_history.length-this.undo_count-1>0}},methods:{overlay(e,t){let i='
Page '+e+" of "+t+"
";return e>=3&&(i+='
MYCOMPANY example.com /// This is a custom header overlay
',i+='
MY COMPANY - example.com /// This is a custom footer overlay
'),i},undo(){this.can_undo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[--this.undo_count])},redo(){this.can_redo&&(this._mute_next_content_watcher=!0,this.content=this.content_history[++this.undo_count])},resetContentHistory(){this.content_history=[],this.undo_count=-1},async insertPageBreak(){document.execCommand("insertParagraph");const e="###PB###";document.execCommand("insertText",!1,e),await this.$nextTick(),await this.$nextTick();const t=new RegExp("<(p|div|h\\d)( [^/>]+)*>(<[^/>]+>)*"+e);for(let i=0;i"+a),void this.content.splice(i,1,n.substr(0,s.index),t+a)}}for(let i=0;i=a)&&Object.keys(i.O).every((function(e){return i.O[e](n[l])}))?n.splice(l--,1):(r=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[n,s,a]}}(),function(){i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){var e={143:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,a,o=n[0],r=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(s in r)i.o(r,s)&&(i.m[s]=r[s]);if(l)var d=l(i)}for(t&&t(n);c\n
\n\n \n \n\n \n \n\n
\n\n\n\n\n\n\n","\n\n\n\n\n","\n/**\n * Utility function that acts like an Array.filter on childNodes of \"container\"\n * @param {HTMLElement} container \n * @param {string} s_tag \n */\nfunction find_sub_child_sibling_node (container, s_tag){\n if(!container || !s_tag) return false;\n const child_nodes = container.childNodes;\n for(let i = 0; i < child_nodes.length; i++) {\n if(child_nodes[i].s_tag == s_tag) return child_nodes[i];\n }\n return false;\n}\n\n\n/**\n * This function moves every sub-child of argument \"child\" to the start of the \"child_sibling\"\n * argument, beginning from the last child, with word splitting and format preserving.\n * Typically, \"child\" is the current page which content overflows, and \"child_sibling\" is the \n * next page.\n * @param {HTMLElement} child Element to take children from (current page)\n * @param {HTMLElement} child_sibling Element to copy children to (next page)\n * @param {function} stop_condition Check function that returns a boolean if content doesn't overflow anymore\n * @param {function(HTMLElement):boolean?} do_not_break Optional function that receives the current child element and should return true if the child should not be split over two pages but rather be moved directly to the next page\n * @param {boolean?} not_first_child Should be unset. Used internally to let at least one child in the page\n */\nfunction move_children_forward_recursively (child, child_sibling, stop_condition, do_not_break, not_first_child) {\n\n // if the child still has nodes and the current page still overflows\n while(child.childNodes.length && !stop_condition()){\n\n // check if page has only one child tree left\n not_first_child = not_first_child || (child.childNodes.length != 1);\n\n // select the last sub-child\n const sub_child = child.lastChild;\n\n // if it is a text node, move its content to next page word(/space) by word\n if(sub_child.nodeType == Node.TEXT_NODE){\n const sub_child_hashes = sub_child.textContent.match(/(\\s|\\S+)/g);\n const sub_child_continuation = document.createTextNode('');\n child_sibling.prepend(sub_child_continuation);\n const l = sub_child_hashes ? sub_child_hashes.length : 0;\n for(let i = 0; i < l; i++) {\n if(i == l - 1 && !not_first_child) return; // never remove the first word of the page\n sub_child.textContent = sub_child_hashes.slice(0, l - i - 1).join('');\n sub_child_continuation.textContent = sub_child_hashes.slice(l - i - 1, l).join('');\n if(stop_condition()) return;\n }\n }\n\n // we simply move it to the next page if it is either:\n // - a node with no content (e.g. )\n // - a header title (e.g.

)\n // - a table row (e.g. )\n // - any element on whose user-custom `do_not_break` function returns true\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i) || sub_child.tagName.match(/tr/i) || (typeof do_not_break === \"function\" && do_not_break(sub_child))) {\n // just prevent moving the last child of the page\n if(!not_first_child){\n console.log(\"Move-forward: first child reached with no stop condition. Aborting\");\n return;\n }\n child_sibling.prepend(sub_child);\n }\n\n // for every other node that is not text and not the first child, clone it recursively to next page\n else {\n // check if sub child has already been cloned before\n let sub_child_sibling = find_sub_child_sibling_node(child_sibling, sub_child.s_tag);\n \n // if not, create it and watermark the relationship with a random tag\n if(!sub_child_sibling) {\n if(!sub_child.s_tag) {\n const new_random_tag = Math.random().toString(36).slice(2, 8);\n sub_child.s_tag = new_random_tag;\n }\n sub_child_sibling = sub_child.cloneNode(false);\n sub_child_sibling.s_tag = sub_child.s_tag;\n child_sibling.prepend(sub_child_sibling);\n }\n \n // then move/clone its children and sub-children recursively\n move_children_forward_recursively(sub_child, sub_child_sibling, stop_condition, do_not_break, not_first_child);\n sub_child_sibling.normalize(); // merge consecutive text nodes\n }\n\n // if sub_child was a container that was cloned and is now empty, we clean it\n if(child.contains(sub_child)){\n if(sub_child.childNodes.length == 0 || sub_child.innerHTML == \"\") child.removeChild(sub_child);\n else if(!stop_condition()) {\n // the only case when it can be non empty should be when stop_condition is now true\n console.log(\"sub_child:\", sub_child, \"that is in child:\", child);\n throw Error(\"Document editor is trying to remove a non-empty sub-child. This \"\n + \"is a bug and should not happen. Please report a repeatable set of actions that \"\n + \"leaded to this error to https://github.com/motla/vue-document-editor/issues/new\");\n }\n }\n }\n}\n\n\n\n/**\n * This function moves the first element from \"next_page_html_div\" to the end of \"page_html_div\", with\n * merging sibling tags previously watermarked by \"move_children_forward_recursively\", if any.\n * @param {HTMLElement} page_html_div Current page element\n * @param {HTMLElement} next_page_html_div Next page element\n * @param {function} stop_condition Check function that returns a boolean if content overflows\n */\nfunction move_children_backwards_with_merging (page_html_div, next_page_html_div, stop_condition) {\n\n // loop until content is overflowing\n while(!stop_condition()){\n\n // find first child of next page\n const first_child = next_page_html_div.firstChild;\n\n // merge it at the end of the current page\n var merge_recursively = (container, elt) => {\n // check if child had been splitted (= has a sibling on previous page)\n const elt_sibling = find_sub_child_sibling_node(container, elt.s_tag);\n if(elt_sibling && elt.childNodes.length) {\n // then dig for deeper children, in case of\n merge_recursively(elt_sibling, elt.firstChild);\n }\n // else move the child inside the right container at current page\n else {\n container.append(elt);\n container.normalize();\n }\n }\n merge_recursively(page_html_div, first_child);\n }\n}\n\nexport {\n move_children_forward_recursively,\n move_children_backwards_with_merging\n};","import { render } from \"./DocumentEditor.vue?vue&type=template&id=ae3eff30&scoped=true\"\nimport script from \"./DocumentEditor.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditor.vue?vue&type=script&lang=js\"\n\nimport \"./DocumentEditor.vue?vue&type=style&index=0&id=ae3eff30&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=ae3eff30&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ae3eff30\"]])\n\nexport default __exports__","\n\n\n\n","export default \"\\ntable[data-v-98a429fc] {\\n width: 100%;\\n border-spacing: 0;\\n}\\ntable td[data-v-98a429fc] {\\n position: relative;\\n padding: 6px;\\n vertical-align: top;\\n}\\ntable.order-table td[data-v-98a429fc] {\\n vertical-align: middle;\\n}\\ntable thead td[data-v-98a429fc] {\\n font-weight: bold;\\n}\\ntable tbody td[data-v-98a429fc] {\\n border-top: solid 1px #CCC;\\n}\\ninput[type=number][data-v-98a429fc] {\\n border: none;\\n font-family: inherit;\\n font-size: inherit;\\n color: inherit;\\n background: rgba(200, 250, 230, 0.4);\\n padding: 6px;\\n}\\n*[contenteditable=\\\"true\\\"][data-v-98a429fc] {\\n background: rgba(200, 250, 230, 0.4);\\n cursor: text;\\n transition: padding 0.05s linear;\\n}\\nspan[contenteditable=\\\"true\\\"][data-v-98a429fc]:focus {\\n padding: 0 4px;\\n}\\n@media print {\\n*[contenteditable=\\\"true\\\"][data-v-98a429fc], input[data-v-98a429fc] {\\n background: none;\\n}\\n.hide-in-print[data-v-98a429fc] {\\n display: none;\\n}\\ninput[data-v-98a429fc]::-webkit-outer-spin-button,\\n input[data-v-98a429fc]::-webkit-inner-spin-button {\\n -webkit-appearance: none;\\n margin: 0;\\n}\\ninput[type=number][data-v-98a429fc] {\\n -moz-appearance: textfield;\\n background: none;\\n}\\n}\\n.header[data-v-98a429fc] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.order[data-v-98a429fc] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.left-btn[data-v-98a429fc] {\\n position: absolute;\\n left: -40px;\\n top: 2px;\\n}\\n.left-btn[data-v-98a429fc]:hover {\\n opacity: 0.6;\\n}\\n\"","import { render } from \"./InvoiceTemplate.ce.vue?vue&type=template&id=98a429fc&scoped=true\"\nimport script from \"./InvoiceTemplate.ce.vue?vue&type=script&lang=js\"\nexport * from \"./InvoiceTemplate.ce.vue?vue&type=script&lang=js\"\n\nimport _style_0 from \"./InvoiceTemplate.ce.vue?vue&type=style&index=0&id=98a429fc&inline&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['styles',[_style_0]],['__scopeId',\"data-v-98a429fc\"]])\n\nexport default __exports__","import { render } from \"./Demo.vue?vue&type=template&id=d2c209e0&scoped=true\"\nimport script from \"./Demo.vue?vue&type=script&lang=js\"\nexport * from \"./Demo.vue?vue&type=script&lang=js\"\n\nimport \"./Demo.vue?vue&type=style&index=0&id=d2c209e0&lang=css\"\nimport \"./Demo.vue?vue&type=style&index=1&id=d2c209e0&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-d2c209e0\"]])\n\nexport default __exports__","import { createApp } from 'vue'\nimport Demo from './Demo/Demo.vue'\n\nconst app = createApp(Demo);\n\n// enable devtools for the demo\napp.config.devtools = true;\n\napp.mount('#app');","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue_document_editor\"] = self[\"webpackChunkvue_document_editor\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(8449); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementBlock","_hoisted_1","_createVNode","_component_vue_file_toolbar_menu","content","$options","menu","_component_vue_document_editor","ref","$data","$event","overlay","zoom","page_format_mm","page_margins","display","$props","_hoisted_2","_Fragment","_renderList","pages","page","page_idx","key","uuid","elt","pages_overlay_refs","innerHTML","length","style","_normalizeStyle","page_style","_createElementVNode","contenteditable","editable","onInput","_cache","args","input","onKeyup","process_current_text_style","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","do_not_break","not_first_child","sub_child","lastChild","nodeType","Node","TEXT_NODE","sub_child_hashes","textContent","match","sub_child_continuation","document","createTextNode","prepend","l","slice","join","tagName","console","log","sub_child_sibling","new_random_tag","Math","random","toString","cloneNode","normalize","contains","removeChild","Error","move_children_backwards_with_merging","page_html_div","next_page_html_div","first_child","firstChild","merge_recursively","elt_sibling","append","props","type","Array","required","String","default","Boolean","Function","Number","data","pages_height","editor_width","prevent_next_content_update_from_parent","current_text_style","printing_mode","mounted","this","update_editor_width","update_css_media_style","reset_content","window","addEventListener","before_print","after_print","beforeUpdate","beforeUnmount","removeEventListener","computed","css_media_style","createElement","head","appendChild","methods","new_uuid","reset_in_progress","$emit","map","content_idx","template","update_pages_elts","first_page_elt","$refs","clientHeight","componentElement","defineCustomElement","customElements","define","modelValue","fit_content_over_pages","blur","fit_in_progress","body","splice","selection","getSelection","start_marker","end_marker","rangeCount","anchorNode","dataset","isVDEPage","range","getRangeAt","insertNode","collapse","prev_page_modified_flag","next_page","next_page_elt","prev_innerHTML","createRange","setStart","setEnd","removeAllRanges","addRange","parentElement","e","emit_new_content","inputType","removed_pages_flag","new_content","item","filter","children","toLowerCase","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","push","textDecoration","toUpperCase","allow_overflow","px_in_mm","page_width","page_spacing_mm","page_with_plus_spacing","view_padding","inner_width","page_column","x_pos","x_ofx","left_px","top_mm","bkg_width_mm","bkg_height_mm","nb_pages_x","floor","max","nb_pages_y","ceil","position","left","top","width","padding","transform","height","css_to_string","css","Object","entries","k","v","replace","deleted_pages","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","boxSizing","overflow","overlay_elt","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep","__exports__","colspan","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","onKeydown","preventLineBreaks","invoice_number","_hoisted_7","today","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","is_shipping_identical","billing_address","target","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","items","onClick","_hoisted_19","_hoisted_20","_toDisplayString","_hoisted_21","desc","_hoisted_22","min","qty","_hoisted_24","step","price","_hoisted_26","toFixed","_hoisted_27","sub_total","_hoisted_28","tax_percent","parseFloat","innerText","_hoisted_29","shipping","_hoisted_30","total","_hoisted_31","_hoisted_32","_hoisted_33","next_month","date","Date","toJSON","setDate","getDate","reduce","acc","which","preventDefault","components","VueDocumentEditor","VueFileToolbarMenu","markRaw","InvoiceTemplate","zoom_min","zoom_max","undo_count","content_history","created","start_zoom_gesture","start_dist_touch","start_zoom_touch","ctrlKey","deltaY","passive","scale","touches","hypot","pageX","pageY","manage_undo_redo","stopPropagation","undo","redo","text","title","icon","click","confirm","resetContentHistory","print","is","disabled","can_undo","hotkey","isMacLike","can_redo","active","isLeftAligned","execCommand","isCentered","isRightAligned","isJustified","isBold","isItalic","isUnderline","isStrikeThrough","menu_class","color","curColor","update_color","new_color","hex8","isNumberedList","isBulletedList","html","isH1","isH2","isH3","insertPageBreak","current_format_name","chevron","formats","w","h","menu_width","menu_height","current_margins_name","margins","value","format","width_mm","height_mm","includes","textAlign","fontWeight","parseInt","indexOf","fontStyle","stack","some","d","listStyleType","test","navigator","platform","_mute_next_content_watcher","async","marker","$nextTick","regexp","RegExp","exec","tags_open","content_plus_tags_close","substr","index","immediate","render","app","createApp","Demo","config","devtools","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","keys","every","r","definition","o","defineProperty","enumerable","get","g","globalThis","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","id","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/js/chunk-vendors.1e67432d.js b/docs/js/chunk-vendors.1e67432d.js new file mode 100644 index 0000000..52a3e5b --- /dev/null +++ b/docs/js/chunk-vendors.1e67432d.js @@ -0,0 +1,15 @@ +(self["webpackChunkvue_document_editor"]=self["webpackChunkvue_document_editor"]||[]).push([[998],{2262:function(e,t,n){"use strict";n.d(t,{Bj:function(){return a},Fl:function(){return Ie},IU:function(){return ke},Jd:function(){return C},PG:function(){return ve},Um:function(){return me},WL:function(){return Re},X$:function(){return F},X3:function(){return xe},Xl:function(){return Ce},dq:function(){return Ee},iH:function(){return Me},j:function(){return A},lk:function(){return S},nZ:function(){return s},qj:function(){return ge},qq:function(){return w},yT:function(){return ye}});var r=n(3577);let o;class a{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},c=e=>(e.w&g)>0,u=e=>(e.n&g)>0,h=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===n||!(0,r.yk)(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(s.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&c.push(s.get("length")):(c.push(s.get(b)),(0,r._N)(e)&&c.push(s.get(v)));break;case"delete":(0,r.kJ)(e)||(c.push(s.get(b)),(0,r._N)(e)&&c.push(s.get(v)));break;case"set":(0,r._N)(e)&&c.push(s.get(b));break}if(1===c.length)c[0]&&E(c[0]);else{const e=[];for(const t of c)t&&e.push(...t);E(l(e))}}function E(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const r of n)r.computed&&M(r,t);for(const r of n)r.computed||M(r,t)}function M(e,t){(e!==_||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const D=(0,r.fY)("__proto__,__v_isRef,__isVue"),O=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),L=T();function T(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ke(this);for(let t=0,o=this.length;t{e[t]=function(...e){C();const n=ke(this)[t].apply(this,e);return S(),n}})),e}function R(e){const t=ke(this);return A(t,"has",e),t.hasOwnProperty(e)}class P{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,a=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(o?a?fe:he:a?ue:ce).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=(0,r.kJ)(e);if(!o){if(i&&(0,r.RI)(L,t))return Reflect.get(L,t,n);if("hasOwnProperty"===t)return R}const s=Reflect.get(e,t,n);return((0,r.yk)(t)?O.has(t):D(t))?s:(o||A(e,"get",t),a?s:Ee(s)?i&&(0,r.S0)(t)?s:s.value:(0,r.Kn)(s)?o?_e(s):ge(s):s)}}class I extends P{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(!this._shallow){const t=we(a);if(ye(n)||we(n)||(a=ke(a),n=ke(n)),!(0,r.kJ)(e)&&Ee(a)&&!Ee(n))return!t&&(a.value=n,!0)}const i=(0,r.kJ)(e)&&(0,r.S0)(t)?Number(t)e,N=e=>Reflect.getPrototypeOf(e);function U(e,t,n=!1,o=!1){e=e["__v_raw"];const a=ke(e),i=ke(t);n||((0,r.aU)(t,i)&&A(a,"get",t),A(a,"get",i));const{has:s}=N(a),l=o?B:n?Ae:Se;return s.call(a,t)?l(e.get(t)):s.call(a,i)?l(e.get(i)):void(e!==a&&e.get(t))}function W(e,t=!1){const n=this["__v_raw"],o=ke(n),a=ke(e);return t||((0,r.aU)(e,a)&&A(o,"has",e),A(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function K(e,t=!1){return e=e["__v_raw"],!t&&A(ke(e),"iterate",b),Reflect.get(e,"size",e)}function V(e){e=ke(e);const t=ke(this),n=N(t),r=n.has.call(t,e);return r||(t.add(e),F(t,"add",e,e)),this}function J(e,t){t=ke(t);const n=ke(this),{has:o,get:a}=N(n);let i=o.call(n,e);i||(e=ke(e),i=o.call(n,e));const s=a.call(n,e);return n.set(e,t),i?(0,r.aU)(t,s)&&F(n,"set",e,t,s):F(n,"add",e,t),this}function G(e){const t=ke(this),{has:n,get:r}=N(t);let o=n.call(t,e);o||(e=ke(e),o=n.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return o&&F(t,"delete",e,void 0,a),i}function Y(){const e=ke(this),t=0!==e.size,n=void 0,r=e.clear();return t&&F(e,"clear",void 0,void 0,n),r}function Z(e,t){return function(n,r){const o=this,a=o["__v_raw"],i=ke(a),s=t?B:e?Ae:Se;return!e&&A(i,"iterate",b),a.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}}function X(e,t,n){return function(...o){const a=this["__v_raw"],i=ke(a),s=(0,r._N)(i),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=a[e](...o),h=n?B:t?Ae:Se;return!t&&A(i,"iterate",c?v:b),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[h(e[0]),h(e[1])]:h(e),done:t}},[Symbol.iterator](){return this}}}}function Q(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function ee(){const e={get(e){return U(this,e)},get size(){return K(this)},has:W,add:V,set:J,delete:G,clear:Y,forEach:Z(!1,!1)},t={get(e){return U(this,e,!1,!0)},get size(){return K(this)},has:W,add:V,set:J,delete:G,clear:Y,forEach:Z(!1,!0)},n={get(e){return U(this,e,!0)},get size(){return K(this,!0)},has(e){return W.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:Z(!0,!1)},r={get(e){return U(this,e,!0,!0)},get size(){return K(this,!0)},has(e){return W.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:Z(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=X(o,!1,!1),n[o]=X(o,!0,!1),t[o]=X(o,!1,!0),r[o]=X(o,!0,!0)})),[e,n,t,r]}const[te,ne,re,oe]=ee();function ae(e,t){const n=t?e?oe:re:e?ne:te;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.RI)(n,o)&&o in t?n:t,o,a)}const ie={get:ae(!1,!1)},se={get:ae(!1,!0)},le={get:ae(!0,!1)};const ce=new WeakMap,ue=new WeakMap,he=new WeakMap,fe=new WeakMap;function de(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pe(e){return e["__v_skip"]||!Object.isExtensible(e)?0:de((0,r.W7)(e))}function ge(e){return we(e)?e:be(e,!1,q,ie,ce)}function me(e){return be(e,!1,$,se,ue)}function _e(e){return be(e,!0,z,le,he)}function be(e,t,n,o,a){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=a.get(e);if(i)return i;const s=pe(e);if(0===s)return e;const l=new Proxy(e,2===s?o:n);return a.set(e,l),l}function ve(e){return we(e)?ve(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function we(e){return!(!e||!e["__v_isReadonly"])}function ye(e){return!(!e||!e["__v_isShallow"])}function xe(e){return ve(e)||we(e)}function ke(e){const t=e&&e["__v_raw"];return t?ke(t):e}function Ce(e){return(0,r.Nj)(e,"__v_skip",!0),e}const Se=e=>(0,r.Kn)(e)?ge(e):e,Ae=e=>(0,r.Kn)(e)?_e(e):e;function je(e){x&&_&&(e=ke(e),j(e.dep||(e.dep=l())))}function Fe(e,t){e=ke(e);const n=e.dep;n&&E(n)}function Ee(e){return!(!e||!0!==e.__v_isRef)}function Me(e){return De(e,!1)}function De(e,t){return Ee(e)?e:new Oe(e,t)}class Oe{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ke(e),this._value=t?e:Se(e)}get value(){return je(this),this._value}set value(e){const t=this.__v_isShallow||ye(e)||we(e);e=t?e:ke(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Se(e),Fe(this,e))}}function Le(e){return Ee(e)?e.value:e}const Te={get:(e,t,n)=>Le(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ee(o)&&!Ee(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Re(e){return ve(e)?e:new Proxy(e,Te)}class Pe{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new w(e,(()=>{this._dirty||(this._dirty=!0,Fe(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=ke(this);return je(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ie(e,t,n=!1){let o,a;const i=(0,r.mf)(e);i?(o=e,a=r.dG):(o=e.get,a=e.set);const s=new Pe(o,a,i||!a,n);return s}},6252:function(e,t,n){"use strict";n.d(t,{$d:function(){return i},Cn:function(){return P},FN:function(){return Cn},HY:function(){return Bt},Ko:function(){return Ne},LL:function(){return V},P$:function(){return fe},Q6:function(){return be},RC:function(){return ye},U2:function(){return pe},Uk:function(){return fn},Us:function(){return Rt},Wm:function(){return ln},Y3:function(){return b},Y8:function(){return le},_:function(){return sn},aZ:function(){return ve},dD:function(){return R},h:function(){return Un},iD:function(){return Qt},ic:function(){return Pe},j4:function(){return en},kq:function(){return pn},nJ:function(){return ue},nK:function(){return _e},uE:function(){return dn},up:function(){return W},w5:function(){return I},wg:function(){return Jt},wy:function(){return oe}});var r=n(2262),o=n(3577);function a(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){s(a,t,n)}return o}function i(e,t,n,r){if((0,o.mf)(e)){const i=a(e,t,n,r);return i&&(0,o.tI)(i)&&i.catch((e=>{s(e,t,n)})),i}const l=[];for(let o=0;o>>1,o=h[r],a=A(o);af&&h.splice(t,1)}function k(e){(0,o.kJ)(e)?d.push(...e):p&&p.includes(e,e.allowRecurse?g+1:g)||d.push(e),y()}function C(e,t,n=(c?f+1:0)){for(0;nA(e)-A(t))),g=0;gnull==e.id?1/0:e.id,j=(e,t)=>{const n=A(e)-A(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function F(e){u=!1,c=!0,h.sort(j);o.dG;try{for(f=0;f(0,o.HD)(e)?e.trim():e))),t&&(a=n.map(o.h5))}let c;let u=r[c=(0,o.hR)(t)]||r[c=(0,o.hR)((0,o._A)(t))];!u&&s&&(u=r[c=(0,o.hR)((0,o.rs)(t))]),u&&i(u,e,6,a);const h=r[c+"Once"];if(h){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,i(h,e,6,a)}}function M(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(void 0!==a)return a;const i=e.emits;let s={},l=!1;if(!(0,o.mf)(e)){const r=e=>{const n=M(e,t,!0);n&&(l=!0,(0,o.l7)(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||l?((0,o.kJ)(i)?i.forEach((e=>s[e]=null)):(0,o.l7)(s,i),(0,o.Kn)(e)&&r.set(e,s),s):((0,o.Kn)(e)&&r.set(e,null),null)}function D(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}let O=null,L=null;function T(e){const t=O;return O=e,L=e&&e.type.__scopeId||null,t}function R(e){L=e}function P(){L=null}function I(e,t=O,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Zt(-1);const o=T(t);let a;try{a=e(...n)}finally{T(o),r._d&&Zt(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function H(e){const{type:t,vnode:n,proxy:r,withProxy:a,props:i,propsOptions:[l],slots:c,attrs:u,emit:h,render:f,renderCache:d,data:p,setupState:g,ctx:m,inheritAttrs:_}=e;let b,v;const w=T(e);try{if(4&n.shapeFlag){const e=a||r,t=e;b=gn(f.call(t,e,d,i,g,p,m)),v=u}else{const e=t;0,b=gn(e.length>1?e(i,{attrs:u,slots:c,emit:h}):e(i,null)),v=t.props?u:q(u)}}catch(x){Kt.length=0,s(x,e,1),b=ln(Ut)}let y=b;if(v&&!1!==_){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(l&&e.some(o.tR)&&(v=z(v,l)),y=hn(y,v))}return n.dirs&&(y=hn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,T(w),b}const q=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},z=(e,t)=>{const n={};for(const r in e)(0,o.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function $(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==i&&(r?!i||B(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?B(r,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function Z(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):k(e)}const X={};function Q(e,t,n){return ee(e,t,n)}function ee(e,t,{immediate:n,deep:s,flush:l,onTrack:c,onTrigger:u}=o.kT){var h;const f=(0,r.nZ)()===(null==(h=kn)?void 0:h.scope)?kn:null;let d,p,g=!1,m=!1;if((0,r.dq)(e)?(d=()=>e.value,g=(0,r.yT)(e)):(0,r.PG)(e)?(d=()=>e,s=!0):(0,o.kJ)(e)?(m=!0,g=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),d=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?re(e):(0,o.mf)(e)?a(e,f,2):void 0))):d=(0,o.mf)(e)?t?()=>a(e,f,2):()=>{if(!f||!f.isUnmounted)return p&&p(),i(e,f,3,[b])}:o.dG,t&&s){const e=d;d=()=>re(e())}let _,b=e=>{p=k.onStop=()=>{a(e,f,4),p=k.onStop=void 0}};if(Ln){if(b=o.dG,t?n&&i(t,f,3,[d(),m?[]:void 0,b]):d(),"sync"!==l)return o.dG;{const e=Kn();_=e.__watcherHandles||(e.__watcherHandles=[])}}let v=m?new Array(e.length).fill(X):X;const y=()=>{if(k.active)if(t){const e=k.run();(s||g||(m?e.some(((e,t)=>(0,o.aU)(e,v[t]))):(0,o.aU)(e,v)))&&(p&&p(),i(t,f,3,[e,v===X?void 0:m&&v[0]===X?[]:v,b]),v=e)}else k.run()};let x;y.allowRecurse=!!t,"sync"===l?x=y:"post"===l?x=()=>Tt(y,f&&f.suspense):(y.pre=!0,f&&(y.id=f.uid),x=()=>w(y));const k=new r.qq(d,x);t?n?y():v=k.run():"post"===l?Tt(k.run.bind(k),f&&f.suspense):k.run();const C=()=>{k.stop(),f&&f.scope&&(0,o.Od)(f.scope.effects,k)};return _&&_.push(C),C}function te(e,t,n){const r=this.proxy,a=(0,o.HD)(e)?e.includes(".")?ne(r,e):()=>r[e]:e.bind(r,r);let i;(0,o.mf)(t)?i=t:(i=t.handler,n=t);const s=kn;Fn(this);const l=ee(a,i.bind(r),n);return s?Fn(s):En(),l}function ne(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{re(e,t)}));else if((0,o.PO)(e))for(const n in e)re(e[n],t);return e}function oe(e,t){const n=O;if(null===n)return e;const r=zn(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Ie((()=>{e.isUnmounting=!0})),e}const ce=[Function,Array],ue={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ce,onEnter:ce,onAfterEnter:ce,onEnterCancelled:ce,onBeforeLeave:ce,onLeave:ce,onAfterLeave:ce,onLeaveCancelled:ce,onBeforeAppear:ce,onAppear:ce,onAfterAppear:ce,onAppearCancelled:ce},he={name:"BaseTransition",props:ue,setup(e,{slots:t}){const n=Cn(),o=le();let a;return()=>{const i=t.default&&be(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==Ut){0,s=t,e=!0;break}}const l=(0,r.IU)(e),{mode:c}=l;if(o.isLeaving)return ge(s);const u=me(s);if(!u)return ge(s);const h=pe(u,l,o,n);_e(u,h);const f=n.subTree,d=f&&me(f);let p=!1;const{getTransitionKey:g}=u.type;if(g){const e=g();void 0===a?a=e:e!==a&&(a=e,p=!0)}if(d&&d.type!==Ut&&(!nn(u,d)||p)){const e=pe(d,l,o,n);if(_e(d,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},ge(s);"in-out"===c&&u.type!==Ut&&(e.delayLeave=(e,t,n)=>{const r=de(o,d);r[String(d.key)]=d,e[ie]=()=>{t(),e[ie]=void 0,delete h.delayedLeave},h.delayedLeave=n})}return s}}},fe=he;function de(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function pe(e,t,n,r){const{appear:a,mode:s,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:h,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:v,onAppearCancelled:w}=t,y=String(e.key),x=de(n,e),k=(e,t)=>{e&&i(e,r,9,t)},C=(e,t)=>{const n=t[1];k(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:s,persisted:l,beforeEnter(t){let r=c;if(!n.isMounted){if(!a)return;r=_||c}t[ie]&&t[ie](!0);const o=x[y];o&&nn(e,o)&&o.el[ie]&&o.el[ie](),k(r,[t])},enter(e){let t=u,r=h,o=f;if(!n.isMounted){if(!a)return;t=b||u,r=v||h,o=w||f}let i=!1;const s=e[se]=t=>{i||(i=!0,k(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[se]=void 0)};t?C(t,[e,s]):s()},leave(t,r){const o=String(e.key);if(t[se]&&t[se](!0),n.isUnmounting)return r();k(d,[t]);let a=!1;const i=t[ie]=n=>{a||(a=!0,r(),k(n?m:g,[t]),t[ie]=void 0,x[o]===e&&delete x[o])};x[o]=e,p?C(p,[t,i]):i()},clone(e){return pe(e,t,n,r)}};return S}function ge(e){if(ke(e))return e=hn(e),e.children=null,e}function me(e){return ke(e)?e.children?e.children[0]:void 0:e}function _e(e,t){6&e.shapeFlag&&e.component?_e(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function be(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;a(0,o.l7)({name:e.name},t,{setup:e}))():e}const we=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;function ye(e){(0,o.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:a,delay:i=200,timeout:l,suspensible:c=!0,onError:u}=e;let h,f=null,d=0;const p=()=>(d++,f=null,g()),g=()=>{let e;return f||(e=f=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((t,n)=>{const r=()=>t(p()),o=()=>n(e);u(e,r,o,d+1)}));throw e})).then((t=>e!==f&&f?f:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),h=t,t))))};return ve({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return h},setup(){const e=kn;if(h)return()=>xe(h,e);const t=t=>{f=null,s(t,e,13,!a)};if(c&&e.suspense||Ln)return g().then((t=>()=>xe(t,e))).catch((e=>(t(e),()=>a?ln(a,{error:e}):null)));const o=(0,r.iH)(!1),u=(0,r.iH)(),d=(0,r.iH)(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=l&&setTimeout((()=>{if(!o.value&&!u.value){const e=new Error(`Async component timed out after ${l}ms.`);t(e),u.value=e}}),l),g().then((()=>{o.value=!0,e.parent&&ke(e.parent.vnode)&&w(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>o.value&&h?xe(h,e):u.value&&a?ln(a,{error:u.value}):n&&!d.value?ln(n):void 0}})}function xe(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=ln(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const ke=e=>e.type.__isKeepAlive;RegExp,RegExp;function Ce(e,t){return(0,o.kJ)(e)?e.some((e=>Ce(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!(0,o.Kj)(e)&&e.test(t)}function Se(e,t){je(e,"a",t)}function Ae(e,t){je(e,"da",t)}function je(e,t,n=kn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(De(t,r,n),n){let e=n.parent;while(e&&e.parent)ke(e.parent.vnode)&&Fe(r,t,n,e),e=e.parent}}function Fe(e,t,n,r){const a=De(t,e,r,!0);He((()=>{(0,o.Od)(r[t],a)}),n)}function Ee(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Me(e){return 128&e.shapeFlag?e.ssContent:e}function De(e,t,n=kn,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),Fn(n);const a=i(t,n,e,o);return En(),(0,r.lk)(),a});return o?a.unshift(s):a.push(s),s}}const Oe=e=>(t,n=kn)=>(!Ln||"sp"===e)&&De(e,((...e)=>t(...e)),n),Le=Oe("bm"),Te=Oe("m"),Re=Oe("bu"),Pe=Oe("u"),Ie=Oe("bum"),He=Oe("um"),qe=Oe("sp"),ze=Oe("rtg"),$e=Oe("rtc");function Be(e,t=kn){De("ec",e,t)}function Ne(e,t,n,r){let a;const i=n&&n[r];if((0,o.kJ)(e)||(0,o.HD)(e)){a=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);a=new Array(n.length);for(let r=0,o=n.length;re?Mn(e)?zn(e)||e.proxy:Ue(e.parent):null,We=(0,o.l7)(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=>Ue(e.parent),$root:e=>Ue(e.root),$emit:e=>e.emit,$options:e=>et(e),$forceUpdate:e=>e.f||(e.f=()=>w(e.update)),$nextTick:e=>e.n||(e.n=b.bind(e.proxy)),$watch:e=>te.bind(e)}),Ke=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Ve={get({_:e},t){const{ctx:n,setupState:a,data:i,props:s,accessCache:l,type:c,appContext:u}=e;let h;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return a[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Ke(a,t))return l[t]=1,a[t];if(i!==o.kT&&(0,o.RI)(i,t))return l[t]=2,i[t];if((h=e.propsOptions[0])&&(0,o.RI)(h,t))return l[t]=3,s[t];if(n!==o.kT&&(0,o.RI)(n,t))return l[t]=4,n[t];Ge&&(l[t]=0)}}const f=We[t];let d,p;return f?("$attrs"===t&&(0,r.j)(e,"get",t),f(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==o.kT&&(0,o.RI)(n,t)?(l[t]=4,n[t]):(p=u.config.globalProperties,(0,o.RI)(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:a,ctx:i}=e;return Ke(a,t)?(a[t]=n,!0):r!==o.kT&&(0,o.RI)(r,t)?(r[t]=n,!0):!(0,o.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:i}},s){let l;return!!n[s]||e!==o.kT&&(0,o.RI)(e,s)||Ke(t,s)||(l=i[0])&&(0,o.RI)(l,s)||(0,o.RI)(r,s)||(0,o.RI)(We,s)||(0,o.RI)(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Je(e){return(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Ge=!0;function Ye(e){const t=et(e),n=e.proxy,a=e.ctx;Ge=!1,t.beforeCreate&&Xe(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:l,watch:c,provide:u,inject:h,created:f,beforeMount:d,mounted:p,beforeUpdate:g,updated:m,activated:_,deactivated:b,beforeDestroy:v,beforeUnmount:w,destroyed:y,unmounted:x,render:k,renderTracked:C,renderTriggered:S,errorCaptured:A,serverPrefetch:j,expose:F,inheritAttrs:E,components:M,directives:D,filters:O}=t,L=null;if(h&&Ze(h,a,L),l)for(const r in l){const e=l[r];(0,o.mf)(e)&&(a[r]=e.bind(n))}if(i){0;const t=i.call(n,n);0,(0,o.Kn)(t)&&(e.data=(0,r.qj)(t))}if(Ge=!0,s)for(const r in s){const e=s[r],t=(0,o.mf)(e)?e.bind(n,n):(0,o.mf)(e.get)?e.get.bind(n,n):o.dG;0;const i=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(n):o.dG,l=Nn({get:t,set:i});Object.defineProperty(a,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const r in c)Qe(c[r],a,n,r);if(u){const e=(0,o.mf)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{pt(t,e[t])}))}function T(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&Xe(f,e,"c"),T(Le,d),T(Te,p),T(Re,g),T(Pe,m),T(Se,_),T(Ae,b),T(Be,A),T($e,C),T(ze,S),T(Ie,w),T(He,x),T(qe,j),(0,o.kJ)(F))if(F.length){const t=e.exposed||(e.exposed={});F.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===o.dG&&(e.render=k),null!=E&&(e.inheritAttrs=E),M&&(e.components=M),D&&(e.directives=D)}function Ze(e,t,n=o.dG){(0,o.kJ)(e)&&(e=at(e));for(const a in e){const n=e[a];let i;i=(0,o.Kn)(n)?"default"in n?gt(n.from||a,n.default,!0):gt(n.from||a):gt(n),(0,r.dq)(i)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[a]=i}}function Xe(e,t,n){i((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Qe(e,t,n,r){const a=r.includes(".")?ne(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&Q(a,n)}else if((0,o.mf)(e))Q(a,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>Qe(e,t,n,r)));else{const r=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(r)&&Q(a,r,e)}else 0}function et(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let c;return l?c=l:a.length||n||r?(c={},a.length&&a.forEach((e=>tt(c,e,s,!0))),tt(c,t,s)):c=t,(0,o.Kn)(t)&&i.set(t,c),c}function tt(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&tt(e,a,n,!0),o&&o.forEach((t=>tt(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else{const r=nt[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const nt={data:rt,props:lt,emits:lt,methods:st,computed:st,beforeCreate:it,created:it,beforeMount:it,mounted:it,beforeUpdate:it,updated:it,beforeDestroy:it,beforeUnmount:it,destroyed:it,unmounted:it,activated:it,deactivated:it,errorCaptured:it,serverPrefetch:it,components:st,directives:st,watch:ct,provide:rt,inject:ot};function rt(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function ot(e,t){return st(at(e),at(t))}function at(e){if((0,o.kJ)(e)){const t={};for(let n=0;n1)return n&&(0,o.mf)(t)?t.call(r&&r.proxy):t}else 0}function mt(e,t,n,a=!1){const i={},s={};(0,o.Nj)(s,rn,1),e.propsDefaults=Object.create(null),bt(e,t,i,s);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=a?i:(0,r.Um)(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function _t(e,t,n,a){const{props:i,attrs:s,vnode:{patchFlag:l}}=e,c=(0,r.IU)(i),[u]=e.propsOptions;let h=!1;if(!(a||l>0)||16&l){let r;bt(e,t,i,s)&&(h=!0);for(const a in c)t&&((0,o.RI)(t,a)||(r=(0,o.rs)(a))!==a&&(0,o.RI)(t,r))||(u?!n||void 0===n[a]&&void 0===n[r]||(i[a]=vt(u,c,a,void 0,e,!0)):delete i[a]);if(s!==c)for(const e in s)t&&(0,o.RI)(t,e)||(delete s[e],h=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r{c=!0;const[n,r]=wt(e,t,!0);(0,o.l7)(s,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!c)return(0,o.Kn)(e)&&r.set(e,o.Z6),o.Z6;if((0,o.kJ)(i))for(let h=0;h-1,r[1]=n<0||e-1||(0,o.RI)(r,"default"))&&l.push(t)}}}}const u=[s,l];return(0,o.Kn)(e)&&r.set(e,u),u}function yt(e){return"$"!==e[0]}function xt(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function kt(e,t){return xt(e)===xt(t)}function Ct(e,t){return(0,o.kJ)(t)?t.findIndex((t=>kt(t,e))):(0,o.mf)(t)&&kt(t,e)?0:-1}const St=e=>"_"===e[0]||"$stable"===e,At=e=>(0,o.kJ)(e)?e.map(gn):[gn(e)],jt=(e,t,n)=>{if(t._n)return t;const r=I(((...e)=>At(t(...e))),n);return r._c=!1,r},Ft=(e,t,n)=>{const r=e._ctx;for(const a in e){if(St(a))continue;const n=e[a];if((0,o.mf)(n))t[a]=jt(a,n,r);else if(null!=n){0;const e=At(n);t[a]=()=>e}}},Et=(e,t)=>{const n=At(t);e.slots.default=()=>n},Mt=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,o.Nj)(t,"_",n)):Ft(t,e.slots={})}else e.slots={},t&&Et(e,t);(0,o.Nj)(e.slots,rn,1)},Dt=(e,t,n)=>{const{vnode:r,slots:a}=e;let i=!0,s=o.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:((0,o.l7)(a,t),n||1!==e||delete a._):(i=!t.$stable,Ft(t,a)),s=t}else t&&(Et(e,t),s={default:1});if(i)for(const o in a)St(o)||null!=s[o]||delete a[o]};function Ot(e,t,n,i,s=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>Ot(e,t&&((0,o.kJ)(t)?t[r]:t),n,i,s)));if(we(i)&&!s)return;const l=4&i.shapeFlag?zn(i.component)||i.component.proxy:i.el,c=s?null:l,{i:u,r:h}=e;const f=t&&t.r,d=u.refs===o.kT?u.refs={}:u.refs,p=u.setupState;if(null!=f&&f!==h&&((0,o.HD)(f)?(d[f]=null,(0,o.RI)(p,f)&&(p[f]=null)):(0,r.dq)(f)&&(f.value=null)),(0,o.mf)(h))a(h,u,12,[c,d]);else{const t=(0,o.HD)(h),a=(0,r.dq)(h);if(t||a){const r=()=>{if(e.f){const n=t?(0,o.RI)(p,h)?p[h]:d[h]:h.value;s?(0,o.kJ)(n)&&(0,o.Od)(n,l):(0,o.kJ)(n)?n.includes(l)||n.push(l):t?(d[h]=[l],(0,o.RI)(p,h)&&(p[h]=d[h])):(h.value=[l],e.k&&(d[e.k]=h.value))}else t?(d[h]=c,(0,o.RI)(p,h)&&(p[h]=c)):a&&(h.value=c,e.k&&(d[e.k]=c))};c?(r.id=-1,Tt(r,n)):r()}else 0}}function Lt(){}const Tt=Z;function Rt(e){return Pt(e)}function Pt(e,t){Lt();const n=(0,o.E9)();n.__VUE__=!0;const{insert:a,remove:i,patchProp:s,createElement:l,createText:c,createComment:u,setText:h,setElementText:f,parentNode:d,nextSibling:p,setScopeId:g=o.dG,insertStaticContent:m}=e,_=(e,t,n,r=null,o=null,a=null,i=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!nn(e,t)&&(r=X(e),V(e,o,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=t;switch(c){case Nt:b(e,t,n,r);break;case Ut:v(e,t,n,r);break;case Wt:null==e&&y(t,n,r,i);break;case Bt:T(e,t,n,r,o,a,i,s,l);break;default:1&h?j(e,t,n,r,o,a,i,s,l):6&h?R(e,t,n,r,o,a,i,s,l):(64&h||128&h)&&c.process(e,t,n,r,o,a,i,s,l,ee)}null!=u&&o&&Ot(u,e&&e.ref,a,t||e,!t)},b=(e,t,n,r)=>{if(null==e)a(t.el=c(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},v=(e,t,n,r)=>{null==e?a(t.el=u(t.children||""),n,r):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t},n,r)=>{let o;while(e&&e!==t)o=p(e),a(e,n,r),e=o;a(t,n,r)},A=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=p(e),i(e),e=n;i(t)},j=(e,t,n,r,o,a,i,s,l)=>{i=i||"svg"===t.type,null==e?F(t,n,r,o,a,i,s,l):D(e,t,o,a,i,s,l)},F=(e,t,n,r,i,c,u,h)=>{let d,p;const{type:g,props:m,shapeFlag:_,transition:b,dirs:v}=e;if(d=e.el=l(e.type,c,m&&m.is,m),8&_?f(d,e.children):16&_&&M(e.children,d,null,r,i,c&&"foreignObject"!==g,u,h),v&&ae(e,null,r,"created"),E(d,e,e.scopeId,u,r),m){for(const t in m)"value"===t||(0,o.Gg)(t)||s(d,t,null,m[t],c,e.children,r,i,Z);"value"in m&&s(d,"value",null,m.value),(p=m.onVnodeBeforeMount)&&vn(p,r,e)}v&&ae(e,null,r,"beforeMount");const w=Ht(i,b);w&&b.beforeEnter(d),a(d,t,n),((p=m&&m.onVnodeMounted)||w||v)&&Tt((()=>{p&&vn(p,r,e),w&&b.enter(d),v&&ae(e,null,r,"mounted")}),i)},E=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let a=0;a{for(let c=l;c{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:h,dirs:d}=t;u|=16&e.patchFlag;const p=e.props||o.kT,g=t.props||o.kT;let m;n&&It(n,!1),(m=g.onVnodeBeforeUpdate)&&vn(m,n,t,e),d&&ae(t,e,n,"beforeUpdate"),n&&It(n,!0);const _=a&&"foreignObject"!==t.type;if(h?O(e.dynamicChildren,h,c,n,r,_,i):l||B(e,t,c,null,n,r,_,i,!1),u>0){if(16&u)L(c,t,p,g,n,r,a);else if(2&u&&p.class!==g.class&&s(c,"class",null,g.class,a),4&u&&s(c,"style",p.style,g.style,a),8&u){const o=t.dynamicProps;for(let t=0;t{m&&vn(m,n,t,e),d&&ae(t,e,n,"updated")}),r)},O=(e,t,n,r,o,a,i)=>{for(let s=0;s{if(n!==r){if(n!==o.kT)for(const c in n)(0,o.Gg)(c)||c in r||s(e,c,n[c],null,l,t.children,a,i,Z);for(const c in r){if((0,o.Gg)(c))continue;const u=r[c],h=n[c];u!==h&&"value"!==c&&s(e,c,h,u,l,t.children,a,i,Z)}"value"in r&&s(e,"value",n.value,r.value)}},T=(e,t,n,r,o,i,s,l,u)=>{const h=t.el=e?e.el:c(""),f=t.anchor=e?e.anchor:c("");let{patchFlag:d,dynamicChildren:p,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(a(h,n,r),a(f,n,r),M(t.children,n,f,o,i,s,l,u)):d>0&&64&d&&p&&e.dynamicChildren?(O(e.dynamicChildren,p,n,o,i,s,l),(null!=t.key||o&&t===o.subTree)&&qt(e,t,!0)):B(e,t,n,f,o,i,s,l,u)},R=(e,t,n,r,o,a,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,l):P(t,n,r,o,a,i,l):I(e,t,l)},P=(e,t,n,r,o,a,i)=>{const s=e.component=xn(e,r,o);if(ke(e)&&(s.ctx.renderer=ee),Tn(s),s.asyncDep){if(o&&o.registerDep(s,q),!e.el){const e=s.subTree=ln(Ut);v(null,e,t,n)}}else q(s,e,t,n,o,a,i)},I=(e,t,n)=>{const r=t.component=e.component;if($(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void z(r,t,n);r.next=t,x(r.update),r.update()}else t.el=e.el,r.vnode=t},q=(e,t,n,a,i,s,l)=>{const c=()=>{if(e.isMounted){let t,{next:n,bu:r,u:a,parent:c,vnode:u}=e,h=n;0,It(e,!1),n?(n.el=u.el,z(e,n,l)):n=u,r&&(0,o.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&vn(t,c,n,u),It(e,!0);const f=H(e);0;const p=e.subTree;e.subTree=f,_(p,f,d(p.el),X(p),e,i,s),n.el=f.el,null===h&&N(e,f.el),a&&Tt(a,i),(t=n.props&&n.props.onVnodeUpdated)&&Tt((()=>vn(t,c,n,u)),i)}else{let r;const{el:l,props:c}=t,{bm:u,m:h,parent:f}=e,d=we(t);if(It(e,!1),u&&(0,o.ir)(u),!d&&(r=c&&c.onVnodeBeforeMount)&&vn(r,f,t),It(e,!0),l&&ne){const n=()=>{e.subTree=H(e),ne(l,e.subTree,e,i,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=H(e);0,_(null,r,n,a,e,i,s),t.el=r.el}if(h&&Tt(h,i),!d&&(r=c&&c.onVnodeMounted)){const e=t;Tt((()=>vn(r,f,e)),i)}(256&t.shapeFlag||f&&we(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Tt(e.a,i),e.isMounted=!0,t=n=a=null}},u=e.effect=new r.qq(c,(()=>w(h)),e.scope),h=e.update=()=>u.run();h.id=e.uid,It(e,!0),h()},z=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,_t(e,t.props,o,n),Dt(e,t.children,n),(0,r.Jd)(),C(e),(0,r.lk)()},B=(e,t,n,r,o,a,i,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,h=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void W(c,h,n,r,o,a,i,s,l);if(256&d)return void U(c,h,n,r,o,a,i,s,l)}8&p?(16&u&&Z(c,o,a),h!==c&&f(n,h)):16&u?16&p?W(c,h,n,r,o,a,i,s,l):Z(c,o,a,!0):(8&u&&f(n,""),16&p&&M(h,n,r,o,a,i,s,l))},U=(e,t,n,r,a,i,s,l,c)=>{e=e||o.Z6,t=t||o.Z6;const u=e.length,h=t.length,f=Math.min(u,h);let d;for(d=0;dh?Z(e,a,i,!0,!1,f):M(t,n,r,a,i,s,l,c,f)},W=(e,t,n,r,a,i,s,l,c)=>{let u=0;const h=t.length;let f=e.length-1,d=h-1;while(u<=f&&u<=d){const r=e[u],o=t[u]=c?mn(t[u]):gn(t[u]);if(!nn(r,o))break;_(r,o,n,null,a,i,s,l,c),u++}while(u<=f&&u<=d){const r=e[f],o=t[d]=c?mn(t[d]):gn(t[d]);if(!nn(r,o))break;_(r,o,n,null,a,i,s,l,c),f--,d--}if(u>f){if(u<=d){const e=d+1,o=ed)while(u<=f)V(e[u],a,i,!0),u++;else{const p=u,g=u,m=new Map;for(u=g;u<=d;u++){const e=t[u]=c?mn(t[u]):gn(t[u]);null!=e.key&&m.set(e.key,u)}let b,v=0;const w=d-g+1;let y=!1,x=0;const k=new Array(w);for(u=0;u=w){V(r,a,i,!0);continue}let o;if(null!=r.key)o=m.get(r.key);else for(b=g;b<=d;b++)if(0===k[b-g]&&nn(r,t[b])){o=b;break}void 0===o?V(r,a,i,!0):(k[o-g]=u+1,o>=x?x=o:y=!0,_(r,t[o],n,null,a,i,s,l,c),v++)}const C=y?zt(k):o.Z6;for(b=C.length-1,u=w-1;u>=0;u--){const e=g+u,o=t[e],f=e+1{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,n,r);if(128&u)return void e.suspense.move(t,n,r);if(64&u)return void s.move(e,t,n,ee);if(s===Bt){a(i,t,n);for(let e=0;el.enter(i)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,s=()=>a(i,t,n),c=()=>{e(i,(()=>{s(),o&&o()}))};r?r(i,s,c):c()}else a(i,t,n)},V=(e,t,n,r=!1,o=!1)=>{const{type:a,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:f}=e;if(null!=s&&Ot(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const d=1&u&&f,p=!we(e);let g;if(p&&(g=i&&i.onVnodeBeforeUnmount)&&vn(g,t,e),6&u)Y(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);d&&ae(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,ee,r):c&&(a!==Bt||h>0&&64&h)?Z(c,t,n,!1,!0):(a===Bt&&384&h||!o&&16&u)&&Z(l,t,n),r&&J(e)}(p&&(g=i&&i.onVnodeUnmounted)||d)&&Tt((()=>{g&&vn(g,t,e),d&&ae(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Bt)return void G(n,r);if(t===Wt)return void A(e);const a=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,a);r?r(e.el,a,i):i()}else a()},G=(e,t)=>{let n;while(e!==t)n=p(e),i(e),e=n;i(t)},Y=(e,t,n)=>{const{bum:r,scope:a,update:i,subTree:s,um:l}=e;r&&(0,o.ir)(r),a.stop(),i&&(i.active=!1,V(s,e,t,n)),l&&Tt(l,t),Tt((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,r=!1,o=!1,a=0)=>{for(let i=a;i6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&V(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),C(),S(),t._vnode=e},ee={p:_,um:V,m:K,r:J,mt:P,mc:M,pc:B,pbc:O,n:X,o:e};let te,ne;return t&&([te,ne]=t(ee)),{render:Q,hydrate:te,createApp:ft(Q,te)}}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ht(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qt(e,t,n=!1){const r=e.children,a=t.children;if((0,o.kJ)(r)&&(0,o.kJ)(a))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}a=n.length,i=n[a-1];while(a-- >0)n[a]=i,i=t[i];return n}const $t=e=>e.__isTeleport;const Bt=Symbol.for("v-fgt"),Nt=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),Wt=Symbol.for("v-stc"),Kt=[];let Vt=null;function Jt(e=!1){Kt.push(Vt=e?null:[])}function Gt(){Kt.pop(),Vt=Kt[Kt.length-1]||null}let Yt=1;function Zt(e){Yt+=e}function Xt(e){return e.dynamicChildren=Yt>0?Vt||o.Z6:null,Gt(),Yt>0&&Vt&&Vt.push(e),e}function Qt(e,t,n,r,o,a){return Xt(sn(e,t,n,r,o,a,!0))}function en(e,t,n,r,o){return Xt(ln(e,t,n,r,o,!0))}function tn(e){return!!e&&!0===e.__v_isVNode}function nn(e,t){return e.type===t.type&&e.key===t.key}const rn="__vInternal",on=({key:e})=>null!=e?e:null,an=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.HD)(e)||(0,r.dq)(e)||(0,o.mf)(e)?{i:O,r:e,k:t,f:!!n}:e:null);function sn(e,t=null,n=null,r=0,a=null,i=(e===Bt?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&on(t),ref:t&&an(t),scopeId:L,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:O};return l?(_n(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=(0,o.HD)(n)?8:16),Yt>0&&!s&&Vt&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&Vt.push(c),c}const ln=cn;function cn(e,t=null,n=null,a=0,i=null,s=!1){if(e&&e!==K||(e=Ut),tn(e)){const r=hn(e,t,!0);return n&&_n(r,n),Yt>0&&!s&&Vt&&(6&r.shapeFlag?Vt[Vt.indexOf(e)]=r:Vt.push(r)),r.patchFlag|=-2,r}if(Bn(e)&&(e=e.__vccOpts),t){t=un(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}const l=(0,o.HD)(e)?1:Y(e)?128:$t(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return sn(e,t,n,a,i,l,s,!0)}function un(e){return e?(0,r.X3)(e)||rn in e?(0,o.l7)({},e):e:null}function hn(e,t,n=!1){const{props:r,ref:a,patchFlag:i,children:s}=e,l=t?bn(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&on(l),ref:t&&t.ref?n&&a?(0,o.kJ)(a)?a.concat(an(t)):[a,an(t)]:an(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Bt?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hn(e.ssContent),ssFallback:e.ssFallback&&hn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c}function fn(e=" ",t=0){return ln(Nt,null,e,t)}function dn(e,t){const n=ln(Wt,null,e);return n.staticCount=t,n}function pn(e="",t=!1){return t?(Jt(),en(Ut,null,e)):ln(Ut,null,e)}function gn(e){return null==e||"boolean"===typeof e?ln(Ut):(0,o.kJ)(e)?ln(Bt,null,e.slice()):"object"===typeof e?mn(e):ln(Nt,null,String(e))}function mn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:hn(e)}function _n(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),_n(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||rn in t?3===r&&O&&(1===O.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=O}}else(0,o.mf)(t)?(t={default:t,_ctx:O},n=32):(t=String(t),64&r?(n=16,t=[fn(t)]):n=8);e.children=t,e.shapeFlag|=n}function bn(...e){const t={};for(let n=0;nkn||O;let Sn,An,jn="__VUE_INSTANCE_SETTERS__";(An=(0,o.E9)()[jn])||(An=(0,o.E9)()[jn]=[]),An.push((e=>kn=e)),Sn=e=>{An.length>1?An.forEach((t=>t(e))):An[0](e)};const Fn=e=>{Sn(e),e.scope.on()},En=()=>{kn&&kn.scope.off(),Sn(null)};function Mn(e){return 4&e.vnode.shapeFlag}let Dn,On,Ln=!1;function Tn(e,t=!1){Ln=t;const{props:n,children:r}=e.vnode,o=Mn(e);mt(e,n,o,t),Mt(e,r);const a=o?Rn(e,t):void 0;return Ln=!1,a}function Rn(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,Ve));const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?qn(e):null;Fn(e),(0,r.Jd)();const l=a(i,e,0,[e.props,n]);if((0,r.lk)(),En(),(0,o.tI)(l)){if(l.then(En,En),t)return l.then((n=>{Pn(e,n,t)})).catch((t=>{s(t,e,0)}));e.asyncDep=l}else Pn(e,l,t)}else In(e,t)}function Pn(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,r.WL)(t)),In(e,n)}function In(e,t,n){const a=e.type;if(!e.render){if(!t&&Dn&&!a.render){const t=a.template||et(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:s}=a,l=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:i},r),s);a.render=Dn(t,l)}}e.render=a.render||o.dG,On&&On(e)}Fn(e),(0,r.Jd)();try{Ye(e)}finally{(0,r.lk)(),En()}}function Hn(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return(0,r.j)(e,"get","$attrs"),t[n]}}))}function qn(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return Hn(e)},slots:e.slots,emit:e.emit,expose:t}}function zn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in We?We[n](e):void 0},has(e,t){return t in e||t in We}}))}function $n(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function Bn(e){return(0,o.mf)(e)&&"__vccOpts"in e}const Nn=(e,t)=>(0,r.Fl)(e,t,Ln);function Un(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?tn(t)?ln(e,null,[t]):ln(e,t):ln(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&tn(n)&&(n=[n]),ln(e,t,n))}const Wn=Symbol.for("v-scx"),Kn=()=>{{const e=gt(Wn);return e}};const Vn="3.3.13"},9963:function(e,t,n){"use strict";n.d(t,{D2:function(){return Ae},F8:function(){return O},MW:function(){return oe},e8:function(){return ye},nr:function(){return we},ri:function(){return De}});var r=n(6252),o=n(3577),a=n(2262);const i="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,l=s&&s.createElement("template"),c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?s.createElementNS(i,e):s.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>s.createTextNode(e),createComment:e=>s.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>s.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===a||!(o=o.nextSibling))break}else{l.innerHTML=r?`${e}`:e;const o=l.content;if(r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},u="transition",h="animation",f=Symbol("_vtc"),d=(e,{slots:t})=>(0,r.h)(r.P$,b(e),t);d.displayName="Transition";const p={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},g=d.props=(0,o.l7)({},r.nJ,p),m=(e,t=[])=>{(0,o.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},_=e=>!!e&&((0,o.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function b(e){const t={};for(const o in e)o in p||(t[o]=e[o]);if(!1===e.css)return t;const{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=s,appearToClass:h=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,b=v(a),w=b&&b[0],C=b&&b[1],{onBeforeEnter:A,onEnter:j,onEnterCancelled:F,onLeave:M,onLeaveCancelled:D,onBeforeAppear:O=A,onAppear:L=j,onAppearCancelled:T=F}=t,R=(e,t,n)=>{x(e,t?h:l),x(e,t?u:s),n&&n()},P=(e,t)=>{e._isLeaving=!1,x(e,f),x(e,g),x(e,d),t&&t()},I=e=>(t,n)=>{const o=e?L:j,a=()=>R(t,e,n);m(o,[t,a]),k((()=>{x(t,e?c:i),y(t,e?h:l),_(o)||S(t,r,w,a)}))};return(0,o.l7)(t,{onBeforeEnter(e){m(A,[e]),y(e,i),y(e,s)},onBeforeAppear(e){m(O,[e]),y(e,c),y(e,u)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>P(e,t);y(e,f),E(),y(e,d),k((()=>{e._isLeaving&&(x(e,f),y(e,g),_(M)||S(e,r,C,n))})),m(M,[e,n])},onEnterCancelled(e){R(e,!1),m(F,[e])},onAppearCancelled(e){R(e,!0),m(T,[e])},onLeaveCancelled(e){P(e),m(D,[e])}})}function v(e){if(null==e)return null;if((0,o.Kn)(e))return[w(e.enter),w(e.leave)];{const t=w(e);return[t,t]}}function w(e){const t=(0,o.He)(e);return t}function y(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[f]||(e[f]=new Set)).add(t)}function x(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[f];n&&(n.delete(t),n.size||(e[f]=void 0))}function k(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let C=0;function S(e,t,n,r){const o=e._endId=++C,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=A(e,t);if(!i)return r();const c=i+"end";let u=0;const h=()=>{e.removeEventListener(c,f),a()},f=t=>{t.target===e&&++u>=l&&h()};setTimeout((()=>{u(n[e]||"").split(", "),o=r(`${u}Delay`),a=r(`${u}Duration`),i=j(o,a),s=r(`${h}Delay`),l=r(`${h}Duration`),c=j(s,l);let f=null,d=0,p=0;t===u?i>0&&(f=u,d=i,p=a.length):t===h?c>0&&(f=h,d=c,p=l.length):(d=Math.max(i,c),f=d>0?i>c?u:h:null,p=f?f===u?a.length:l.length:0);const g=f===u&&/\b(transform|all)(,|$)/.test(r(`${u}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:g}}function j(e,t){while(e.lengthF(t)+F(e[n]))))}function F(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function E(){return document.body.offsetHeight}function M(e,t,n){const r=e[f];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const D=Symbol("_vod"),O={beforeMount(e,{value:t},{transition:n}){e[D]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):L(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!==!n&&(r?t?(r.beforeEnter(e),L(e,!0),r.enter(e)):r.leave(e,(()=>{L(e,!1)})):L(e,t))},beforeUnmount(e,{value:t}){L(e,t)}};function L(e,t){e.style.display=t?e[D]:"none"}const T=Symbol("");function R(e,t,n){const r=e.style,a=(0,o.HD)(n);if(n&&!a){if(t&&!(0,o.HD)(t))for(const e in t)null==n[e]&&I(r,e,"");for(const e in n)I(r,e,n[e])}else{const o=r.display;if(a){if(t!==n){const e=r[T];e&&(n+=";"+e),r.cssText=n}}else t&&e.removeAttribute("style");D in e&&(r.display=o)}}const P=/\s*!important$/;function I(e,t,n){if((0,o.kJ)(n))n.forEach((n=>I(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=z(e,t);P.test(n)?e.setProperty((0,o.rs)(r),n.replace(P,""),"important"):e[r]=n}}const H=["Webkit","Moz","ms"],q={};function z(e,t){const n=q[t];if(n)return n;let r=(0,o._A)(t);if("filter"!==r&&r in e)return q[t]=r;r=(0,o.kC)(r);for(let o=0;oY||(Z.then((()=>Y=0)),Y=Date.now());function Q(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,r.$d)(ee(e,n.value),t,5,[e])};return n.value=e,n.attached=X(),n}function ee(e,t){if((0,o.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const te=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ne=(e,t,n,r,a=!1,i,s,l,c)=>{"class"===t?M(e,r,a):"style"===t?R(e,n,r):(0,o.F7)(t)?(0,o.tR)(t)||V(e,t,n,r,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):re(e,t,r,a))?N(e,t,r,i,s,l,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),B(e,t,r,a))};function re(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&te(t)&&(0,o.mf)(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!te(t)||!(0,o.HD)(n))&&t in e} +/*! #__NO_SIDE_EFFECTS__ */function oe(e,t){const n=(0,r.aZ)(e);class o extends ie{constructor(e){super(n,e,t)}}return o.def=n,o} +/*! #__NO_SIDE_EFFECTS__ */const ae="undefined"!==typeof HTMLElement?HTMLElement:class{};class ie extends ae{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),(0,r.Y3)((()=>{this._connected||(Me(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let n=0;n{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:r}=e;let a;if(n&&!(0,o.kJ)(n))for(const i in n){const e=n[i];(e===Number||e&&e.type===Number)&&(i in this._props&&(this._props[i]=(0,o.He)(this._props[i])),(a||(a=Object.create(null)))[(0,o._A)(i)]=!0)}this._numberProps=a,t&&this._resolveProps(e),this._applyStyles(r),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=(0,o.kJ)(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of n.map(o._A))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(e){this._setProp(r,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=(0,o._A)(e);this._numberProps&&this._numberProps[n]&&(t=(0,o.He)(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!0){t!==this._props[e]&&(this._props[e]=t,r&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,o.rs)(e),""):"string"===typeof t||"number"===typeof t?this.setAttribute((0,o.rs)(e),t+""):t||this.removeAttribute((0,o.rs)(e))))}_update(){Me(this._createVNode(),this.shadowRoot)}_createVNode(){const e=(0,r.Wm)(this._def,(0,o.l7)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),(0,o.rs)(e)!==e&&t((0,o.rs)(e),n)};let n=this;while(n=n&&(n.parentNode||n.host))if(n instanceof ie){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}const se=new WeakMap,le=new WeakMap,ce=Symbol("_moveCb"),ue=Symbol("_enterCb"),he={name:"TransitionGroup",props:(0,o.l7)({},g,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,r.FN)(),o=(0,r.Y8)();let i,s;return(0,r.ic)((()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!ge(i[0].el,n.vnode.el,t))return;i.forEach(fe),i.forEach(de);const r=i.filter(pe);E(),r.forEach((e=>{const n=e.el,r=n.style;y(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[ce]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[ce]=null,x(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const l=(0,a.IU)(e),c=b(l);let u=l.tag||r.HY;i=s,s=t.default?(0,r.Q6)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const a=1===t.nodeType?t:t.parentNode;a.appendChild(r);const{hasTransform:i}=A(r);return a.removeChild(r),i}const me=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,o.kJ)(t)?e=>(0,o.ir)(t,e):t};function _e(e){e.target.composing=!0}function be(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ve=Symbol("_assign"),we={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[ve]=me(a);const i=r||a.props&&"number"===a.props.type;U(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),i&&(r=(0,o.h5)(r)),e[ve](r)})),n&&U(e,"change",(()=>{e.value=e.value.trim()})),t||(U(e,"compositionstart",_e),U(e,"compositionend",be),U(e,"change",be))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:a}},i){if(e[ve]=me(i),e.composing)return;const s=a||"number"===e.type?(0,o.h5)(e.value):e.value,l=null==t?"":t;if(s!==l){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(r&&e.value.trim()===l)return}e.value=l}}},ye={deep:!0,created(e,t,n){e[ve]=me(n),U(e,"change",(()=>{const t=e._modelValue,n=ke(e),r=e.checked,a=e[ve];if((0,o.kJ)(t)){const e=(0,o.hq)(t,n),i=-1!==e;if(r&&!i)a(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),a(n)}}else if((0,o.DM)(t)){const e=new Set(t);r?e.add(n):e.delete(n),a(e)}else a(Ce(e,r))}))},mounted:xe,beforeUpdate(e,t,n){e[ve]=me(n),xe(e,t,n)}};function xe(e,{value:t,oldValue:n},r){e._modelValue=t,(0,o.kJ)(t)?e.checked=(0,o.hq)(t,r.props.value)>-1:(0,o.DM)(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=(0,o.WV)(t,Ce(e,!0)))}function ke(e){return"_value"in e?e._value:e.value}function Ce(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Se={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ae=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=(0,o.rs)(n.key);return t.some((e=>e===r||Se[e]===r))?e(n):void 0})},je=(0,o.l7)({patchProp:ne},c);let Fe;function Ee(){return Fe||(Fe=(0,r.Us)(je))}const Me=(...e)=>{Ee().render(...e)},De=(...e)=>{const t=Ee().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=Oe(e);if(!r)return;const a=t._component;(0,o.mf)(a)||a.render||a.template||(a.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Oe(e){if((0,o.HD)(e)){const t=document.querySelector(e);return t}return e}},3577:function(e,t,n){"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{C_:function(){return Z},DM:function(){return m},E9:function(){return N},F7:function(){return l},Gg:function(){return E},HD:function(){return w},He:function(){return $},Kj:function(){return b},Kn:function(){return x},NO:function(){return s},Nj:function(){return q},Od:function(){return h},PO:function(){return j},Pq:function(){return Q},RI:function(){return d},S0:function(){return F},W7:function(){return A},WV:function(){return ne},Z6:function(){return a},_A:function(){return O},_N:function(){return g},aU:function(){return I},dG:function(){return i},fY:function(){return r},h5:function(){return z},hR:function(){return P},hq:function(){return re},ir:function(){return H},j5:function(){return K},kC:function(){return R},kJ:function(){return p},kT:function(){return o},l7:function(){return u},mf:function(){return v},rs:function(){return T},tI:function(){return k},tR:function(){return c},yA:function(){return ee},yk:function(){return y},yl:function(){return W},zw:function(){return oe}});const o={},a=[],i=()=>{},s=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,d=(e,t)=>f.call(e,t),p=Array.isArray,g=e=>"[object Map]"===S(e),m=e=>"[object Set]"===S(e),_=e=>"[object Date]"===S(e),b=e=>"[object RegExp]"===S(e),v=e=>"function"===typeof e,w=e=>"string"===typeof e,y=e=>"symbol"===typeof e,x=e=>null!==e&&"object"===typeof e,k=e=>(x(e)||v(e))&&v(e.then)&&v(e.catch),C=Object.prototype.toString,S=e=>C.call(e),A=e=>S(e).slice(8,-1),j=e=>"[object Object]"===S(e),F=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),M=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},D=/-(\w)/g,O=M((e=>e.replace(D,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,T=M((e=>e.replace(L,"-$1").toLowerCase())),R=M((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=M((e=>{const t=e?`on${R(e)}`:"";return t})),I=(e,t)=>!Object.is(e,t),H=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let B;const N=()=>B||(B="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const U="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",W=r(U);function K(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(J);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Z(e){let t="";if(w(e))t=e;else if(p(e))for(let n=0;nne(e,t)))}const oe=e=>w(e)?e:null==e?"":p(e)||x(e)&&(e.toString===C||!v(e.toString))?JSON.stringify(e,ae,2):String(e),ae=(e,t)=>t&&t.__v_isRef?ae(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[ie(t,r)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ie(e)))}:y(t)?ie(t):!x(t)||p(t)||j(t)?t:String(t),ie=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},9662:function(e,t,n){var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},9670:function(e,t,n){var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:function(e,t,n){var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var s,l=r(t),c=a(l),u=o(i,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3658:function(e,t,n){"use strict";var r=n(9781),o=n(3157),a=TypeError,i=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!i(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},9920:function(e,t,n){var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var s=o(t),l=i.f,c=a.f,u=0;un)throw t("Maximum allowed index exceeded");return e}},8113:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,n){var r,o,a=n(7854),i=n(8113),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),s=n(3072),l=n(9920),c=n(4705);e.exports=function(e,t){var n,u,h,f,d,p,g=e.target,m=e.global,_=e.stat;if(u=m?r:_?r[g]||s(g,{}):(r[g]||{}).prototype,u)for(h in t){if(d=t[h],e.dontCallGetSet?(p=o(u,h),f=p&&p.value):f=u[h],n=c(m?h:g+(_?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(u,h,d,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},4374:function(e,t,n){var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1702:function(e,t,n){var r=n(4374),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);e.exports=r?i:function(e){return function(){return a.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},8173:function(e,t,n){var r=n(9662),o=n(8554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:function(e){e.exports={}},4664:function(e,t,n){var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(1702),o=n(7293),a=n(4326),i=Object,s=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):i(e)}:i},2788:function(e,t,n){var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:function(e,t,n){var r,o,a,i=n(4811),s=n(7854),l=n(111),c=n(8880),u=n(2597),h=n(5465),f=n(6200),d=n(3501),p="Object already initialized",g=s.TypeError,m=s.WeakMap,_=function(e){return a(e)?o(e):r(e,{})},b=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}};if(i||h.state){var v=h.state||(h.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw g(p);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},a=function(e){return v.has(e)}}else{var w=f("state");d[w]=!0,r=function(e,t){if(u(e,w))throw g(p);return t.facade=e,c(e,w,t),t},o=function(e){return u(e,w)?e[w]:{}},a=function(e){return u(e,w)}}e.exports={set:r,get:o,has:a,enforce:_,getterFor:b}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e,t,n){var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4705:function(e,t,n){var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},8554:function(e){e.exports=function(e){return null===e||void 0===e}},111:function(e,t,n){var r=n(614),o=n(4154),a=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===a}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var r=n(5005),o=n(614),a=n(7976),i=n(3307),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,s(e))}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},6339:function(e,t,n){var r=n(1702),o=n(7293),a=n(614),i=n(2597),s=n(9781),l=n(6530).CONFIGURABLE,c=n(2788),u=n(9909),h=u.enforce,f=u.get,d=String,p=Object.defineProperty,g=r("".slice),m=r("".replace),_=r([].join),b=s&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),v=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===g(d(t),0,7)&&(t="["+m(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=h(e);return i(r,"source")||(r.source=_(v,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return a(this)&&f(this).source||c(this)}),"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3070:function(e,t,n){var r=n(9781),o=n(4664),a=n(3353),i=n(9670),s=n(4948),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";t.f=r?a?function(e,t,n){if(i(e),t=s(t),i(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=u(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(i(e),t=s(t),i(n),o)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(6916),a=n(5296),i=n(9114),s=n(5656),l=n(4948),c=n(2597),u=n(4664),h=Object.getOwnPropertyDescriptor;t.f=r?h:function(e,t){if(e=s(e),t=l(t),u)try{return h(e,t)}catch(n){}if(c(e,t))return i(!o(a.f,e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),o=n(2597),a=n(5656),i=n(1318).indexOf,s=n(3501),l=r([].push);e.exports=function(e,t){var n,r=a(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);while(t.length>c)o(r,n=t[c++])&&(~i(u,n)||l(u,n));return u}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2140:function(e,t,n){var r=n(6916),o=n(614),a=n(111),i=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!a(s=r(n,e)))return s;if(o(n=e.valueOf)&&!a(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!a(s=r(n,e)))return s;throw i("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),o=n(1702),a=n(8006),i=n(5181),s=n(9670),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=i.f;return n?l(t,n(e)):t}},4488:function(e,t,n){var r=n(8554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},6200:function(e,t,n){var r=n(2309),o=n(9711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3072),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(e,t,n){var r=n(7392),o=n(7293),a=n(7854),i=a.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(e,t,n){var r=n(9303),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:function(e,t,n){var r=n(4758);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7466:function(e,t,n){var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:function(e,t,n){var r=n(6916),o=n(111),a=n(2190),i=n(8173),s=n(2140),l=n(5112),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,l=i(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:function(e,t,n){var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},6330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},9711:function(e,t,n){var r=n(1702),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},3307:function(e,t,n){var r=n(6293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(e,t,n){var r=n(7854),o=n(614),a=r.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},5112:function(e,t,n){var r=n(7854),o=n(2309),a=n(2597),i=n(9711),s=n(6293),l=n(3307),c=r.Symbol,u=o("wks"),h=l?c["for"]||c:c&&c.withoutSetter||i;e.exports=function(e){return a(u,e)||(u[e]=s&&a(c,e)?c[e]:h("Symbol."+e)),u[e]}},7658:function(e,t,n){"use strict";var r=n(2109),o=n(7908),a=n(6244),i=n(3658),s=n(7207),l=n(7293),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},h=c||!u();r({target:"Array",proto:!0,arity:1,forced:h},{push:function(e){var t=o(this),n=a(t),r=arguments.length;s(n+r);for(var l=0;l + * http://jaywcjlove.github.io/hotkeys + * Licensed under the MIT license + */ +var r="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function a(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function s(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,a=0;a=0&&p.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),93!==t&&224!==t||(t=91),t in h)for(var r in h[t]=!1,c)c[r]===t&&(T[r]=!1)}function E(e){if("undefined"===typeof e)Object.keys(f).forEach((function(e){return delete f[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&M(e)}));else if("object"===typeof e)e.key&&M(e);else if("string"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?a(c,t):[];f[u]=f[u].filter((function(e){var t=!r||e.method===r;return!(t&&e.scope===n&&s(e.mods,h))}))}}))};function D(e,t,n,r){var o;if(t.element===r&&(t.scope===n||"all"===t.scope)){for(var a in o=t.mods.length>0,h)Object.prototype.hasOwnProperty.call(h,a)&&(!h[a]&&t.mods.indexOf(+a)>-1||h[a]&&-1===t.mods.indexOf(+a))&&(o=!1);(0!==t.mods.length||h[16]||h[18]||h[17]||h[91])&&!o&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function O(e,t){var n=f["*"],r=e.keyCode||e.which||e.charCode;if(T.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=u[t];e[t]&&-1===p.indexOf(n)?p.push(n):!e[t]&&p.indexOf(n)>-1?p.splice(p.indexOf(n),1):"metaKey"===t&&e[t]&&3===p.length&&(e.ctrlKey||e.shiftKey||e.altKey||(p=p.slice(p.indexOf(n))))})),r in h){for(var o in h[r]=!0,c)c[o]===r&&(T[o]=!0);if(!n)return}for(var a in h)Object.prototype.hasOwnProperty.call(h,a)&&(h[a]=e[u[a]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),h[17]=!0,h[18]=!0);var i=x();if(n)for(var s=0;s-1}function T(e,t,n){p=[];var r=i(e),s=[],l="all",u=document,h=0,d=!1,m=!0,v="+",w=!1;for(void 0===n&&"function"===typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(l=t.scope),t.element&&(u=t.element),t.keyup&&(d=t.keyup),void 0!==t.keydown&&(m=t.keydown),void 0!==t.capture&&(w=t.capture),"string"===typeof t.splitKey&&(v=t.splitKey)),"string"===typeof t&&(l=t);h1&&(s=a(c,e)),e=e[e.length-1],e="*"===e?"*":b(e),e in f||(f[e]=[]),f[e].push({keyup:d,keydown:m,scope:l,mods:s,shortcut:r[h],method:n,key:r[h],splitKey:v,element:u});"undefined"!==typeof u&&!L(u)&&window&&(_.push(u),o(u,"keydown",(function(e){O(e,u)}),w),g||(g=!0,o(window,"focus",(function(){p=[]}),w)),o(u,"keyup",(function(e){O(e,u),F(e)}),w))}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach((function(n){var r=f[n].filter((function(n){return n.scope===t&&n.shortcut===e}));r.forEach((function(e){e&&e.method&&e.method()}))}))}var P={getPressedKeyString:C,setScope:y,getScope:x,deleteScope:j,getPressedKeyCodes:k,isPressed:A,filter:S,trigger:R,unbind:E,keyMap:l,modifier:c,modifierMap:u};for(var I in P)Object.prototype.hasOwnProperty.call(P,I)&&(T[I]=P[I]);if("undefined"!==typeof window){var H=window.hotkeys;T.noConflict=function(e){return e&&window.hotkeys===T&&(window.hotkeys=H),T},window.hotkeys=T}T.filter=function(){return!0};var q={props:{item:{type:Object,required:!0}},computed:{isMacLike:()=>/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),hotkey(){let e=this.item.hotkey;return"string"==typeof e&&(e=e.toUpperCase(),e=e.replace(/(shift|⇧)\+/gi,this.isMacLike?"⇧":"Shift+"),e=e.replace(/(control|ctrl|⌃)\+/gi,this.isMacLike?"⌃":"Ctrl+"),e=e.replace(/(option|alt|⌥)\+/gi,this.isMacLike?"⌥":"Alt+"),e=e.replace(/(cmd|command|⌘)\+/gi,this.isMacLike?"⌘":"Cmd+"),e)}},methods:{update_hotkey(e,t){t&&T.unbind(t,this.hotkey_fn),e&&T(e,this.hotkey_fn)},hotkey_fn(e,t){e.preventDefault(),this.item.click&&!this.item.disabled&&this.item.click(e,t)}},watch:{"item.hotkey":{handler:"update_hotkey",immediate:!0}},beforeUnmount(){this.item.hotkey&&T.unbind(this.item.hotkey,this.hotkey_fn)}}},3744:function(e,t){"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},3183:function(e,t,n){"use strict";n.d(t,{Z:function(){return Kr}});var r=n(6252),o=n(3577);const a={class:"bar"};function i(e,t,n,i,s,l){return(0,r.wg)(),(0,r.iD)("div",a,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.content,((e,t)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(l.get_component(e.is)),{key:"bar-item-"+t,item:e,class:(0,o.C_)(e.class),id:e.id,is_open:s.menu_open,ref_for:!0,ref:t=>Object.defineProperty(e,"_el",{value:t,writable:!0}),onClick:t=>l.toggle_menu(e,t)},null,8,["item","class","id","is_open","onClick"])))),128))])}const s=["title"],l={key:1,class:"material-icons icon"},c={key:1,class:"emoji"},u={key:2,class:"label"},h=["innerHTML"],f={key:4,class:"material-icons chevron"},d=["innerHTML"];function p(e,t,n,a,i,p){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["bar-button",p.button_class]),title:p.title,onMousedown:t[0]||(t[0]=e=>e.preventDefault()),onClick:t[1]||(t[1]=e=>n.item.click&&!n.item.disabled?n.item.click(e):e.stopPropagation())},[n.item.icon?((0,r.wg)(),(0,r.iD)(r.HY,{key:0},["object"==typeof n.item.icon?((0,r.wg)(),(0,r.j4)((0,r.LL)(n.item.icon),{key:0,class:"icon"})):((0,r.wg)(),(0,r.iD)("span",l,(0,o.zw)(n.item.icon),1))],64)):(0,r.kq)("",!0),n.item.emoji?((0,r.wg)(),(0,r.iD)("span",c,(0,o.zw)(p.get_emoji(n.item.emoji)),1)):(0,r.kq)("",!0),n.item.text?((0,r.wg)(),(0,r.iD)("span",u,(0,o.zw)(n.item.text),1)):(0,r.kq)("",!0),n.item.html?((0,r.wg)(),(0,r.iD)("span",{key:3,class:"label",innerHTML:n.item.html},null,8,h)):(0,r.kq)("",!0),!0===n.item.chevron?((0,r.wg)(),(0,r.iD)("span",f,"expand_more")):n.item.chevron?((0,r.wg)(),(0,r.iD)("span",{key:5,class:"chevron",innerHTML:n.item.chevron},null,8,d)):(0,r.kq)("",!0),n.item.menu?((0,r.wg)(),(0,r.j4)((0,r.LL)(p.get_component(n.item.menu)),{key:6,class:(0,o.C_)(["menu",n.item.menu_class]),menu:n.item.menu,id:n.item.menu_id,width:n.item.menu_width,height:n.item.menu_height},null,8,["menu","class","id","width","height"])):(0,r.kq)("",!0)],42,s)}var g=n(4964),m=n(5612),_=n(7347),b={mixins:[_.Z],components:{BarMenu:m["default"]},props:{item:{type:Object,required:!0},is_open:Boolean},computed:{is_menu(){return!!this.item.menu},button_class(){const e=this.is_open&&this.is_menu,t=this.item.active,n=this.item.disabled;return{open:e,active:t,disabled:n}},title(){if(this.item.title){let e=this.item.title;return this.hotkey&&(e+=" ("+this.hotkey+")"),e}return null}},methods:{get_emoji:e=>e in g?g[e]:"",get_component(e){return e&&!Array.isArray(e)&&"object"==typeof e?e:"bar-menu"}}},v=n(3744);const w=(0,v.Z)(b,[["render",p]]);var y=w;const x=["title"],k=["id"];function C(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["bar-button",e.button_class]),title:e.title,onMousedown:t[2]||(t[2]=(...e)=>s.mousedown_handler&&s.mousedown_handler(...e))},[(0,r._)("div",{class:"color-square",style:(0,o.j5)({"background-color":s.css_color})},null,4),(0,r._)("div",{class:(0,o.C_)(["menu",e.item.menu_class]),id:e.item.menu_id,onClick:t[1]||(t[1]=t=>!e.item.stay_open||t.stopPropagation())},[((0,r.wg)(),(0,r.j4)((0,r.LL)(e.item.type||"compact"),{modelValue:i.color,"onUpdate:modelValue":t[0]||(t[0]=e=>i.color=e)},null,8,["modelValue"]))],10,k)],42,x)}function S(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}const A="",j=function(e,t){const{componentPrefix:n=A}=t||{};e.component(`${n}${this.name}`,this)},F={};var E={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle(){return{"background-image":`url(${D(this.white,this.grey,this.size)})`}}}};function M(e,t,n){if("undefined"===typeof document)return null;const r=document.createElement("canvas");r.width=r.height=2*n;const o=r.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,r.width,r.height),o.fillStyle=t,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),r.toDataURL()):null}function D(e,t,n){const r=`${e},${t},${n}`;if(F[r])return F[r];const o=M(e,t,n);return F[r]=o,o}function O(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:"vc-checkerboard",style:(0,o.j5)(s.bgStyle)},null,4)}var L=".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}";S(L),E.render=O,E.__file="src/components/checkboard/checkboard.vue",E.install=j;var T={name:"Alpha",components:{Checkboard:E},props:{value:Object,onChange:Function},computed:{colors(){return this.value},gradientColor(){const{rgba:e}=this.colors,t=[e.r,e.g,e.b].join(",");return`linear-gradient(to right, rgba(${t}, 0) 0%, rgba(${t}, 1) 100%)`}},methods:{handleChange(e,t){!t&&e.preventDefault();const{container:n}=this.$refs;if(!n)return;const r=n.clientWidth,o=n.getBoundingClientRect().left+window.pageXOffset,a=e.pageX||(e.touches?e.touches[0].pageX:0),i=a-o;let s;s=i<0?0:i>r?1:Math.round(100*i/r)/100,this.colors.a!==s&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:s,source:"rgba"})},handleMouseDown(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};const R={class:"vc-alpha"},P={class:"vc-alpha-checkboard-wrap"},I=(0,r._)("div",{class:"vc-alpha-picker"},null,-1),H=[I];function q(e,t,n,a,i,s){const l=(0,r.up)("Checkboard");return(0,r.wg)(),(0,r.iD)("div",R,[(0,r._)("div",P,[(0,r.Wm)(l)]),(0,r._)("div",{class:"vc-alpha-gradient",style:(0,o.j5)({background:s.gradientColor})},null,4),(0,r._)("div",{ref:"container",class:"vc-alpha-container",onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[(0,r._)("div",{class:"vc-alpha-pointer",style:(0,o.j5)({left:100*s.colors.a+"%"})},H,4)],544)])}var z=".vc-alpha,.vc-alpha-checkboard-wrap{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-container{cursor:pointer;height:100%;margin:0 3px;position:relative;z-index:2}.vc-alpha-pointer{position:absolute;z-index:2}.vc-alpha-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";function $(e,t){N(e)&&(e="100%");var n=U(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function B(e){return Math.min(1,Math.max(0,e))}function N(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function U(e){return"string"===typeof e&&-1!==e.indexOf("%")}function W(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function K(e){return e<=1?"".concat(100*Number(e),"%"):e}function V(e){return 1===e.length?"0"+e:String(e)}function J(e,t,n){return{r:255*$(e,255),g:255*$(t,255),b:255*$(n,255)}}function G(e,t,n){e=$(e,255),t=$(t,255),n=$(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,s=(r+o)/2;if(r===o)i=0,a=0;else{var l=r-o;switch(i=s>.5?l/(2-r-o):l/(r+o),r){case e:a=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z(e,t,n){var r,o,a;if(e=$(e,360),t=$(t,100),n=$(n,100),0===t)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=Y(s,i,e+1/3),o=Y(s,i,e),a=Y(s,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}function X(e,t,n){e=$(e,255),t=$(t,255),n=$(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,s=r-o,l=0===r?0:s/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/s+(t>16,g:(65280&e)>>8,b:255&e}}S(z),T.render=q,T.__file="src/components/alpha/alpha.vue",T.install=j;var ie={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 se(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,s=!1;return"string"===typeof e&&(e=pe(e)),"object"===typeof e&&(ge(e.r)&&ge(e.g)&&ge(e.b)?(t=J(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):ge(e.h)&&ge(e.s)&&ge(e.v)?(r=K(e.s),o=K(e.v),t=Q(e.h,r,o),i=!0,s="hsv"):ge(e.h)&&ge(e.s)&&ge(e.l)&&(r=K(e.s),a=K(e.l),t=Z(e.h,r,a),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=W(n),{ok:i,format:e.format||s,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}}var le="[-\\+]?\\d+%?",ce="[-\\+]?\\d*\\.\\d+%?",ue="(?:".concat(ce,")|(?:").concat(le,")"),he="[\\s|\\(]+(".concat(ue,")[,|\\s]+(").concat(ue,")[,|\\s]+(").concat(ue,")\\s*\\)?"),fe="[\\s|\\(]+(".concat(ue,")[,|\\s]+(").concat(ue,")[,|\\s]+(").concat(ue,")[,|\\s]+(").concat(ue,")\\s*\\)?"),de={CSS_UNIT:new RegExp(ue),rgb:new RegExp("rgb"+he),rgba:new RegExp("rgba"+fe),hsl:new RegExp("hsl"+he),hsla:new RegExp("hsla"+fe),hsv:new RegExp("hsv"+he),hsva:new RegExp("hsva"+fe),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 pe(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(ie[e])e=ie[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=de.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=de.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=de.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=de.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=de.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=de.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=de.hex8.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),a:re(n[4]),format:t?"name":"hex8"}:(n=de.hex6.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),format:t?"name":"hex"}:(n=de.hex4.exec(e),n?{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),a:re(n[4]+n[4]),format:t?"name":"hex8"}:(n=de.hex3.exec(e),!!n&&{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),format:t?"name":"hex"})))))))))}function ge(e){return Boolean(de.CSS_UNIT.exec(String(e)))}var me=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=ae(t)),this.originalInput=t;var o=se(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.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=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,a=r.g/255,i=r.b/255;return e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*e+.7152*t+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=W(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var e=this.toHsl().s;return 0===e},e.prototype.toHsv=function(){var e=X(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=X(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=G(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=G(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ee(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),te(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*$(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*$(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+ee(this.r,this.g,this.b,!1),t=0,n=Object.entries(ie);t=0,o=!t&&r&&(e.startsWith("hex")||"name"===e);return o?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=B(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=B(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=B(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=B(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100,i={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return new e(i)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;while(t--)i.push(new e({h:r,s:o,v:a})),a=(a+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i0?_e(e.hex):e&&e.hsv?_e(e.hsv):e&&e.rgba?_e(e.rgba):e&&e.rgb?_e(e.rgb):_e(e),!r||void 0!==r._a&&null!==r._a||r.setAlpha(n||r.getAlpha());const o=r.toHsl(),a=r.toHsv();return 0===o.s&&(a.h=o.h=e.h||e.hsl&&e.hsl.h||t||0),a.v<.0164&&(a.h=e.h||e.hsv&&e.hsv.h||0,a.s=e.s||e.hsv&&e.hsv.s||0),o.l<.01&&(o.h=e.h||e.hsl&&e.hsl.h||0,o.s=e.s||e.hsl&&e.hsl.s||0),{hsl:o,hex:r.toHexString().toUpperCase(),hex8:r.toHex8String().toUpperCase(),rgba:r.toRgb(),hsv:a,oldHue:e.h||t||o.h,source:e.source,a:r.getAlpha()}}var ve={model:{prop:"modelValue",event:"update:modelValue"},props:["modelValue"],data(){return{val:be(this.modelValue)}},computed:{colors:{get(){return this.val},set(e){this.val=e,this.$emit("update:modelValue",e)}}},watch:{modelValue(e){this.val=be(e)}},methods:{colorChange(e,t){this.oldHue=this.colors.hsl.h,this.colors=be(e,t||this.oldHue)},isValidHex(e){return _e(e).isValid},simpleCheckForValidColor(e){const t=["r","g","b","a","h","s","l","v"];let n=0,r=0;for(let o=0;oe.toUpperCase()))},isTransparent(e){return 0===_e(e).getAlpha()}}},we=n(9963),ye={name:"EditableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get(){return this.value},set(e){if(!(void 0!==this.max&&+e>this.max))return e;this.$refs.input.value=this.max}},labelId(){return`input__label__${this.label}__${Math.random().toString().slice(2,5)}`},labelSpanText(){return this.labelText||this.label}},methods:{update(e){this.handleChange(e.target.value)},handleChange(e){const t={};t[this.label]=e,(void 0===t.hex&&void 0===t["#"]||e.length>5)&&this.$emit("change",t)},handleKeyDown(e){let{val:t}=this;const n=Number(t);if(n){const r=this.arrowOffset||1;38===e.keyCode&&(t=n+r,this.handleChange(t),e.preventDefault()),40===e.keyCode&&(t=n-r,this.handleChange(t),e.preventDefault())}}}};const xe={class:"vc-editable-input"},ke=["aria-labelledby"],Ce=["id","for"],Se={class:"vc-input__desc"};function Ae(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",xe,[(0,r.wy)((0,r._)("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=e=>s.val=e),"aria-labelledby":s.labelId,class:"vc-input__input",onKeydown:t[1]||(t[1]=(...e)=>s.handleKeyDown&&s.handleKeyDown(...e)),onInput:t[2]||(t[2]=(...e)=>s.update&&s.update(...e))},null,40,ke),[[we.nr,s.val]]),(0,r._)("span",{id:s.labelId,for:n.label,class:"vc-input__label"},(0,o.zw)(s.labelSpanText),9,Ce),(0,r._)("span",Se,(0,o.zw)(n.desc),1)])}var je=".vc-editable-input{position:relative}.vc-input__input{border:0;outline:none;padding:0}.vc-input__label{text-transform:capitalize}";function Fe(e,t,n){return tn?n:e:et?t:e}S(je),ye.render=Ae,ye.__file="src/components/editable-input/editable-input.vue",ye.install=j;var Ee={name:"Saturation",props:{value:Object},computed:{colors(){return this.value},bgColor(){return`hsl(${this.colors.hsv.h}, 100%, 50%)`},pointerTop(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft(){return 100*this.colors.hsv.s+"%"}},methods:{handleChange(e,t){!t&&e.preventDefault();const{container:n}=this.$refs;if(!n)return;const r=n.clientWidth,o=n.clientHeight,a=n.getBoundingClientRect().left+window.pageXOffset,i=n.getBoundingClientRect().top+window.pageYOffset,s=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),c=Fe(s-a,0,r),u=Fe(l-i,0,o),h=c/r,f=Fe(-u/o+1,0,1);this.onChange({h:this.colors.hsv.h,s:h,v:f,a:this.colors.hsv.a,source:"hsva"})},onChange(e){this.$emit("change",e)},handleMouseDown(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};const Me=(0,r._)("div",{class:"vc-saturation--white"},null,-1),De=(0,r._)("div",{class:"vc-saturation--black"},null,-1),Oe=(0,r._)("div",{class:"vc-saturation-circle"},null,-1),Le=[Oe];function Te(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{ref:"container",class:"vc-saturation",style:(0,o.j5)({background:s.bgColor}),onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[Me,De,(0,r._)("div",{class:"vc-saturation-pointer",style:(0,o.j5)({top:s.pointerTop,left:s.pointerLeft})},Le,4)],36)}var Re=".vc-saturation,.vc-saturation--black,.vc-saturation--white{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.vc-saturation--black{background:linear-gradient(0deg,#000,transparent)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}";S(Re),Ee.render=Te,Ee.__file="src/components/saturation/saturation.vue",Ee.install=j;var Pe={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data(){return{oldHue:0,pullDirection:""}},computed:{colors(){return this.value},directionClass(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},watch:{value:{handler(e,t){const{h:n}=e.hsl;0!==n&&n-this.oldHue>0&&(this.pullDirection="right"),0!==n&&n-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=n},deep:!0,immediate:!0}},methods:{handleChange(e,t){!t&&e.preventDefault();const{container:n}=this.$refs;if(!n)return;const r=n.clientWidth,o=n.clientHeight,a=n.getBoundingClientRect().left+window.pageXOffset,i=n.getBoundingClientRect().top+window.pageYOffset,s=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),c=s-a,u=l-i;let h,f;"vertical"===this.direction?(u<0?h=360:u>o?h=0:(f=-100*u/o+100,h=360*f/100),this.colors.hsl.h!==h&&this.$emit("change",{h:h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(c<0?h=0:c>r?h=360:(f=100*c/r,h=360*f/100),this.colors.hsl.h!==h&&this.$emit("change",{h:h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))},handleMouseDown(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};const Ie=["aria-valuenow"],He=(0,r._)("div",{class:"vc-hue-picker"},null,-1),qe=[He];function ze(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["vc-hue",[s.directionClass]])},[(0,r._)("div",{ref:"container",class:"vc-hue-container",role:"slider","aria-valuenow":s.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360",onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[(0,r._)("div",{class:"vc-hue-pointer",style:(0,o.j5)({top:s.pointerTop,left:s.pointerLeft}),role:"presentation"},qe,4)],40,Ie)],2)}var $e=".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";S($e),Pe.render=ze,Pe.__file="src/components/hue/hue.vue",Pe.install=j;var Be={name:"Chrome",components:{Saturation:Ee,Hue:Pe,Alpha:T,EdIn:ye,Checkboard:E},mixins:[ve],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1},format:{type:String,default:"hex"}},data(){return{fieldsIndex:"hex",highlight:!1}},computed:{hsl(){const{h:e,s:t,l:n}=this.colors.hsl;return{h:e.toFixed(),s:`${(100*t).toFixed()}%`,l:`${(100*n).toFixed()}%`}},activeColor(){const{rgba:e}=this.colors;return`rgba(${[e.r,e.g,e.b,e.a].join(",")})`},hasAlpha(){return this.colors.a<1}},watch:{format:{handler(e){this.fieldsIndex=e},immediate:!0}},methods:{childChange(e){this.colorChange(e)},inputChange(e){if(e)if(e.hex)this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"});else if(e.r||e.g||e.b||e.a)this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"});else if(e.h||e.s||e.l){const t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,n=e.l?e.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:n,source:"hsl"})}},toggleViews(){switch(this.fieldsIndex){case"hex":this.fieldsIndex="rgb"+(this.disableAlpha?"":"a");break;case"rgb":case"rgba":this.fieldsIndex="hsl"+(this.disableAlpha?"":"a");break;default:this.fieldsIndex="hex";break}this.$emit("update:format",this.fieldsIndex)},showHighlight(){this.highlight=!0},hideHighlight(){this.highlight=!1}}};const Ne={class:"vc-chrome-saturation-wrap"},Ue={class:"vc-chrome-body"},We={class:"vc-chrome-controls"},Ke={class:"vc-chrome-color-wrap"},Ve=["aria-label"],Je={class:"vc-chrome-sliders"},Ge={class:"vc-chrome-hue-wrap"},Ye={key:0,class:"vc-chrome-alpha-wrap"},Ze={key:0,class:"vc-chrome-fields-wrap"},Xe={class:"vc-chrome-fields"},Qe={class:"vc-chrome-field"},et={class:"vc-chrome-fields"},tt={class:"vc-chrome-field"},nt={class:"vc-chrome-field"},rt={class:"vc-chrome-field"},ot={key:0,class:"vc-chrome-field"},at={class:"vc-chrome-fields"},it={class:"vc-chrome-field"},st={class:"vc-chrome-field"},lt={class:"vc-chrome-field"},ct={key:0,class:"vc-chrome-field"},ut={class:"vc-chrome-toggle-icon"},ht=(0,r._)("path",{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"},null,-1),ft=[ht],dt={class:"vc-chrome-toggle-icon-highlight"};function pt(e,t,n,a,i,s){const l=(0,r.up)("Saturation"),c=(0,r.up)("Checkboard"),u=(0,r.up)("Hue"),h=(0,r.up)("Alpha"),f=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"Chrome color picker",class:(0,o.C_)(["vc-chrome",[n.disableAlpha?"vc-chrome__disable-alpha":""]])},[(0,r._)("div",Ne,[(0,r.Wm)(l,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,r._)("div",Ue,[(0,r._)("div",We,[(0,r._)("div",Ke,[(0,r._)("div",{"aria-label":`current color is ${e.colors.hex}`,class:"vc-chrome-active-color",style:(0,o.j5)({background:s.activeColor})},null,12,Ve),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.j4)(c,{key:0}))]),(0,r._)("div",Je,[(0,r._)("div",Ge,[(0,r.Wm)(u,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",Ye,[(0,r.Wm)(h,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]))])]),n.disableFields?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",Ze,[(0,r.wy)((0,r._)("div",Xe,[(0,r.kq)(" hex "),(0,r._)("div",Qe,[s.hasAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.j4)(f,{key:0,label:"hex",value:e.colors.hex,onChange:s.inputChange},null,8,["value","onChange"])),s.hasAlpha?((0,r.wg)(),(0,r.j4)(f,{key:1,label:"hex",value:e.colors.hex8,onChange:s.inputChange},null,8,["value","onChange"])):(0,r.kq)("v-if",!0)])],512),[[we.F8,"hex"===i.fieldsIndex]]),(0,r.wy)((0,r._)("div",et,[(0,r.kq)(" rgba "),(0,r._)("div",tt,[(0,r.Wm)(f,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",nt,[(0,r.Wm)(f,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",rt,[(0,r.Wm)(f,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",ot,[(0,r.Wm)(f,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))],512),[[we.F8,["rgb","rgba"].includes(i.fieldsIndex)]]),(0,r.wy)((0,r._)("div",at,[(0,r.kq)(" hsla "),(0,r._)("div",it,[(0,r.Wm)(f,{label:"h",value:s.hsl.h,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",st,[(0,r.Wm)(f,{label:"s",value:s.hsl.s,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",lt,[(0,r.Wm)(f,{label:"l",value:s.hsl.l,onChange:s.inputChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",ct,[(0,r.Wm)(f,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))],512),[[we.F8,["hsl","hsla"].includes(i.fieldsIndex)]]),(0,r.kq)(" btn "),(0,r._)("div",{class:"vc-chrome-toggle-btn",role:"button","aria-label":"Change another color definition",onClick:t[3]||(t[3]=(...e)=>s.toggleViews&&s.toggleViews(...e))},[(0,r._)("div",ut,[((0,r.wg)(),(0,r.iD)("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24",onMouseover:t[0]||(t[0]=(...e)=>s.showHighlight&&s.showHighlight(...e)),onMouseenter:t[1]||(t[1]=(...e)=>s.showHighlight&&s.showHighlight(...e)),onMouseout:t[2]||(t[2]=(...e)=>s.hideHighlight&&s.hideHighlight(...e))},ft,32))]),(0,r.wy)((0,r._)("div",dt,null,512),[[we.F8,i.highlight]])]),(0,r.kq)(" btn ")]))])],2)}var gt=".vc-chrome{background:#fff;background-color:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.3);box-sizing:initial;font-family:Menlo;width:225px}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{border-radius:15px;height:30px;overflow:hidden;position:relative;width:30px;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{background-size:auto;border-radius:15px;height:30px;width:30px}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;flex:1;margin-left:-6px}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{position:relative;text-align:right;width:32px}.vc-chrome-toggle-icon{cursor:pointer;margin-right:-4px;margin-top:12px;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{background:#eee;border-radius:4px;height:28px;left:12px;position:absolute;top:10px;width:24px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{height:10px;position:relative}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:12px;transform:translate(-6px,-2px);width:12px}.vc-chrome-body{background-color:#fff;padding:16px 16px 12px}.vc-chrome-saturation-wrap{border-radius:2px 2px 0 0;overflow:hidden;padding-bottom:55%;position:relative;width:100%}.vc-chrome-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-chrome-fields .vc-input__input{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #dadada;color:#333;font-size:11px;height:21px;text-align:center;width:100%}.vc-chrome-fields .vc-input__label{color:#969696;display:block;font-size:11px;line-height:11px;margin-top:12px;text-align:center;text-transform:uppercase}.vc-chrome__disable-alpha .vc-chrome-active-color{height:18px;width:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-bottom:4px;margin-top:4px}";S(gt),Be.render=pt,Be.__file="src/components/chrome/chrome.vue",Be.install=j;const mt=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];var _t={name:"Compact",mixins:[ve],props:{palette:{type:Array,default(){return mt}}},computed:{pick(){return this.colors.hex.toUpperCase()}},methods:{handlerClick(e){this.colorChange({hex:e,source:"hex"})}}};const bt={role:"application","aria-label":"Compact color picker",class:"vc-compact"},vt={class:"vc-compact-colors",role:"listbox"},wt=["aria-label","aria-selected","onClick"],yt={class:"vc-compact-dot"};function xt(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",bt,[(0,r._)("ul",vt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.paletteUpperCase(n.palette),(e=>((0,r.wg)(),(0,r.iD)("li",{key:e,role:"option","aria-label":`color:${e}`,"aria-selected":e===s.pick,class:(0,o.C_)(["vc-compact-color-item",{"vc-compact-color-item--white":"#FFFFFF"===e}]),style:(0,o.j5)({background:e}),onClick:t=>s.handlerClick(e)},[(0,r.wy)((0,r._)("div",yt,null,512),[[we.F8,e===s.pick]])],14,wt)))),128))])])}var kt=".vc-compact{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);box-sizing:border-box;padding-left:5px;padding-top:5px;width:245px}.vc-compact-colors{margin:0;overflow:hidden;padding:0}.vc-compact-color-item{cursor:pointer;float:left;height:15px;list-style:none;margin-bottom:5px;margin-right:5px;position:relative;width:15px}.vc-compact-color-item--white{box-shadow:inset 0 0 0 1px #ddd}.vc-compact-color-item--white .vc-compact-dot{background:#000}.vc-compact-dot{background:#fff;border-radius:50%;bottom:5px;left:5px;opacity:1;position:absolute;right:5px;top:5px}";S(kt),_t.render=xt,_t.__file="src/components/compact/compact.vue",_t.install=j;const Ct=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];var St={name:"Grayscale",components:{},mixins:[ve],props:{palette:{type:Array,default(){return Ct}}},computed:{pick(){return this.colors.hex.toUpperCase()}},methods:{handlerClick(e){this.colorChange({hex:e,source:"hex"})}}};const At={role:"application","aria-label":"Grayscale color picker",class:"vc-grayscale"},jt={class:"vc-grayscale-colors",role:"listbox"},Ft=["aria-label","aria-selected","onClick"],Et={class:"vc-grayscale-dot"};function Mt(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",At,[(0,r._)("ul",jt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.paletteUpperCase(n.palette),(e=>((0,r.wg)(),(0,r.iD)("li",{key:e,role:"option","aria-label":`Color:${e}`,"aria-selected":e===s.pick,class:(0,o.C_)(["vc-grayscale-color-item",{"vc-grayscale-color-item--white":"#FFFFFF"===e}]),style:(0,o.j5)({background:e}),onClick:t=>s.handlerClick(e)},[(0,r.wy)((0,r._)("div",Et,null,512),[[we.F8,e===s.pick]])],14,Ft)))),128))])])}var Dt=".vc-grayscale{background-color:#fff;border-radius:2px;box-shadow:0 2px 15px rgba(0,0,0,.12),0 2px 10px rgba(0,0,0,.16);width:125px}.vc-grayscale-colors{border-radius:2px;margin:0;overflow:hidden;padding:0}.vc-grayscale-color-item{cursor:pointer;float:left;height:25px;list-style:none;position:relative;width:25px}.vc-grayscale-color-item--white .vc-grayscale-dot{background:#000}.vc-grayscale-dot{background:#fff;border-radius:50%;height:6px;left:50%;margin:-3px 0 0 -2px;opacity:1;position:absolute;top:50%;width:6px}";S(Dt),St.render=Mt,St.__file="src/components/grayscale/grayscale.vue",St.install=j;var Ot={name:"Material",components:{EdIn:ye},mixins:[ve],methods:{onChange(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}};const Lt={role:"application","aria-label":"Material color picker",class:"vc-material"},Tt={class:"vc-material-split"},Rt={class:"vc-material-third"},Pt={class:"vc-material-third"},It={class:"vc-material-third"};function Ht(e,t,n,a,i,s){const l=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",Lt,[(0,r.Wm)(l,{class:"vc-material-hex",label:"hex",value:e.colors.hex,style:(0,o.j5)({borderColor:e.colors.hex}),onChange:s.onChange},null,8,["value","style","onChange"]),(0,r._)("div",Tt,[(0,r._)("div",Rt,[(0,r.Wm)(l,{label:"r",value:e.colors.rgba.r,onChange:s.onChange},null,8,["value","onChange"])]),(0,r._)("div",Pt,[(0,r.Wm)(l,{label:"g",value:e.colors.rgba.g,onChange:s.onChange},null,8,["value","onChange"])]),(0,r._)("div",It,[(0,r.Wm)(l,{label:"b",value:e.colors.rgba.b,onChange:s.onChange},null,8,["value","onChange"])])])])}var qt=".vc-material{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);font-family:Roboto;height:98px;padding:16px;position:relative;width:98px}.vc-material .vc-input__input{color:#333;font-size:15px;height:30px;margin-top:12px;width:100%}.vc-material .vc-input__label{color:#999;font-size:11px;left:0;position:absolute;text-transform:capitalize;top:0}.vc-material-hex{border-bottom-style:solid;border-bottom-width:2px}.vc-material-split{display:flex;margin-right:-10px;padding-top:11px}.vc-material-third{flex:1;padding-right:10px}";S(qt),Ot.render=Ht,Ot.__file="src/components/material/material.vue",Ot.install=j;var zt={name:"Photoshop",components:{Saturation:Ee,Hue:Pe,EdIn:ye},mixins:[ve],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},data(){return{currentColor:"#FFF"}},computed:{hsv(){const{hsv:e}=this.colors;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex(){const{hex:e}=this.colors;return e&&e.replace("#","")}},created(){this.currentColor=this.colors.hex},methods:{childChange(e){this.colorChange(e)},inputChange(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept(){this.$emit("ok")},handleCancel(){this.$emit("cancel")},handleReset(){this.$emit("reset")}}};const $t={role:"heading",class:"vc-ps-head"},Bt={class:"vc-ps-body"},Nt={class:"vc-ps-saturation-wrap"},Ut={class:"vc-ps-hue-wrap"},Wt=(0,r._)("div",{class:"vc-ps-hue-pointer"},[(0,r._)("i",{class:"vc-ps-hue-pointer--left"}),(0,r._)("i",{class:"vc-ps-hue-pointer--right"})],-1),Kt={class:"vc-ps-previews"},Vt={class:"vc-ps-previews__label"},Jt={class:"vc-ps-previews__swatches"},Gt=["aria-label"],Yt=["aria-label"],Zt={class:"vc-ps-previews__label"},Xt={key:0,class:"vc-ps-actions"},Qt=["aria-label"],en=["aria-label"],tn={class:"vc-ps-fields"},nn=(0,r._)("div",{class:"vc-ps-fields__divider"},null,-1),rn=(0,r._)("div",{class:"vc-ps-fields__divider"},null,-1);function on(e,t,n,a,i,s){const l=(0,r.up)("Saturation"),c=(0,r.up)("Hue"),u=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"PhotoShop color picker",class:(0,o.C_)(["vc-photoshop",[n.disableFields?"vc-photoshop__disable-fields":""]])},[(0,r._)("div",$t,(0,o.zw)(n.head),1),(0,r._)("div",Bt,[(0,r._)("div",Nt,[(0,r.Wm)(l,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,r._)("div",Ut,[(0,r.Wm)(c,{value:e.colors,direction:"vertical",onChange:s.childChange},{default:(0,r.w5)((()=>[Wt])),_:1},8,["value","onChange"])]),(0,r._)("div",{class:(0,o.C_)(["vc-ps-controls",[n.disableFields?"vc-ps-controls__disable-fields":""]])},[(0,r._)("div",Kt,[(0,r._)("div",Vt,(0,o.zw)(n.newLabel),1),(0,r._)("div",Jt,[(0,r._)("div",{class:"vc-ps-previews__pr-color","aria-label":`New color is ${e.colors.hex}`,style:(0,o.j5)({background:e.colors.hex})},null,12,Gt),(0,r._)("div",{class:"vc-ps-previews__pr-color","aria-label":`Current color is ${i.currentColor}`,style:(0,o.j5)({background:i.currentColor}),onClick:t[0]||(t[0]=(...e)=>s.clickCurrentColor&&s.clickCurrentColor(...e))},null,12,Yt)]),(0,r._)("div",Zt,(0,o.zw)(n.currentLabel),1)]),n.disableFields?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",Xt,[(0,r._)("div",{class:"vc-ps-ac-btn",role:"button","aria-label":n.acceptLabel,onClick:t[1]||(t[1]=(...e)=>s.handleAccept&&s.handleAccept(...e))},(0,o.zw)(n.acceptLabel),9,Qt),(0,r._)("div",{class:"vc-ps-ac-btn",role:"button","aria-label":n.cancelLabel,onClick:t[2]||(t[2]=(...e)=>s.handleCancel&&s.handleCancel(...e))},(0,o.zw)(n.cancelLabel),9,en),(0,r._)("div",tn,[(0,r.kq)(" hsla "),(0,r.Wm)(u,{label:"h",desc:"°",value:s.hsv.h,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"s",desc:"%",value:s.hsv.s,max:100,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"v",desc:"%",value:s.hsv.v,max:100,onChange:s.inputChange},null,8,["value","onChange"]),nn,(0,r.kq)(" rgba "),(0,r.Wm)(u,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"]),rn,(0,r.kq)(" hex "),(0,r.Wm)(u,{label:"#",class:"vc-ps-fields__hex",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"])]),n.hasResetButton?((0,r.wg)(),(0,r.iD)("div",{key:0,class:"vc-ps-ac-btn","aria-label":"reset",onClick:t[3]||(t[3]=(...e)=>s.handleReset&&s.handleReset(...e))},(0,o.zw)(n.resetLabel),1)):(0,r.kq)("v-if",!0)]))],2)])],2)}var an='.vc-photoshop{background:#dcdcdc;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;font-family:Roboto;width:513px}.vc-photoshop__disable-fields{width:390px}.vc-ps-head{background-image:linear-gradient(-180deg,#f0f0f0,#d4d4d4);border-bottom:1px solid #b1b1b1;border-radius:4px 4px 0 0;box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.2),inset 0 -1px 0 0 rgba(0,0,0,.02);color:#4d4d4d;font-size:13px;height:23px;line-height:24px;text-align:center}.vc-ps-body{display:flex;padding:15px}.vc-ps-saturation-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;overflow:hidden;position:relative;width:256px}.vc-ps-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-ps-hue-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;margin-left:10px;width:19px}.vc-ps-hue-pointer,.vc-ps-hue-wrap{position:relative}.vc-ps-hue-pointer--left,.vc-ps-hue-pointer--right{border-color:transparent transparent transparent #555;border-style:solid;border-width:5px 0 5px 8px;height:0;position:absolute;width:0}.vc-ps-hue-pointer--left:after,.vc-ps-hue-pointer--right:after{border-color:transparent transparent transparent #fff;border-style:solid;border-width:4px 0 4px 6px;content:"";height:0;left:1px;position:absolute;top:1px;transform:translate(-8px,-5px);width:0}.vc-ps-hue-pointer--left{transform:translate(-13px,-4px)}.vc-ps-hue-pointer--right{transform:translate(20px,-4px) rotate(180deg)}.vc-ps-controls{display:flex;margin-left:10px;width:180px}.vc-ps-controls__disable-fields{width:auto}.vc-ps-actions{flex:1;margin-left:20px}.vc-ps-ac-btn{background-image:linear-gradient(-180deg,#fff,#e6e6e6);border:1px solid #878787;border-radius:2px;box-shadow:0 1px 0 0 #eaeaea;color:#000;cursor:pointer;font-size:14px;height:20px;line-height:20px;margin-bottom:10px;text-align:center}.vc-ps-previews{width:60px}.vc-ps-previews__swatches{border:1px solid #b3b3b3;border-bottom-color:#f0f0f0;margin-bottom:2px;margin-top:1px}.vc-ps-previews__pr-color{box-shadow:inset 1px 0 0 #000,inset -1px 0 0 #000,inset 0 1px 0 #000;height:34px}.vc-ps-previews__label{color:#000;font-size:14px;text-align:center}.vc-ps-fields{padding-bottom:9px;padding-top:5px;position:relative;width:80px}.vc-ps-fields .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:5px;margin-left:40%;margin-right:10px;padding-left:3px;width:40%}.vc-ps-fields .vc-input__desc,.vc-ps-fields .vc-input__label{font-size:13px;height:18px;line-height:22px;position:absolute;text-transform:uppercase;top:0}.vc-ps-fields .vc-input__label{left:0;width:34px}.vc-ps-fields .vc-input__desc{right:0;width:0}.vc-ps-fields__divider{height:5px}.vc-ps-fields__hex .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:6px;margin-left:20%;padding-left:3px;width:80%}.vc-ps-fields__hex .vc-input__label{font-size:13px;height:18px;left:0;line-height:22px;position:absolute;text-transform:uppercase;top:0;width:14px}';S(an),zt.render=on,zt.__file="src/components/photoshop/photoshop.vue",zt.install=j;const sn=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];var ln={name:"Sketch",components:{Saturation:Ee,Hue:Pe,Alpha:T,EdIn:ye,Checkboard:E},mixins:[ve],props:{presetColors:{type:Array,default(){return sn}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex(){let e;return e=this.colors.a<1?this.colors.hex8:this.colors.hex,e.replace("#","")},activeColor(){const{rgba:e}=this.colors;return`rgba(${[e.r,e.g,e.b,e.a].join(",")})`}},methods:{handlePreset(e){this.colorChange(e)},childChange(e){this.colorChange(e)},inputChange(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b||e.a)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}};const cn={class:"vc-sketch-saturation-wrap"},un={class:"vc-sketch-controls"},hn={class:"vc-sketch-sliders"},fn={class:"vc-sketch-hue-wrap"},dn={key:0,class:"vc-sketch-alpha-wrap"},pn={class:"vc-sketch-color-wrap"},gn=["aria-label"],mn={key:0,class:"vc-sketch-field"},_n={class:"vc-sketch-field--double"},bn={class:"vc-sketch-field--single"},vn={class:"vc-sketch-field--single"},wn={class:"vc-sketch-field--single"},yn={key:0,class:"vc-sketch-field--single"},xn={class:"vc-sketch-presets",role:"group","aria-label":"A color preset, pick one to set as current color"},kn=["aria-label","onClick"],Cn=["aria-label","onClick"];function Sn(e,t,n,a,i,s){const l=(0,r.up)("Saturation"),c=(0,r.up)("Hue"),u=(0,r.up)("Alpha"),h=(0,r.up)("Checkboard"),f=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"Sketch color picker",class:(0,o.C_)(["vc-sketch",[n.disableAlpha?"vc-sketch__disable-alpha":""]])},[(0,r._)("div",cn,[(0,r.Wm)(l,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,r._)("div",un,[(0,r._)("div",hn,[(0,r._)("div",fn,[(0,r.Wm)(c,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",dn,[(0,r.Wm)(u,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]))]),(0,r._)("div",pn,[(0,r._)("div",{"aria-label":`Current color is ${s.activeColor}`,class:"vc-sketch-active-color",style:(0,o.j5)({background:s.activeColor})},null,12,gn),(0,r.Wm)(h)])]),n.disableFields?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",mn,[(0,r.kq)(" rgba "),(0,r._)("div",_n,[(0,r.Wm)(f,{label:"hex",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",bn,[(0,r.Wm)(f,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",vn,[(0,r.Wm)(f,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",wn,[(0,r.Wm)(f,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",yn,[(0,r.Wm)(f,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))])),(0,r._)("div",xn,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.presetColors,(t=>((0,r.wg)(),(0,r.iD)(r.HY,null,[e.isTransparent(t)?((0,r.wg)(),(0,r.iD)("div",{key:t,"aria-label":`Color:${t}`,class:"vc-sketch-presets-color",onClick:e=>s.handlePreset(t)},[(0,r.Wm)(h)],8,Cn)):((0,r.wg)(),(0,r.iD)("div",{key:`!${t}`,class:"vc-sketch-presets-color","aria-label":`Color:${t}`,style:(0,o.j5)({background:t}),onClick:e=>s.handlePreset(t)},null,12,kn))],64)))),256))])],2)}var An=".vc-sketch{background:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;padding:10px 10px 0;position:relative;width:200px}.vc-sketch-saturation-wrap{overflow:hidden;padding-bottom:75%;position:relative;width:100%}.vc-sketch-controls{display:flex}.vc-sketch-sliders{flex:1;padding:4px 0}.vc-sketch-sliders .vc-alpha-gradient,.vc-sketch-sliders .vc-hue{border-radius:2px}.vc-sketch-alpha-wrap,.vc-sketch-hue-wrap{height:10px;position:relative}.vc-sketch-alpha-wrap{margin-top:4px;overflow:hidden}.vc-sketch-color-wrap{border-radius:3px;height:24px;margin-left:4px;margin-top:4px;position:relative;width:24px}.vc-sketch-active-color{border-radius:2px;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),inset 0 0 4px rgba(0,0,0,.25);left:0;position:absolute;right:0;top:0;z-index:2}.vc-sketch-color-wrap .vc-checkerboard{background-size:auto}.vc-sketch-field{display:flex;padding-top:4px}.vc-sketch-field .vc-input__input{border:none;box-shadow:inset 0 0 0 1px #ccc;font-size:10px;padding:4px 0 3px 10%;width:90%}.vc-sketch-field .vc-input__label{color:#222;display:block;font-size:11px;padding-bottom:4px;padding-top:3px;text-align:center;text-transform:capitalize}.vc-sketch-field--single{flex:1;padding-left:6px}.vc-sketch-field--double{flex:2}.vc-sketch-presets{border-top:1px solid #eee;margin-left:-10px;margin-right:-10px;padding-left:10px;padding-top:10px}.vc-sketch-presets-color{cursor:pointer;display:inline-block;height:16px;margin:0 10px 10px 0;overflow:hidden;position:relative;vertical-align:top;width:16px}.vc-sketch-presets-color,.vc-sketch-presets-color .vc-checkerboard{border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.vc-sketch__disable-alpha .vc-sketch-color-wrap{height:10px}";S(An),ln.render=Sn,ln.__file="src/components/sketch/sketch.vue",ln.install=j;const jn=.5;var Fn={name:"Slider",components:{Hue:Pe},mixins:[ve],props:{swatches:{type:Array,default(){return[{s:jn,l:.8},{s:jn,l:.65},{s:jn,l:.5},{s:jn,l:.35},{s:jn,l:.2}]}}},computed:{normalizedSwatches(){const{swatches:e}=this;return e.map((e=>"object"!==typeof e?{s:jn,l:e}:e))}},methods:{isActive(e,t){const{hsl:n}=this.colors;return 1===n.l&&1===e.l||(0===n.l&&0===e.l||Math.abs(n.l-e.l)<.01&&Math.abs(n.s-e.s)<.01)},hueChange(e){this.colorChange(e)},handleSwClick(e,t){this.colorChange({h:this.colors.hsl.h,s:t.s,l:t.l,source:"hsl"})}}};const En={role:"application","aria-label":"Slider color picker",class:"vc-slider"},Mn={class:"vc-slider-hue-warp"},Dn={class:"vc-slider-swatches",role:"group"},On=["data-index","aria-label","onClick"];function Ln(e,t,n,a,i,s){const l=(0,r.up)("Hue");return(0,r.wg)(),(0,r.iD)("div",En,[(0,r._)("div",Mn,[(0,r.Wm)(l,{value:e.colors,onChange:s.hueChange},null,8,["value","onChange"])]),(0,r._)("div",Dn,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(s.normalizedSwatches,((t,n)=>((0,r.wg)(),(0,r.iD)("div",{key:n,class:"vc-slider-swatch","data-index":n,"aria-label":`color:${e.colors.hex}`,role:"button",onClick:e=>s.handleSwClick(n,t)},[(0,r._)("div",{class:(0,o.C_)(["vc-slider-swatch-picker",{"vc-slider-swatch-picker--active":s.isActive(t,n),"vc-slider-swatch-picker--white":1===t.l}]),style:(0,o.j5)({background:`hsl(${e.colors.hsl.h}, ${100*t.s}%, ${100*t.l}%)`})},null,6)],8,On)))),128))])])}var Tn=".vc-slider{position:relative;width:410px}.vc-slider-hue-warp{height:12px;position:relative}.vc-slider-hue-warp .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:14px;transform:translate(-7px,-2px);width:14px}.vc-slider-swatches{display:flex;margin-top:20px}.vc-slider-swatch{flex:1;margin-right:1px;width:20%}.vc-slider-swatch:first-child{margin-right:1px}.vc-slider-swatch:first-child .vc-slider-swatch-picker{border-radius:2px 0 0 2px}.vc-slider-swatch:last-child{margin-right:0}.vc-slider-swatch:last-child .vc-slider-swatch-picker{border-radius:0 2px 2px 0}.vc-slider-swatch-picker{cursor:pointer;height:12px}.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active{border-radius:3.6px/2px;transform:scaleY(1.8)}.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 1px #ddd}.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 .6px #ddd}";S(Tn),Fn.render=Ln,Fn.__file="src/components/slider/slider.vue",Fn.install=j;var Rn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},Pn={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},In={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},Hn={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},qn={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},zn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},$n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},Bn={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Nn={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Un={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Wn={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Kn={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Vn={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Jn={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Gn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Yn={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},Zn={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Xn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},Qn={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},er={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},tr={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},nr={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},rr={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},or="#ffffff",ar="#000000",ir={red:Rn,pink:Pn,purple:In,deepPurple:Hn,indigo:qn,blue:zn,lightBlue:$n,cyan:Bn,teal:Nn,green:Un,lightGreen:Wn,lime:Kn,yellow:Vn,amber:Jn,orange:Gn,deepOrange:Yn,brown:Zn,grey:Xn,blueGrey:Qn,darkText:er,lightText:tr,darkIcons:nr,lightIcons:rr,white:or,black:ar};const sr=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],lr=["900","700","500","300","100"],cr=(()=>{const e=[];return sr.forEach((t=>{let n=[];"black"===t.toLowerCase()||"white"===t.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):lr.forEach((e=>{const r=ir[t][e];n.push(r.toUpperCase())})),e.push(n)})),e})();var ur={name:"Swatches",mixins:[ve],props:{palette:{type:Array,default(){return cr}}},computed:{pick(){return this.colors.hex}},methods:{equal(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick(e){this.colorChange({hex:e,source:"hex"})}}};const hr=["data-pick"],fr={class:"vc-swatches-box",role:"listbox"},dr=["aria-label","aria-selected","data-color","onKeyup","onClick"],pr={class:"vc-swatches-pick"},gr={style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},mr=(0,r._)("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},null,-1),_r=[mr];function br(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"Swatches color picker",class:"vc-swatches","data-pick":s.pick},[(0,r._)("div",fr,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.palette,((e,t)=>((0,r.wg)(),(0,r.iD)("div",{key:t,class:"vc-swatches-color-group"},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e,(e=>((0,r.wg)(),(0,r.iD)("div",{key:e,class:(0,o.C_)(["vc-swatches-color-it",[{"vc-swatches-color--white":"#FFFFFF"===e}]]),role:"option","aria-label":`Color:${e}`,"aria-selected":s.equal(e),"data-color":e,style:(0,o.j5)({background:e}),tabindex:"0",onKeyup:(0,we.D2)((t=>s.handlerClick(e)),["enter"]),onClick:t=>s.handlerClick(e)},[(0,r.wy)((0,r._)("div",pr,[((0,r.wg)(),(0,r.iD)("svg",gr,_r))],512),[[we.F8,s.equal(e)]])],46,dr)))),128))])))),128))])],8,hr)}var vr=".vc-swatches{background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);height:240px;overflow-y:scroll;width:320px}.vc-swatches-box{overflow:hidden;padding:16px 0 6px 16px}.vc-swatches-color-group{float:left;margin-right:10px;padding-bottom:10px;width:40px}.vc-swatches-color-it{background:#880e4f;-ms-border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-o-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0;box-sizing:border-box;cursor:pointer;height:24px;margin-bottom:1px;overflow:hidden;width:40px}.vc-swatches-color--white{border:1px solid #ddd}.vc-swatches-pick{fill:#fff;display:block;margin-left:8px}.vc-swatches-color--white .vc-swatches-pick{fill:#333}";S(vr),ur.render=br,ur.__file="src/components/swatches/swatches.vue",ur.install=j;const wr=["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"];var yr={name:"Twitter",components:{EditableInput:ye},mixins:[ve],props:{width:{type:[String,Number],default:276},defaultColors:{type:Array,default(){return wr}},triangle:{default:"top-left",validator(e){return["hide","top-left","top-right"].includes(e)}}},computed:{hsv(){const{hsv:e}=this.colors;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex(){const{hex:e}=this.colors;return e&&e.replace("#","")}},methods:{equal(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick(e){this.colorChange({hex:e,source:"hex"})},inputChange(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))}}};const xr=(0,r._)("div",{class:"vc-twitter-triangle-shadow"},null,-1),kr=(0,r._)("div",{class:"vc-twitter-triangle"},null,-1),Cr={class:"vc-twitter-body"},Sr=["onKeyup","onClick"],Ar=(0,r._)("div",{class:"vc-twitter-hash"}," # ",-1),jr=(0,r._)("div",{class:"vc-twitter-clear"},null,-1);function Fr(e,t,n,a,i,s){const l=(0,r.up)("EditableInput");return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["vc-twitter",{"vc-twitter-hide-triangle ":"hide"===n.triangle,"vc-twitter-top-left-triangle ":"top-left"===n.triangle,"vc-twitter-top-right-triangle ":"top-right"===n.triangle}]),style:(0,o.j5)({width:"number"===typeof n.width?`${n.width}px`:n.width})},[xr,kr,(0,r._)("div",Cr,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.defaultColors,((e,t)=>((0,r.wg)(),(0,r.iD)("span",{key:t,class:"vc-twitter-swatch",style:(0,o.j5)({background:e,boxShadow:`0 0 4px ${s.equal(e)?e:"transparent"}`}),role:"button",tabindex:"0",onKeyup:(0,we.D2)((t=>s.handlerClick(e)),["enter"]),onClick:t=>s.handlerClick(e)},null,44,Sr)))),128)),Ar,(0,r.Wm)(l,{label:"#",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"]),jr])],6)}var Er=".vc-twitter{background:#fff;border:0 solid rgba(0,0,0,.25);border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.25);position:relative}.vc-twitter-triangle{border-color:transparent transparent #fff}.vc-twitter-triangle,.vc-twitter-triangle-shadow{border-style:solid;border-width:0 9px 10px;height:0;position:absolute;width:0}.vc-twitter-triangle-shadow{border-color:transparent transparent rgba(0,0,0,.1)}.vc-twitter-body{padding:15px 9px 9px 15px}.vc-twitter .vc-editable-input{position:relative}.vc-twitter .vc-editable-input input{border:0;border-radius:0 4px 4px 0;box-shadow:inset 0 0 0 1px #f0f0f0;box-sizing:content-box;color:#666;float:left;font-size:14px;height:28px;outline:none;padding:1px 1px 1px 8px;width:100px}.vc-twitter .vc-editable-input span{display:none}.vc-twitter-hash{align-items:center;background:#f0f0f0;border-radius:4px 0 0 4px;color:#98a1a4;display:flex;float:left;height:30px;justify-content:center;width:30px}.vc-twitter-swatch{border-radius:4px;cursor:pointer;float:left;height:30px;margin:0 6px 6px 0;position:relative;width:30px}.vc-twitter-clear{clear:both}.vc-twitter-hide-triangle .vc-twitter-triangle,.vc-twitter-hide-triangle .vc-twitter-triangle-shadow{display:none}.vc-twitter-top-left-triangle .vc-twitter-triangle{left:12px;top:-10px}.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{left:12px;top:-11px}.vc-twitter-top-right-triangle .vc-twitter-triangle{right:12px;top:-10px}.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{right:12px;top:-11px}";S(Er),yr.render=Fr,yr.__file="src/components/twitter/twitter.vue",yr.install=j;const Mr=[T,E,Be,_t,ye,St,Pe,Ot,zt,Ee,ln,Fn,ur,yr];var Dr={mixins:[y],components:Mr.reduce(((e,t)=>(e[t.name]=t,e)),{}),data(){return{color:this.item.color}},computed:{is_menu(){return!0},css_color(){return this.color.hex8||this.color||"#000"}},methods:{mousedown_handler(e){"input"!=e.target.tagName.toLowerCase()&&e.preventDefault()}},watch:{"item.color"(e){this.color!=e&&(this._prevent_next_color_update=!0,this.color=e)},color(e){this.item.update_color&&!this._prevent_next_color_update&&this.item.update_color(e),this._prevent_next_color_update=!1}}};const Or=(0,v.Z)(Dr,[["render",C],["__scopeId","data-v-2fe7124b"]]);var Lr=Or;const Tr={class:"bar-separator"};function Rr(e,t){return(0,r.wg)(),(0,r.iD)("div",Tr)}const Pr={},Ir=(0,v.Z)(Pr,[["render",Rr]]);var Hr=Ir;const qr={class:"bar-spacer"};function zr(e,t){return(0,r.wg)(),(0,r.iD)("div",qr)}const $r={},Br=(0,v.Z)($r,[["render",zr]]);var Nr=Br,Ur={components:{BarButtonGeneric:y,BarButtonColor:Lr,BarSeparator:Hr,BarSpacer:Nr},props:{content:{type:Array,required:!0}},data(){return{menu_open:!1}},methods:{clickaway(e){this.$el.contains(e.target)||(this.menu_open=!1)},toggle_menu(e,t){t.stopPropagation();const n=t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents;this.menu_open=!(!e._el.is_menu||e.disabled)&&(!!n||!this.menu_open)},get_component(e){return e&&!Array.isArray(e)&&"object"==typeof e?e:"string"==typeof e?"bar-"+e:"bar-button-generic"}},mounted(){document.addEventListener("click",this.clickaway)},beforeUnmount(){document.removeEventListener("click",this.clickaway)}};const Wr=(0,v.Z)(Ur,[["render",i],["__scopeId","data-v-9653a704"]]);var Kr=Wr},5612:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var r=n(6252),o=n(3577);const a={class:"bar-menu"},i=(0,r._)("div",{class:"extended-hover-zone"},null,-1);function s(e,t,n,s,l,c){return(0,r.wg)(),(0,r.iD)("div",a,[i,(0,r._)("div",{class:"bar-menu-items",style:(0,o.j5)({width:n.width+"px",minWidth:n.width+"px",maxHeight:n.height+"px",overflow:n.height?"auto":"visible"})},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.menu,((e,t)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(c.get_component(e.is)),{item:e,class:(0,o.C_)(e.class),id:e.id,key:"menu-"+t},null,8,["item","class","id"])))),128))],4)])}const l=["title"],c={key:1,class:"material-icons icon"},u={key:1,class:"emoji"},h={key:2,class:"label"},f=["innerHTML"],d={key:4,class:"hotkey"},p=["innerHTML"],g={key:6,class:"material-icons chevron"};function m(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["bar-menu-item",{disabled:n.item.disabled,active:n.item.active}]),onMousedown:t[0]||(t[0]=e=>e.preventDefault()),onClick:t[1]||(t[1]=(...e)=>s.click&&s.click(...e)),title:n.item.title,style:(0,o.j5)({height:n.item.height+"px"})},[n.item.icon?((0,r.wg)(),(0,r.iD)(r.HY,{key:0},["object"==typeof n.item.icon?((0,r.wg)(),(0,r.j4)((0,r.LL)(n.item.icon),{key:0,class:"icon"})):((0,r.wg)(),(0,r.iD)("span",c,(0,o.zw)(n.item.icon),1))],64)):(0,r.kq)("",!0),n.item.emoji?((0,r.wg)(),(0,r.iD)("span",u,(0,o.zw)(s.get_emoji(n.item.emoji)),1)):(0,r.kq)("",!0),n.item.text?((0,r.wg)(),(0,r.iD)("span",h,(0,o.zw)(n.item.text),1)):(0,r.kq)("",!0),n.item.html?((0,r.wg)(),(0,r.iD)("span",{key:3,class:"label",innerHTML:n.item.html},null,8,f)):(0,r.kq)("",!0),n.item.hotkey?((0,r.wg)(),(0,r.iD)("span",d,(0,o.zw)(e.hotkey),1)):(0,r.kq)("",!0),n.item.menu&&n.item.custom_chevron?((0,r.wg)(),(0,r.iD)("span",{key:5,class:"chevron",innerHTML:n.item.custom_chevron},null,8,p)):n.item.menu?((0,r.wg)(),(0,r.iD)("span",g,"chevron_right")):(0,r.kq)("",!0),n.item.menu?((0,r.wg)(),(0,r.j4)((0,r.LL)(s.get_component(n.item.menu)),{key:7,ref:"menu",class:(0,o.C_)(["menu",n.item.menu_class]),menu:n.item.menu,id:n.item.menu_id,width:n.item.menu_width,height:n.item.menu_height},null,8,["menu","class","id","width","height"])):(0,r.kq)("",!0)],46,l)}var _=n(4964),b=n(7347),v={mixins:[b.Z],components:{BarMenu:(0,r.RC)((()=>Promise.resolve().then(n.bind(n,5612))))},props:{item:{type:Object,required:!0}},methods:{click(e){this.item.click&&!this.item.disabled?this.item.click(e):this.$refs.menu&&e.composedPath&&e.composedPath().includes(this.$refs.menu.$el)||e.stopPropagation()},get_emoji:e=>e in _?_[e]:"",get_component(e){return e&&!Array.isArray(e)&&"object"==typeof e?e:"bar-menu"}}},w=n(3744);const y=(0,w.Z)(v,[["render",m]]);var x=y;const k={class:"bar-menu-separator"};function C(e,t){return(0,r.wg)(),(0,r.iD)("div",k)}const S={},A=(0,w.Z)(S,[["render",C]]);var j=A,F={components:{BarMenuItem:x,BarMenuSeparator:j},props:{menu:{type:Array,required:!0},width:Number,height:Number},methods:{get_component(e){return"object"==typeof e?e:"string"==typeof e?"bar-menu-"+e:"bar-menu-item"}}};const E=(0,w.Z)(F,[["render",s]]);var M=E},4964:function(e){"use strict";e.exports=JSON.parse('{"100":"💯","1234":"🔢","umbrella_with_rain_drops":"☔","coffee":"☕","aries":"♈","taurus":"♉","sagittarius":"♐","capricorn":"♑","aquarius":"♒","pisces":"♓","anchor":"⚓","white_check_mark":"✅","sparkles":"✨","question":"❓","grey_question":"❔","grey_exclamation":"❕","exclamation":"❗","heavy_exclamation_mark":"❗","heavy_plus_sign":"➕","heavy_minus_sign":"➖","heavy_division_sign":"➗","hash":"#️⃣","keycap_star":"*️⃣","zero":"0️⃣","one":"1️⃣","two":"2️⃣","three":"3️⃣","four":"4️⃣","five":"5️⃣","six":"6️⃣","seven":"7️⃣","eight":"8️⃣","nine":"9️⃣","copyright":"©️","registered":"®️","mahjong":"🀄","black_joker":"🃏","a":"🅰️","b":"🅱️","o2":"🅾️","parking":"🅿️","ab":"🆎","cl":"🆑","cool":"🆒","free":"🆓","id":"🆔","new":"🆕","ng":"🆖","ok":"🆗","sos":"🆘","up":"🆙","vs":"🆚","flag-ac":"🇦🇨","flag-ad":"🇦🇩","flag-ae":"🇦🇪","flag-af":"🇦🇫","flag-ag":"🇦🇬","flag-ai":"🇦🇮","flag-al":"🇦🇱","flag-am":"🇦🇲","flag-ao":"🇦🇴","flag-aq":"🇦🇶","flag-ar":"🇦🇷","flag-as":"🇦🇸","flag-at":"🇦🇹","flag-au":"🇦🇺","flag-aw":"🇦🇼","flag-ax":"🇦🇽","flag-az":"🇦🇿","flag-ba":"🇧🇦","flag-bb":"🇧🇧","flag-bd":"🇧🇩","flag-be":"🇧🇪","flag-bf":"🇧🇫","flag-bg":"🇧🇬","flag-bh":"🇧🇭","flag-bi":"🇧🇮","flag-bj":"🇧🇯","flag-bl":"🇧🇱","flag-bm":"🇧🇲","flag-bn":"🇧🇳","flag-bo":"🇧🇴","flag-bq":"🇧🇶","flag-br":"🇧🇷","flag-bs":"🇧🇸","flag-bt":"🇧🇹","flag-bv":"🇧🇻","flag-bw":"🇧🇼","flag-by":"🇧🇾","flag-bz":"🇧🇿","flag-ca":"🇨🇦","flag-cc":"🇨🇨","flag-cd":"🇨🇩","flag-cf":"🇨🇫","flag-cg":"🇨🇬","flag-ch":"🇨🇭","flag-ci":"🇨🇮","flag-ck":"🇨🇰","flag-cl":"🇨🇱","flag-cm":"🇨🇲","cn":"🇨🇳","flag-cn":"🇨🇳","flag-co":"🇨🇴","flag-cp":"🇨🇵","flag-cr":"🇨🇷","flag-cu":"🇨🇺","flag-cv":"🇨🇻","flag-cw":"🇨🇼","flag-cx":"🇨🇽","flag-cy":"🇨🇾","flag-cz":"🇨🇿","de":"🇩🇪","flag-de":"🇩🇪","flag-dg":"🇩🇬","flag-dj":"🇩🇯","flag-dk":"🇩🇰","flag-dm":"🇩🇲","flag-do":"🇩🇴","flag-dz":"🇩🇿","flag-ea":"🇪🇦","flag-ec":"🇪🇨","flag-ee":"🇪🇪","flag-eg":"🇪🇬","flag-eh":"🇪🇭","flag-er":"🇪🇷","es":"🇪🇸","flag-es":"🇪🇸","flag-et":"🇪🇹","flag-eu":"🇪🇺","flag-fi":"🇫🇮","flag-fj":"🇫🇯","flag-fk":"🇫🇰","flag-fm":"🇫🇲","flag-fo":"🇫🇴","fr":"🇫🇷","flag-fr":"🇫🇷","flag-ga":"🇬🇦","gb":"🇬🇧","uk":"🇬🇧","flag-gb":"🇬🇧","flag-gd":"🇬🇩","flag-ge":"🇬🇪","flag-gf":"🇬🇫","flag-gg":"🇬🇬","flag-gh":"🇬🇭","flag-gi":"🇬🇮","flag-gl":"🇬🇱","flag-gm":"🇬🇲","flag-gn":"🇬🇳","flag-gp":"🇬🇵","flag-gq":"🇬🇶","flag-gr":"🇬🇷","flag-gs":"🇬🇸","flag-gt":"🇬🇹","flag-gu":"🇬🇺","flag-gw":"🇬🇼","flag-gy":"🇬🇾","flag-hk":"🇭🇰","flag-hm":"🇭🇲","flag-hn":"🇭🇳","flag-hr":"🇭🇷","flag-ht":"🇭🇹","flag-hu":"🇭🇺","flag-ic":"🇮🇨","flag-id":"🇮🇩","flag-ie":"🇮🇪","flag-il":"🇮🇱","flag-im":"🇮🇲","flag-in":"🇮🇳","flag-io":"🇮🇴","flag-iq":"🇮🇶","flag-ir":"🇮🇷","flag-is":"🇮🇸","it":"🇮🇹","flag-it":"🇮🇹","flag-je":"🇯🇪","flag-jm":"🇯🇲","flag-jo":"🇯🇴","jp":"🇯🇵","flag-jp":"🇯🇵","flag-ke":"🇰🇪","flag-kg":"🇰🇬","flag-kh":"🇰🇭","flag-ki":"🇰🇮","flag-km":"🇰🇲","flag-kn":"🇰🇳","flag-kp":"🇰🇵","kr":"🇰🇷","flag-kr":"🇰🇷","flag-kw":"🇰🇼","flag-ky":"🇰🇾","flag-kz":"🇰🇿","flag-la":"🇱🇦","flag-lb":"🇱🇧","flag-lc":"🇱🇨","flag-li":"🇱🇮","flag-lk":"🇱🇰","flag-lr":"🇱🇷","flag-ls":"🇱🇸","flag-lt":"🇱🇹","flag-lu":"🇱🇺","flag-lv":"🇱🇻","flag-ly":"🇱🇾","flag-ma":"🇲🇦","flag-mc":"🇲🇨","flag-md":"🇲🇩","flag-me":"🇲🇪","flag-mf":"🇲🇫","flag-mg":"🇲🇬","flag-mh":"🇲🇭","flag-mk":"🇲🇰","flag-ml":"🇲🇱","flag-mm":"🇲🇲","flag-mn":"🇲🇳","flag-mo":"🇲🇴","flag-mp":"🇲🇵","flag-mq":"🇲🇶","flag-mr":"🇲🇷","flag-ms":"🇲🇸","flag-mt":"🇲🇹","flag-mu":"🇲🇺","flag-mv":"🇲🇻","flag-mw":"🇲🇼","flag-mx":"🇲🇽","flag-my":"🇲🇾","flag-mz":"🇲🇿","flag-na":"🇳🇦","flag-nc":"🇳🇨","flag-ne":"🇳🇪","flag-nf":"🇳🇫","flag-ng":"🇳🇬","flag-ni":"🇳🇮","flag-nl":"🇳🇱","flag-no":"🇳🇴","flag-np":"🇳🇵","flag-nr":"🇳🇷","flag-nu":"🇳🇺","flag-nz":"🇳🇿","flag-om":"🇴🇲","flag-pa":"🇵🇦","flag-pe":"🇵🇪","flag-pf":"🇵🇫","flag-pg":"🇵🇬","flag-ph":"🇵🇭","flag-pk":"🇵🇰","flag-pl":"🇵🇱","flag-pm":"🇵🇲","flag-pn":"🇵🇳","flag-pr":"🇵🇷","flag-ps":"🇵🇸","flag-pt":"🇵🇹","flag-pw":"🇵🇼","flag-py":"🇵🇾","flag-qa":"🇶🇦","flag-re":"🇷🇪","flag-ro":"🇷🇴","flag-rs":"🇷🇸","ru":"🇷🇺","flag-ru":"🇷🇺","flag-rw":"🇷🇼","flag-sa":"🇸🇦","flag-sb":"🇸🇧","flag-sc":"🇸🇨","flag-sd":"🇸🇩","flag-se":"🇸🇪","flag-sg":"🇸🇬","flag-sh":"🇸🇭","flag-si":"🇸🇮","flag-sj":"🇸🇯","flag-sk":"🇸🇰","flag-sl":"🇸🇱","flag-sm":"🇸🇲","flag-sn":"🇸🇳","flag-so":"🇸🇴","flag-sr":"🇸🇷","flag-ss":"🇸🇸","flag-st":"🇸🇹","flag-sv":"🇸🇻","flag-sx":"🇸🇽","flag-sy":"🇸🇾","flag-sz":"🇸🇿","flag-ta":"🇹🇦","flag-tc":"🇹🇨","flag-td":"🇹🇩","flag-tf":"🇹🇫","flag-tg":"🇹🇬","flag-th":"🇹🇭","flag-tj":"🇹🇯","flag-tk":"🇹🇰","flag-tl":"🇹🇱","flag-tm":"🇹🇲","flag-tn":"🇹🇳","flag-to":"🇹🇴","flag-tr":"🇹🇷","flag-tt":"🇹🇹","flag-tv":"🇹🇻","flag-tw":"🇹🇼","flag-tz":"🇹🇿","flag-ua":"🇺🇦","flag-ug":"🇺🇬","flag-um":"🇺🇲","flag-un":"🇺🇳","us":"🇺🇸","flag-us":"🇺🇸","flag-uy":"🇺🇾","flag-uz":"🇺🇿","flag-va":"🇻🇦","flag-vc":"🇻🇨","flag-ve":"🇻🇪","flag-vg":"🇻🇬","flag-vi":"🇻🇮","flag-vn":"🇻🇳","flag-vu":"🇻🇺","flag-wf":"🇼🇫","flag-ws":"🇼🇸","flag-xk":"🇽🇰","flag-ye":"🇾🇪","flag-yt":"🇾🇹","flag-za":"🇿🇦","flag-zm":"🇿🇲","flag-zw":"🇿🇼","koko":"🈁","sa":"🈂️","u7121":"🈚","u6307":"🈯","u7981":"🈲","u7a7a":"🈳","u5408":"🈴","u6e80":"🈵","u6709":"🈶","u6708":"🈷️","u7533":"🈸","u5272":"🈹","u55b6":"🈺","ideograph_advantage":"🉐","accept":"🉑","cyclone":"🌀","foggy":"🌁","closed_umbrella":"🌂","night_with_stars":"🌃","sunrise_over_mountains":"🌄","sunrise":"🌅","city_sunset":"🌆","city_sunrise":"🌇","rainbow":"🌈","bridge_at_night":"🌉","ocean":"🌊","volcano":"🌋","milky_way":"🌌","earth_africa":"🌍","earth_americas":"🌎","earth_asia":"🌏","globe_with_meridians":"🌐","new_moon":"🌑","waxing_crescent_moon":"🌒","first_quarter_moon":"🌓","moon":"🌔","waxing_gibbous_moon":"🌔","full_moon":"🌕","waning_gibbous_moon":"🌖","last_quarter_moon":"🌗","waning_crescent_moon":"🌘","crescent_moon":"🌙","new_moon_with_face":"🌚","first_quarter_moon_with_face":"🌛","last_quarter_moon_with_face":"🌜","full_moon_with_face":"🌝","sun_with_face":"🌞","star2":"🌟","stars":"🌠","thermometer":"🌡️","mostly_sunny":"🌤️","sun_small_cloud":"🌤️","barely_sunny":"🌥️","sun_behind_cloud":"🌥️","partly_sunny_rain":"🌦️","sun_behind_rain_cloud":"🌦️","rain_cloud":"🌧️","snow_cloud":"🌨️","lightning":"🌩️","lightning_cloud":"🌩️","tornado":"🌪️","tornado_cloud":"🌪️","fog":"🌫️","wind_blowing_face":"🌬️","hotdog":"🌭","taco":"🌮","burrito":"🌯","chestnut":"🌰","seedling":"🌱","evergreen_tree":"🌲","deciduous_tree":"🌳","palm_tree":"🌴","cactus":"🌵","hot_pepper":"🌶️","tulip":"🌷","cherry_blossom":"🌸","rose":"🌹","hibiscus":"🌺","sunflower":"🌻","blossom":"🌼","corn":"🌽","ear_of_rice":"🌾","herb":"🌿","four_leaf_clover":"🍀","maple_leaf":"🍁","fallen_leaf":"🍂","leaves":"🍃","mushroom":"🍄","tomato":"🍅","eggplant":"🍆","grapes":"🍇","melon":"🍈","watermelon":"🍉","tangerine":"🍊","lemon":"🍋","banana":"🍌","pineapple":"🍍","apple":"🍎","green_apple":"🍏","pear":"🍐","peach":"🍑","cherries":"🍒","strawberry":"🍓","hamburger":"🍔","pizza":"🍕","meat_on_bone":"🍖","poultry_leg":"🍗","rice_cracker":"🍘","rice_ball":"🍙","rice":"🍚","curry":"🍛","ramen":"🍜","spaghetti":"🍝","bread":"🍞","fries":"🍟","sweet_potato":"🍠","dango":"🍡","oden":"🍢","sushi":"🍣","fried_shrimp":"🍤","fish_cake":"🍥","icecream":"🍦","shaved_ice":"🍧","ice_cream":"🍨","doughnut":"🍩","cookie":"🍪","chocolate_bar":"🍫","candy":"🍬","lollipop":"🍭","custard":"🍮","honey_pot":"🍯","cake":"🍰","bento":"🍱","stew":"🍲","fried_egg":"🍳","cooking":"🍳","fork_and_knife":"🍴","tea":"🍵","sake":"🍶","wine_glass":"🍷","cocktail":"🍸","tropical_drink":"🍹","beer":"🍺","beers":"🍻","baby_bottle":"🍼","knife_fork_plate":"🍽️","champagne":"🍾","popcorn":"🍿","ribbon":"🎀","gift":"🎁","birthday":"🎂","jack_o_lantern":"🎃","christmas_tree":"🎄","santa":"🎅","fireworks":"🎆","sparkler":"🎇","balloon":"🎈","tada":"🎉","confetti_ball":"🎊","tanabata_tree":"🎋","crossed_flags":"🎌","bamboo":"🎍","dolls":"🎎","flags":"🎏","wind_chime":"🎐","rice_scene":"🎑","school_satchel":"🎒","mortar_board":"🎓","medal":"🎖️","reminder_ribbon":"🎗️","studio_microphone":"🎙️","level_slider":"🎚️","control_knobs":"🎛️","film_frames":"🎞️","admission_tickets":"🎟️","carousel_horse":"🎠","ferris_wheel":"🎡","roller_coaster":"🎢","fishing_pole_and_fish":"🎣","microphone":"🎤","movie_camera":"🎥","cinema":"🎦","headphones":"🎧","art":"🎨","tophat":"🎩","circus_tent":"🎪","ticket":"🎫","clapper":"🎬","performing_arts":"🎭","video_game":"🎮","dart":"🎯","slot_machine":"🎰","8ball":"🎱","game_die":"🎲","bowling":"🎳","flower_playing_cards":"🎴","musical_note":"🎵","notes":"🎶","saxophone":"🎷","guitar":"🎸","musical_keyboard":"🎹","trumpet":"🎺","violin":"🎻","musical_score":"🎼","running_shirt_with_sash":"🎽","tennis":"🎾","ski":"🎿","basketball":"🏀","checkered_flag":"🏁","snowboarder":"🏂","woman-running":"🏃‍♀️","man-running":"🏃‍♂️","runner":"🏃‍♂️","running":"🏃‍♂️","woman-surfing":"🏄‍♀️","man-surfing":"🏄‍♂️","surfer":"🏄‍♂️","sports_medal":"🏅","trophy":"🏆","horse_racing":"🏇","football":"🏈","rugby_football":"🏉","woman-swimming":"🏊‍♀️","man-swimming":"🏊‍♂️","swimmer":"🏊‍♂️","woman-lifting-weights":"🏋️‍♀️","man-lifting-weights":"🏋️‍♂️","weight_lifter":"🏋️‍♂️","woman-golfing":"🏌️‍♀️","man-golfing":"🏌️‍♂️","golfer":"🏌️‍♂️","racing_motorcycle":"🏍️","racing_car":"🏎️","cricket_bat_and_ball":"🏏","volleyball":"🏐","field_hockey_stick_and_ball":"🏑","ice_hockey_stick_and_puck":"🏒","table_tennis_paddle_and_ball":"🏓","snow_capped_mountain":"🏔️","camping":"🏕️","beach_with_umbrella":"🏖️","building_construction":"🏗️","house_buildings":"🏘️","cityscape":"🏙️","derelict_house_building":"🏚️","classical_building":"🏛️","desert":"🏜️","desert_island":"🏝️","national_park":"🏞️","stadium":"🏟️","house":"🏠","house_with_garden":"🏡","office":"🏢","post_office":"🏣","european_post_office":"🏤","hospital":"🏥","bank":"🏦","atm":"🏧","hotel":"🏨","love_hotel":"🏩","convenience_store":"🏪","school":"🏫","department_store":"🏬","factory":"🏭","izakaya_lantern":"🏮","lantern":"🏮","japanese_castle":"🏯","european_castle":"🏰","rainbow-flag":"🏳️‍🌈","transgender_flag":"🏳️‍⚧️","waving_white_flag":"🏳️","pirate_flag":"🏴‍☠️","flag-england":"🏴󠁧󠁢󠁥󠁮󠁧󠁿","flag-scotland":"🏴󠁧󠁢󠁳󠁣󠁴󠁿","flag-wales":"🏴󠁧󠁢󠁷󠁬󠁳󠁿","waving_black_flag":"🏴","rosette":"🏵️","label":"🏷️","badminton_racquet_and_shuttlecock":"🏸","bow_and_arrow":"🏹","amphora":"🏺","skin-tone-2":"🏻","skin-tone-3":"🏼","skin-tone-4":"🏽","skin-tone-5":"🏾","skin-tone-6":"🏿","rat":"🐀","mouse2":"🐁","ox":"🐂","water_buffalo":"🐃","cow2":"🐄","tiger2":"🐅","leopard":"🐆","rabbit2":"🐇","black_cat":"🐈‍⬛","cat2":"🐈","dragon":"🐉","crocodile":"🐊","whale2":"🐋","snail":"🐌","snake":"🐍","racehorse":"🐎","ram":"🐏","goat":"🐐","sheep":"🐑","monkey":"🐒","rooster":"🐓","chicken":"🐔","service_dog":"🐕‍🦺","dog2":"🐕","pig2":"🐖","boar":"🐗","elephant":"🐘","octopus":"🐙","shell":"🐚","bug":"🐛","ant":"🐜","bee":"🐝","honeybee":"🐝","ladybug":"🐞","lady_beetle":"🐞","fish":"🐟","tropical_fish":"🐠","blowfish":"🐡","turtle":"🐢","hatching_chick":"🐣","baby_chick":"🐤","hatched_chick":"🐥","bird":"🐦","penguin":"🐧","koala":"🐨","poodle":"🐩","dromedary_camel":"🐪","camel":"🐫","dolphin":"🐬","flipper":"🐬","mouse":"🐭","cow":"🐮","tiger":"🐯","rabbit":"🐰","cat":"🐱","dragon_face":"🐲","whale":"🐳","horse":"🐴","monkey_face":"🐵","dog":"🐶","pig":"🐷","frog":"🐸","hamster":"🐹","wolf":"🐺","polar_bear":"🐻‍❄️","bear":"🐻","panda_face":"🐼","pig_nose":"🐽","feet":"🐾","paw_prints":"🐾","chipmunk":"🐿️","eyes":"👀","eye-in-speech-bubble":"👁️‍🗨️","eye":"👁️","ear":"👂","nose":"👃","lips":"👄","tongue":"👅","point_up_2":"👆","point_down":"👇","point_left":"👈","point_right":"👉","facepunch":"👊","punch":"👊","wave":"👋","ok_hand":"👌","+1":"👍","thumbsup":"👍","-1":"👎","thumbsdown":"👎","clap":"👏","open_hands":"👐","crown":"👑","womans_hat":"👒","eyeglasses":"👓","necktie":"👔","shirt":"👕","tshirt":"👕","jeans":"👖","dress":"👗","kimono":"👘","bikini":"👙","womans_clothes":"👚","purse":"👛","handbag":"👜","pouch":"👝","mans_shoe":"👞","shoe":"👞","athletic_shoe":"👟","high_heel":"👠","sandal":"👡","boot":"👢","footprints":"👣","bust_in_silhouette":"👤","busts_in_silhouette":"👥","boy":"👦","girl":"👧","male-farmer":"👨‍🌾","male-cook":"👨‍🍳","man_feeding_baby":"👨‍🍼","male-student":"👨‍🎓","male-singer":"👨‍🎤","male-artist":"👨‍🎨","male-teacher":"👨‍🏫","male-factory-worker":"👨‍🏭","man-boy-boy":"👨‍👦‍👦","man-boy":"👨‍👦","man-girl-boy":"👨‍👧‍👦","man-girl-girl":"👨‍👧‍👧","man-girl":"👨‍👧","man-man-boy":"👨‍👨‍👦","man-man-boy-boy":"👨‍👨‍👦‍👦","man-man-girl":"👨‍👨‍👧","man-man-girl-boy":"👨‍👨‍👧‍👦","man-man-girl-girl":"👨‍👨‍👧‍👧","man-woman-boy":"👨‍👩‍👦","family":"👨‍👩‍👦","man-woman-boy-boy":"👨‍👩‍👦‍👦","man-woman-girl":"👨‍👩‍👧","man-woman-girl-boy":"👨‍👩‍👧‍👦","man-woman-girl-girl":"👨‍👩‍👧‍👧","male-technologist":"👨‍💻","male-office-worker":"👨‍💼","male-mechanic":"👨‍🔧","male-scientist":"👨‍🔬","male-astronaut":"👨‍🚀","male-firefighter":"👨‍🚒","man_with_probing_cane":"👨‍🦯","red_haired_man":"👨‍🦰","curly_haired_man":"👨‍🦱","bald_man":"👨‍🦲","white_haired_man":"👨‍🦳","man_in_motorized_wheelchair":"👨‍🦼","man_in_manual_wheelchair":"👨‍🦽","male-doctor":"👨‍⚕️","male-judge":"👨‍⚖️","male-pilot":"👨‍✈️","man-heart-man":"👨‍❤️‍👨","man-kiss-man":"👨‍❤️‍💋‍👨","man":"👨","female-farmer":"👩‍🌾","female-cook":"👩‍🍳","woman_feeding_baby":"👩‍🍼","female-student":"👩‍🎓","female-singer":"👩‍🎤","female-artist":"👩‍🎨","female-teacher":"👩‍🏫","female-factory-worker":"👩‍🏭","woman-boy-boy":"👩‍👦‍👦","woman-boy":"👩‍👦","woman-girl-boy":"👩‍👧‍👦","woman-girl-girl":"👩‍👧‍👧","woman-girl":"👩‍👧","woman-woman-boy":"👩‍👩‍👦","woman-woman-boy-boy":"👩‍👩‍👦‍👦","woman-woman-girl":"👩‍👩‍👧","woman-woman-girl-boy":"👩‍👩‍👧‍👦","woman-woman-girl-girl":"👩‍👩‍👧‍👧","female-technologist":"👩‍💻","female-office-worker":"👩‍💼","female-mechanic":"👩‍🔧","female-scientist":"👩‍🔬","female-astronaut":"👩‍🚀","female-firefighter":"👩‍🚒","woman_with_probing_cane":"👩‍🦯","red_haired_woman":"👩‍🦰","curly_haired_woman":"👩‍🦱","bald_woman":"👩‍🦲","white_haired_woman":"👩‍🦳","woman_in_motorized_wheelchair":"👩‍🦼","woman_in_manual_wheelchair":"👩‍🦽","female-doctor":"👩‍⚕️","female-judge":"👩‍⚖️","female-pilot":"👩‍✈️","woman-heart-man":"👩‍❤️‍👨","woman-heart-woman":"👩‍❤️‍👩","woman-kiss-man":"👩‍❤️‍💋‍👨","woman-kiss-woman":"👩‍❤️‍💋‍👩","woman":"👩","man_and_woman_holding_hands":"👫","woman_and_man_holding_hands":"👫","couple":"👫","two_men_holding_hands":"👬","men_holding_hands":"👬","two_women_holding_hands":"👭","women_holding_hands":"👭","female-police-officer":"👮‍♀️","male-police-officer":"👮‍♂️","cop":"👮‍♂️","women-with-bunny-ears-partying":"👯‍♀️","woman-with-bunny-ears-partying":"👯‍♀️","dancers":"👯‍♀️","men-with-bunny-ears-partying":"👯‍♂️","man-with-bunny-ears-partying":"👯‍♂️","woman_with_veil":"👰‍♀️","man_with_veil":"👰‍♂️","bride_with_veil":"👰","blond-haired-woman":"👱‍♀️","blond-haired-man":"👱‍♂️","person_with_blond_hair":"👱‍♂️","man_with_gua_pi_mao":"👲","woman-wearing-turban":"👳‍♀️","man-wearing-turban":"👳‍♂️","man_with_turban":"👳‍♂️","older_man":"👴","older_woman":"👵","baby":"👶","female-construction-worker":"👷‍♀️","male-construction-worker":"👷‍♂️","construction_worker":"👷‍♂️","princess":"👸","japanese_ogre":"👹","japanese_goblin":"👺","ghost":"👻","angel":"👼","alien":"👽","space_invader":"👾","imp":"👿","skull":"💀","woman-tipping-hand":"💁‍♀️","information_desk_person":"💁‍♀️","man-tipping-hand":"💁‍♂️","female-guard":"💂‍♀️","male-guard":"💂‍♂️","guardsman":"💂‍♂️","dancer":"💃","lipstick":"💄","nail_care":"💅","woman-getting-massage":"💆‍♀️","massage":"💆‍♀️","man-getting-massage":"💆‍♂️","woman-getting-haircut":"💇‍♀️","haircut":"💇‍♀️","man-getting-haircut":"💇‍♂️","barber":"💈","syringe":"💉","pill":"💊","kiss":"💋","love_letter":"💌","ring":"💍","gem":"💎","couplekiss":"💏","bouquet":"💐","couple_with_heart":"💑","wedding":"💒","heartbeat":"💓","broken_heart":"💔","two_hearts":"💕","sparkling_heart":"💖","heartpulse":"💗","cupid":"💘","blue_heart":"💙","green_heart":"💚","yellow_heart":"💛","purple_heart":"💜","gift_heart":"💝","revolving_hearts":"💞","heart_decoration":"💟","diamond_shape_with_a_dot_inside":"💠","bulb":"💡","anger":"💢","bomb":"💣","zzz":"💤","boom":"💥","collision":"💥","sweat_drops":"💦","droplet":"💧","dash":"💨","hankey":"💩","poop":"💩","shit":"💩","muscle":"💪","dizzy":"💫","speech_balloon":"💬","thought_balloon":"💭","white_flower":"💮","moneybag":"💰","currency_exchange":"💱","heavy_dollar_sign":"💲","credit_card":"💳","yen":"💴","dollar":"💵","euro":"💶","pound":"💷","money_with_wings":"💸","chart":"💹","seat":"💺","computer":"💻","briefcase":"💼","minidisc":"💽","floppy_disk":"💾","cd":"💿","dvd":"📀","file_folder":"📁","open_file_folder":"📂","page_with_curl":"📃","page_facing_up":"📄","date":"📅","calendar":"📆","card_index":"📇","chart_with_upwards_trend":"📈","chart_with_downwards_trend":"📉","bar_chart":"📊","clipboard":"📋","pushpin":"📌","round_pushpin":"📍","paperclip":"📎","straight_ruler":"📏","triangular_ruler":"📐","bookmark_tabs":"📑","ledger":"📒","notebook":"📓","notebook_with_decorative_cover":"📔","closed_book":"📕","book":"📖","open_book":"📖","green_book":"📗","blue_book":"📘","orange_book":"📙","books":"📚","name_badge":"📛","scroll":"📜","memo":"📝","pencil":"📝","telephone_receiver":"📞","pager":"📟","fax":"📠","satellite_antenna":"📡","loudspeaker":"📢","mega":"📣","outbox_tray":"📤","inbox_tray":"📥","package":"📦","e-mail":"📧","incoming_envelope":"📨","envelope_with_arrow":"📩","mailbox_closed":"📪","mailbox":"📫","mailbox_with_mail":"📬","mailbox_with_no_mail":"📭","postbox":"📮","postal_horn":"📯","newspaper":"📰","iphone":"📱","calling":"📲","vibration_mode":"📳","mobile_phone_off":"📴","no_mobile_phones":"📵","signal_strength":"📶","camera":"📷","camera_with_flash":"📸","video_camera":"📹","tv":"📺","radio":"📻","vhs":"📼","film_projector":"📽️","prayer_beads":"📿","twisted_rightwards_arrows":"🔀","repeat":"🔁","repeat_one":"🔂","arrows_clockwise":"🔃","arrows_counterclockwise":"🔄","low_brightness":"🔅","high_brightness":"🔆","mute":"🔇","speaker":"🔈","sound":"🔉","loud_sound":"🔊","battery":"🔋","electric_plug":"🔌","mag":"🔍","mag_right":"🔎","lock_with_ink_pen":"🔏","closed_lock_with_key":"🔐","key":"🔑","lock":"🔒","unlock":"🔓","bell":"🔔","no_bell":"🔕","bookmark":"🔖","link":"🔗","radio_button":"🔘","back":"🔙","end":"🔚","on":"🔛","soon":"🔜","top":"🔝","underage":"🔞","keycap_ten":"🔟","capital_abcd":"🔠","abcd":"🔡","symbols":"🔣","abc":"🔤","fire":"🔥","flashlight":"🔦","wrench":"🔧","hammer":"🔨","nut_and_bolt":"🔩","hocho":"🔪","knife":"🔪","gun":"🔫","microscope":"🔬","telescope":"🔭","crystal_ball":"🔮","six_pointed_star":"🔯","beginner":"🔰","trident":"🔱","black_square_button":"🔲","white_square_button":"🔳","red_circle":"🔴","large_blue_circle":"🔵","large_orange_diamond":"🔶","large_blue_diamond":"🔷","small_orange_diamond":"🔸","small_blue_diamond":"🔹","small_red_triangle":"🔺","small_red_triangle_down":"🔻","arrow_up_small":"🔼","arrow_down_small":"🔽","om_symbol":"🕉️","dove_of_peace":"🕊️","kaaba":"🕋","mosque":"🕌","synagogue":"🕍","menorah_with_nine_branches":"🕎","clock1":"🕐","clock2":"🕑","clock3":"🕒","clock4":"🕓","clock5":"🕔","clock6":"🕕","clock7":"🕖","clock8":"🕗","clock9":"🕘","clock10":"🕙","clock11":"🕚","clock12":"🕛","clock130":"🕜","clock230":"🕝","clock330":"🕞","clock430":"🕟","clock530":"🕠","clock630":"🕡","clock730":"🕢","clock830":"🕣","clock930":"🕤","clock1030":"🕥","clock1130":"🕦","clock1230":"🕧","candle":"🕯️","mantelpiece_clock":"🕰️","hole":"🕳️","man_in_business_suit_levitating":"🕴️","female-detective":"🕵️‍♀️","male-detective":"🕵️‍♂️","sleuth_or_spy":"🕵️‍♂️","dark_sunglasses":"🕶️","spider":"🕷️","spider_web":"🕸️","joystick":"🕹️","man_dancing":"🕺","linked_paperclips":"🖇️","lower_left_ballpoint_pen":"🖊️","lower_left_fountain_pen":"🖋️","lower_left_paintbrush":"🖌️","lower_left_crayon":"🖍️","raised_hand_with_fingers_splayed":"🖐️","middle_finger":"🖕","reversed_hand_with_middle_finger_extended":"🖕","spock-hand":"🖖","black_heart":"🖤","desktop_computer":"🖥️","printer":"🖨️","three_button_mouse":"🖱️","trackball":"🖲️","frame_with_picture":"🖼️","card_index_dividers":"🗂️","card_file_box":"🗃️","file_cabinet":"🗄️","wastebasket":"🗑️","spiral_note_pad":"🗒️","spiral_calendar_pad":"🗓️","compression":"🗜️","old_key":"🗝️","rolled_up_newspaper":"🗞️","dagger_knife":"🗡️","speaking_head_in_silhouette":"🗣️","left_speech_bubble":"🗨️","right_anger_bubble":"🗯️","ballot_box_with_ballot":"🗳️","world_map":"🗺️","mount_fuji":"🗻","tokyo_tower":"🗼","statue_of_liberty":"🗽","japan":"🗾","moyai":"🗿","grinning":"😀","grin":"😁","joy":"😂","smiley":"😃","smile":"😄","sweat_smile":"😅","laughing":"😆","satisfied":"😆","innocent":"😇","smiling_imp":"😈","wink":"😉","blush":"😊","yum":"😋","relieved":"😌","heart_eyes":"😍","sunglasses":"😎","smirk":"😏","neutral_face":"😐","expressionless":"😑","unamused":"😒","sweat":"😓","pensive":"😔","confused":"😕","confounded":"😖","kissing":"😗","kissing_heart":"😘","kissing_smiling_eyes":"😙","kissing_closed_eyes":"😚","stuck_out_tongue":"😛","stuck_out_tongue_winking_eye":"😜","stuck_out_tongue_closed_eyes":"😝","disappointed":"😞","worried":"😟","angry":"😠","rage":"😡","cry":"😢","persevere":"😣","triumph":"😤","disappointed_relieved":"😥","frowning":"😦","anguished":"😧","fearful":"😨","weary":"😩","sleepy":"😪","tired_face":"😫","grimacing":"😬","sob":"😭","face_exhaling":"😮‍💨","open_mouth":"😮","hushed":"😯","cold_sweat":"😰","scream":"😱","astonished":"😲","flushed":"😳","sleeping":"😴","face_with_spiral_eyes":"😵‍💫","dizzy_face":"😵","face_in_clouds":"😶‍🌫️","no_mouth":"😶","mask":"😷","smile_cat":"😸","joy_cat":"😹","smiley_cat":"😺","heart_eyes_cat":"😻","smirk_cat":"😼","kissing_cat":"😽","pouting_cat":"😾","crying_cat_face":"😿","scream_cat":"🙀","slightly_frowning_face":"🙁","slightly_smiling_face":"🙂","upside_down_face":"🙃","face_with_rolling_eyes":"🙄","woman-gesturing-no":"🙅‍♀️","no_good":"🙅‍♀️","man-gesturing-no":"🙅‍♂️","woman-gesturing-ok":"🙆‍♀️","ok_woman":"🙆‍♀️","man-gesturing-ok":"🙆‍♂️","woman-bowing":"🙇‍♀️","man-bowing":"🙇‍♂️","bow":"🙇‍♂️","see_no_evil":"🙈","hear_no_evil":"🙉","speak_no_evil":"🙊","woman-raising-hand":"🙋‍♀️","raising_hand":"🙋‍♀️","man-raising-hand":"🙋‍♂️","raised_hands":"🙌","woman-frowning":"🙍‍♀️","person_frowning":"🙍‍♀️","man-frowning":"🙍‍♂️","woman-pouting":"🙎‍♀️","person_with_pouting_face":"🙎‍♀️","man-pouting":"🙎‍♂️","pray":"🙏","rocket":"🚀","helicopter":"🚁","steam_locomotive":"🚂","railway_car":"🚃","bullettrain_side":"🚄","bullettrain_front":"🚅","train2":"🚆","metro":"🚇","light_rail":"🚈","station":"🚉","tram":"🚊","train":"🚋","bus":"🚌","oncoming_bus":"🚍","trolleybus":"🚎","busstop":"🚏","minibus":"🚐","ambulance":"🚑","fire_engine":"🚒","police_car":"🚓","oncoming_police_car":"🚔","taxi":"🚕","oncoming_taxi":"🚖","car":"🚗","red_car":"🚗","oncoming_automobile":"🚘","blue_car":"🚙","truck":"🚚","articulated_lorry":"🚛","tractor":"🚜","monorail":"🚝","mountain_railway":"🚞","suspension_railway":"🚟","mountain_cableway":"🚠","aerial_tramway":"🚡","ship":"🚢","woman-rowing-boat":"🚣‍♀️","man-rowing-boat":"🚣‍♂️","rowboat":"🚣‍♂️","speedboat":"🚤","traffic_light":"🚥","vertical_traffic_light":"🚦","construction":"🚧","rotating_light":"🚨","triangular_flag_on_post":"🚩","door":"🚪","no_entry_sign":"🚫","smoking":"🚬","no_smoking":"🚭","put_litter_in_its_place":"🚮","do_not_litter":"🚯","potable_water":"🚰","non-potable_water":"🚱","bike":"🚲","no_bicycles":"🚳","woman-biking":"🚴‍♀️","man-biking":"🚴‍♂️","bicyclist":"🚴‍♂️","woman-mountain-biking":"🚵‍♀️","man-mountain-biking":"🚵‍♂️","mountain_bicyclist":"🚵‍♂️","woman-walking":"🚶‍♀️","man-walking":"🚶‍♂️","walking":"🚶‍♂️","no_pedestrians":"🚷","children_crossing":"🚸","mens":"🚹","womens":"🚺","restroom":"🚻","baby_symbol":"🚼","toilet":"🚽","wc":"🚾","shower":"🚿","bath":"🛀","bathtub":"🛁","passport_control":"🛂","customs":"🛃","baggage_claim":"🛄","left_luggage":"🛅","couch_and_lamp":"🛋️","sleeping_accommodation":"🛌","shopping_bags":"🛍️","bellhop_bell":"🛎️","bed":"🛏️","place_of_worship":"🛐","octagonal_sign":"🛑","shopping_trolley":"🛒","hindu_temple":"🛕","hut":"🛖","elevator":"🛗","hammer_and_wrench":"🛠️","shield":"🛡️","oil_drum":"🛢️","motorway":"🛣️","railway_track":"🛤️","motor_boat":"🛥️","small_airplane":"🛩️","airplane_departure":"🛫","airplane_arriving":"🛬","satellite":"🛰️","passenger_ship":"🛳️","scooter":"🛴","motor_scooter":"🛵","canoe":"🛶","sled":"🛷","flying_saucer":"🛸","skateboard":"🛹","auto_rickshaw":"🛺","pickup_truck":"🛻","roller_skate":"🛼","large_orange_circle":"🟠","large_yellow_circle":"🟡","large_green_circle":"🟢","large_purple_circle":"🟣","large_brown_circle":"🟤","large_red_square":"🟥","large_blue_square":"🟦","large_orange_square":"🟧","large_yellow_square":"🟨","large_green_square":"🟩","large_purple_square":"🟪","large_brown_square":"🟫","pinched_fingers":"🤌","white_heart":"🤍","brown_heart":"🤎","pinching_hand":"🤏","zipper_mouth_face":"🤐","money_mouth_face":"🤑","face_with_thermometer":"🤒","nerd_face":"🤓","thinking_face":"🤔","face_with_head_bandage":"🤕","robot_face":"🤖","hugging_face":"🤗","the_horns":"🤘","sign_of_the_horns":"🤘","call_me_hand":"🤙","raised_back_of_hand":"🤚","left-facing_fist":"🤛","right-facing_fist":"🤜","handshake":"🤝","crossed_fingers":"🤞","hand_with_index_and_middle_fingers_crossed":"🤞","i_love_you_hand_sign":"🤟","face_with_cowboy_hat":"🤠","clown_face":"🤡","nauseated_face":"🤢","rolling_on_the_floor_laughing":"🤣","drooling_face":"🤤","lying_face":"🤥","woman-facepalming":"🤦‍♀️","man-facepalming":"🤦‍♂️","face_palm":"🤦","sneezing_face":"🤧","face_with_raised_eyebrow":"🤨","face_with_one_eyebrow_raised":"🤨","star-struck":"🤩","grinning_face_with_star_eyes":"🤩","zany_face":"🤪","grinning_face_with_one_large_and_one_small_eye":"🤪","shushing_face":"🤫","face_with_finger_covering_closed_lips":"🤫","face_with_symbols_on_mouth":"🤬","serious_face_with_symbols_covering_mouth":"🤬","face_with_hand_over_mouth":"🤭","smiling_face_with_smiling_eyes_and_hand_covering_mouth":"🤭","face_vomiting":"🤮","face_with_open_mouth_vomiting":"🤮","exploding_head":"🤯","shocked_face_with_exploding_head":"🤯","pregnant_woman":"🤰","breast-feeding":"🤱","palms_up_together":"🤲","selfie":"🤳","prince":"🤴","woman_in_tuxedo":"🤵‍♀️","man_in_tuxedo":"🤵‍♂️","person_in_tuxedo":"🤵","mrs_claus":"🤶","mother_christmas":"🤶","woman-shrugging":"🤷‍♀️","man-shrugging":"🤷‍♂️","shrug":"🤷","woman-cartwheeling":"🤸‍♀️","man-cartwheeling":"🤸‍♂️","person_doing_cartwheel":"🤸","woman-juggling":"🤹‍♀️","man-juggling":"🤹‍♂️","juggling":"🤹","fencer":"🤺","woman-wrestling":"🤼‍♀️","man-wrestling":"🤼‍♂️","wrestlers":"🤼","woman-playing-water-polo":"🤽‍♀️","man-playing-water-polo":"🤽‍♂️","water_polo":"🤽","woman-playing-handball":"🤾‍♀️","man-playing-handball":"🤾‍♂️","handball":"🤾","diving_mask":"🤿","wilted_flower":"🥀","drum_with_drumsticks":"🥁","clinking_glasses":"🥂","tumbler_glass":"🥃","spoon":"🥄","goal_net":"🥅","first_place_medal":"🥇","second_place_medal":"🥈","third_place_medal":"🥉","boxing_glove":"🥊","martial_arts_uniform":"🥋","curling_stone":"🥌","lacrosse":"🥍","softball":"🥎","flying_disc":"🥏","croissant":"🥐","avocado":"🥑","cucumber":"🥒","bacon":"🥓","potato":"🥔","carrot":"🥕","baguette_bread":"🥖","green_salad":"🥗","shallow_pan_of_food":"🥘","stuffed_flatbread":"🥙","egg":"🥚","glass_of_milk":"🥛","peanuts":"🥜","kiwifruit":"🥝","pancakes":"🥞","dumpling":"🥟","fortune_cookie":"🥠","takeout_box":"🥡","chopsticks":"🥢","bowl_with_spoon":"🥣","cup_with_straw":"🥤","coconut":"🥥","broccoli":"🥦","pie":"🥧","pretzel":"🥨","cut_of_meat":"🥩","sandwich":"🥪","canned_food":"🥫","leafy_green":"🥬","mango":"🥭","moon_cake":"🥮","bagel":"🥯","smiling_face_with_3_hearts":"🥰","yawning_face":"🥱","smiling_face_with_tear":"🥲","partying_face":"🥳","woozy_face":"🥴","hot_face":"🥵","cold_face":"🥶","ninja":"🥷","disguised_face":"🥸","pleading_face":"🥺","sari":"🥻","lab_coat":"🥼","goggles":"🥽","hiking_boot":"🥾","womans_flat_shoe":"🥿","crab":"🦀","lion_face":"🦁","scorpion":"🦂","turkey":"🦃","unicorn_face":"🦄","eagle":"🦅","duck":"🦆","bat":"🦇","shark":"🦈","owl":"🦉","fox_face":"🦊","butterfly":"🦋","deer":"🦌","gorilla":"🦍","lizard":"🦎","rhinoceros":"🦏","shrimp":"🦐","squid":"🦑","giraffe_face":"🦒","zebra_face":"🦓","hedgehog":"🦔","sauropod":"🦕","t-rex":"🦖","cricket":"🦗","kangaroo":"🦘","llama":"🦙","peacock":"🦚","hippopotamus":"🦛","parrot":"🦜","raccoon":"🦝","lobster":"🦞","mosquito":"🦟","microbe":"🦠","badger":"🦡","swan":"🦢","mammoth":"🦣","dodo":"🦤","sloth":"🦥","otter":"🦦","orangutan":"🦧","skunk":"🦨","flamingo":"🦩","oyster":"🦪","beaver":"🦫","bison":"🦬","seal":"🦭","guide_dog":"🦮","probing_cane":"🦯","bone":"🦴","leg":"🦵","foot":"🦶","tooth":"🦷","female_superhero":"🦸‍♀️","male_superhero":"🦸‍♂️","superhero":"🦸","female_supervillain":"🦹‍♀️","male_supervillain":"🦹‍♂️","supervillain":"🦹","safety_vest":"🦺","ear_with_hearing_aid":"🦻","motorized_wheelchair":"🦼","manual_wheelchair":"🦽","mechanical_arm":"🦾","mechanical_leg":"🦿","cheese_wedge":"🧀","cupcake":"🧁","salt":"🧂","beverage_box":"🧃","garlic":"🧄","onion":"🧅","falafel":"🧆","waffle":"🧇","butter":"🧈","mate_drink":"🧉","ice_cube":"🧊","bubble_tea":"🧋","woman_standing":"🧍‍♀️","man_standing":"🧍‍♂️","standing_person":"🧍","woman_kneeling":"🧎‍♀️","man_kneeling":"🧎‍♂️","kneeling_person":"🧎","deaf_woman":"🧏‍♀️","deaf_man":"🧏‍♂️","deaf_person":"🧏","face_with_monocle":"🧐","farmer":"🧑‍🌾","cook":"🧑‍🍳","person_feeding_baby":"🧑‍🍼","mx_claus":"🧑‍🎄","student":"🧑‍🎓","singer":"🧑‍🎤","artist":"🧑‍🎨","teacher":"🧑‍🏫","factory_worker":"🧑‍🏭","technologist":"🧑‍💻","office_worker":"🧑‍💼","mechanic":"🧑‍🔧","scientist":"🧑‍🔬","astronaut":"🧑‍🚀","firefighter":"🧑‍🚒","people_holding_hands":"🧑‍🤝‍🧑","person_with_probing_cane":"🧑‍🦯","red_haired_person":"🧑‍🦰","curly_haired_person":"🧑‍🦱","bald_person":"🧑‍🦲","white_haired_person":"🧑‍🦳","person_in_motorized_wheelchair":"🧑‍🦼","person_in_manual_wheelchair":"🧑‍🦽","health_worker":"🧑‍⚕️","judge":"🧑‍⚖️","pilot":"🧑‍✈️","adult":"🧑","child":"🧒","older_adult":"🧓","woman_with_beard":"🧔‍♀️","man_with_beard":"🧔‍♂️","bearded_person":"🧔","person_with_headscarf":"🧕","woman_in_steamy_room":"🧖‍♀️","man_in_steamy_room":"🧖‍♂️","person_in_steamy_room":"🧖‍♂️","woman_climbing":"🧗‍♀️","person_climbing":"🧗‍♀️","man_climbing":"🧗‍♂️","woman_in_lotus_position":"🧘‍♀️","person_in_lotus_position":"🧘‍♀️","man_in_lotus_position":"🧘‍♂️","female_mage":"🧙‍♀️","mage":"🧙‍♀️","male_mage":"🧙‍♂️","female_fairy":"🧚‍♀️","fairy":"🧚‍♀️","male_fairy":"🧚‍♂️","female_vampire":"🧛‍♀️","vampire":"🧛‍♀️","male_vampire":"🧛‍♂️","mermaid":"🧜‍♀️","merman":"🧜‍♂️","merperson":"🧜‍♂️","female_elf":"🧝‍♀️","male_elf":"🧝‍♂️","elf":"🧝‍♂️","female_genie":"🧞‍♀️","male_genie":"🧞‍♂️","genie":"🧞‍♂️","female_zombie":"🧟‍♀️","male_zombie":"🧟‍♂️","zombie":"🧟‍♂️","brain":"🧠","orange_heart":"🧡","billed_cap":"🧢","scarf":"🧣","gloves":"🧤","coat":"🧥","socks":"🧦","red_envelope":"🧧","firecracker":"🧨","jigsaw":"🧩","test_tube":"🧪","petri_dish":"🧫","dna":"🧬","compass":"🧭","abacus":"🧮","fire_extinguisher":"🧯","toolbox":"🧰","bricks":"🧱","magnet":"🧲","luggage":"🧳","lotion_bottle":"🧴","thread":"🧵","yarn":"🧶","safety_pin":"🧷","teddy_bear":"🧸","broom":"🧹","basket":"🧺","roll_of_paper":"🧻","soap":"🧼","sponge":"🧽","receipt":"🧾","nazar_amulet":"🧿","ballet_shoes":"🩰","one-piece_swimsuit":"🩱","briefs":"🩲","shorts":"🩳","thong_sandal":"🩴","drop_of_blood":"🩸","adhesive_bandage":"🩹","stethoscope":"🩺","yo-yo":"🪀","kite":"🪁","parachute":"🪂","boomerang":"🪃","magic_wand":"🪄","pinata":"🪅","nesting_dolls":"🪆","ringed_planet":"🪐","chair":"🪑","razor":"🪒","axe":"🪓","diya_lamp":"🪔","banjo":"🪕","military_helmet":"🪖","accordion":"🪗","long_drum":"🪘","coin":"🪙","carpentry_saw":"🪚","screwdriver":"🪛","ladder":"🪜","hook":"🪝","mirror":"🪞","window":"🪟","plunger":"🪠","sewing_needle":"🪡","knot":"🪢","bucket":"🪣","mouse_trap":"🪤","toothbrush":"🪥","headstone":"🪦","placard":"🪧","rock":"🪨","fly":"🪰","worm":"🪱","beetle":"🪲","cockroach":"🪳","potted_plant":"🪴","wood":"🪵","feather":"🪶","anatomical_heart":"🫀","lungs":"🫁","people_hugging":"🫂","blueberries":"🫐","bell_pepper":"🫑","olive":"🫒","flatbread":"🫓","tamale":"🫔","fondue":"🫕","teapot":"🫖","bangbang":"‼️","interrobang":"⁉️","tm":"™️","information_source":"ℹ️","left_right_arrow":"↔️","arrow_up_down":"↕️","arrow_upper_left":"↖️","arrow_upper_right":"↗️","arrow_lower_right":"↘️","arrow_lower_left":"↙️","leftwards_arrow_with_hook":"↩️","arrow_right_hook":"↪️","watch":"⌚","hourglass":"⌛","keyboard":"⌨️","eject":"⏏️","fast_forward":"⏩","rewind":"⏪","arrow_double_up":"⏫","arrow_double_down":"⏬","black_right_pointing_double_triangle_with_vertical_bar":"⏭️","black_left_pointing_double_triangle_with_vertical_bar":"⏮️","black_right_pointing_triangle_with_double_vertical_bar":"⏯️","alarm_clock":"⏰","stopwatch":"⏱️","timer_clock":"⏲️","hourglass_flowing_sand":"⏳","double_vertical_bar":"⏸️","black_square_for_stop":"⏹️","black_circle_for_record":"⏺️","m":"Ⓜ️","black_small_square":"▪️","white_small_square":"▫️","arrow_forward":"▶️","arrow_backward":"◀️","white_medium_square":"◻️","black_medium_square":"◼️","white_medium_small_square":"◽","black_medium_small_square":"◾","sunny":"☀️","cloud":"☁️","umbrella":"☂️","snowman":"☃️","comet":"☄️","phone":"☎️","telephone":"☎️","ballot_box_with_check":"☑️","shamrock":"☘️","point_up":"☝️","skull_and_crossbones":"☠️","radioactive_sign":"☢️","biohazard_sign":"☣️","orthodox_cross":"☦️","star_and_crescent":"☪️","peace_symbol":"☮️","yin_yang":"☯️","wheel_of_dharma":"☸️","white_frowning_face":"☹️","relaxed":"☺️","female_sign":"♀️","male_sign":"♂️","gemini":"♊","cancer":"♋","leo":"♌","virgo":"♍","libra":"♎","scorpius":"♏","chess_pawn":"♟️","spades":"♠️","clubs":"♣️","hearts":"♥️","diamonds":"♦️","hotsprings":"♨️","recycle":"♻️","infinity":"♾️","wheelchair":"♿","hammer_and_pick":"⚒️","crossed_swords":"⚔️","medical_symbol":"⚕️","staff_of_aesculapius":"⚕️","scales":"⚖️","alembic":"⚗️","gear":"⚙️","atom_symbol":"⚛️","fleur_de_lis":"⚜️","warning":"⚠️","zap":"⚡","transgender_symbol":"⚧️","white_circle":"⚪","black_circle":"⚫","coffin":"⚰️","funeral_urn":"⚱️","soccer":"⚽","baseball":"⚾","snowman_without_snow":"⛄","partly_sunny":"⛅","thunder_cloud_and_rain":"⛈️","ophiuchus":"⛎","pick":"⛏️","helmet_with_white_cross":"⛑️","chains":"⛓️","no_entry":"⛔","shinto_shrine":"⛩️","church":"⛪","mountain":"⛰️","umbrella_on_ground":"⛱️","fountain":"⛲","golf":"⛳","ferry":"⛴️","boat":"⛵","sailboat":"⛵","skier":"⛷️","ice_skate":"⛸️","woman-bouncing-ball":"⛹️‍♀️","man-bouncing-ball":"⛹️‍♂️","person_with_ball":"⛹️‍♂️","tent":"⛺","fuelpump":"⛽","scissors":"✂️","airplane":"✈️","email":"✉️","envelope":"✉️","fist":"✊","hand":"✋","raised_hand":"✋","v":"✌️","writing_hand":"✍️","pencil2":"✏️","black_nib":"✒️","heavy_check_mark":"✔️","heavy_multiplication_x":"✖️","latin_cross":"✝️","star_of_david":"✡️","eight_spoked_asterisk":"✳️","eight_pointed_black_star":"✴️","snowflake":"❄️","sparkle":"❇️","x":"❌","negative_squared_cross_mark":"❎","heavy_heart_exclamation_mark_ornament":"❣️","heart_on_fire":"❤️‍🔥","mending_heart":"❤️‍🩹","heart":"❤️","arrow_right":"➡️","curly_loop":"➰","loop":"➿","arrow_heading_up":"⤴️","arrow_heading_down":"⤵️","arrow_left":"⬅️","arrow_up":"⬆️","arrow_down":"⬇️","black_large_square":"⬛","white_large_square":"⬜","star":"⭐","o":"⭕","wavy_dash":"〰️","part_alternation_mark":"〽️","congratulations":"㊗️","secret":"㊙️"}')}}]); +//# sourceMappingURL=chunk-vendors.1e67432d.js.map \ No newline at end of file diff --git a/docs/js/chunk-vendors.1e67432d.js.map b/docs/js/chunk-vendors.1e67432d.js.map new file mode 100644 index 0000000..1e8c42a --- /dev/null +++ b/docs/js/chunk-vendors.1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ohC,SAAS,SAAqB,IAAM,0CAGtCr4C,MAAO,CACLqT,KAAM,CACJ7hB,KAAM2B,OACNmjD,UAAU,IAIdzgC,QAAS,CACPihC,MAAO3oB,GACFtgC,KAAKwlB,KAAKyjC,QAAUjpD,KAAKwlB,KAAK0jC,SAAUlpD,KAAKwlB,KAAKyjC,MAAM3oB,GAClDtgC,KAAKkmB,MAAM+jC,MAAS3pB,EAAEsnC,cAAiBtnC,EAAEsnC,eAAeh3D,SAAS5Q,KAAKkmB,MAAM+jC,KAAKpkC,MACxFya,EAAEinB,iBAEN,EACAsC,UAAWc,GAAeA,KAAcb,EAASA,EAAMa,GAAc,GACrEtB,cAAep0B,GACb,OAAGA,IAAOza,MAAM23B,QAAQld,IAAoB,iBAANA,EAAuBA,EACjD,UACd,I,UCxDJ,MAAM21B,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS,KAEpE,Q,SCNOx0B,MAAM,sB,kCAAX,QAAsC,MAAtC,E,CCAF,MAAMq1B,EAAS,CAAC,EAGV,GAA2B,OAAgBA,EAAQ,CAAC,CAAC,SAAS,KAEpE,QJiBA,GAEEriC,WAAY,CACVy+C,YAAW,EACXC,iBAAgB,GAGlB31D,MAAO,CACL83C,KAAM,CACJtmD,KAAM6W,MACNiuC,UAAU,GAEZ2B,MAAOvlD,OACPylD,OAAQzlD,QAGVmjB,QAAS,CACPqhC,cAAcp0B,GACZ,MAAgB,iBAANA,EAAuBA,EACZ,iBAANA,EAAuB,YAAYA,EACtC,eACd,IKvCJ,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS1f,KAEpE,O","sources":["webpack://vue-document-editor/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack://vue-document-editor/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack://vue-document-editor/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack://vue-document-editor/./node_modules/@vue/shared/dist/shared.esm-bundler.js","webpack://vue-document-editor/./node_modules/core-js/internals/a-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/an-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-includes.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-set-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/classof-raw.js","webpack://vue-document-editor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-global-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/descriptors.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-all.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-create-element.js","webpack://vue-document-editor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue-document-editor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/export.js","webpack://vue-document-editor/./node_modules/core-js/internals/fails.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-bind-native.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-call.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-name.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-method.js","webpack://vue-document-editor/./node_modules/core-js/internals/global.js","webpack://vue-document-editor/./node_modules/core-js/internals/has-own-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/hidden-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue-document-editor/./node_modules/core-js/internals/indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/inspect-source.js","webpack://vue-document-editor/./node_modules/core-js/internals/internal-state.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-array.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-forced.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-pure.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-symbol.js","webpack://vue-document-editor/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue-document-editor/./node_modules/core-js/internals/make-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/math-trunc.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-define-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue-document-editor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/own-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-store.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared.js","webpack://vue-document-editor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-property-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/try-to-string.js","webpack://vue-document-editor/./node_modules/core-js/internals/uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue-document-editor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue-document-editor/./node_modules/core-js/modules/es.array.push.js","webpack://vue-document-editor/./node_modules/hotkeys-js/dist/hotkeys.esm.js","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/imports/bar-hotkey-manager.js","webpack://vue-document-editor/./node_modules/vue-loader/dist/exportHelper.js","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/Bar.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonGeneric.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonGeneric.vue?68b1","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonColor.vue","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/style-inject.es-746bb8ed.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/defaultConfig.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/utils/compoent.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/checkboard/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/alpha/index.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/util.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/conversion.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/css-color-names.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/format-input.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/mixin/color.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/editable-input/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/utils/utils.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/saturation/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/hue/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/chrome/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/compact/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/grayscale/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/material/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/photoshop/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/sketch/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/slider/index.js","webpack://vue-document-editor/./node_modules/material-colors/dist/colors.es2015.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/swatches/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/twitter/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components.js","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonColor.vue?2d37","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSeparator.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSeparator.vue?a46f","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSpacer.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSpacer.vue?8e19","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/Bar.vue?855e","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenu.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuItem.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuItem.vue?4eb2","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuSeparator.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuSeparator.vue?59f5","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenu.vue?d5fc"],"sourcesContent":["import { extend, isArray, isSymbol, isMap, isIntegerKey, hasOwn, hasChanged, isObject, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const { deps } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { effect: activeEffect, target, type, key } : void 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if (!!(process.env.NODE_ENV !== \"production\") && activeEffect.onTrack) {\n activeEffect.onTrack(\n extend(\n {\n effect: activeEffect\n },\n debuggerEventExtraInfo\n )\n );\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || !isSymbol(key2) && key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(deps[0], eventInfo);\n } else {\n triggerEffects(deps[0]);\n }\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(createDep(effects), eventInfo);\n } else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if (!!(process.env.NODE_ENV !== \"production\") && effect2.onTrigger) {\n effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _shallow = false) {\n this._isReadonly = _isReadonly;\n this._shallow = _shallow;\n }\n get(target, key, receiver) {\n const isReadonly2 = this._isReadonly, shallow = this._shallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\") {\n if (receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype\n // this means the reciever is a user proxy of the reactive proxy\n Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {\n return target;\n }\n return;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(shallow = false) {\n super(false, shallow);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n if (!this._shallow) {\n const isOldValueReadonly = isReadonly(oldValue);\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n if (isOldValueReadonly) {\n return false;\n } else {\n oldValue.value = value;\n return true;\n }\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(\n target,\n \"iterate\",\n isArray(target) ? \"length\" : ITERATE_KEY\n );\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(shallow = false) {\n super(true, shallow);\n }\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(\n true\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : type === \"clear\" ? void 0 : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(\n method,\n false,\n false\n );\n readonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n false\n );\n shallowInstrumentations2[method] = createIterableMethod(\n method,\n false,\n true\n );\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {\n trackEffects(ref2.dep || (ref2.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {\n triggerEffects(dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);\n}\n\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst tick = /* @__PURE__ */ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(\n true\n /* computedTrigger */\n );\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, capitalize, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, isGloballyAllowed, NO, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.pre) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (instance && cb.id !== instance.uid) {\n continue;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Set();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(\n normalizeClassComponent(instance.type)\n );\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n const thisProxy = !!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup ? new Proxy(proxyToUse, {\n get(target, key, receiver) {\n warn(\n `Property '${String(\n key\n )}' was accessed via 'this'. Avoid using 'this' in templates.`\n );\n return Reflect.get(target, key, receiver);\n }\n }) : proxyToUse;\n result = normalizeVNode(\n render.call(\n thisProxy,\n proxyToUse,\n renderCache,\n props,\n setupState,\n data,\n ctx\n )\n );\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if (!!(process.env.NODE_ENV !== \"production\") && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(\n render2.length > 1 ? render2(\n props,\n !!(process.env.NODE_ENV !== \"production\") ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : { attrs, slots, emit }\n ) : render2(\n props,\n null\n /* we know it doesn't need it */\n )\n );\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if (!!(process.env.NODE_ENV !== \"production\") && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(isModelListener)) {\n fallthroughAttrs = filterModelListeners(\n fallthroughAttrs,\n propsOptions\n );\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n if (!isModelListener(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(\n `Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`\n );\n }\n if (eventAttrs.length) {\n warn(\n `Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`\n );\n }\n }\n }\n }\n if (vnode.dirs) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Runtime directive used on component with non-element root node. The directives will not function as intended.`\n );\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Component inside renders non-element root node that cannot be animated.`\n );\n }\n root.transition = vnode.transition;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n if (!!(process.env.NODE_ENV !== \"production\") && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n /* do not include inferred name to avoid breaking existing code */\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nconst isSuspense = (type) => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n } else {\n patchSuspense(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl ;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: { createElement }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n container,\n hiddenContainer,\n anchor,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n patch(\n null,\n suspense.pendingBranch = vnode.ssContent,\n hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds\n );\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(\n null,\n vnode.ssFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds\n );\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(\n pendingBranch,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n suspense.resolve(true);\n } else {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if (!!(process.env.NODE_ENV !== \"production\") && true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](\n ` is an experimental feature and its API will likely change.`\n );\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: { parentNode, remove }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: !isHydrating,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(\n `suspense.resolve() is called without a pending branch.`\n );\n }\n if (suspense.isUnmounted) {\n throw new Error(\n `suspense.resolve() is called on an already unmounted suspense boundary.`\n );\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n let delayEnter = false;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(\n pendingBranch,\n container2,\n next(activeBranch),\n 0\n );\n queuePostFlushCb(effects);\n }\n };\n }\n let { anchor: anchor2 } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor && !delayEnter) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(\n null,\n fallbackVNode,\n container2,\n anchor2,\n parentComponent2,\n null,\n // fallback tree will not have suspense context\n isSVG2,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(\n activeBranch,\n parentComponent2,\n null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch((err) => {\n handleError(err, instance, 0);\n }).then((asyncSetupResult) => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const { vnode: vnode2 } = instance;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(\n instance,\n vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree),\n suspense,\n isSVG,\n optimized\n );\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(\n suspense.activeBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n if (suspense.pendingBranch) {\n unmount(\n suspense.pendingBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n node.parentNode,\n document.createElement(\"div\"),\n null,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals,\n true\n /* hydrating */\n );\n const result = hydrateNode(\n node,\n suspense.pendingBranch = vnode.ssContent,\n parentComponent,\n suspense,\n slotScopeIds,\n optimized\n );\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(\n isSlotChildren ? children.default : children\n );\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if (!!(process.env.NODE_ENV !== \"production\") && !singleChild && s.filter((child) => child !== NULL_DYNAMIC_COMPONENT).length > 0) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter((c) => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n var _a;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = getCurrentScope() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n } else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow$1(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return traverse(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n cleanup = effect.onStop = void 0;\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [\n getter(),\n isMultiSource ? [] : void 0,\n onCleanup\n ]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup)\n ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nconst leaveCbKey = Symbol(\"_leaveCb\");\nconst enterCbKey = Symbol(\"_enterCb\");\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\"))\n break;\n }\n }\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el[leaveCbKey] = () => {\n earlyRemove();\n el[leaveCbKey] = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1))\n done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el[leaveCbKey]) {\n el[leaveCbKey](\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) {\n leavingVNode.el[leaveCbKey]();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el[enterCbKey] = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el[enterCbKey] = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el[enterCbKey]) {\n el[enterCbKey](\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el[leaveCbKey] = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el[leaveCbKey] = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ? (\n // #7121 ensure get the child component subtree in case\n // it's been replaced during HMR\n !!(process.env.NODE_ENV !== \"production\") && vnode.component ? vnode.component.subTree : vnode.children ? vnode.children[0] : void 0\n ) : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128)\n keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n /* do not throw in dev if user provided error component */\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n isSVG,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res)\n res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\")\n props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(\n Fragment,\n {\n key: props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn(`Cannot mutate \n\n\n","\n\n","import { render } from \"./BarButtonGeneric.vue?vue&type=template&id=4f947989\"\nimport script from \"./BarButtonGeneric.vue?vue&type=script&lang=js\"\nexport * from \"./BarButtonGeneric.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport { styleInject as s };\n","const name = 'VueColor';\n// 自定义组件前缀\nconst prefix = '';\nconst cssPrefix = '';\nconst size = 'medium';\n\nexport { cssPrefix, name, prefix, size };\n","import { prefix } from '../defaultConfig.js';\n\nconst install = function (app, options) {\n const { componentPrefix = prefix } = options || {};\n app.component(`${componentPrefix}${this.name}`, this);\n};\n\nexport { install };\n","import { openBlock, createElementBlock, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nconst _checkboardCache = {};\n\nvar script = {\n name: 'Checkboard',\n props: {\n size: {\n type: [Number, String],\n default: 8,\n },\n white: {\n type: String,\n default: '#fff',\n },\n grey: {\n type: String,\n default: '#e6e6e6',\n },\n },\n computed: {\n bgStyle() {\n return {\n 'background-image': `url(${getCheckboard(this.white, this.grey, this.size)})`,\n };\n },\n },\n};\n\n/**\n * get base 64 data by canvas\n *\n * @param {String} c1 hex color\n * @param {String} c2 hex color\n * @param {Number} size\n */\n\nfunction renderCheckboard(c1, c2, size) {\n // Dont Render On Server\n if (typeof document === 'undefined')\n return null;\n\n const canvas = document.createElement('canvas');\n canvas.width = canvas.height = size * 2;\n const ctx = canvas.getContext('2d');\n // If no context can be found, return early.\n if (!ctx)\n return null;\n\n ctx.fillStyle = c1;\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n ctx.fillStyle = c2;\n ctx.fillRect(0, 0, size, size);\n ctx.translate(size, size);\n ctx.fillRect(0, 0, size, size);\n return canvas.toDataURL();\n}\n\n/**\n * get checkboard base data and cache\n *\n * @param {String} c1 hex color\n * @param {String} c2 hex color\n * @param {Number} size\n */\n\nfunction getCheckboard(c1, c2, size) {\n const key = `${c1},${c2},${size}`;\n\n if (_checkboardCache[key])\n return _checkboardCache[key];\n\n const checkboard = renderCheckboard(c1, c2, size);\n _checkboardCache[key] = checkboard;\n return checkboard;\n}\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n class: \"vc-checkerboard\",\n style: normalizeStyle($options.bgStyle)\n }, null, 4 /* STYLE */))\n}\n\nvar css_248z = \".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/checkboard/checkboard.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script$1 from '../checkboard/index.js';\nimport { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Alpha',\n components: {\n Checkboard: script$1,\n },\n props: {\n value: Object,\n onChange: Function,\n },\n computed: {\n colors() {\n return this.value;\n },\n gradientColor() {\n const { rgba } = this.colors;\n const rgbStr = [rgba.r, rgba.g, rgba.b].join(',');\n return `linear-gradient(to right, rgba(${rgbStr}, 0) 0%, rgba(${rgbStr}, 1) 100%)`;\n },\n },\n methods: {\n handleChange(e, skip) {\n !skip && e.preventDefault();\n const { container } = this.$refs;\n if (!container) {\n // for some edge cases, container may not exist. see #220\n return;\n }\n const containerWidth = container.clientWidth;\n\n const xOffset = container.getBoundingClientRect().left + window.pageXOffset;\n const pageX = e.pageX || (e.touches ? e.touches[0].pageX : 0);\n const left = pageX - xOffset;\n\n let a;\n if (left < 0)\n a = 0;\n else if (left > containerWidth)\n a = 1;\n else\n a = Math.round(left * 100 / containerWidth) / 100;\n\n if (this.colors.a !== a) {\n this.$emit('change', {\n h: this.colors.hsl.h,\n s: this.colors.hsl.s,\n l: this.colors.hsl.l,\n a,\n source: 'rgba',\n });\n }\n },\n handleMouseDown(e) {\n this.handleChange(e, true);\n window.addEventListener('mousemove', this.handleChange);\n window.addEventListener('mouseup', this.handleMouseUp);\n },\n handleMouseUp() {\n this.unbindEventListeners();\n },\n unbindEventListeners() {\n window.removeEventListener('mousemove', this.handleChange);\n window.removeEventListener('mouseup', this.handleMouseUp);\n },\n },\n};\n\nconst _hoisted_1 = { class: \"vc-alpha\" };\nconst _hoisted_2 = { class: \"vc-alpha-checkboard-wrap\" };\nconst _hoisted_3 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-alpha-picker\" }, null, -1 /* HOISTED */);\nconst _hoisted_4 = [\n _hoisted_3\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Checkboard = resolveComponent(\"Checkboard\");\n\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"div\", _hoisted_2, [\n createVNode(_component_Checkboard)\n ]),\n createElementVNode(\"div\", {\n class: \"vc-alpha-gradient\",\n style: normalizeStyle({ background: $options.gradientColor })\n }, null, 4 /* STYLE */),\n createElementVNode(\"div\", {\n ref: \"container\",\n class: \"vc-alpha-container\",\n onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.handleMouseDown && $options.handleMouseDown(...args))),\n onTouchmove: _cache[1] || (_cache[1] = (...args) => ($options.handleChange && $options.handleChange(...args))),\n onTouchstart: _cache[2] || (_cache[2] = (...args) => ($options.handleChange && $options.handleChange(...args)))\n }, [\n createElementVNode(\"div\", {\n class: \"vc-alpha-pointer\",\n style: normalizeStyle({ left: `${$options.colors.a * 100}%` })\n }, _hoisted_4, 4 /* STYLE */)\n ], 544 /* HYDRATE_EVENTS, NEED_PATCH */)\n ]))\n}\n\nvar css_248z = \".vc-alpha,.vc-alpha-checkboard-wrap{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-container{cursor:pointer;height:100%;margin:0 3px;position:relative;z-index:2}.vc-alpha-pointer{position:absolute;z-index:2}.vc-alpha-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/alpha/alpha.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","/**\n * Take input from [0, n] and return it as [0, 1]\n * @hidden\n */\nexport function bound01(n, max) {\n if (isOnePointZero(n)) {\n n = '100%';\n }\n var isPercent = isPercentage(n);\n n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));\n // Automatically convert percentage into number\n if (isPercent) {\n n = parseInt(String(n * max), 10) / 100;\n }\n // Handle floating point rounding errors\n if (Math.abs(n - max) < 0.000001) {\n return 1;\n }\n // Convert into [0, 1] range if it isn't already\n if (max === 360) {\n // If n is a hue given in degrees,\n // wrap around out-of-range values into [0, 360] range\n // then convert into [0, 1].\n n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));\n }\n else {\n // If n not a hue given in degrees\n // Convert into [0, 1] range if it isn't already.\n n = (n % max) / parseFloat(String(max));\n }\n return n;\n}\n/**\n * Force a number between 0 and 1\n * @hidden\n */\nexport function clamp01(val) {\n return Math.min(1, Math.max(0, val));\n}\n/**\n * Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n * \n * @hidden\n */\nexport function isOnePointZero(n) {\n return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;\n}\n/**\n * Check to see if string passed in is a percentage\n * @hidden\n */\nexport function isPercentage(n) {\n return typeof n === 'string' && n.indexOf('%') !== -1;\n}\n/**\n * Return a valid alpha value [0,1] with all invalid values being set to 1\n * @hidden\n */\nexport function boundAlpha(a) {\n a = parseFloat(a);\n if (isNaN(a) || a < 0 || a > 1) {\n a = 1;\n }\n return a;\n}\n/**\n * Replace a decimal with it's percentage value\n * @hidden\n */\nexport function convertToPercentage(n) {\n if (n <= 1) {\n return \"\".concat(Number(n) * 100, \"%\");\n }\n return n;\n}\n/**\n * Force a hex value to have 2 characters\n * @hidden\n */\nexport function pad2(c) {\n return c.length === 1 ? '0' + c : String(c);\n}\n","import { bound01, pad2 } from './util.js';\n// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:\n// \n/**\n * Handle bounds / percentage checking to conform to CSS color spec\n * \n * *Assumes:* r, g, b in [0, 255] or [0, 1]\n * *Returns:* { r, g, b } in [0, 255]\n */\nexport function rgbToRgb(r, g, b) {\n return {\n r: bound01(r, 255) * 255,\n g: bound01(g, 255) * 255,\n b: bound01(b, 255) * 255,\n };\n}\n/**\n * Converts an RGB color value to HSL.\n * *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]\n * *Returns:* { h, s, l } in [0,1]\n */\nexport function rgbToHsl(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (max + min) / 2;\n if (max === min) {\n s = 0;\n h = 0; // achromatic\n }\n else {\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, l: l };\n}\nfunction hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * (6 * t);\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n/**\n * Converts an HSL color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hslToRgb(h, s, l) {\n var r;\n var g;\n var b;\n h = bound01(h, 360);\n s = bound01(s, 100);\n l = bound01(l, 100);\n if (s === 0) {\n // achromatic\n g = l;\n b = l;\n r = l;\n }\n else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color value to HSV\n *\n * *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n * *Returns:* { h, s, v } in [0,1]\n */\nexport function rgbToHsv(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var v = max;\n var d = max - min;\n var s = max === 0 ? 0 : d / max;\n if (max === min) {\n h = 0; // achromatic\n }\n else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, v: v };\n}\n/**\n * Converts an HSV color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hsvToRgb(h, s, v) {\n h = bound01(h, 360) * 6;\n s = bound01(s, 100);\n v = bound01(v, 100);\n var i = Math.floor(h);\n var f = h - i;\n var p = v * (1 - s);\n var q = v * (1 - f * s);\n var t = v * (1 - (1 - f) * s);\n var mod = i % 6;\n var r = [v, q, p, p, t, v][mod];\n var g = [t, v, v, q, p, p][mod];\n var b = [p, p, t, v, v, q][mod];\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color to hex\n *\n * Assumes r, g, and b are contained in the set [0, 255]\n * Returns a 3 or 6 character hex\n */\nexport function rgbToHex(r, g, b, allow3Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n // Return a 3 character hex if possible\n if (allow3Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color plus alpha transparency to hex\n *\n * Assumes r, g, b are contained in the set [0, 255] and\n * a in [0, 1]. Returns a 4 or 8 character rgba hex\n */\n// eslint-disable-next-line max-params\nexport function rgbaToHex(r, g, b, a, allow4Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n pad2(convertDecimalToHex(a)),\n ];\n // Return a 4 character hex if possible\n if (allow4Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1)) &&\n hex[3].startsWith(hex[3].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color to an ARGB Hex8 string\n * Rarely used, but required for \"toFilter()\"\n */\nexport function rgbaToArgbHex(r, g, b, a) {\n var hex = [\n pad2(convertDecimalToHex(a)),\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n return hex.join('');\n}\n/** Converts a decimal to a hex value */\nexport function convertDecimalToHex(d) {\n return Math.round(parseFloat(d) * 255).toString(16);\n}\n/** Converts a hex value to a decimal */\nexport function convertHexToDecimal(h) {\n return parseIntFromHex(h) / 255;\n}\n/** Parse a base-16 hex value into a base-10 integer */\nexport function parseIntFromHex(val) {\n return parseInt(val, 16);\n}\nexport function numberInputToObject(color) {\n return {\n r: color >> 16,\n g: (color & 0xff00) >> 8,\n b: color & 0xff,\n };\n}\n","// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json\n/**\n * @hidden\n */\nexport var names = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n goldenrod: '#daa520',\n gold: '#ffd700',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavenderblush: '#fff0f5',\n lavender: '#e6e6fa',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n","/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { convertHexToDecimal, hslToRgb, hsvToRgb, parseIntFromHex, rgbToRgb, } from './conversion.js';\nimport { names } from './css-color-names.js';\nimport { boundAlpha, convertToPercentage } from './util.js';\n/**\n * Given a string or object, convert that input to RGB\n *\n * Possible string inputs:\n * ```\n * \"red\"\n * \"#f00\" or \"f00\"\n * \"#ff0000\" or \"ff0000\"\n * \"#ff000000\" or \"ff000000\"\n * \"rgb 255 0 0\" or \"rgb (255, 0, 0)\"\n * \"rgb 1.0 0 0\" or \"rgb (1, 0, 0)\"\n * \"rgba (255, 0, 0, 1)\" or \"rgba 255, 0, 0, 1\"\n * \"rgba (1.0, 0, 0, 1)\" or \"rgba 1.0, 0, 0, 1\"\n * \"hsl(0, 100%, 50%)\" or \"hsl 0 100% 50%\"\n * \"hsla(0, 100%, 50%, 1)\" or \"hsla 0 100% 50%, 1\"\n * \"hsv(0, 100%, 100%)\" or \"hsv 0 100% 100%\"\n * ```\n */\nexport function inputToRGB(color) {\n var rgb = { r: 0, g: 0, b: 0 };\n var a = 1;\n var s = null;\n var v = null;\n var l = null;\n var ok = false;\n var format = false;\n if (typeof color === 'string') {\n color = stringInputToObject(color);\n }\n if (typeof color === 'object') {\n if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {\n rgb = rgbToRgb(color.r, color.g, color.b);\n ok = true;\n format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {\n s = convertToPercentage(color.s);\n v = convertToPercentage(color.v);\n rgb = hsvToRgb(color.h, s, v);\n ok = true;\n format = 'hsv';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {\n s = convertToPercentage(color.s);\n l = convertToPercentage(color.l);\n rgb = hslToRgb(color.h, s, l);\n ok = true;\n format = 'hsl';\n }\n if (Object.prototype.hasOwnProperty.call(color, 'a')) {\n a = color.a;\n }\n }\n a = boundAlpha(a);\n return {\n ok: ok,\n format: color.format || format,\n r: Math.min(255, Math.max(rgb.r, 0)),\n g: Math.min(255, Math.max(rgb.g, 0)),\n b: Math.min(255, Math.max(rgb.b, 0)),\n a: a,\n };\n}\n// \nvar CSS_INTEGER = '[-\\\\+]?\\\\d+%?';\n// \nvar CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?';\n// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.\nvar CSS_UNIT = \"(?:\".concat(CSS_NUMBER, \")|(?:\").concat(CSS_INTEGER, \")\");\n// Actual matching.\n// Parentheses and commas are optional, but not required.\n// Whitespace can take the place of commas or opening paren\nvar PERMISSIVE_MATCH3 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar PERMISSIVE_MATCH4 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar matchers = {\n CSS_UNIT: new RegExp(CSS_UNIT),\n rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),\n rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),\n hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),\n hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),\n hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),\n hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),\n hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n};\n/**\n * Permissive string parsing. Take in a number of formats, and output an object\n * based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`\n */\nexport function stringInputToObject(color) {\n color = color.trim().toLowerCase();\n if (color.length === 0) {\n return false;\n }\n var named = false;\n if (names[color]) {\n color = names[color];\n named = true;\n }\n else if (color === 'transparent') {\n return { r: 0, g: 0, b: 0, a: 0, format: 'name' };\n }\n // Try to match string input using regular expressions.\n // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]\n // Just return an object and let the conversion functions handle that.\n // This way the result will be the same whether the tinycolor is initialized with string or object.\n var match = matchers.rgb.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3] };\n }\n match = matchers.rgba.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3], a: match[4] };\n }\n match = matchers.hsl.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3] };\n }\n match = matchers.hsla.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3], a: match[4] };\n }\n match = matchers.hsv.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3] };\n }\n match = matchers.hsva.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3], a: match[4] };\n }\n match = matchers.hex8.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n a: convertHexToDecimal(match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex6.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n match = matchers.hex4.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n a: convertHexToDecimal(match[4] + match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex3.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n return false;\n}\n/**\n * Check to see if it looks like a CSS unit\n * (see `matchers` above for definition).\n */\nexport function isValidCSSUnit(color) {\n return Boolean(matchers.CSS_UNIT.exec(String(color)));\n}\n","import { numberInputToObject, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv } from './conversion.js';\nimport { names } from './css-color-names.js';\nimport { inputToRGB } from './format-input';\nimport { bound01, boundAlpha, clamp01 } from './util.js';\nvar TinyColor = /** @class */ (function () {\n function TinyColor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n var _a;\n // If input is already a tinycolor, return itself\n if (color instanceof TinyColor) {\n // eslint-disable-next-line no-constructor-return\n return color;\n }\n if (typeof color === 'number') {\n color = numberInputToObject(color);\n }\n this.originalInput = color;\n var rgb = inputToRGB(color);\n this.originalInput = color;\n this.r = rgb.r;\n this.g = rgb.g;\n this.b = rgb.b;\n this.a = rgb.a;\n this.roundA = Math.round(100 * this.a) / 100;\n this.format = (_a = opts.format) !== null && _a !== void 0 ? _a : rgb.format;\n this.gradientType = opts.gradientType;\n // Don't let the range of [0,255] come back in [0,1].\n // Potentially lose a little bit of precision here, but will fix issues where\n // .5 gets interpreted as half of the total, instead of half of 1\n // If it was supposed to be 128, this was already taken care of by `inputToRgb`\n if (this.r < 1) {\n this.r = Math.round(this.r);\n }\n if (this.g < 1) {\n this.g = Math.round(this.g);\n }\n if (this.b < 1) {\n this.b = Math.round(this.b);\n }\n this.isValid = rgb.ok;\n }\n TinyColor.prototype.isDark = function () {\n return this.getBrightness() < 128;\n };\n TinyColor.prototype.isLight = function () {\n return !this.isDark();\n };\n /**\n * Returns the perceived brightness of the color, from 0-255.\n */\n TinyColor.prototype.getBrightness = function () {\n // http://www.w3.org/TR/AERT#color-contrast\n var rgb = this.toRgb();\n return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n };\n /**\n * Returns the perceived luminance of a color, from 0-1.\n */\n TinyColor.prototype.getLuminance = function () {\n // http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n var rgb = this.toRgb();\n var R;\n var G;\n var B;\n var RsRGB = rgb.r / 255;\n var GsRGB = rgb.g / 255;\n var BsRGB = rgb.b / 255;\n if (RsRGB <= 0.03928) {\n R = RsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);\n }\n if (GsRGB <= 0.03928) {\n G = GsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);\n }\n if (BsRGB <= 0.03928) {\n B = BsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);\n }\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n };\n /**\n * Returns the alpha value of a color, from 0-1.\n */\n TinyColor.prototype.getAlpha = function () {\n return this.a;\n };\n /**\n * Sets the alpha value on the current color.\n *\n * @param alpha - The new alpha value. The accepted range is 0-1.\n */\n TinyColor.prototype.setAlpha = function (alpha) {\n this.a = boundAlpha(alpha);\n this.roundA = Math.round(100 * this.a) / 100;\n return this;\n };\n /**\n * Returns whether the color is monochrome.\n */\n TinyColor.prototype.isMonochrome = function () {\n var s = this.toHsl().s;\n return s === 0;\n };\n /**\n * Returns the object as a HSVA object.\n */\n TinyColor.prototype.toHsv = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };\n };\n /**\n * Returns the hsva values interpolated into a string with the following format:\n * \"hsva(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHsvString = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n var h = Math.round(hsv.h * 360);\n var s = Math.round(hsv.s * 100);\n var v = Math.round(hsv.v * 100);\n return this.a === 1 ? \"hsv(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%)\") : \"hsva(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a HSLA object.\n */\n TinyColor.prototype.toHsl = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };\n };\n /**\n * Returns the hsla values interpolated into a string with the following format:\n * \"hsla(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHslString = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n var h = Math.round(hsl.h * 360);\n var s = Math.round(hsl.s * 100);\n var l = Math.round(hsl.l * 100);\n return this.a === 1 ? \"hsl(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%)\") : \"hsla(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the hex value of the color.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHex = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return rgbToHex(this.r, this.g, this.b, allow3Char);\n };\n /**\n * Returns the hex value of the color -with a # prefixed.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHexString = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return '#' + this.toHex(allow3Char);\n };\n /**\n * Returns the hex 8 value of the color.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8 = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);\n };\n /**\n * Returns the hex 8 value of the color -with a # prefixed.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8String = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return '#' + this.toHex8(allow4Char);\n };\n /**\n * Returns the shorter hex value of the color depends on its alpha -with a # prefixed.\n * @param allowShortChar will shorten hex value to 3 or 4 char if possible\n */\n TinyColor.prototype.toHexShortString = function (allowShortChar) {\n if (allowShortChar === void 0) { allowShortChar = false; }\n return this.a === 1 ? this.toHexString(allowShortChar) : this.toHex8String(allowShortChar);\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toRgb = function () {\n return {\n r: Math.round(this.r),\n g: Math.round(this.g),\n b: Math.round(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA values interpolated into a string with the following format:\n * \"RGBA(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toRgbString = function () {\n var r = Math.round(this.r);\n var g = Math.round(this.g);\n var b = Math.round(this.b);\n return this.a === 1 ? \"rgb(\".concat(r, \", \").concat(g, \", \").concat(b, \")\") : \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toPercentageRgb = function () {\n var fmt = function (x) { return \"\".concat(Math.round(bound01(x, 255) * 100), \"%\"); };\n return {\n r: fmt(this.r),\n g: fmt(this.g),\n b: fmt(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA relative values interpolated into a string\n */\n TinyColor.prototype.toPercentageRgbString = function () {\n var rnd = function (x) { return Math.round(bound01(x, 255) * 100); };\n return this.a === 1\n ? \"rgb(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%)\")\n : \"rgba(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%, \").concat(this.roundA, \")\");\n };\n /**\n * The 'real' name of the color -if there is one.\n */\n TinyColor.prototype.toName = function () {\n if (this.a === 0) {\n return 'transparent';\n }\n if (this.a < 1) {\n return false;\n }\n var hex = '#' + rgbToHex(this.r, this.g, this.b, false);\n for (var _i = 0, _a = Object.entries(names); _i < _a.length; _i++) {\n var _b = _a[_i], key = _b[0], value = _b[1];\n if (hex === value) {\n return key;\n }\n }\n return false;\n };\n TinyColor.prototype.toString = function (format) {\n var formatSet = Boolean(format);\n format = format !== null && format !== void 0 ? format : this.format;\n var formattedString = false;\n var hasAlpha = this.a < 1 && this.a >= 0;\n var needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith('hex') || format === 'name');\n if (needsAlphaFormat) {\n // Special case for \"transparent\", all other non-alpha formats\n // will return rgba when there is transparency.\n if (format === 'name' && this.a === 0) {\n return this.toName();\n }\n return this.toRgbString();\n }\n if (format === 'rgb') {\n formattedString = this.toRgbString();\n }\n if (format === 'prgb') {\n formattedString = this.toPercentageRgbString();\n }\n if (format === 'hex' || format === 'hex6') {\n formattedString = this.toHexString();\n }\n if (format === 'hex3') {\n formattedString = this.toHexString(true);\n }\n if (format === 'hex4') {\n formattedString = this.toHex8String(true);\n }\n if (format === 'hex8') {\n formattedString = this.toHex8String();\n }\n if (format === 'name') {\n formattedString = this.toName();\n }\n if (format === 'hsl') {\n formattedString = this.toHslString();\n }\n if (format === 'hsv') {\n formattedString = this.toHsvString();\n }\n return formattedString || this.toHexString();\n };\n TinyColor.prototype.toNumber = function () {\n return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);\n };\n TinyColor.prototype.clone = function () {\n return new TinyColor(this.toString());\n };\n /**\n * Lighten the color a given amount. Providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.lighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l += amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Brighten the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.brighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var rgb = this.toRgb();\n rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));\n rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));\n rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));\n return new TinyColor(rgb);\n };\n /**\n * Darken the color a given amount, from 0 to 100.\n * Providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.darken = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l -= amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.tint = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('white', amount);\n };\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.shade = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('black', amount);\n };\n /**\n * Desaturate the color a given amount, from 0 to 100.\n * Providing 100 will is the same as calling greyscale\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.desaturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s -= amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Saturate the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.saturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s += amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Completely desaturates a color into greyscale.\n * Same as calling `desaturate(100)`\n */\n TinyColor.prototype.greyscale = function () {\n return this.desaturate(100);\n };\n /**\n * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.\n * Values outside of this range will be wrapped into this range.\n */\n TinyColor.prototype.spin = function (amount) {\n var hsl = this.toHsl();\n var hue = (hsl.h + amount) % 360;\n hsl.h = hue < 0 ? 360 + hue : hue;\n return new TinyColor(hsl);\n };\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n TinyColor.prototype.mix = function (color, amount) {\n if (amount === void 0) { amount = 50; }\n var rgb1 = this.toRgb();\n var rgb2 = new TinyColor(color).toRgb();\n var p = amount / 100;\n var rgba = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b,\n a: (rgb2.a - rgb1.a) * p + rgb1.a,\n };\n return new TinyColor(rgba);\n };\n TinyColor.prototype.analogous = function (results, slices) {\n if (results === void 0) { results = 6; }\n if (slices === void 0) { slices = 30; }\n var hsl = this.toHsl();\n var part = 360 / slices;\n var ret = [this];\n for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results;) {\n hsl.h = (hsl.h + part) % 360;\n ret.push(new TinyColor(hsl));\n }\n return ret;\n };\n /**\n * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js\n */\n TinyColor.prototype.complement = function () {\n var hsl = this.toHsl();\n hsl.h = (hsl.h + 180) % 360;\n return new TinyColor(hsl);\n };\n TinyColor.prototype.monochromatic = function (results) {\n if (results === void 0) { results = 6; }\n var hsv = this.toHsv();\n var h = hsv.h;\n var s = hsv.s;\n var v = hsv.v;\n var res = [];\n var modification = 1 / results;\n while (results--) {\n res.push(new TinyColor({ h: h, s: s, v: v }));\n v = (v + modification) % 1;\n }\n return res;\n };\n TinyColor.prototype.splitcomplement = function () {\n var hsl = this.toHsl();\n var h = hsl.h;\n return [\n this,\n new TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),\n new TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),\n ];\n };\n /**\n * Compute how the color would appear on a background\n */\n TinyColor.prototype.onBackground = function (background) {\n var fg = this.toRgb();\n var bg = new TinyColor(background).toRgb();\n var alpha = fg.a + bg.a * (1 - fg.a);\n return new TinyColor({\n r: (fg.r * fg.a + bg.r * bg.a * (1 - fg.a)) / alpha,\n g: (fg.g * fg.a + bg.g * bg.a * (1 - fg.a)) / alpha,\n b: (fg.b * fg.a + bg.b * bg.a * (1 - fg.a)) / alpha,\n a: alpha,\n });\n };\n /**\n * Alias for `polyad(3)`\n */\n TinyColor.prototype.triad = function () {\n return this.polyad(3);\n };\n /**\n * Alias for `polyad(4)`\n */\n TinyColor.prototype.tetrad = function () {\n return this.polyad(4);\n };\n /**\n * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)\n * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...\n */\n TinyColor.prototype.polyad = function (n) {\n var hsl = this.toHsl();\n var h = hsl.h;\n var result = [this];\n var increment = 360 / n;\n for (var i = 1; i < n; i++) {\n result.push(new TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));\n }\n return result;\n };\n /**\n * compare color vs current color\n */\n TinyColor.prototype.equals = function (color) {\n return this.toRgbString() === new TinyColor(color).toRgbString();\n };\n return TinyColor;\n}());\nexport { TinyColor };\n// kept for backwards compatability with v1\nexport function tinycolor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n return new TinyColor(color, opts);\n}\n","import { TinyColor } from '@ctrl/tinycolor';\n\nfunction tinycolor(...args) {\n return new TinyColor(...args);\n}\n\nfunction _colorChange(data, oldHue) {\n const alpha = data && data.a;\n let color;\n\n // hsl is better than hex between conversions\n if (data && data.hsl)\n color = tinycolor(data.hsl);\n else if (data && data.hex && data.hex.length > 0)\n color = tinycolor(data.hex);\n else if (data && data.hsv)\n color = tinycolor(data.hsv);\n else if (data && data.rgba)\n color = tinycolor(data.rgba);\n else if (data && data.rgb)\n color = tinycolor(data.rgb);\n else\n color = tinycolor(data);\n\n if (color && (color._a === undefined || color._a === null))\n color.setAlpha(alpha || color.getAlpha());\n\n const hsl = color.toHsl();\n const hsv = color.toHsv();\n\n if (hsl.s === 0)\n hsv.h = hsl.h = data.h || (data.hsl && data.hsl.h) || oldHue || 0;\n\n /* --- comment this block to fix #109, may cause #25 again --- */\n // when the hsv.v is less than 0.0164 (base on test)\n // because of possible loss of precision\n // the result of hue and saturation would be miscalculated\n if (hsv.v < 0.0164) {\n hsv.h = data.h || (data.hsv && data.hsv.h) || 0;\n hsv.s = data.s || (data.hsv && data.hsv.s) || 0;\n }\n\n if (hsl.l < 0.01) {\n hsl.h = data.h || (data.hsl && data.hsl.h) || 0;\n hsl.s = data.s || (data.hsl && data.hsl.s) || 0;\n }\n /* ------ */\n\n return {\n hsl,\n hex: color.toHexString().toUpperCase(),\n hex8: color.toHex8String().toUpperCase(),\n rgba: color.toRgb(),\n hsv,\n oldHue: data.h || oldHue || hsl.h,\n source: data.source,\n a: color.getAlpha(),\n };\n}\n\nvar colorMixin = {\n model: {\n prop: 'modelValue',\n event: 'update:modelValue',\n },\n props: ['modelValue'],\n data() {\n return {\n val: _colorChange(this.modelValue),\n };\n },\n computed: {\n colors: {\n get() {\n return this.val;\n },\n set(newVal) {\n this.val = newVal;\n this.$emit('update:modelValue', newVal);\n },\n },\n },\n watch: {\n modelValue(newVal) {\n this.val = _colorChange(newVal);\n },\n },\n methods: {\n colorChange(data, oldHue) {\n this.oldHue = this.colors.hsl.h;\n this.colors = _colorChange(data, oldHue || this.oldHue);\n },\n isValidHex(hex) {\n return tinycolor(hex).isValid;\n },\n simpleCheckForValidColor(data) {\n const keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v'];\n let checked = 0;\n let passed = 0;\n\n for (let i = 0; i < keysToCheck.length; i++) {\n const letter = keysToCheck[i];\n if (data[letter]) {\n checked++;\n if (!isNaN(data[letter]))\n passed++;\n }\n }\n\n if (checked === passed)\n return data;\n },\n paletteUpperCase(palette) {\n return palette.map(c => c.toUpperCase());\n },\n isTransparent(color) {\n return tinycolor(color).getAlpha() === 0;\n },\n },\n};\n\nexport { colorMixin as default };\n","import { openBlock, createElementBlock, withDirectives, createElementVNode, vModelText, toDisplayString } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'EditableInput',\n props: {\n label: String,\n labelText: String,\n desc: String,\n value: [String, Number],\n max: Number,\n min: Number,\n arrowOffset: {\n type: Number,\n default: 1,\n },\n },\n computed: {\n val: {\n get() {\n return this.value;\n },\n set(v) {\n // TODO: min\n if (!(this.max === undefined) && +v > this.max)\n this.$refs.input.value = this.max;\n else\n return v;\n },\n },\n labelId() {\n return `input__label__${this.label}__${Math.random().toString().slice(2, 5)}`;\n },\n labelSpanText() {\n return this.labelText || this.label;\n },\n },\n methods: {\n update(e) {\n this.handleChange(e.target.value);\n },\n handleChange(newVal) {\n const data = {};\n data[this.label] = newVal;\n if (data.hex === undefined && data['#'] === undefined)\n this.$emit('change', data);\n else if (newVal.length > 5)\n this.$emit('change', data);\n },\n // **** unused\n // handleBlur (e) {\n // console.log(e)\n // },\n handleKeyDown(e) {\n let { val } = this;\n const number = Number(val);\n\n if (number) {\n const amount = this.arrowOffset || 1;\n\n // Up\n if (e.keyCode === 38) {\n val = number + amount;\n this.handleChange(val);\n e.preventDefault();\n }\n\n // Down\n if (e.keyCode === 40) {\n val = number - amount;\n this.handleChange(val);\n e.preventDefault();\n }\n }\n },\n // **** unused\n // handleDrag (e) {\n // console.log(e)\n // },\n // handleMouseDown (e) {\n // console.log(e)\n // }\n },\n};\n\nconst _hoisted_1 = { class: \"vc-editable-input\" };\nconst _hoisted_2 = [\"aria-labelledby\"];\nconst _hoisted_3 = [\"id\", \"for\"];\nconst _hoisted_4 = { class: \"vc-input__desc\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n withDirectives(createElementVNode(\"input\", {\n ref: \"input\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => (($options.val) = $event)),\n \"aria-labelledby\": $options.labelId,\n class: \"vc-input__input\",\n onKeydown: _cache[1] || (_cache[1] = (...args) => ($options.handleKeyDown && $options.handleKeyDown(...args))),\n onInput: _cache[2] || (_cache[2] = (...args) => ($options.update && $options.update(...args)))\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_2), [\n [vModelText, $options.val]\n ]),\n createElementVNode(\"span\", {\n id: $options.labelId,\n for: $props.label,\n class: \"vc-input__label\"\n }, toDisplayString($options.labelSpanText), 9 /* TEXT, PROPS */, _hoisted_3),\n createElementVNode(\"span\", _hoisted_4, toDisplayString($props.desc), 1 /* TEXT */)\n ]))\n}\n\nvar css_248z = \".vc-editable-input{position:relative}.vc-input__input{border:0;outline:none;padding:0}.vc-input__label{text-transform:capitalize}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/editable-input/editable-input.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","function clamp(value, min, max) {\n return min < max\n ? (value < min ? min : value > max ? max : value)\n : (value < max ? max : value > min ? min : value);\n}\n\nexport { clamp };\n","import { clamp } from '../../utils/utils.js';\nimport { openBlock, createElementBlock, normalizeStyle, createElementVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Saturation',\n props: {\n value: Object,\n },\n computed: {\n colors() {\n return this.value;\n },\n bgColor() {\n return `hsl(${this.colors.hsv.h}, 100%, 50%)`;\n },\n pointerTop() {\n return `${(-(this.colors.hsv.v * 100) + 1) + 100}%`;\n },\n pointerLeft() {\n return `${this.colors.hsv.s * 100}%`;\n },\n },\n methods: {\n handleChange(e, skip) {\n !skip && e.preventDefault();\n const { container } = this.$refs;\n if (!container) {\n // for some edge cases, container may not exist. see #220\n return;\n }\n const containerWidth = container.clientWidth;\n const containerHeight = container.clientHeight;\n\n const xOffset = container.getBoundingClientRect().left + window.pageXOffset;\n const yOffset = container.getBoundingClientRect().top + window.pageYOffset;\n const pageX = e.pageX || (e.touches ? e.touches[0].pageX : 0);\n const pageY = e.pageY || (e.touches ? e.touches[0].pageY : 0);\n const left = clamp(pageX - xOffset, 0, containerWidth);\n const top = clamp(pageY - yOffset, 0, containerHeight);\n const saturation = left / containerWidth;\n const bright = clamp(-(top / containerHeight) + 1, 0, 1);\n\n this.onChange({\n h: this.colors.hsv.h,\n s: saturation,\n v: bright,\n a: this.colors.hsv.a,\n source: 'hsva',\n });\n },\n onChange(param) {\n this.$emit('change', param);\n },\n handleMouseDown(e) {\n // this.handleChange(e, true)\n window.addEventListener('mousemove', this.handleChange);\n window.addEventListener('mouseup', this.handleChange);\n window.addEventListener('mouseup', this.handleMouseUp);\n },\n handleMouseUp(e) {\n this.unbindEventListeners();\n },\n unbindEventListeners() {\n window.removeEventListener('mousemove', this.handleChange);\n window.removeEventListener('mouseup', this.handleChange);\n window.removeEventListener('mouseup', this.handleMouseUp);\n },\n },\n};\n\nconst _hoisted_1 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-saturation--white\" }, null, -1 /* HOISTED */);\nconst _hoisted_2 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-saturation--black\" }, null, -1 /* HOISTED */);\nconst _hoisted_3 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-saturation-circle\" }, null, -1 /* HOISTED */);\nconst _hoisted_4 = [\n _hoisted_3\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n ref: \"container\",\n class: \"vc-saturation\",\n style: normalizeStyle({ background: $options.bgColor }),\n onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.handleMouseDown && $options.handleMouseDown(...args))),\n onTouchmove: _cache[1] || (_cache[1] = (...args) => ($options.handleChange && $options.handleChange(...args))),\n onTouchstart: _cache[2] || (_cache[2] = (...args) => ($options.handleChange && $options.handleChange(...args)))\n }, [\n _hoisted_1,\n _hoisted_2,\n createElementVNode(\"div\", {\n class: \"vc-saturation-pointer\",\n style: normalizeStyle({ top: $options.pointerTop, left: $options.pointerLeft })\n }, _hoisted_4, 4 /* STYLE */)\n ], 36 /* STYLE, HYDRATE_EVENTS */))\n}\n\nvar css_248z = \".vc-saturation,.vc-saturation--black,.vc-saturation--white{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.vc-saturation--black{background:linear-gradient(0deg,#000,transparent)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/saturation/saturation.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import { openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Hue',\n props: {\n value: Object,\n direction: {\n type: String,\n // [horizontal | vertical]\n default: 'horizontal',\n },\n },\n data() {\n return {\n oldHue: 0,\n pullDirection: '',\n };\n },\n computed: {\n colors() {\n return this.value;\n },\n directionClass() {\n return {\n 'vc-hue--horizontal': this.direction === 'horizontal',\n 'vc-hue--vertical': this.direction === 'vertical',\n };\n },\n pointerTop() {\n if (this.direction === 'vertical') {\n if (this.colors.hsl.h === 0 && this.pullDirection === 'right')\n return 0;\n return `${-((this.colors.hsl.h * 100) / 360) + 100}%`;\n }\n return 0;\n },\n pointerLeft() {\n if (this.direction === 'vertical')\n return 0;\n\n if (this.colors.hsl.h === 0 && this.pullDirection === 'right')\n return '100%';\n return `${(this.colors.hsl.h * 100) / 360}%`;\n },\n },\n watch: {\n value: {\n handler(value, oldVal) {\n const { h } = value.hsl;\n if (h !== 0 && h - this.oldHue > 0)\n this.pullDirection = 'right';\n if (h !== 0 && h - this.oldHue < 0)\n this.pullDirection = 'left';\n this.oldHue = h;\n },\n deep: true,\n immediate: true,\n },\n },\n methods: {\n handleChange(e, skip) {\n !skip && e.preventDefault();\n\n const { container } = this.$refs;\n if (!container) {\n // for some edge cases, container may not exist. see #220\n return;\n }\n const containerWidth = container.clientWidth;\n const containerHeight = container.clientHeight;\n\n const xOffset = container.getBoundingClientRect().left + window.pageXOffset;\n const yOffset = container.getBoundingClientRect().top + window.pageYOffset;\n const pageX = e.pageX || (e.touches ? e.touches[0].pageX : 0);\n const pageY = e.pageY || (e.touches ? e.touches[0].pageY : 0);\n const left = pageX - xOffset;\n const top = pageY - yOffset;\n\n let h;\n let percent;\n\n if (this.direction === 'vertical') {\n if (top < 0) {\n h = 360;\n }\n else if (top > containerHeight) {\n h = 0;\n }\n else {\n percent = -(top * 100 / containerHeight) + 100;\n h = (360 * percent / 100);\n }\n\n if (this.colors.hsl.h !== h) {\n this.$emit('change', {\n h,\n s: this.colors.hsl.s,\n l: this.colors.hsl.l,\n a: this.colors.hsl.a,\n source: 'hsl',\n });\n }\n }\n else {\n if (left < 0) {\n h = 0;\n }\n else if (left > containerWidth) {\n h = 360;\n }\n else {\n percent = left * 100 / containerWidth;\n h = (360 * percent / 100);\n }\n\n if (this.colors.hsl.h !== h) {\n this.$emit('change', {\n h,\n s: this.colors.hsl.s,\n l: this.colors.hsl.l,\n a: this.colors.hsl.a,\n source: 'hsl',\n });\n }\n }\n },\n handleMouseDown(e) {\n this.handleChange(e, true);\n window.addEventListener('mousemove', this.handleChange);\n window.addEventListener('mouseup', this.handleChange);\n window.addEventListener('mouseup', this.handleMouseUp);\n },\n handleMouseUp(e) {\n this.unbindEventListeners();\n },\n unbindEventListeners() {\n window.removeEventListener('mousemove', this.handleChange);\n window.removeEventListener('mouseup', this.handleChange);\n window.removeEventListener('mouseup', this.handleMouseUp);\n },\n },\n};\n\nconst _hoisted_1 = [\"aria-valuenow\"];\nconst _hoisted_2 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-hue-picker\" }, null, -1 /* HOISTED */);\nconst _hoisted_3 = [\n _hoisted_2\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\"vc-hue\", [$options.directionClass]])\n }, [\n createElementVNode(\"div\", {\n ref: \"container\",\n class: \"vc-hue-container\",\n role: \"slider\",\n \"aria-valuenow\": $options.colors.hsl.h,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"360\",\n onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.handleMouseDown && $options.handleMouseDown(...args))),\n onTouchmove: _cache[1] || (_cache[1] = (...args) => ($options.handleChange && $options.handleChange(...args))),\n onTouchstart: _cache[2] || (_cache[2] = (...args) => ($options.handleChange && $options.handleChange(...args)))\n }, [\n createElementVNode(\"div\", {\n class: \"vc-hue-pointer\",\n style: normalizeStyle({ top: $options.pointerTop, left: $options.pointerLeft }),\n role: \"presentation\"\n }, _hoisted_3, 4 /* STYLE */)\n ], 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1)\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/hue/hue.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$4 from '../editable-input/index.js';\nimport script$1 from '../saturation/index.js';\nimport script$2 from '../hue/index.js';\nimport script$3 from '../alpha/index.js';\nimport script$5 from '../checkboard/index.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, normalizeStyle, createBlock, createCommentVNode, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../utils/utils.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Chrome',\n components: {\n Saturation: script$1,\n Hue: script$2,\n Alpha: script$3,\n EdIn: script$4,\n Checkboard: script$5,\n },\n mixins: [colorMixin],\n props: {\n disableAlpha: {\n type: Boolean,\n default: false,\n },\n disableFields: {\n type: Boolean,\n default: false,\n },\n format: {\n type: String,\n default: 'hex',\n },\n },\n data() {\n return {\n fieldsIndex: 'hex',\n highlight: false,\n };\n },\n computed: {\n hsl() {\n const { h, s, l } = this.colors.hsl;\n return {\n h: h.toFixed(),\n s: `${(s * 100).toFixed()}%`,\n l: `${(l * 100).toFixed()}%`,\n };\n },\n activeColor() {\n const { rgba } = this.colors;\n return `rgba(${[rgba.r, rgba.g, rgba.b, rgba.a].join(',')})`;\n },\n hasAlpha() {\n return this.colors.a < 1;\n },\n },\n watch: {\n format: {\n handler(val) {\n this.fieldsIndex = val;\n },\n immediate: true,\n },\n },\n methods: {\n childChange(data) {\n this.colorChange(data);\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data.hex) {\n this.isValidHex(data.hex) && this.colorChange({\n hex: data.hex,\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n else if (data.h || data.s || data.l) {\n const s = data.s ? (data.s.replace('%', '') / 100) : this.colors.hsl.s;\n const l = data.l ? (data.l.replace('%', '') / 100) : this.colors.hsl.l;\n\n this.colorChange({\n h: data.h || this.colors.hsl.h,\n s,\n l,\n source: 'hsl',\n });\n }\n },\n toggleViews() {\n switch (this.fieldsIndex) {\n case 'hex':\n this.fieldsIndex = `rgb${this.disableAlpha ? '' : 'a'}`;\n break;\n case 'rgb':\n case 'rgba':\n this.fieldsIndex = `hsl${this.disableAlpha ? '' : 'a'}`;\n break;\n default:\n this.fieldsIndex = 'hex';\n break;\n }\n this.$emit('update:format', this.fieldsIndex);\n },\n showHighlight() {\n this.highlight = true;\n },\n hideHighlight() {\n this.highlight = false;\n },\n },\n};\n\nconst _hoisted_1 = { class: \"vc-chrome-saturation-wrap\" };\nconst _hoisted_2 = { class: \"vc-chrome-body\" };\nconst _hoisted_3 = { class: \"vc-chrome-controls\" };\nconst _hoisted_4 = { class: \"vc-chrome-color-wrap\" };\nconst _hoisted_5 = [\"aria-label\"];\nconst _hoisted_6 = { class: \"vc-chrome-sliders\" };\nconst _hoisted_7 = { class: \"vc-chrome-hue-wrap\" };\nconst _hoisted_8 = {\n key: 0,\n class: \"vc-chrome-alpha-wrap\"\n};\nconst _hoisted_9 = {\n key: 0,\n class: \"vc-chrome-fields-wrap\"\n};\nconst _hoisted_10 = { class: \"vc-chrome-fields\" };\nconst _hoisted_11 = { class: \"vc-chrome-field\" };\nconst _hoisted_12 = { class: \"vc-chrome-fields\" };\nconst _hoisted_13 = { class: \"vc-chrome-field\" };\nconst _hoisted_14 = { class: \"vc-chrome-field\" };\nconst _hoisted_15 = { class: \"vc-chrome-field\" };\nconst _hoisted_16 = {\n key: 0,\n class: \"vc-chrome-field\"\n};\nconst _hoisted_17 = { class: \"vc-chrome-fields\" };\nconst _hoisted_18 = { class: \"vc-chrome-field\" };\nconst _hoisted_19 = { class: \"vc-chrome-field\" };\nconst _hoisted_20 = { class: \"vc-chrome-field\" };\nconst _hoisted_21 = {\n key: 0,\n class: \"vc-chrome-field\"\n};\nconst _hoisted_22 = { class: \"vc-chrome-toggle-icon\" };\nconst _hoisted_23 = /*#__PURE__*/createElementVNode(\"path\", {\n fill: \"#333\",\n d: \"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z\"\n}, null, -1 /* HOISTED */);\nconst _hoisted_24 = [\n _hoisted_23\n];\nconst _hoisted_25 = { class: \"vc-chrome-toggle-icon-highlight\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Saturation = resolveComponent(\"Saturation\");\n const _component_Checkboard = resolveComponent(\"Checkboard\");\n const _component_Hue = resolveComponent(\"Hue\");\n const _component_Alpha = resolveComponent(\"Alpha\");\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"Chrome color picker\",\n class: normalizeClass([\"vc-chrome\", [$props.disableAlpha ? 'vc-chrome__disable-alpha' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_1, [\n createVNode(_component_Saturation, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createElementVNode(\"div\", _hoisted_4, [\n createElementVNode(\"div\", {\n \"aria-label\": `current color is ${_ctx.colors.hex}`,\n class: \"vc-chrome-active-color\",\n style: normalizeStyle({ background: $options.activeColor })\n }, null, 12 /* STYLE, PROPS */, _hoisted_5),\n (!$props.disableAlpha)\n ? (openBlock(), createBlock(_component_Checkboard, { key: 0 }))\n : createCommentVNode(\"v-if\", true)\n ]),\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"div\", _hoisted_7, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_8, [\n createVNode(_component_Alpha, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ])\n ]),\n (!$props.disableFields)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_9, [\n withDirectives(createElementVNode(\"div\", _hoisted_10, [\n createCommentVNode(\" hex \"),\n createElementVNode(\"div\", _hoisted_11, [\n (!$options.hasAlpha)\n ? (openBlock(), createBlock(_component_EdIn, {\n key: 0,\n label: \"hex\",\n value: _ctx.colors.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]))\n : createCommentVNode(\"v-if\", true),\n ($options.hasAlpha)\n ? (openBlock(), createBlock(_component_EdIn, {\n key: 1,\n label: \"hex\",\n value: _ctx.colors.hex8,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]))\n : createCommentVNode(\"v-if\", true)\n ])\n ], 512 /* NEED_PATCH */), [\n [vShow, $data.fieldsIndex === 'hex']\n ]),\n withDirectives(createElementVNode(\"div\", _hoisted_12, [\n createCommentVNode(\" rgba \"),\n createElementVNode(\"div\", _hoisted_13, [\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_14, [\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_15, [\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_16, [\n createVNode(_component_EdIn, {\n label: \"a\",\n value: _ctx.colors.a,\n \"arrow-offset\": 0.01,\n max: 1,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"arrow-offset\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ], 512 /* NEED_PATCH */), [\n [vShow, ['rgb', 'rgba'].includes($data.fieldsIndex)]\n ]),\n withDirectives(createElementVNode(\"div\", _hoisted_17, [\n createCommentVNode(\" hsla \"),\n createElementVNode(\"div\", _hoisted_18, [\n createVNode(_component_EdIn, {\n label: \"h\",\n value: $options.hsl.h,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_19, [\n createVNode(_component_EdIn, {\n label: \"s\",\n value: $options.hsl.s,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_20, [\n createVNode(_component_EdIn, {\n label: \"l\",\n value: $options.hsl.l,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_21, [\n createVNode(_component_EdIn, {\n label: \"a\",\n value: _ctx.colors.a,\n \"arrow-offset\": 0.01,\n max: 1,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"arrow-offset\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ], 512 /* NEED_PATCH */), [\n [vShow, ['hsl', 'hsla'].includes($data.fieldsIndex)]\n ]),\n createCommentVNode(\" btn \"),\n createElementVNode(\"div\", {\n class: \"vc-chrome-toggle-btn\",\n role: \"button\",\n \"aria-label\": \"Change another color definition\",\n onClick: _cache[3] || (_cache[3] = (...args) => ($options.toggleViews && $options.toggleViews(...args)))\n }, [\n createElementVNode(\"div\", _hoisted_22, [\n (openBlock(), createElementBlock(\"svg\", {\n style: {\"width\":\"24px\",\"height\":\"24px\"},\n viewBox: \"0 0 24 24\",\n onMouseover: _cache[0] || (_cache[0] = (...args) => ($options.showHighlight && $options.showHighlight(...args))),\n onMouseenter: _cache[1] || (_cache[1] = (...args) => ($options.showHighlight && $options.showHighlight(...args))),\n onMouseout: _cache[2] || (_cache[2] = (...args) => ($options.hideHighlight && $options.hideHighlight(...args)))\n }, _hoisted_24, 32 /* HYDRATE_EVENTS */))\n ]),\n withDirectives(createElementVNode(\"div\", _hoisted_25, null, 512 /* NEED_PATCH */), [\n [vShow, $data.highlight]\n ])\n ]),\n createCommentVNode(\" btn \")\n ]))\n : createCommentVNode(\"v-if\", true)\n ])\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-chrome{background:#fff;background-color:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.3);box-sizing:initial;font-family:Menlo;width:225px}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{border-radius:15px;height:30px;overflow:hidden;position:relative;width:30px;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{background-size:auto;border-radius:15px;height:30px;width:30px}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;flex:1;margin-left:-6px}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{position:relative;text-align:right;width:32px}.vc-chrome-toggle-icon{cursor:pointer;margin-right:-4px;margin-top:12px;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{background:#eee;border-radius:4px;height:28px;left:12px;position:absolute;top:10px;width:24px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{height:10px;position:relative}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:12px;transform:translate(-6px,-2px);width:12px}.vc-chrome-body{background-color:#fff;padding:16px 16px 12px}.vc-chrome-saturation-wrap{border-radius:2px 2px 0 0;overflow:hidden;padding-bottom:55%;position:relative;width:100%}.vc-chrome-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-chrome-fields .vc-input__input{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #dadada;color:#333;font-size:11px;height:21px;text-align:center;width:100%}.vc-chrome-fields .vc-input__label{color:#969696;display:block;font-size:11px;line-height:11px;margin-top:12px;text-align:center;text-transform:uppercase}.vc-chrome__disable-alpha .vc-chrome-active-color{height:18px;width:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-bottom:4px;margin-top:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/chrome/chrome.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport { openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst defaultColors = [\n '#4D4D4D', '#999999', '#FFFFFF', '#F44E3B', '#FE9200', '#FCDC00',\n '#DBDF00', '#A4DD00', '#68CCCA', '#73D8FF', '#AEA1FF', '#FDA1FF',\n '#333333', '#808080', '#CCCCCC', '#D33115', '#E27300', '#FCC400',\n '#B0BC00', '#68BC00', '#16A5A5', '#009CE0', '#7B64FF', '#FA28FF',\n '#000000', '#666666', '#B3B3B3', '#9F0500', '#C45100', '#FB9E00',\n '#808900', '#194D33', '#0C797D', '#0062B1', '#653294', '#AB149E',\n];\n\nvar script = {\n name: 'Compact',\n mixins: [colorMixin],\n props: {\n palette: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n },\n computed: {\n pick() {\n return this.colors.hex.toUpperCase();\n },\n },\n methods: {\n handlerClick(c) {\n this.colorChange({\n hex: c,\n source: 'hex',\n });\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Compact color picker\",\n class: \"vc-compact\"\n};\nconst _hoisted_2 = {\n class: \"vc-compact-colors\",\n role: \"listbox\"\n};\nconst _hoisted_3 = [\"aria-label\", \"aria-selected\", \"onClick\"];\nconst _hoisted_4 = { class: \"vc-compact-dot\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"ul\", _hoisted_2, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paletteUpperCase($props.palette), (c) => {\n return (openBlock(), createElementBlock(\"li\", {\n key: c,\n role: \"option\",\n \"aria-label\": `color:${c}`,\n \"aria-selected\": c === $options.pick,\n class: normalizeClass([\"vc-compact-color-item\", { 'vc-compact-color-item--white': c === '#FFFFFF' }]),\n style: normalizeStyle({ background: c }),\n onClick: $event => ($options.handlerClick(c))\n }, [\n withDirectives(createElementVNode(\"div\", _hoisted_4, null, 512 /* NEED_PATCH */), [\n [vShow, c === $options.pick]\n ])\n ], 14 /* CLASS, STYLE, PROPS */, _hoisted_3))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ]))\n}\n\nvar css_248z = \".vc-compact{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);box-sizing:border-box;padding-left:5px;padding-top:5px;width:245px}.vc-compact-colors{margin:0;overflow:hidden;padding:0}.vc-compact-color-item{cursor:pointer;float:left;height:15px;list-style:none;margin-bottom:5px;margin-right:5px;position:relative;width:15px}.vc-compact-color-item--white{box-shadow:inset 0 0 0 1px #ddd}.vc-compact-color-item--white .vc-compact-dot{background:#000}.vc-compact-dot{background:#fff;border-radius:50%;bottom:5px;left:5px;opacity:1;position:absolute;right:5px;top:5px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/compact/compact.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport { openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst defaultColors = [\n '#FFFFFF', '#F2F2F2', '#E6E6E6', '#D9D9D9', '#CCCCCC', '#BFBFBF', '#B3B3B3',\n '#A6A6A6', '#999999', '#8C8C8C', '#808080', '#737373', '#666666', '#595959',\n '#4D4D4D', '#404040', '#333333', '#262626', '#0D0D0D', '#000000',\n];\n\nvar script = {\n name: 'Grayscale',\n components: {\n\n },\n mixins: [colorMixin],\n props: {\n palette: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n },\n computed: {\n pick() {\n return this.colors.hex.toUpperCase();\n },\n },\n methods: {\n handlerClick(c) {\n this.colorChange({\n hex: c,\n source: 'hex',\n });\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Grayscale color picker\",\n class: \"vc-grayscale\"\n};\nconst _hoisted_2 = {\n class: \"vc-grayscale-colors\",\n role: \"listbox\"\n};\nconst _hoisted_3 = [\"aria-label\", \"aria-selected\", \"onClick\"];\nconst _hoisted_4 = { class: \"vc-grayscale-dot\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"ul\", _hoisted_2, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paletteUpperCase($props.palette), (c) => {\n return (openBlock(), createElementBlock(\"li\", {\n key: c,\n role: \"option\",\n \"aria-label\": `Color:${c}`,\n \"aria-selected\": c === $options.pick,\n class: normalizeClass([\"vc-grayscale-color-item\", { 'vc-grayscale-color-item--white': c === '#FFFFFF' }]),\n style: normalizeStyle({ background: c }),\n onClick: $event => ($options.handlerClick(c))\n }, [\n withDirectives(createElementVNode(\"div\", _hoisted_4, null, 512 /* NEED_PATCH */), [\n [vShow, c === $options.pick]\n ])\n ], 14 /* CLASS, STYLE, PROPS */, _hoisted_3))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ]))\n}\n\nvar css_248z = \".vc-grayscale{background-color:#fff;border-radius:2px;box-shadow:0 2px 15px rgba(0,0,0,.12),0 2px 10px rgba(0,0,0,.16);width:125px}.vc-grayscale-colors{border-radius:2px;margin:0;overflow:hidden;padding:0}.vc-grayscale-color-item{cursor:pointer;float:left;height:25px;list-style:none;position:relative;width:25px}.vc-grayscale-color-item--white .vc-grayscale-dot{background:#000}.vc-grayscale-dot{background:#fff;border-radius:50%;height:6px;left:50%;margin:-3px 0 0 -2px;opacity:1;position:absolute;top:50%;width:6px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/grayscale/grayscale.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script$1 from '../editable-input/index.js';\nimport colorMixin from '../../mixin/color.js';\nimport { resolveComponent, openBlock, createElementBlock, createVNode, normalizeStyle, createElementVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\nimport '@ctrl/tinycolor';\n\nvar script = {\n name: 'Material',\n components: {\n EdIn: script$1,\n },\n mixins: [colorMixin],\n methods: {\n onChange(data) {\n if (!data)\n return;\n\n if (data.hex) {\n this.isValidHex(data.hex) && this.colorChange({\n hex: data.hex,\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Material color picker\",\n class: \"vc-material\"\n};\nconst _hoisted_2 = { class: \"vc-material-split\" };\nconst _hoisted_3 = { class: \"vc-material-third\" };\nconst _hoisted_4 = { class: \"vc-material-third\" };\nconst _hoisted_5 = { class: \"vc-material-third\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createVNode(_component_EdIn, {\n class: \"vc-material-hex\",\n label: \"hex\",\n value: _ctx.colors.hex,\n style: normalizeStyle({ borderColor: _ctx.colors.hex }),\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"style\", \"onChange\"]),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_4, [\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_5, [\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ])\n ])\n ]))\n}\n\nvar css_248z = \".vc-material{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);font-family:Roboto;height:98px;padding:16px;position:relative;width:98px}.vc-material .vc-input__input{color:#333;font-size:15px;height:30px;margin-top:12px;width:100%}.vc-material .vc-input__label{color:#999;font-size:11px;left:0;position:absolute;text-transform:capitalize;top:0}.vc-material-hex{border-bottom-style:solid;border-bottom-width:2px}.vc-material-split{display:flex;margin-right:-10px;padding-top:11px}.vc-material-third{flex:1;padding-right:10px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/material/material.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$3 from '../editable-input/index.js';\nimport script$1 from '../saturation/index.js';\nimport script$2 from '../hue/index.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createVNode, withCtx, normalizeStyle, createCommentVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\nimport '../../utils/utils.js';\n\nvar script = {\n name: 'Photoshop',\n components: {\n Saturation: script$1,\n Hue: script$2,\n EdIn: script$3,\n },\n mixins: [colorMixin],\n props: {\n head: {\n type: String,\n default: 'Color Picker',\n },\n disableFields: {\n type: Boolean,\n default: false,\n },\n hasResetButton: {\n type: Boolean,\n default: false,\n },\n acceptLabel: {\n type: String,\n default: 'OK',\n },\n cancelLabel: {\n type: String,\n default: 'Cancel',\n },\n resetLabel: {\n type: String,\n default: 'Reset',\n },\n newLabel: {\n type: String,\n default: 'new',\n },\n currentLabel: {\n type: String,\n default: 'current',\n },\n },\n data() {\n return {\n currentColor: '#FFF',\n };\n },\n computed: {\n hsv() {\n const { hsv } = this.colors;\n return {\n h: hsv.h.toFixed(),\n s: (hsv.s * 100).toFixed(),\n v: (hsv.v * 100).toFixed(),\n };\n },\n hex() {\n const { hex } = this.colors;\n return hex && hex.replace('#', '');\n },\n },\n created() {\n this.currentColor = this.colors.hex;\n },\n methods: {\n childChange(data) {\n this.colorChange(data);\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data['#']) {\n this.isValidHex(data['#']) && this.colorChange({\n hex: data['#'],\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n else if (data.h || data.s || data.v) {\n this.colorChange({\n h: data.h || this.colors.hsv.h,\n s: (data.s / 100) || this.colors.hsv.s,\n v: (data.v / 100) || this.colors.hsv.v,\n source: 'hsv',\n });\n }\n },\n clickCurrentColor() {\n this.colorChange({\n hex: this.currentColor,\n source: 'hex',\n });\n },\n handleAccept() {\n this.$emit('ok');\n },\n handleCancel() {\n this.$emit('cancel');\n },\n handleReset() {\n this.$emit('reset');\n },\n },\n\n};\n\nconst _hoisted_1 = {\n role: \"heading\",\n class: \"vc-ps-head\"\n};\nconst _hoisted_2 = { class: \"vc-ps-body\" };\nconst _hoisted_3 = { class: \"vc-ps-saturation-wrap\" };\nconst _hoisted_4 = { class: \"vc-ps-hue-wrap\" };\nconst _hoisted_5 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-ps-hue-pointer\" }, [\n /*#__PURE__*/createElementVNode(\"i\", { class: \"vc-ps-hue-pointer--left\" }),\n /*#__PURE__*/createElementVNode(\"i\", { class: \"vc-ps-hue-pointer--right\" })\n], -1 /* HOISTED */);\nconst _hoisted_6 = { class: \"vc-ps-previews\" };\nconst _hoisted_7 = { class: \"vc-ps-previews__label\" };\nconst _hoisted_8 = { class: \"vc-ps-previews__swatches\" };\nconst _hoisted_9 = [\"aria-label\"];\nconst _hoisted_10 = [\"aria-label\"];\nconst _hoisted_11 = { class: \"vc-ps-previews__label\" };\nconst _hoisted_12 = {\n key: 0,\n class: \"vc-ps-actions\"\n};\nconst _hoisted_13 = [\"aria-label\"];\nconst _hoisted_14 = [\"aria-label\"];\nconst _hoisted_15 = { class: \"vc-ps-fields\" };\nconst _hoisted_16 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-ps-fields__divider\" }, null, -1 /* HOISTED */);\nconst _hoisted_17 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-ps-fields__divider\" }, null, -1 /* HOISTED */);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Saturation = resolveComponent(\"Saturation\");\n const _component_Hue = resolveComponent(\"Hue\");\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"PhotoShop color picker\",\n class: normalizeClass([\"vc-photoshop\", [$props.disableFields ? 'vc-photoshop__disable-fields' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_1, toDisplayString($props.head), 1 /* TEXT */),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createVNode(_component_Saturation, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_4, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n direction: \"vertical\",\n onChange: $options.childChange\n }, {\n default: withCtx(() => [\n _hoisted_5\n ]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", {\n class: normalizeClass([\"vc-ps-controls\", [$props.disableFields ? 'vc-ps-controls__disable-fields' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"div\", _hoisted_7, toDisplayString($props.newLabel), 1 /* TEXT */),\n createElementVNode(\"div\", _hoisted_8, [\n createElementVNode(\"div\", {\n class: \"vc-ps-previews__pr-color\",\n \"aria-label\": `New color is ${_ctx.colors.hex}`,\n style: normalizeStyle({ background: _ctx.colors.hex })\n }, null, 12 /* STYLE, PROPS */, _hoisted_9),\n createElementVNode(\"div\", {\n class: \"vc-ps-previews__pr-color\",\n \"aria-label\": `Current color is ${$data.currentColor}`,\n style: normalizeStyle({ background: $data.currentColor }),\n onClick: _cache[0] || (_cache[0] = (...args) => ($options.clickCurrentColor && $options.clickCurrentColor(...args)))\n }, null, 12 /* STYLE, PROPS */, _hoisted_10)\n ]),\n createElementVNode(\"div\", _hoisted_11, toDisplayString($props.currentLabel), 1 /* TEXT */)\n ]),\n (!$props.disableFields)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_12, [\n createElementVNode(\"div\", {\n class: \"vc-ps-ac-btn\",\n role: \"button\",\n \"aria-label\": $props.acceptLabel,\n onClick: _cache[1] || (_cache[1] = (...args) => ($options.handleAccept && $options.handleAccept(...args)))\n }, toDisplayString($props.acceptLabel), 9 /* TEXT, PROPS */, _hoisted_13),\n createElementVNode(\"div\", {\n class: \"vc-ps-ac-btn\",\n role: \"button\",\n \"aria-label\": $props.cancelLabel,\n onClick: _cache[2] || (_cache[2] = (...args) => ($options.handleCancel && $options.handleCancel(...args)))\n }, toDisplayString($props.cancelLabel), 9 /* TEXT, PROPS */, _hoisted_14),\n createElementVNode(\"div\", _hoisted_15, [\n createCommentVNode(\" hsla \"),\n createVNode(_component_EdIn, {\n label: \"h\",\n desc: \"°\",\n value: $options.hsv.h,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"s\",\n desc: \"%\",\n value: $options.hsv.s,\n max: 100,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"v\",\n desc: \"%\",\n value: $options.hsv.v,\n max: 100,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n _hoisted_16,\n createCommentVNode(\" rgba \"),\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n _hoisted_17,\n createCommentVNode(\" hex \"),\n createVNode(_component_EdIn, {\n label: \"#\",\n class: \"vc-ps-fields__hex\",\n value: $options.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n ($props.hasResetButton)\n ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: \"vc-ps-ac-btn\",\n \"aria-label\": \"reset\",\n onClick: _cache[3] || (_cache[3] = (...args) => ($options.handleReset && $options.handleReset(...args)))\n }, toDisplayString($props.resetLabel), 1 /* TEXT */))\n : createCommentVNode(\"v-if\", true)\n ]))\n : createCommentVNode(\"v-if\", true)\n ], 2 /* CLASS */)\n ])\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-photoshop{background:#dcdcdc;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;font-family:Roboto;width:513px}.vc-photoshop__disable-fields{width:390px}.vc-ps-head{background-image:linear-gradient(-180deg,#f0f0f0,#d4d4d4);border-bottom:1px solid #b1b1b1;border-radius:4px 4px 0 0;box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.2),inset 0 -1px 0 0 rgba(0,0,0,.02);color:#4d4d4d;font-size:13px;height:23px;line-height:24px;text-align:center}.vc-ps-body{display:flex;padding:15px}.vc-ps-saturation-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;overflow:hidden;position:relative;width:256px}.vc-ps-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-ps-hue-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;margin-left:10px;width:19px}.vc-ps-hue-pointer,.vc-ps-hue-wrap{position:relative}.vc-ps-hue-pointer--left,.vc-ps-hue-pointer--right{border-color:transparent transparent transparent #555;border-style:solid;border-width:5px 0 5px 8px;height:0;position:absolute;width:0}.vc-ps-hue-pointer--left:after,.vc-ps-hue-pointer--right:after{border-color:transparent transparent transparent #fff;border-style:solid;border-width:4px 0 4px 6px;content:\\\"\\\";height:0;left:1px;position:absolute;top:1px;transform:translate(-8px,-5px);width:0}.vc-ps-hue-pointer--left{transform:translate(-13px,-4px)}.vc-ps-hue-pointer--right{transform:translate(20px,-4px) rotate(180deg)}.vc-ps-controls{display:flex;margin-left:10px;width:180px}.vc-ps-controls__disable-fields{width:auto}.vc-ps-actions{flex:1;margin-left:20px}.vc-ps-ac-btn{background-image:linear-gradient(-180deg,#fff,#e6e6e6);border:1px solid #878787;border-radius:2px;box-shadow:0 1px 0 0 #eaeaea;color:#000;cursor:pointer;font-size:14px;height:20px;line-height:20px;margin-bottom:10px;text-align:center}.vc-ps-previews{width:60px}.vc-ps-previews__swatches{border:1px solid #b3b3b3;border-bottom-color:#f0f0f0;margin-bottom:2px;margin-top:1px}.vc-ps-previews__pr-color{box-shadow:inset 1px 0 0 #000,inset -1px 0 0 #000,inset 0 1px 0 #000;height:34px}.vc-ps-previews__label{color:#000;font-size:14px;text-align:center}.vc-ps-fields{padding-bottom:9px;padding-top:5px;position:relative;width:80px}.vc-ps-fields .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:5px;margin-left:40%;margin-right:10px;padding-left:3px;width:40%}.vc-ps-fields .vc-input__desc,.vc-ps-fields .vc-input__label{font-size:13px;height:18px;line-height:22px;position:absolute;text-transform:uppercase;top:0}.vc-ps-fields .vc-input__label{left:0;width:34px}.vc-ps-fields .vc-input__desc{right:0;width:0}.vc-ps-fields__divider{height:5px}.vc-ps-fields__hex .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:6px;margin-left:20%;padding-left:3px;width:80%}.vc-ps-fields__hex .vc-input__label{font-size:13px;height:18px;left:0;line-height:22px;position:absolute;text-transform:uppercase;top:0;width:14px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/photoshop/photoshop.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$4 from '../editable-input/index.js';\nimport script$1 from '../saturation/index.js';\nimport script$2 from '../hue/index.js';\nimport script$3 from '../alpha/index.js';\nimport script$5 from '../checkboard/index.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, normalizeStyle, Fragment, renderList } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\nimport '../../utils/utils.js';\n\nconst presetColors = [\n '#D0021B', '#F5A623', '#F8E71C', '#8B572A', '#7ED321',\n '#417505', '#BD10E0', '#9013FE', '#4A90E2', '#50E3C2',\n '#B8E986', '#000000', '#4A4A4A', '#9B9B9B', '#FFFFFF',\n 'rgba(0,0,0,0)',\n];\n\nvar script = {\n name: 'Sketch',\n components: {\n Saturation: script$1,\n Hue: script$2,\n Alpha: script$3,\n EdIn: script$4,\n Checkboard: script$5,\n },\n mixins: [colorMixin],\n props: {\n presetColors: {\n type: Array,\n default() {\n return presetColors;\n },\n },\n disableAlpha: {\n type: Boolean,\n default: false,\n },\n disableFields: {\n type: Boolean,\n default: false,\n },\n },\n computed: {\n hex() {\n let hex;\n if (this.colors.a < 1)\n hex = this.colors.hex8;\n else\n hex = this.colors.hex;\n\n return hex.replace('#', '');\n },\n activeColor() {\n const { rgba } = this.colors;\n return `rgba(${[rgba.r, rgba.g, rgba.b, rgba.a].join(',')})`;\n },\n },\n methods: {\n handlePreset(c) {\n this.colorChange(c);\n },\n childChange(data) {\n this.colorChange(data);\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data.hex) {\n this.isValidHex(data.hex) && this.colorChange({\n hex: data.hex,\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n },\n },\n};\n\nconst _hoisted_1 = { class: \"vc-sketch-saturation-wrap\" };\nconst _hoisted_2 = { class: \"vc-sketch-controls\" };\nconst _hoisted_3 = { class: \"vc-sketch-sliders\" };\nconst _hoisted_4 = { class: \"vc-sketch-hue-wrap\" };\nconst _hoisted_5 = {\n key: 0,\n class: \"vc-sketch-alpha-wrap\"\n};\nconst _hoisted_6 = { class: \"vc-sketch-color-wrap\" };\nconst _hoisted_7 = [\"aria-label\"];\nconst _hoisted_8 = {\n key: 0,\n class: \"vc-sketch-field\"\n};\nconst _hoisted_9 = { class: \"vc-sketch-field--double\" };\nconst _hoisted_10 = { class: \"vc-sketch-field--single\" };\nconst _hoisted_11 = { class: \"vc-sketch-field--single\" };\nconst _hoisted_12 = { class: \"vc-sketch-field--single\" };\nconst _hoisted_13 = {\n key: 0,\n class: \"vc-sketch-field--single\"\n};\nconst _hoisted_14 = {\n class: \"vc-sketch-presets\",\n role: \"group\",\n \"aria-label\": \"A color preset, pick one to set as current color\"\n};\nconst _hoisted_15 = [\"aria-label\", \"onClick\"];\nconst _hoisted_16 = [\"aria-label\", \"onClick\"];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Saturation = resolveComponent(\"Saturation\");\n const _component_Hue = resolveComponent(\"Hue\");\n const _component_Alpha = resolveComponent(\"Alpha\");\n const _component_Checkboard = resolveComponent(\"Checkboard\");\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"Sketch color picker\",\n class: normalizeClass([\"vc-sketch\", [$props.disableAlpha ? 'vc-sketch__disable-alpha' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_1, [\n createVNode(_component_Saturation, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createElementVNode(\"div\", _hoisted_4, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_5, [\n createVNode(_component_Alpha, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ]),\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"div\", {\n \"aria-label\": `Current color is ${$options.activeColor}`,\n class: \"vc-sketch-active-color\",\n style: normalizeStyle({ background: $options.activeColor })\n }, null, 12 /* STYLE, PROPS */, _hoisted_7),\n createVNode(_component_Checkboard)\n ])\n ]),\n (!$props.disableFields)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_8, [\n createCommentVNode(\" rgba \"),\n createElementVNode(\"div\", _hoisted_9, [\n createVNode(_component_EdIn, {\n label: \"hex\",\n value: $options.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_10, [\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_11, [\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_12, [\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_13, [\n createVNode(_component_EdIn, {\n label: \"a\",\n value: _ctx.colors.a,\n \"arrow-offset\": 0.01,\n max: 1,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"arrow-offset\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ]))\n : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", _hoisted_14, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.presetColors, (c) => {\n return (openBlock(), createElementBlock(Fragment, null, [\n (!_ctx.isTransparent(c))\n ? (openBlock(), createElementBlock(\"div\", {\n key: `!${c}`,\n class: \"vc-sketch-presets-color\",\n \"aria-label\": `Color:${c}`,\n style: normalizeStyle({ background: c }),\n onClick: $event => ($options.handlePreset(c))\n }, null, 12 /* STYLE, PROPS */, _hoisted_15))\n : (openBlock(), createElementBlock(\"div\", {\n key: c,\n \"aria-label\": `Color:${c}`,\n class: \"vc-sketch-presets-color\",\n onClick: $event => ($options.handlePreset(c))\n }, [\n createVNode(_component_Checkboard)\n ], 8 /* PROPS */, _hoisted_16))\n ], 64 /* STABLE_FRAGMENT */))\n }), 256 /* UNKEYED_FRAGMENT */))\n ])\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-sketch{background:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;padding:10px 10px 0;position:relative;width:200px}.vc-sketch-saturation-wrap{overflow:hidden;padding-bottom:75%;position:relative;width:100%}.vc-sketch-controls{display:flex}.vc-sketch-sliders{flex:1;padding:4px 0}.vc-sketch-sliders .vc-alpha-gradient,.vc-sketch-sliders .vc-hue{border-radius:2px}.vc-sketch-alpha-wrap,.vc-sketch-hue-wrap{height:10px;position:relative}.vc-sketch-alpha-wrap{margin-top:4px;overflow:hidden}.vc-sketch-color-wrap{border-radius:3px;height:24px;margin-left:4px;margin-top:4px;position:relative;width:24px}.vc-sketch-active-color{border-radius:2px;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),inset 0 0 4px rgba(0,0,0,.25);left:0;position:absolute;right:0;top:0;z-index:2}.vc-sketch-color-wrap .vc-checkerboard{background-size:auto}.vc-sketch-field{display:flex;padding-top:4px}.vc-sketch-field .vc-input__input{border:none;box-shadow:inset 0 0 0 1px #ccc;font-size:10px;padding:4px 0 3px 10%;width:90%}.vc-sketch-field .vc-input__label{color:#222;display:block;font-size:11px;padding-bottom:4px;padding-top:3px;text-align:center;text-transform:capitalize}.vc-sketch-field--single{flex:1;padding-left:6px}.vc-sketch-field--double{flex:2}.vc-sketch-presets{border-top:1px solid #eee;margin-left:-10px;margin-right:-10px;padding-left:10px;padding-top:10px}.vc-sketch-presets-color{cursor:pointer;display:inline-block;height:16px;margin:0 10px 10px 0;overflow:hidden;position:relative;vertical-align:top;width:16px}.vc-sketch-presets-color,.vc-sketch-presets-color .vc-checkerboard{border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.vc-sketch__disable-alpha .vc-sketch-color-wrap{height:10px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/sketch/sketch.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$1 from '../hue/index.js';\nimport { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, Fragment, renderList, normalizeClass, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst DEFAULT_SATURATION = 0.5;\n\nvar script = {\n name: 'Slider',\n components: {\n Hue: script$1,\n },\n mixins: [colorMixin],\n props: {\n swatches: {\n type: Array,\n default() {\n // also accepts: ['.80', '.65', '.50', '.35', '.20']\n return [\n { s: DEFAULT_SATURATION, l: 0.8 },\n { s: DEFAULT_SATURATION, l: 0.65 },\n { s: DEFAULT_SATURATION, l: 0.5 },\n { s: DEFAULT_SATURATION, l: 0.35 },\n { s: DEFAULT_SATURATION, l: 0.2 },\n ];\n },\n },\n },\n computed: {\n normalizedSwatches() {\n const { swatches } = this;\n return swatches.map((swatch) => {\n // to be compatible with another data format ['.80', '.65', '.50', '.35', '.20']\n if (typeof swatch !== 'object') {\n return {\n s: DEFAULT_SATURATION,\n l: swatch,\n };\n }\n return swatch;\n });\n },\n },\n methods: {\n isActive(swatch, index) {\n const { hsl } = this.colors;\n if (hsl.l === 1 && swatch.l === 1)\n return true;\n\n if (hsl.l === 0 && swatch.l === 0)\n return true;\n\n return (\n Math.abs(hsl.l - swatch.l) < 0.01 && Math.abs(hsl.s - swatch.s) < 0.01\n );\n },\n hueChange(data) {\n this.colorChange(data);\n },\n handleSwClick(index, swatch) {\n this.colorChange({\n h: this.colors.hsl.h,\n s: swatch.s,\n l: swatch.l,\n source: 'hsl',\n });\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Slider color picker\",\n class: \"vc-slider\"\n};\nconst _hoisted_2 = { class: \"vc-slider-hue-warp\" };\nconst _hoisted_3 = {\n class: \"vc-slider-swatches\",\n role: \"group\"\n};\nconst _hoisted_4 = [\"data-index\", \"aria-label\", \"onClick\"];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Hue = resolveComponent(\"Hue\");\n\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"div\", _hoisted_2, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n onChange: $options.hueChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_3, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($options.normalizedSwatches, (swatch, index) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: index,\n class: \"vc-slider-swatch\",\n \"data-index\": index,\n \"aria-label\": `color:${_ctx.colors.hex}`,\n role: \"button\",\n onClick: $event => ($options.handleSwClick(index, swatch))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass([\"vc-slider-swatch-picker\", { 'vc-slider-swatch-picker--active': $options.isActive(swatch, index), 'vc-slider-swatch-picker--white': swatch.l === 1 }]),\n style: normalizeStyle({ background: `hsl(${_ctx.colors.hsl.h}, ${swatch.s * 100}%, ${swatch.l * 100}%)` })\n }, null, 6 /* CLASS, STYLE */)\n ], 8 /* PROPS */, _hoisted_4))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ]))\n}\n\nvar css_248z = \".vc-slider{position:relative;width:410px}.vc-slider-hue-warp{height:12px;position:relative}.vc-slider-hue-warp .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:14px;transform:translate(-7px,-2px);width:14px}.vc-slider-swatches{display:flex;margin-top:20px}.vc-slider-swatch{flex:1;margin-right:1px;width:20%}.vc-slider-swatch:first-child{margin-right:1px}.vc-slider-swatch:first-child .vc-slider-swatch-picker{border-radius:2px 0 0 2px}.vc-slider-swatch:last-child{margin-right:0}.vc-slider-swatch:last-child .vc-slider-swatch-picker{border-radius:0 2px 2px 0}.vc-slider-swatch-picker{cursor:pointer;height:12px}.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active{border-radius:3.6px/2px;transform:scaleY(1.8)}.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 1px #ddd}.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 .6px #ddd}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/slider/slider.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","export var red = {\"50\":\"#ffebee\",\"100\":\"#ffcdd2\",\"200\":\"#ef9a9a\",\"300\":\"#e57373\",\"400\":\"#ef5350\",\"500\":\"#f44336\",\"600\":\"#e53935\",\"700\":\"#d32f2f\",\"800\":\"#c62828\",\"900\":\"#b71c1c\",\"a100\":\"#ff8a80\",\"a200\":\"#ff5252\",\"a400\":\"#ff1744\",\"a700\":\"#d50000\"};\nexport var pink = {\"50\":\"#fce4ec\",\"100\":\"#f8bbd0\",\"200\":\"#f48fb1\",\"300\":\"#f06292\",\"400\":\"#ec407a\",\"500\":\"#e91e63\",\"600\":\"#d81b60\",\"700\":\"#c2185b\",\"800\":\"#ad1457\",\"900\":\"#880e4f\",\"a100\":\"#ff80ab\",\"a200\":\"#ff4081\",\"a400\":\"#f50057\",\"a700\":\"#c51162\"};\nexport var purple = {\"50\":\"#f3e5f5\",\"100\":\"#e1bee7\",\"200\":\"#ce93d8\",\"300\":\"#ba68c8\",\"400\":\"#ab47bc\",\"500\":\"#9c27b0\",\"600\":\"#8e24aa\",\"700\":\"#7b1fa2\",\"800\":\"#6a1b9a\",\"900\":\"#4a148c\",\"a100\":\"#ea80fc\",\"a200\":\"#e040fb\",\"a400\":\"#d500f9\",\"a700\":\"#aa00ff\"};\nexport var deepPurple = {\"50\":\"#ede7f6\",\"100\":\"#d1c4e9\",\"200\":\"#b39ddb\",\"300\":\"#9575cd\",\"400\":\"#7e57c2\",\"500\":\"#673ab7\",\"600\":\"#5e35b1\",\"700\":\"#512da8\",\"800\":\"#4527a0\",\"900\":\"#311b92\",\"a100\":\"#b388ff\",\"a200\":\"#7c4dff\",\"a400\":\"#651fff\",\"a700\":\"#6200ea\"};\nexport var indigo = {\"50\":\"#e8eaf6\",\"100\":\"#c5cae9\",\"200\":\"#9fa8da\",\"300\":\"#7986cb\",\"400\":\"#5c6bc0\",\"500\":\"#3f51b5\",\"600\":\"#3949ab\",\"700\":\"#303f9f\",\"800\":\"#283593\",\"900\":\"#1a237e\",\"a100\":\"#8c9eff\",\"a200\":\"#536dfe\",\"a400\":\"#3d5afe\",\"a700\":\"#304ffe\"};\nexport var blue = {\"50\":\"#e3f2fd\",\"100\":\"#bbdefb\",\"200\":\"#90caf9\",\"300\":\"#64b5f6\",\"400\":\"#42a5f5\",\"500\":\"#2196f3\",\"600\":\"#1e88e5\",\"700\":\"#1976d2\",\"800\":\"#1565c0\",\"900\":\"#0d47a1\",\"a100\":\"#82b1ff\",\"a200\":\"#448aff\",\"a400\":\"#2979ff\",\"a700\":\"#2962ff\"};\nexport var lightBlue = {\"50\":\"#e1f5fe\",\"100\":\"#b3e5fc\",\"200\":\"#81d4fa\",\"300\":\"#4fc3f7\",\"400\":\"#29b6f6\",\"500\":\"#03a9f4\",\"600\":\"#039be5\",\"700\":\"#0288d1\",\"800\":\"#0277bd\",\"900\":\"#01579b\",\"a100\":\"#80d8ff\",\"a200\":\"#40c4ff\",\"a400\":\"#00b0ff\",\"a700\":\"#0091ea\"};\nexport var cyan = {\"50\":\"#e0f7fa\",\"100\":\"#b2ebf2\",\"200\":\"#80deea\",\"300\":\"#4dd0e1\",\"400\":\"#26c6da\",\"500\":\"#00bcd4\",\"600\":\"#00acc1\",\"700\":\"#0097a7\",\"800\":\"#00838f\",\"900\":\"#006064\",\"a100\":\"#84ffff\",\"a200\":\"#18ffff\",\"a400\":\"#00e5ff\",\"a700\":\"#00b8d4\"};\nexport var teal = {\"50\":\"#e0f2f1\",\"100\":\"#b2dfdb\",\"200\":\"#80cbc4\",\"300\":\"#4db6ac\",\"400\":\"#26a69a\",\"500\":\"#009688\",\"600\":\"#00897b\",\"700\":\"#00796b\",\"800\":\"#00695c\",\"900\":\"#004d40\",\"a100\":\"#a7ffeb\",\"a200\":\"#64ffda\",\"a400\":\"#1de9b6\",\"a700\":\"#00bfa5\"};\nexport var green = {\"50\":\"#e8f5e9\",\"100\":\"#c8e6c9\",\"200\":\"#a5d6a7\",\"300\":\"#81c784\",\"400\":\"#66bb6a\",\"500\":\"#4caf50\",\"600\":\"#43a047\",\"700\":\"#388e3c\",\"800\":\"#2e7d32\",\"900\":\"#1b5e20\",\"a100\":\"#b9f6ca\",\"a200\":\"#69f0ae\",\"a400\":\"#00e676\",\"a700\":\"#00c853\"};\nexport var lightGreen = {\"50\":\"#f1f8e9\",\"100\":\"#dcedc8\",\"200\":\"#c5e1a5\",\"300\":\"#aed581\",\"400\":\"#9ccc65\",\"500\":\"#8bc34a\",\"600\":\"#7cb342\",\"700\":\"#689f38\",\"800\":\"#558b2f\",\"900\":\"#33691e\",\"a100\":\"#ccff90\",\"a200\":\"#b2ff59\",\"a400\":\"#76ff03\",\"a700\":\"#64dd17\"};\nexport var lime = {\"50\":\"#f9fbe7\",\"100\":\"#f0f4c3\",\"200\":\"#e6ee9c\",\"300\":\"#dce775\",\"400\":\"#d4e157\",\"500\":\"#cddc39\",\"600\":\"#c0ca33\",\"700\":\"#afb42b\",\"800\":\"#9e9d24\",\"900\":\"#827717\",\"a100\":\"#f4ff81\",\"a200\":\"#eeff41\",\"a400\":\"#c6ff00\",\"a700\":\"#aeea00\"};\nexport var yellow = {\"50\":\"#fffde7\",\"100\":\"#fff9c4\",\"200\":\"#fff59d\",\"300\":\"#fff176\",\"400\":\"#ffee58\",\"500\":\"#ffeb3b\",\"600\":\"#fdd835\",\"700\":\"#fbc02d\",\"800\":\"#f9a825\",\"900\":\"#f57f17\",\"a100\":\"#ffff8d\",\"a200\":\"#ffff00\",\"a400\":\"#ffea00\",\"a700\":\"#ffd600\"};\nexport var amber = {\"50\":\"#fff8e1\",\"100\":\"#ffecb3\",\"200\":\"#ffe082\",\"300\":\"#ffd54f\",\"400\":\"#ffca28\",\"500\":\"#ffc107\",\"600\":\"#ffb300\",\"700\":\"#ffa000\",\"800\":\"#ff8f00\",\"900\":\"#ff6f00\",\"a100\":\"#ffe57f\",\"a200\":\"#ffd740\",\"a400\":\"#ffc400\",\"a700\":\"#ffab00\"};\nexport var orange = {\"50\":\"#fff3e0\",\"100\":\"#ffe0b2\",\"200\":\"#ffcc80\",\"300\":\"#ffb74d\",\"400\":\"#ffa726\",\"500\":\"#ff9800\",\"600\":\"#fb8c00\",\"700\":\"#f57c00\",\"800\":\"#ef6c00\",\"900\":\"#e65100\",\"a100\":\"#ffd180\",\"a200\":\"#ffab40\",\"a400\":\"#ff9100\",\"a700\":\"#ff6d00\"};\nexport var deepOrange = {\"50\":\"#fbe9e7\",\"100\":\"#ffccbc\",\"200\":\"#ffab91\",\"300\":\"#ff8a65\",\"400\":\"#ff7043\",\"500\":\"#ff5722\",\"600\":\"#f4511e\",\"700\":\"#e64a19\",\"800\":\"#d84315\",\"900\":\"#bf360c\",\"a100\":\"#ff9e80\",\"a200\":\"#ff6e40\",\"a400\":\"#ff3d00\",\"a700\":\"#dd2c00\"};\nexport var brown = {\"50\":\"#efebe9\",\"100\":\"#d7ccc8\",\"200\":\"#bcaaa4\",\"300\":\"#a1887f\",\"400\":\"#8d6e63\",\"500\":\"#795548\",\"600\":\"#6d4c41\",\"700\":\"#5d4037\",\"800\":\"#4e342e\",\"900\":\"#3e2723\"};\nexport var grey = {\"50\":\"#fafafa\",\"100\":\"#f5f5f5\",\"200\":\"#eeeeee\",\"300\":\"#e0e0e0\",\"400\":\"#bdbdbd\",\"500\":\"#9e9e9e\",\"600\":\"#757575\",\"700\":\"#616161\",\"800\":\"#424242\",\"900\":\"#212121\"};\nexport var blueGrey = {\"50\":\"#eceff1\",\"100\":\"#cfd8dc\",\"200\":\"#b0bec5\",\"300\":\"#90a4ae\",\"400\":\"#78909c\",\"500\":\"#607d8b\",\"600\":\"#546e7a\",\"700\":\"#455a64\",\"800\":\"#37474f\",\"900\":\"#263238\"};\nexport var darkText = {\"primary\":\"rgba(0, 0, 0, 0.87)\",\"secondary\":\"rgba(0, 0, 0, 0.54)\",\"disabled\":\"rgba(0, 0, 0, 0.38)\",\"dividers\":\"rgba(0, 0, 0, 0.12)\"};\nexport var lightText = {\"primary\":\"rgba(255, 255, 255, 1)\",\"secondary\":\"rgba(255, 255, 255, 0.7)\",\"disabled\":\"rgba(255, 255, 255, 0.5)\",\"dividers\":\"rgba(255, 255, 255, 0.12)\"};\nexport var darkIcons = {\"active\":\"rgba(0, 0, 0, 0.54)\",\"inactive\":\"rgba(0, 0, 0, 0.38)\"};\nexport var lightIcons = {\"active\":\"rgba(255, 255, 255, 1)\",\"inactive\":\"rgba(255, 255, 255, 0.5)\"};\nexport var white = \"#ffffff\";\nexport var black = \"#000000\";\n\nexport default {\n red: red,\n pink: pink,\n purple: purple,\n deepPurple: deepPurple,\n indigo: indigo,\n blue: blue,\n lightBlue: lightBlue,\n cyan: cyan,\n teal: teal,\n green: green,\n lightGreen: lightGreen,\n lime: lime,\n yellow: yellow,\n amber: amber,\n orange: orange,\n deepOrange: deepOrange,\n brown: brown,\n grey: grey,\n blueGrey: blueGrey,\n darkText: darkText,\n lightText: lightText,\n darkIcons: darkIcons,\n lightIcons: lightIcons,\n white: white,\n black: black\n};\n","import material from 'material-colors';\nimport colorMixin from '../../mixin/color.js';\nimport { openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, withKeys, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst colorMap = [\n 'red', 'pink', 'purple', 'deepPurple',\n 'indigo', 'blue', 'lightBlue', 'cyan',\n 'teal', 'green', 'lightGreen', 'lime',\n 'yellow', 'amber', 'orange', 'deepOrange',\n 'brown', 'blueGrey', 'black',\n];\nconst colorLevel = ['900', '700', '500', '300', '100'];\nconst defaultColors = (() => {\n const colors = [];\n colorMap.forEach((type) => {\n let typeColor = [];\n if (type.toLowerCase() === 'black' || type.toLowerCase() === 'white') {\n typeColor = typeColor.concat(['#000000', '#FFFFFF']);\n }\n else {\n colorLevel.forEach((level) => {\n const color = material[type][level];\n typeColor.push(color.toUpperCase());\n });\n }\n colors.push(typeColor);\n });\n return colors;\n})();\n\nvar script = {\n name: 'Swatches',\n mixins: [colorMixin],\n props: {\n palette: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n },\n computed: {\n pick() {\n return this.colors.hex;\n },\n },\n methods: {\n equal(color) {\n return color.toLowerCase() === this.colors.hex.toLowerCase();\n },\n handlerClick(c) {\n this.colorChange({\n hex: c,\n source: 'hex',\n });\n },\n },\n\n};\n\nconst _hoisted_1 = [\"data-pick\"];\nconst _hoisted_2 = {\n class: \"vc-swatches-box\",\n role: \"listbox\"\n};\nconst _hoisted_3 = [\"aria-label\", \"aria-selected\", \"data-color\", \"onKeyup\", \"onClick\"];\nconst _hoisted_4 = { class: \"vc-swatches-pick\" };\nconst _hoisted_5 = {\n style: {\"width\":\"24px\",\"height\":\"24px\"},\n viewBox: \"0 0 24 24\"\n};\nconst _hoisted_6 = /*#__PURE__*/createElementVNode(\"path\", { d: \"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\" }, null, -1 /* HOISTED */);\nconst _hoisted_7 = [\n _hoisted_6\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"Swatches color picker\",\n class: \"vc-swatches\",\n \"data-pick\": $options.pick\n }, [\n createElementVNode(\"div\", _hoisted_2, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.palette, (group, $idx) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: $idx,\n class: \"vc-swatches-color-group\"\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(group, (c) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: c,\n class: normalizeClass([\"vc-swatches-color-it\", [{ 'vc-swatches-color--white': c === '#FFFFFF' }]]),\n role: \"option\",\n \"aria-label\": `Color:${c}`,\n \"aria-selected\": $options.equal(c),\n \"data-color\": c,\n style: normalizeStyle({ background: c }),\n tabindex: \"0\",\n onKeyup: withKeys($event => ($options.handlerClick(c)), [\"enter\"]),\n onClick: $event => ($options.handlerClick(c))\n }, [\n withDirectives(createElementVNode(\"div\", _hoisted_4, [\n (openBlock(), createElementBlock(\"svg\", _hoisted_5, _hoisted_7))\n ], 512 /* NEED_PATCH */), [\n [vShow, $options.equal(c)]\n ])\n ], 46 /* CLASS, STYLE, PROPS, HYDRATE_EVENTS */, _hoisted_3))\n }), 128 /* KEYED_FRAGMENT */))\n ]))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ], 8 /* PROPS */, _hoisted_1))\n}\n\nvar css_248z = \".vc-swatches{background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);height:240px;overflow-y:scroll;width:320px}.vc-swatches-box{overflow:hidden;padding:16px 0 6px 16px}.vc-swatches-color-group{float:left;margin-right:10px;padding-bottom:10px;width:40px}.vc-swatches-color-it{background:#880e4f;-ms-border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-o-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0;box-sizing:border-box;cursor:pointer;height:24px;margin-bottom:1px;overflow:hidden;width:40px}.vc-swatches-color--white{border:1px solid #ddd}.vc-swatches-pick{fill:#fff;display:block;margin-left:8px}.vc-swatches-color--white .vc-swatches-pick{fill:#333}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/swatches/swatches.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script$1 from '../editable-input/index.js';\nimport colorMixin from '../../mixin/color.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, withKeys, createVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\nimport '@ctrl/tinycolor';\n\nconst defaultColors = [\n '#FF6900', '#FCB900', '#7BDCB5', '#00D084', '#8ED1FC', '#0693E3', '#ABB8C3',\n '#EB144C', '#F78DA7', '#9900EF',\n];\n\nvar script = {\n name: 'Twitter',\n components: {\n EditableInput: script$1,\n },\n mixins: [colorMixin],\n props: {\n width: {\n type: [String, Number],\n default: 276,\n },\n defaultColors: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n triangle: {\n default: 'top-left',\n validator(value) {\n return ['hide', 'top-left', 'top-right'].includes(value);\n },\n },\n },\n computed: {\n hsv() {\n const { hsv } = this.colors;\n return {\n h: hsv.h.toFixed(),\n s: (hsv.s * 100).toFixed(),\n v: (hsv.v * 100).toFixed(),\n };\n },\n hex() {\n const { hex } = this.colors;\n return hex && hex.replace('#', '');\n },\n },\n methods: {\n equal(color) {\n return color.toLowerCase() === this.colors.hex.toLowerCase();\n },\n handlerClick(color) {\n this.colorChange({\n hex: color,\n source: 'hex',\n });\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data['#']) {\n this.isValidHex(data['#']) && this.colorChange({\n hex: data['#'],\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n else if (data.h || data.s || data.v) {\n this.colorChange({\n h: data.h || this.colors.hsv.h,\n s: (data.s / 100) || this.colors.hsv.s,\n v: (data.v / 100) || this.colors.hsv.v,\n source: 'hsv',\n });\n }\n },\n },\n};\n\nconst _hoisted_1 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-triangle-shadow\" }, null, -1 /* HOISTED */);\nconst _hoisted_2 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-triangle\" }, null, -1 /* HOISTED */);\nconst _hoisted_3 = { class: \"vc-twitter-body\" };\nconst _hoisted_4 = [\"onKeyup\", \"onClick\"];\nconst _hoisted_5 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-hash\" }, \" # \", -1 /* HOISTED */);\nconst _hoisted_6 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-clear\" }, null, -1 /* HOISTED */);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_EditableInput = resolveComponent(\"EditableInput\");\n\n return (openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\"vc-twitter\", {\n 'vc-twitter-hide-triangle ': $props.triangle === 'hide',\n 'vc-twitter-top-left-triangle ': $props.triangle === 'top-left',\n 'vc-twitter-top-right-triangle ': $props.triangle === 'top-right',\n }]),\n style: normalizeStyle({\n width: typeof $props.width === 'number' ? `${$props.width}px` : $props.width,\n })\n }, [\n _hoisted_1,\n _hoisted_2,\n createElementVNode(\"div\", _hoisted_3, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.defaultColors, (color, index) => {\n return (openBlock(), createElementBlock(\"span\", {\n key: index,\n class: \"vc-twitter-swatch\",\n style: normalizeStyle({\n background: color,\n boxShadow: `0 0 4px ${$options.equal(color) ? color : 'transparent'}`,\n }),\n role: \"button\",\n tabindex: \"0\",\n onKeyup: withKeys($event => ($options.handlerClick(color)), [\"enter\"]),\n onClick: $event => ($options.handlerClick(color))\n }, null, 44 /* STYLE, PROPS, HYDRATE_EVENTS */, _hoisted_4))\n }), 128 /* KEYED_FRAGMENT */)),\n _hoisted_5,\n createVNode(_component_EditableInput, {\n label: \"#\",\n value: $options.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n _hoisted_6\n ])\n ], 6 /* CLASS, STYLE */))\n}\n\nvar css_248z = \".vc-twitter{background:#fff;border:0 solid rgba(0,0,0,.25);border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.25);position:relative}.vc-twitter-triangle{border-color:transparent transparent #fff}.vc-twitter-triangle,.vc-twitter-triangle-shadow{border-style:solid;border-width:0 9px 10px;height:0;position:absolute;width:0}.vc-twitter-triangle-shadow{border-color:transparent transparent rgba(0,0,0,.1)}.vc-twitter-body{padding:15px 9px 9px 15px}.vc-twitter .vc-editable-input{position:relative}.vc-twitter .vc-editable-input input{border:0;border-radius:0 4px 4px 0;box-shadow:inset 0 0 0 1px #f0f0f0;box-sizing:content-box;color:#666;float:left;font-size:14px;height:28px;outline:none;padding:1px 1px 1px 8px;width:100px}.vc-twitter .vc-editable-input span{display:none}.vc-twitter-hash{align-items:center;background:#f0f0f0;border-radius:4px 0 0 4px;color:#98a1a4;display:flex;float:left;height:30px;justify-content:center;width:30px}.vc-twitter-swatch{border-radius:4px;cursor:pointer;float:left;height:30px;margin:0 6px 6px 0;position:relative;width:30px}.vc-twitter-clear{clear:both}.vc-twitter-hide-triangle .vc-twitter-triangle,.vc-twitter-hide-triangle .vc-twitter-triangle-shadow{display:none}.vc-twitter-top-left-triangle .vc-twitter-triangle{left:12px;top:-10px}.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{left:12px;top:-11px}.vc-twitter-top-right-triangle .vc-twitter-triangle{right:12px;top:-10px}.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{right:12px;top:-11px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/twitter/twitter.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script from './components/alpha/index.js';\nimport script$1 from './components/checkboard/index.js';\nimport script$2 from './components/chrome/index.js';\nimport script$3 from './components/compact/index.js';\nimport script$4 from './components/editable-input/index.js';\nimport script$5 from './components/grayscale/index.js';\nimport script$6 from './components/hue/index.js';\nimport script$7 from './components/material/index.js';\nimport script$8 from './components/photoshop/index.js';\nimport script$9 from './components/saturation/index.js';\nimport script$a from './components/sketch/index.js';\nimport script$b from './components/slider/index.js';\nimport script$c from './components/swatches/index.js';\nimport script$d from './components/twitter/index.js';\nimport 'vue';\nimport './style-inject.es-746bb8ed.js';\nimport './utils/compoent.js';\nimport './defaultConfig.js';\nimport './mixin/color.js';\nimport '@ctrl/tinycolor';\nimport './utils/utils.js';\nimport 'material-colors';\n\n/* Do not modify the automatically generated code */\n\nconst components = [\n script,\n script$1,\n script$2,\n script$3,\n script$4,\n script$5,\n script$6,\n script$7,\n script$8,\n script$9,\n script$a,\n script$b,\n script$c,\n script$d,\n];\n\nexport { script as Alpha, script$1 as Checkboard, script$2 as Chrome, script$3 as Compact, script$4 as EditableInput, script$5 as Grayscale, script$6 as Hue, script$7 as Material, script$8 as Photoshop, script$9 as Saturation, script$a as Sketch, script$b as Slider, script$c as Swatches, script$d as Twitter, components };\n","import { render } from \"./BarButtonColor.vue?vue&type=template&id=2fe7124b&scoped=true\"\nimport script from \"./BarButtonColor.vue?vue&type=script&lang=js\"\nexport * from \"./BarButtonColor.vue?vue&type=script&lang=js\"\n\nimport \"./BarButtonColor.vue?vue&type=style&index=0&id=2fe7124b&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2fe7124b\"]])\n\nexport default __exports__","","import { render } from \"./BarSeparator.vue?vue&type=template&id=e605c7a0\"\nconst script = {}\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./BarSpacer.vue?vue&type=template&id=563ebb40\"\nconst script = {}\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Bar.vue?vue&type=template&id=9653a704&scoped=true\"\nimport script from \"./Bar.vue?vue&type=script&lang=js\"\nexport * from \"./Bar.vue?vue&type=script&lang=js\"\n\nimport \"./Bar.vue?vue&type=style&index=0&id=9653a704&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9653a704\"]])\n\nexport default __exports__","\n\n","\n\n","import { render } from \"./BarMenuItem.vue?vue&type=template&id=3bea5e82\"\nimport script from \"./BarMenuItem.vue?vue&type=script&lang=js\"\nexport * from \"./BarMenuItem.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./BarMenuSeparator.vue?vue&type=template&id=3edb62da\"\nconst script = {}\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./BarMenu.vue?vue&type=template&id=5abecf45\"\nimport script from \"./BarMenu.vue?vue&type=script&lang=js\"\nexport * from \"./BarMenu.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["activeEffectScope","EffectScope","constructor","detached","this","_active","effects","cleanups","parent","index","scopes","push","active","run","fn","currentEffectScope","on","off","stop","fromParent","i","l","length","last","pop","recordEffectScope","effect","scope","getCurrentScope","createDep","dep","Set","w","n","wasTracked","trackOpBit","newTracked","initDepMarkers","deps","finalizeDepMarkers","ptr","delete","targetMap","WeakMap","effectTrackDepth","maxMarkerBits","activeEffect","ITERATE_KEY","Symbol","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","lastShouldTrack","shouldTrack","cleanupEffect","deferStop","onStop","effect2","trackStack","pauseTracking","resetTracking","track","target","type","key","depsMap","get","set","Map","eventInfo","trackEffects","debuggerEventExtraInfo","shouldTrack2","has","add","trigger","newValue","oldValue","oldTarget","values","newLength","Number","forEach","key2","triggerEffects","computed","triggerEffect","allowRecurse","isNonTrackableKeys","builtInSymbols","Object","getOwnPropertyNames","filter","map","arrayInstrumentations","createArrayInstrumentations","instrumentations","args","arr","toRaw","res","apply","hasOwnProperty","obj","BaseReactiveHandler","_isReadonly","_shallow","receiver","isReadonly2","shallow","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","getPrototypeOf","targetIsArray","Reflect","isRef","value","readonly","reactive","MutableReactiveHandler","super","isOldValueReadonly","isReadonly","isShallow","hadKey","result","deleteProperty","ownKeys","ReadonlyReactiveHandler","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","v","rawTarget","rawKey","has2","wrap","toReadonly","toReactive","call","size","proto","get2","deleteEntry","clear","hadItems","createForEach","callback","thisArg","observed","createIterableMethod","method","targetIsMap","isPair","iterator","isKeyOnly","innerIterator","next","done","createReadonlyMethod","createInstrumentations","mutableInstrumentations2","shallowInstrumentations2","readonlyInstrumentations2","shallowReadonlyInstrumentations2","iteratorMethods","mutableInstrumentations","readonlyInstrumentations","shallowInstrumentations","shallowReadonlyInstrumentations","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","isExtensible","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","Proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref2","triggerRefValue","newVal","r","__v_isRef","ref","createRef","rawValue","RefImpl","__v_isShallow","_rawValue","_value","useDirectValue","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","ComputedRefImpl","getter","_setter","isSSR","_dirty","_cacheable","self","getterOrOptions","debugOptions","setter","onlyGetter","cRef","callWithErrorHandling","instance","err","handleError","callWithAsyncErrorHandling","catch","throwInDev","contextVNode","vnode","cur","exposedInstance","errorInfo","errorCapturedHooks","ec","appErrorHandler","appContext","config","errorHandler","logError","console","error","isFlushing","isFlushPending","queue","flushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","Promise","resolve","currentFlushPromise","nextTick","p","then","bind","findInsertionIndex","id","start","end","middle","middleJob","middleJobId","getId","pre","queueJob","job","includes","splice","queueFlush","flushJobs","invalidateJob","indexOf","queuePostFlushCb","cb","flushPreFlushCbs","seen","uid","flushPostFlushCbs","deduped","sort","a","b","Infinity","comparator","diff","emit","event","rawArgs","isUnmounted","props","isModelListener","startsWith","modelArg","slice","modifiersKey","number","trim","handlerName","handler","onceHandler","emitted","normalizeEmitsOptions","comp","asMixin","cache","emitsCache","cached","emits","normalized","hasExtends","extendEmits","raw2","normalizedFromExtend","mixins","extends","isEmitListener","options","replace","toLowerCase","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","__scopeId","pushScopeId","popScopeId","withCtx","ctx","isNonScopedSlot","_n","renderFnWithContext","_d","setBlockTracking","prevInstance","_c","renderComponentRoot","Component","withProxy","propsOptions","slots","attrs","render","renderCache","data","setupState","inheritAttrs","fallthroughAttrs","shapeFlag","proxyToUse","thisProxy","normalizeVNode","render2","getFunctionalFallthrough","blockStack","createVNode","Comment","root","keys","some","filterModelListeners","cloneVNode","dirs","concat","transition","shouldUpdateComponent","prevVNode","nextVNode","optimized","prevProps","children","prevChildren","component","nextProps","nextChildren","patchFlag","emitsOptions","$stable","hasPropsChanged","dynamicProps","nextKeys","updateHOCHostEl","el","subTree","COMPONENTS","resolveComponent","name","maybeSelfReference","resolveAsset","NULL_DYNAMIC_COMPONENT","for","resolveDynamicComponent","warnMissing","currentInstance","selfName","getComponentName","registry","isSuspense","__isSuspense","queueEffectWithSuspense","suspense","pendingBranch","INITIAL_WATCHER_VALUE","watch","source","doWatch","immediate","deep","flush","onTrack","onTrigger","_a","cleanup","forceTrigger","isMultiSource","s","traverse","onCleanup","baseGetter","ssrCleanup","isInSSRComponentSetup","useSSRContext","__watcherHandles","Array","fill","queuePostRenderEffect","unwatch","instanceWatch","publicThis","createPathGetter","setCurrentInstance","unsetCurrentInstance","path","segments","split","withDirectives","directives","internalInstance","getExposeProxy","bindings","dir","arg","modifiers","mounted","updated","invokeDirectiveHook","oldBindings","binding","hook","leaveCbKey","enterCbKey","useTransitionState","state","isMounted","isLeaving","isUnmounting","leavingVNodes","onMounted","onBeforeUnmount","TransitionHookValidator","Function","BaseTransitionPropsValidators","mode","String","appear","Boolean","persisted","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","BaseTransitionImpl","setup","getCurrentInstance","prevTransitionKey","default","getTransitionRawChildren","child","hasFound","c","rawProps","emptyPlaceholder","innerChild","getKeepAliveChild","enterHooks","resolveTransitionHooks","setTransitionHooks","oldChild","oldInnerChild","transitionKeyChanged","getTransitionKey","isSameVNodeType","leavingHooks","afterLeave","update","delayLeave","earlyRemove","delayedLeave","leavingVNodesCache","getLeavingNodesForType","BaseTransition","create","callHook","callAsyncHook","every","hook2","hooks","beforeEnter","leavingVNode","enter","afterHook","cancelHook","called","cancelled","leave","remove","clone","vnode2","isKeepAlive","ssContent","ssFallback","keepComment","parentKey","ret","keyedFragmentCount","Fragment","defineComponent","extraOptions","isAsyncWrapper","__asyncLoader","defineAsyncComponent","loader","loadingComponent","errorComponent","delay","timeout","suspensible","onError","userOnError","resolvedComp","pendingRequest","retries","retry","load","thisRequest","Error","reject","userRetry","userFail","__esModule","toStringTag","__asyncResolved","createInnerComp","loaded","delayed","setTimeout","ce","__isKeepAlive","RegExp","matches","pattern","test","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","__wdc","current","isDeactivated","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","resetShapeFlag","getInnerChild","prepend","__weh","unshift","createHook","lifecycle","onBeforeMount","onBeforeUpdate","onUpdated","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","renderList","renderItem","from","item","getPublicInstance","isStatefulComponent","publicPropertiesMap","$","$el","$data","$props","$attrs","$slots","$refs","refs","$parent","$root","$emit","$options","resolveMergedOptions","$forceUpdate","f","$nextTick","$watch","hasSetupBinding","__isScriptSetup","PublicInstanceProxyHandlers","_","accessCache","normalizedProps","shouldCacheAccess","publicGetter","cssModule","globalProperties","__cssModules","defineProperty","descriptor","normalizePropsOrEmits","reduce","applyOptions","beforeCreate","dataOptions","computedOptions","methods","watchOptions","provide","provideOptions","inject","injectOptions","created","beforeMount","beforeUpdate","activated","deactivated","beforeDestroy","beforeUnmount","destroyed","unmounted","renderTracked","renderTriggered","errorCaptured","serverPrefetch","expose","components","filters","checkDuplicateProperties","resolveInjections","methodHandler","opt","enumerable","configurable","createWatcher","provides","registerLifecycleHook","register","_hook","exposed","val","normalizeInject","h","base","extendsOptions","globalMixins","optionsCache","optionMergeStrategies","resolved","m","mergeOptions","to","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeEmitsOrPropsOptions","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","createAppContext","app","isNativeTag","NO","performance","warnHandler","compilerOptions","propsCache","uid$1","createAppAPI","hydrate","rootComponent","rootProps","context","installedPlugins","WeakSet","_uid","_component","_props","_container","_context","_instance","version","use","plugin","install","mixin","directive","mount","rootContainer","isHydrate","isSVG","__vue_app__","unmount","runWithContext","currentApp","parentProvides","defaultValue","treatDefaultAsFactory","arguments","initProps","isStateful","InternalObjectKey","propsDefaults","setFullProps","updateProps","rawPrevProps","rawCurrentProps","hasAttrsChanged","kebabKey","resolvePropValue","propsToUpdate","camelizedKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","skipFactory","normalizePropsOptions","extendProps","normalizedKey","validatePropName","prop","booleanIndex","getTypeIndex","stringIndex","getType","ctor","match","toString","isSameType","expectedTypes","findIndex","t","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","_ctx","normalizeVNodeSlots","initSlots","updateSlots","needDeletionCheck","deletionComparisonTarget","setRef","rawRef","oldRawRef","parentSuspense","isUnmount","refValue","owner","oldRef","_isString","_isRef","doSet","existing","k","initFeatureFlags","createRenderer","baseCreateRenderer","createHydrationFns","__VUE__","insert","hostInsert","hostRemove","patchProp","hostPatchProp","createElement","hostCreateElement","createText","hostCreateText","createComment","hostCreateComment","setText","hostSetText","setElementText","hostSetElementText","parentNode","hostParentNode","nextSibling","hostNextSibling","setScopeId","hostSetScopeId","insertStaticContent","hostInsertStaticContent","patch","n1","n2","container","anchor","parentComponent","slotScopeIds","dynamicChildren","getNextHostNode","Text","processText","processCommentNode","Static","mountStaticNode","processFragment","processElement","processComponent","process","internals","moveStaticNode","removeStaticNode","mountElement","patchElement","vnodeHook","is","mountChildren","scopeId","unmountChildren","onVnodeBeforeMount","invokeVNodeHook","needCallTransitionHooks","needTransition","onVnodeMounted","parentVNode","cloneIfMounted","oldProps","newProps","toggleRecurse","onVnodeBeforeUpdate","areChildrenSVG","patchBlockChildren","patchChildren","patchProps","class","style","onVnodeUpdated","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","traverseStaticChildren","activate","mountComponent","updateComponent","initialVNode","createComponentInstance","renderer","setupComponent","asyncDep","registerDep","setupRenderEffect","placeholder","asyncResolved","updateComponentPreRender","componentUpdateFn","bu","u","originNext","nextTree","prevTree","bm","isAsyncWrapperVNode","hydrateNode","hydrateSubTree","scopedInitialVNode","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","commonLength","Math","min","nextChild","parentAnchor","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","j","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","move","moveType","needTransition2","remove2","performLeave","doRemove","deactivate","shouldInvokeDirs","shouldInvokeVnodeHook","onVnodeBeforeUnmount","unmountComponent","onVnodeUnmounted","removeFragment","performRemove","bum","um","suspenseId","pendingId","_vnode","mt","mc","pc","pbc","o","createApp","allowed","ch1","ch2","len","arrI","isTeleport","__isTeleport","currentBlock","openBlock","disableTracking","closeBlock","isBlockTreeEnabled","setupBlock","createElementBlock","createBaseVNode","createBlock","isVNode","__v_isVNode","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","__v_skip","targetAnchor","staticCount","normalizeChildren","normalize","_createVNode","cloned","isClassComponent","__vccOpts","guardReactiveProps","klass","extraProps","mergeRef","mergedProps","mergeProps","createTextVNode","text","flag","createStaticVNode","content","numberOfNodes","createCommentVNode","asBlock","memo","slot","slotFlag","toMerge","incoming","emptyAppContext","exposeProxy","setupContext","attrsProxy","slotsProxy","bc","da","rtg","rtc","sp","internalSetCurrentInstance","globalCurrentInstanceSetters","settersKey","compile","installWithProxy","setupResult","setupStatefulComponent","createSetupContext","resolvedResult","handleSetupResult","e","finishComponentSetup","__ssrInlineRender","ssrRender","skipOptions","template","isCustomElement","delimiters","componentCompilerOptions","finalCompilerOptions","getAttrsProxy","includeInferred","displayName","__name","propsOrChildren","prototype","ssrContextKey","svgNS","doc","document","templateContainer","nodeOps","insertBefore","removeChild","tag","createElementNS","multiple","setAttribute","createTextNode","node","nodeValue","textContent","querySelector","selector","before","previousSibling","lastChild","cloneNode","innerHTML","wrapper","firstChild","appendChild","TRANSITION","ANIMATION","vtcKey","Transition","resolveTransitionProps","DOMTransitionPropsValidators","css","duration","enterFromClass","enterActiveClass","enterToClass","appearFromClass","appearActiveClass","appearToClass","leaveFromClass","leaveActiveClass","leaveToClass","TransitionPropsValidators","h2","hasExplicitCallback","baseProps","durations","normalizeDuration","enterDuration","leaveDuration","finishEnter","isAppear","removeTransitionClass","finishLeave","_isLeaving","makeEnterHook","nextFrame","addTransitionClass","whenTransitionEnds","forceReflow","NumberOf","cls","classList","_vtc","requestAnimationFrame","endId","expectedType","explicitTimeout","_endId","resolveIfNotStale","propCount","getTransitionInfo","endEvent","ended","removeEventListener","onEnd","addEventListener","styles","window","getComputedStyle","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","max","hasTransform","delays","d","toMs","body","offsetHeight","patchClass","transitionClasses","join","removeAttribute","className","vShowOldKey","vShow","display","setDisplay","CSS_VAR_TEXT","patchStyle","isCssString","setStyle","currentDisplay","cssVarText","cssText","importantRE","setProperty","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","removeAttributeNS","setAttributeNS","isBoolean","patchDOMProp","tagName","getAttribute","needRemove","veiKey","patchEvent","prevValue","nextValue","invokers","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","cachedNow","getNow","Date","now","initialValue","_vts","attached","patchStopImmediatePropagation","originalStop","stopImmediatePropagation","_stopped","isNativeOn","charCodeAt","shouldSetAsProp","_trueValue","_falseValue","defineCustomElement","hydrate2","Comp","VueCustomElement","VueElement","initialProps","def","BaseClass","HTMLElement","_def","_connected","_resolved","_numberProps","_ob","shadowRoot","attachShadow","_resolveProps","connectedCallback","_update","_resolveDef","disconnectedCallback","disconnect","attributes","_setAttr","MutationObserver","mutations","attributeName","observe","isAsync","numberProps","_applyStyles","asyncDef","declaredPropKeys","_setProp","_getProp","shouldReflect","shouldUpdate","isCE","dispatch","dispatchEvent","CustomEvent","detail","host","positionMap","newPositionMap","moveCbKey","TransitionGroupImpl","moveClass","hasCSSTransform","callPendingCbs","recordPosition","movedChildren","applyTranslation","transform","webkitTransform","transitionDuration","propertyName","cssTransitionProps","getBoundingClientRect","oldPos","newPos","dx","left","dy","top","nodeType","getModelAssigner","onCompositionStart","composing","onCompositionEnd","Event","assignKey","vModelText","lazy","castToNumber","domValue","elValue","activeElement","vModelCheckbox","modelValue","_modelValue","elementValue","getValue","checked","assign","found","filtered","getCheckboxValue","setChecked","keyNames","esc","space","up","right","down","withKeys","_withKeys","cacheKey","eventKey","rendererOptions","ensureRenderer","containerOrSelector","normalizeContainer","SVGElement","Element","makeMap","str","expectsLowerCase","list","EMPTY_OBJ","EMPTY_ARR","NOOP","isOn","extend","hasOwn","isArray","isMap","toTypeString","isSet","isDate","isRegExp","isFunction","isString","isSymbol","isObject","isPromise","objectToString","toRawType","isPlainObject","isIntegerKey","parseInt","isReservedProp","cacheStringFunction","hit","camelizeRE","camelize","toUpperCase","hyphenateRE","hyphenate","capitalize","charAt","toHandlerKey","hasChanged","invokeArrayFns","fns","looseToNumber","parseFloat","isNaN","toNumber","NaN","_globalThis","getGlobalThis","globalThis","g","GLOBALS_ALLOWED","isGloballyAllowed","normalizeStyle","parseStringStyle","listDelimiterRE","propertyDelimiterRE","styleCommentRE","tmp","normalizeClass","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","looseCompareArrays","equal","looseEqual","aValidType","bValidType","getTime","aKeysCount","bKeysCount","aHasKey","bHasKey","looseIndexOf","toDisplayString","JSON","stringify","replacer","_key","entries","val2","stringifySymbol","description","isCallable","tryToString","$TypeError","TypeError","module","exports","argument","$String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","fromIndex","O","DESCRIPTORS","getOwnPropertyDescriptor","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","writable","uncurryThis","stringSlice","it","getOwnPropertyDescriptorModule","definePropertyModule","exceptions","createPropertyDescriptor","object","bitmap","makeBuiltIn","defineGlobalProperty","simple","global","unsafe","nonConfigurable","nonWritable","fails","documentAll","all","IS_HTMLDDA","EXISTS","MAX_SAFE_INTEGER","navigator","userAgent","Deno","versions","v8","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","FORCED","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","sham","exec","NATIVE_BIND","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","aFunction","namespace","aCallable","isNullOrUndefined","V","P","func","check","toObject","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","enforce","getterFor","TYPE","metadata","facade","STATE","$documentAll","replacement","feature","detection","POLYFILL","NATIVE","string","getBuiltIn","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","floor","trunc","x","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","propertyIsEnumerableModule","internalObjectKeys","enumBugKeys","getOwnPropertySymbols","names","$propertyIsEnumerable","NASHORN_BUG","input","pref","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","SHARED","IS_PURE","copyright","license","V8_VERSION","symbol","toIntegerOrInfinity","integer","IndexedObject","requireObjectCoercible","getMethod","ordinaryToPrimitive","wellKnownSymbol","TO_PRIMITIVE","exoticToPrim","toPrimitive","postfix","random","NATIVE_SYMBOL","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","properErrorOnNonWritableLength","argCount","isff","addEvent","useCapture","attachEvent","getMods","modifier","mods","getKeys","lastIndexOf","compareArray","a1","a2","arr1","arr2","isIndex","_keyMap","backspace","tab","return","escape","del","ins","home","pageup","pagedown","capslock","num_0","num_1","num_2","num_3","num_4","num_5","num_6","num_7","num_8","num_9","num_multiply","num_add","num_enter","num_subtract","num_decimal","num_divide","_modifier","shift","alt","option","ctrl","control","cmd","command","modifierMap","shiftKey","ctrlKey","altKey","metaKey","_mods","_handlers","_downKeys","winListendFocus","_scope","elementHasBindEvent","code","getKey","find","getModifier","setScope","getScope","getPressedKeyCodes","getPressedKeyString","fromCharCode","srcElement","isContentEditable","readOnly","isPressed","keyCode","deleteScope","newScope","handlers","clearModifier","which","charCode","hotkeys","unbind","keysInfo","info","eachUnbind","_len","splitKey","_ref","_ref$splitKey","multipleKeys","originKey","unbindKeys","lastKey","record","isMatchingMethod","eventHandler","element","modifiersMatch","y","shortcut","preventDefault","returnValue","stopPropagation","cancelBubble","asterisk","keyName","keyNum","getModifierState","keydown","keyup","_i","keyShortcut","_downKeysCurrent","isElementBind","capture","dataList","_api","keyMap","_hotkeys","noConflict","required","isMacLike","platform","hotkey","update_hotkey","new_hotkey","old_hotkey","hotkey_fn","click","disabled","sfc","item_idx","get_component","is_open","menu_open","toggle_menu","$event","button_class","title","icon","get_emoji","emoji","html","chevron","menu","menu_class","menu_id","width","menu_width","height","menu_height","BarMenu","is_menu","open","emoji_name","__exports__","mousedown_handler","css_color","stay_open","color","styleInject","insertAt","head","getElementsByTagName","styleSheet","prefix","componentPrefix","_checkboardCache","script","white","grey","bgStyle","getCheckboard","renderCheckboard","canvas","getContext","fillStyle","fillRect","translate","toDataURL","checkboard","_cache","$setup","css_248z","__file","Checkboard","onChange","colors","gradientColor","rgba","rgbStr","handleChange","skip","containerWidth","clientWidth","xOffset","pageXOffset","pageX","touches","round","hsl","handleMouseDown","handleMouseUp","unbindEventListeners","_component_Checkboard","background","onMousedown","onTouchmove","onTouchstart","bound01","isOnePointZero","isPercent","isPercentage","abs","clamp01","boundAlpha","convertToPercentage","rgbToRgb","rgbToHsl","hue2rgb","q","hslToRgb","rgbToHsv","hsvToRgb","mod","rgbToHex","allow3Char","hex","rgbaToHex","allow4Char","convertDecimalToHex","convertHexToDecimal","parseIntFromHex","numberInputToObject","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","goldenrod","gold","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavenderblush","lavender","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellow","yellowgreen","inputToRGB","rgb","ok","format","stringInputToObject","isValidCSSUnit","substr","CSS_INTEGER","CSS_NUMBER","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","matchers","hsla","hsv","hsva","hex3","hex6","hex4","hex8","named","TinyColor","opts","originalInput","roundA","gradientType","isValid","isDark","getBrightness","isLight","toRgb","getLuminance","R","G","B","RsRGB","GsRGB","BsRGB","pow","getAlpha","setAlpha","alpha","isMonochrome","toHsl","toHsv","toHsvString","toHslString","toHex","toHexString","toHex8","toHex8String","toHexShortString","allowShortChar","toRgbString","toPercentageRgb","fmt","toPercentageRgbString","rnd","toName","_b","formatSet","formattedString","hasAlpha","needsAlphaFormat","lighten","amount","brighten","darken","tint","mix","shade","desaturate","saturate","greyscale","spin","hue","rgb1","rgb2","analogous","results","slices","part","complement","monochromatic","modification","splitcomplement","onBackground","fg","bg","triad","polyad","tetrad","increment","equals","_colorChange","oldHue","colorMixin","model","colorChange","isValidHex","simpleCheckForValidColor","keysToCheck","passed","letter","paletteUpperCase","palette","isTransparent","label","labelText","desc","arrowOffset","labelId","labelSpanText","handleKeyDown","onKeydown","onInput","clamp","bgColor","pointerTop","pointerLeft","containerHeight","clientHeight","yOffset","pageYOffset","pageY","saturation","bright","param","direction","pullDirection","directionClass","oldVal","percent","role","Saturation","Hue","Alpha","EdIn","disableAlpha","disableFields","fieldsIndex","highlight","toFixed","activeColor","childChange","inputChange","toggleViews","showHighlight","hideHighlight","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_component_Saturation","_component_Hue","_component_Alpha","_component_EdIn","onClick","viewBox","onMouseover","onMouseenter","onMouseout","defaultColors","pick","handlerClick","borderColor","hasResetButton","acceptLabel","cancelLabel","resetLabel","newLabel","currentLabel","currentColor","clickCurrentColor","handleAccept","handleCancel","handleReset","presetColors","handlePreset","DEFAULT_SATURATION","swatches","normalizedSwatches","swatch","isActive","hueChange","handleSwClick","deepPurple","lightBlue","lightGreen","amber","deepOrange","blueGrey","darkText","lightText","darkIcons","lightIcons","colorMap","colorLevel","typeColor","level","group","$idx","tabindex","onKeyup","EditableInput","triangle","validator","_component_EditableInput","boxShadow","BarButtonGeneric","acc","item_color","_prevent_next_color_update","new_color","update_color","BarButtonColor","BarSeparator","BarSpacer","clickaway","contains","touch","sourceCapabilities","firesTouchEvents","_el","custom_chevron","composedPath","BarMenuItem","BarMenuSeparator"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/js/chunk-vendors.5945ee75.js b/docs/js/chunk-vendors.5945ee75.js deleted file mode 100644 index f13010c..0000000 --- a/docs/js/chunk-vendors.5945ee75.js +++ /dev/null @@ -1,11 +0,0 @@ -(self["webpackChunkvue_document_editor"]=self["webpackChunkvue_document_editor"]||[]).push([[998],{2262:function(e,t,n){"use strict";n.d(t,{Bj:function(){return a},Fl:function(){return Ue},IU:function(){return Me},Jd:function(){return C},PG:function(){return Fe},Um:function(){return ke},WL:function(){return Be},X$:function(){return A},X3:function(){return Ee},Xl:function(){return De},dq:function(){return Pe},iH:function(){return He},j:function(){return F},lk:function(){return S},nZ:function(){return s},qj:function(){return xe},qq:function(){return w},yT:function(){return Ae}});var r=n(3577);let o;class a{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},c=e=>(e.w&g)>0,u=e=>(e.n&g)>0,h=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===n||n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(s.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&c.push(s.get("length")):(c.push(s.get(b)),(0,r._N)(e)&&c.push(s.get(v)));break;case"delete":(0,r.kJ)(e)||(c.push(s.get(b)),(0,r._N)(e)&&c.push(s.get(v)));break;case"set":(0,r._N)(e)&&c.push(s.get(b));break}if(1===c.length)c[0]&&E(c[0]);else{const e=[];for(const t of c)t&&e.push(...t);E(l(e))}}function E(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const r of n)r.computed&&M(r,t);for(const r of n)r.computed||M(r,t)}function M(e,t){(e!==_||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const D=(0,r.fY)("__proto__,__v_isRef,__isVue"),O=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),L=z(),T=z(!1,!0),R=z(!0),P=H();function H(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Me(this);for(let t=0,o=this.length;t{e[t]=function(...e){C();const n=Me(this)[t].apply(this,e);return S(),n}})),e}function I(e){const t=Me(this);return F(t,"has",e),t.hasOwnProperty(e)}function z(e=!1,t=!1){return function(n,o,a){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&a===(e?t?ve:be:t?_e:me).get(n))return n;const i=(0,r.kJ)(n);if(!e){if(i&&(0,r.RI)(P,o))return Reflect.get(P,o,a);if("hasOwnProperty"===o)return I}const s=Reflect.get(n,o,a);return((0,r.yk)(o)?O.has(o):D(o))?s:(e||F(n,"get",o),t?s:Pe(s)?i&&(0,r.S0)(o)?s:s.value:(0,r.Kn)(s)?e?Ce(s):xe(s):s)}}const q=B(),$=B(!0);function B(e=!1){return function(t,n,o,a){let i=t[n];if(je(i)&&Pe(i)&&!Pe(o))return!1;if(!e&&(Ae(o)||je(o)||(i=Me(i),o=Me(o)),!(0,r.kJ)(t)&&Pe(i)&&!Pe(o)))return i.value=o,!0;const s=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)e,Y=e=>Reflect.getPrototypeOf(e);function Z(e,t,n=!1,r=!1){e=e["__v_raw"];const o=Me(e),a=Me(t);n||(t!==a&&F(o,"get",t),F(o,"get",a));const{has:i}=Y(o),s=r?G:n?Le:Oe;return i.call(o,t)?s(e.get(t)):i.call(o,a)?s(e.get(a)):void(e!==o&&e.get(t))}function X(e,t=!1){const n=this["__v_raw"],r=Me(n),o=Me(e);return t||(e!==o&&F(r,"has",e),F(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Q(e,t=!1){return e=e["__v_raw"],!t&&F(Me(e),"iterate",b),Reflect.get(e,"size",e)}function ee(e){e=Me(e);const t=Me(this),n=Y(t),r=n.has.call(t,e);return r||(t.add(e),A(t,"add",e,e)),this}function te(e,t){t=Me(t);const n=Me(this),{has:o,get:a}=Y(n);let i=o.call(n,e);i||(e=Me(e),i=o.call(n,e));const s=a.call(n,e);return n.set(e,t),i?(0,r.aU)(t,s)&&A(n,"set",e,t,s):A(n,"add",e,t),this}function ne(e){const t=Me(this),{has:n,get:r}=Y(t);let o=n.call(t,e);o||(e=Me(e),o=n.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return o&&A(t,"delete",e,void 0,a),i}function re(){const e=Me(this),t=0!==e.size,n=void 0,r=e.clear();return t&&A(e,"clear",void 0,void 0,n),r}function oe(e,t){return function(n,r){const o=this,a=o["__v_raw"],i=Me(a),s=t?G:e?Le:Oe;return!e&&F(i,"iterate",b),a.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}}function ae(e,t,n){return function(...o){const a=this["__v_raw"],i=Me(a),s=(0,r._N)(i),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=a[e](...o),h=n?G:t?Le:Oe;return!t&&F(i,"iterate",c?v:b),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[h(e[0]),h(e[1])]:h(e),done:t}},[Symbol.iterator](){return this}}}}function ie(e){return function(...t){return"delete"!==e&&this}}function se(){const e={get(e){return Z(this,e)},get size(){return Q(this)},has:X,add:ee,set:te,delete:ne,clear:re,forEach:oe(!1,!1)},t={get(e){return Z(this,e,!1,!0)},get size(){return Q(this)},has:X,add:ee,set:te,delete:ne,clear:re,forEach:oe(!1,!0)},n={get(e){return Z(this,e,!0)},get size(){return Q(this,!0)},has(e){return X.call(this,e,!0)},add:ie("add"),set:ie("set"),delete:ie("delete"),clear:ie("clear"),forEach:oe(!0,!1)},r={get(e){return Z(this,e,!0,!0)},get size(){return Q(this,!0)},has(e){return X.call(this,e,!0)},add:ie("add"),set:ie("set"),delete:ie("delete"),clear:ie("clear"),forEach:oe(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=ae(o,!1,!1),n[o]=ae(o,!0,!1),t[o]=ae(o,!1,!0),r[o]=ae(o,!0,!0)})),[e,n,t,r]}const[le,ce,ue,he]=se();function fe(e,t){const n=t?e?he:ue:e?ce:le;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.RI)(n,o)&&o in t?n:t,o,a)}const pe={get:fe(!1,!1)},de={get:fe(!1,!0)},ge={get:fe(!0,!1)};const me=new WeakMap,_e=new WeakMap,be=new WeakMap,ve=new WeakMap;function we(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ye(e){return e["__v_skip"]||!Object.isExtensible(e)?0:we((0,r.W7)(e))}function xe(e){return je(e)?e:Se(e,!1,K,pe,me)}function ke(e){return Se(e,!1,J,de,_e)}function Ce(e){return Se(e,!0,V,ge,be)}function Se(e,t,n,o,a){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=a.get(e);if(i)return i;const s=ye(e);if(0===s)return e;const l=new Proxy(e,2===s?o:n);return a.set(e,l),l}function Fe(e){return je(e)?Fe(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function je(e){return!(!e||!e["__v_isReadonly"])}function Ae(e){return!(!e||!e["__v_isShallow"])}function Ee(e){return Fe(e)||je(e)}function Me(e){const t=e&&e["__v_raw"];return t?Me(t):e}function De(e){return(0,r.Nj)(e,"__v_skip",!0),e}const Oe=e=>(0,r.Kn)(e)?xe(e):e,Le=e=>(0,r.Kn)(e)?Ce(e):e;function Te(e){x&&_&&(e=Me(e),j(e.dep||(e.dep=l())))}function Re(e,t){e=Me(e);const n=e.dep;n&&E(n)}function Pe(e){return!(!e||!0!==e.__v_isRef)}function He(e){return Ie(e,!1)}function Ie(e,t){return Pe(e)?e:new ze(e,t)}class ze{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Me(e),this._value=t?e:Oe(e)}get value(){return Te(this),this._value}set value(e){const t=this.__v_isShallow||Ae(e)||je(e);e=t?e:Me(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Oe(e),Re(this,e))}}function qe(e){return Pe(e)?e.value:e}const $e={get:(e,t,n)=>qe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Be(e){return Fe(e)?e:new Proxy(e,$e)}class Ne{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new w(e,(()=>{this._dirty||(this._dirty=!0,Re(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=Me(this);return Te(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ue(e,t,n=!1){let o,a;const i=(0,r.mf)(e);i?(o=e,a=r.dG):(o=e.get,a=e.set);const s=new Ne(o,a,i||!a,n);return s}},6252:function(e,t,n){"use strict";n.d(t,{$d:function(){return i},Cn:function(){return P},FN:function(){return yn},HY:function(){return zt},Ko:function(){return $e},LL:function(){return Ie},P$:function(){return oe},Q6:function(){return ue},RC:function(){return pe},U2:function(){return ie},Uk:function(){return cn},Us:function(){return Lt},Wm:function(){return on},Y3:function(){return b},Y8:function(){return ee},_:function(){return rn},aZ:function(){return he},dD:function(){return R},h:function(){return $n},iD:function(){return Yt},ic:function(){return Ae},j4:function(){return Zt},kq:function(){return hn},nJ:function(){return ne},nK:function(){return ce},uE:function(){return un},up:function(){return Pe},w5:function(){return H},wg:function(){return Wt},wy:function(){return X}});var r=n(2262),o=n(3577);function a(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){s(a,t,n)}return o}function i(e,t,n,r){if((0,o.mf)(e)){const i=a(e,t,n,r);return i&&(0,o.tI)(i)&&i.catch((e=>{s(e,t,n)})),i}const l=[];for(let o=0;o>>1,o=F(h[r]);of&&h.splice(t,1)}function k(e){(0,o.kJ)(e)?p.push(...e):d&&d.includes(e,e.allowRecurse?g+1:g)||p.push(e),y()}function C(e,t=(c?f+1:0)){for(0;tF(e)-F(t))),g=0;gnull==e.id?1/0:e.id,j=(e,t)=>{const n=F(e)-F(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function A(e){u=!1,c=!0,h.sort(j);o.dG;try{for(f=0;f(0,o.HD)(e)?e.trim():e))),t&&(a=n.map(o.h5))}let c;let u=r[c=(0,o.hR)(t)]||r[c=(0,o.hR)((0,o._A)(t))];!u&&s&&(u=r[c=(0,o.hR)((0,o.rs)(t))]),u&&i(u,e,6,a);const h=r[c+"Once"];if(h){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,i(h,e,6,a)}}function M(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(void 0!==a)return a;const i=e.emits;let s={},l=!1;if(!(0,o.mf)(e)){const r=e=>{const n=M(e,t,!0);n&&(l=!0,(0,o.l7)(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||l?((0,o.kJ)(i)?i.forEach((e=>s[e]=null)):(0,o.l7)(s,i),(0,o.Kn)(e)&&r.set(e,s),s):((0,o.Kn)(e)&&r.set(e,null),null)}function D(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}let O=null,L=null;function T(e){const t=O;return O=e,L=e&&e.type.__scopeId||null,t}function R(e){L=e}function P(){L=null}function H(e,t=O,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Jt(-1);const o=T(t);let a;try{a=e(...n)}finally{T(o),r._d&&Jt(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function I(e){const{type:t,vnode:n,proxy:r,withProxy:a,props:i,propsOptions:[l],slots:c,attrs:u,emit:h,render:f,renderCache:p,data:d,setupState:g,ctx:m,inheritAttrs:_}=e;let b,v;const w=T(e);try{if(4&n.shapeFlag){const e=a||r;b=fn(f.call(e,e,p,i,g,d,m)),v=u}else{const e=t;0,b=fn(e.length>1?e(i,{attrs:u,slots:c,emit:h}):e(i,null)),v=t.props?u:z(u)}}catch(x){Nt.length=0,s(x,e,1),b=on($t)}let y=b;if(v&&!1!==_){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(l&&e.some(o.tR)&&(v=q(v,l)),y=ln(y,v))}return n.dirs&&(y=ln(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,T(w),b}const z=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},q=(e,t)=>{const n={};for(const r in e)(0,o.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function $(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==i&&(r?!i||B(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?B(r,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function W(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):k(e)}const K={};function V(e,t,n){return J(e,t,n)}function J(e,t,{immediate:n,deep:s,flush:l,onTrack:c,onTrigger:u}=o.kT){var h;const f=(0,r.nZ)()===(null==(h=wn)?void 0:h.scope)?wn:null;let p,d,g=!1,m=!1;if((0,r.dq)(e)?(p=()=>e.value,g=(0,r.yT)(e)):(0,r.PG)(e)?(p=()=>e,s=!0):(0,o.kJ)(e)?(m=!0,g=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),p=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?Z(e):(0,o.mf)(e)?a(e,f,2):void 0))):p=(0,o.mf)(e)?t?()=>a(e,f,2):()=>{if(!f||!f.isUnmounted)return d&&d(),i(e,f,3,[b])}:o.dG,t&&s){const e=p;p=()=>Z(e())}let _,b=e=>{d=k.onStop=()=>{a(e,f,4)}};if(Mn){if(b=o.dG,t?n&&i(t,f,3,[p(),m?[]:void 0,b]):p(),"sync"!==l)return o.dG;{const e=Nn();_=e.__watcherHandles||(e.__watcherHandles=[])}}let v=m?new Array(e.length).fill(K):K;const y=()=>{if(k.active)if(t){const e=k.run();(s||g||(m?e.some(((e,t)=>(0,o.aU)(e,v[t]))):(0,o.aU)(e,v)))&&(d&&d(),i(t,f,3,[e,v===K?void 0:m&&v[0]===K?[]:v,b]),v=e)}else k.run()};let x;y.allowRecurse=!!t,"sync"===l?x=y:"post"===l?x=()=>Ot(y,f&&f.suspense):(y.pre=!0,f&&(y.id=f.uid),x=()=>w(y));const k=new r.qq(p,x);t?n?y():v=k.run():"post"===l?Ot(k.run.bind(k),f&&f.suspense):k.run();const C=()=>{k.stop(),f&&f.scope&&(0,o.Od)(f.scope.effects,k)};return _&&_.push(C),C}function G(e,t,n){const r=this.proxy,a=(0,o.HD)(e)?e.includes(".")?Y(r,e):()=>r[e]:e.bind(r,r);let i;(0,o.mf)(t)?i=t:(i=t.handler,n=t);const s=wn;Sn(this);const l=J(a,i.bind(r),n);return s?Sn(s):Fn(),l}function Y(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Z(e,t)}));else if((0,o.PO)(e))for(const n in e)Z(e[n],t);return e}function X(e,t){const n=O;if(null===n)return e;const r=Hn(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Ee((()=>{e.isUnmounting=!0})),e}const te=[Function,Array],ne={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:te,onEnter:te,onAfterEnter:te,onEnterCancelled:te,onBeforeLeave:te,onLeave:te,onAfterLeave:te,onLeaveCancelled:te,onBeforeAppear:te,onAppear:te,onAfterAppear:te,onAppearCancelled:te},re={name:"BaseTransition",props:ne,setup(e,{slots:t}){const n=yn(),o=ee();let a;return()=>{const i=t.default&&ue(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==$t){0,s=t,e=!0;break}}const l=(0,r.IU)(e),{mode:c}=l;if(o.isLeaving)return se(s);const u=le(s);if(!u)return se(s);const h=ie(u,l,o,n);ce(u,h);const f=n.subTree,p=f&&le(f);let d=!1;const{getTransitionKey:g}=u.type;if(g){const e=g();void 0===a?a=e:e!==a&&(a=e,d=!0)}if(p&&p.type!==$t&&(!Qt(u,p)||d)){const e=ie(p,l,o,n);if(ce(p,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},se(s);"in-out"===c&&u.type!==$t&&(e.delayLeave=(e,t,n)=>{const r=ae(o,p);r[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=n})}return s}}},oe=re;function ae(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ie(e,t,n,r){const{appear:a,mode:s,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:h,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:v,onAppearCancelled:w}=t,y=String(e.key),x=ae(n,e),k=(e,t)=>{e&&i(e,r,9,t)},C=(e,t)=>{const n=t[1];k(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:s,persisted:l,beforeEnter(t){let r=c;if(!n.isMounted){if(!a)return;r=_||c}t._leaveCb&&t._leaveCb(!0);const o=x[y];o&&Qt(e,o)&&o.el._leaveCb&&o.el._leaveCb(),k(r,[t])},enter(e){let t=u,r=h,o=f;if(!n.isMounted){if(!a)return;t=b||u,r=v||h,o=w||f}let i=!1;const s=e._enterCb=t=>{i||(i=!0,k(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?C(t,[e,s]):s()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();k(p,[t]);let a=!1;const i=t._leaveCb=n=>{a||(a=!0,r(),k(n?m:g,[t]),t._leaveCb=void 0,x[o]===e&&delete x[o])};x[o]=e,d?C(d,[t,i]):i()},clone(e){return ie(e,t,n,r)}};return S}function se(e){if(ge(e))return e=ln(e),e.children=null,e}function le(e){return ge(e)?e.children?e.children[0]:void 0:e}function ce(e,t){6&e.shapeFlag&&e.component?ce(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ue(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;a(0,o.l7)({name:e.name},t,{setup:e}))():e}const fe=e=>!!e.type.__asyncLoader;function pe(e){(0,o.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:a,delay:i=200,timeout:l,suspensible:c=!0,onError:u}=e;let h,f=null,p=0;const d=()=>(p++,f=null,g()),g=()=>{let e;return f||(e=f=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((t,n)=>{const r=()=>t(d()),o=()=>n(e);u(e,r,o,p+1)}));throw e})).then((t=>e!==f&&f?f:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),h=t,t))))};return he({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return h},setup(){const e=wn;if(h)return()=>de(h,e);const t=t=>{f=null,s(t,e,13,!a)};if(c&&e.suspense||Mn)return g().then((t=>()=>de(t,e))).catch((e=>(t(e),()=>a?on(a,{error:e}):null)));const o=(0,r.iH)(!1),u=(0,r.iH)(),p=(0,r.iH)(!!i);return i&&setTimeout((()=>{p.value=!1}),i),null!=l&&setTimeout((()=>{if(!o.value&&!u.value){const e=new Error(`Async component timed out after ${l}ms.`);t(e),u.value=e}}),l),g().then((()=>{o.value=!0,e.parent&&ge(e.parent.vnode)&&w(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>o.value&&h?de(h,e):u.value&&a?on(a,{error:u.value}):n&&!p.value?on(n):void 0}})}function de(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=on(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const ge=e=>e.type.__isKeepAlive;RegExp,RegExp;function me(e,t){return(0,o.kJ)(e)?e.some((e=>me(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!(0,o.Kj)(e)&&e.test(t)}function _e(e,t){ve(e,"a",t)}function be(e,t){ve(e,"da",t)}function ve(e,t,n=wn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(ke(t,r,n),n){let e=n.parent;while(e&&e.parent)ge(e.parent.vnode)&&we(r,t,n,e),e=e.parent}}function we(e,t,n,r){const a=ke(t,e,r,!0);Me((()=>{(0,o.Od)(r[t],a)}),n)}function ye(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xe(e){return 128&e.shapeFlag?e.ssContent:e}function ke(e,t,n=wn,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),Sn(n);const a=i(t,n,e,o);return Fn(),(0,r.lk)(),a});return o?a.unshift(s):a.push(s),s}}const Ce=e=>(t,n=wn)=>(!Mn||"sp"===e)&&ke(e,((...e)=>t(...e)),n),Se=Ce("bm"),Fe=Ce("m"),je=Ce("bu"),Ae=Ce("u"),Ee=Ce("bum"),Me=Ce("um"),De=Ce("sp"),Oe=Ce("rtg"),Le=Ce("rtc");function Te(e,t=wn){ke("ec",e,t)}const Re="components";function Pe(e,t){return ze(Re,e,!0,t)||e}const He=Symbol.for("v-ndc");function Ie(e){return(0,o.HD)(e)?ze(Re,e,!1)||e:e||He}function ze(e,t,n=!0,r=!1){const a=O||wn;if(a){const n=a.type;if(e===Re){const e=In(n,!1);if(e&&(e===t||e===(0,o._A)(t)||e===(0,o.kC)((0,o._A)(t))))return n}const i=qe(a[e]||n[e],t)||qe(a.appContext[e],t);return!i&&r?n:i}}function qe(e,t){return e&&(e[t]||e[(0,o._A)(t)]||e[(0,o.kC)((0,o._A)(t))])}function $e(e,t,n,r){let a;const i=n&&n[r];if((0,o.kJ)(e)||(0,o.HD)(e)){a=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);a=new Array(n.length);for(let r=0,o=n.length;re?jn(e)?Hn(e)||e.proxy:Be(e.parent):null,Ne=(0,o.l7)(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=>Be(e.parent),$root:e=>Be(e.root),$emit:e=>e.emit,$options:e=>Xe(e),$forceUpdate:e=>e.f||(e.f=()=>w(e.update)),$nextTick:e=>e.n||(e.n=b.bind(e.proxy)),$watch:e=>G.bind(e)}),Ue=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),We={get({_:e},t){const{ctx:n,setupState:a,data:i,props:s,accessCache:l,type:c,appContext:u}=e;let h;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return a[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Ue(a,t))return l[t]=1,a[t];if(i!==o.kT&&(0,o.RI)(i,t))return l[t]=2,i[t];if((h=e.propsOptions[0])&&(0,o.RI)(h,t))return l[t]=3,s[t];if(n!==o.kT&&(0,o.RI)(n,t))return l[t]=4,n[t];Ve&&(l[t]=0)}}const f=Ne[t];let p,d;return f?("$attrs"===t&&(0,r.j)(e,"get",t),f(e)):(p=c.__cssModules)&&(p=p[t])?p:n!==o.kT&&(0,o.RI)(n,t)?(l[t]=4,n[t]):(d=u.config.globalProperties,(0,o.RI)(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:r,setupState:a,ctx:i}=e;return Ue(a,t)?(a[t]=n,!0):r!==o.kT&&(0,o.RI)(r,t)?(r[t]=n,!0):!(0,o.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:i}},s){let l;return!!n[s]||e!==o.kT&&(0,o.RI)(e,s)||Ue(t,s)||(l=i[0])&&(0,o.RI)(l,s)||(0,o.RI)(r,s)||(0,o.RI)(Ne,s)||(0,o.RI)(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ke(e){return(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Ve=!0;function Je(e){const t=Xe(e),n=e.proxy,a=e.ctx;Ve=!1,t.beforeCreate&&Ye(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:l,watch:c,provide:u,inject:h,created:f,beforeMount:p,mounted:d,beforeUpdate:g,updated:m,activated:_,deactivated:b,beforeDestroy:v,beforeUnmount:w,destroyed:y,unmounted:x,render:k,renderTracked:C,renderTriggered:S,errorCaptured:F,serverPrefetch:j,expose:A,inheritAttrs:E,components:M,directives:D,filters:O}=t,L=null;if(h&&Ge(h,a,L),l)for(const r in l){const e=l[r];(0,o.mf)(e)&&(a[r]=e.bind(n))}if(i){0;const t=i.call(n,n);0,(0,o.Kn)(t)&&(e.data=(0,r.qj)(t))}if(Ve=!0,s)for(const r in s){const e=s[r],t=(0,o.mf)(e)?e.bind(n,n):(0,o.mf)(e.get)?e.get.bind(n,n):o.dG;0;const i=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(n):o.dG,l=qn({get:t,set:i});Object.defineProperty(a,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const r in c)Ze(c[r],a,n,r);if(u){const e=(0,o.mf)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{ft(t,e[t])}))}function T(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&Ye(f,e,"c"),T(Se,p),T(Fe,d),T(je,g),T(Ae,m),T(_e,_),T(be,b),T(Te,F),T(Le,C),T(Oe,S),T(Ee,w),T(Me,x),T(De,j),(0,o.kJ)(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===o.dG&&(e.render=k),null!=E&&(e.inheritAttrs=E),M&&(e.components=M),D&&(e.directives=D)}function Ge(e,t,n=o.dG){(0,o.kJ)(e)&&(e=rt(e));for(const a in e){const n=e[a];let i;i=(0,o.Kn)(n)?"default"in n?pt(n.from||a,n.default,!0):pt(n.from||a):pt(n),(0,r.dq)(i)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[a]=i}}function Ye(e,t,n){i((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ze(e,t,n,r){const a=r.includes(".")?Y(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&V(a,n)}else if((0,o.mf)(e))V(a,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>Ze(e,t,n,r)));else{const r=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(r)&&V(a,r,e)}else 0}function Xe(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let c;return l?c=l:a.length||n||r?(c={},a.length&&a.forEach((e=>Qe(c,e,s,!0))),Qe(c,t,s)):c=t,(0,o.Kn)(t)&&i.set(t,c),c}function Qe(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&Qe(e,a,n,!0),o&&o.forEach((t=>Qe(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else{const r=et[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const et={data:tt,props:it,emits:it,methods:at,computed:at,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:at,directives:at,watch:st,provide:tt,inject:nt};function tt(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function nt(e,t){return at(rt(e),rt(t))}function rt(e){if((0,o.kJ)(e)){const t={};for(let n=0;n1)return n&&(0,o.mf)(t)?t.call(r&&r.proxy):t}else 0}function dt(e,t,n,a=!1){const i={},s={};(0,o.Nj)(s,en,1),e.propsDefaults=Object.create(null),mt(e,t,i,s);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=a?i:(0,r.Um)(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function gt(e,t,n,a){const{props:i,attrs:s,vnode:{patchFlag:l}}=e,c=(0,r.IU)(i),[u]=e.propsOptions;let h=!1;if(!(a||l>0)||16&l){let r;mt(e,t,i,s)&&(h=!0);for(const a in c)t&&((0,o.RI)(t,a)||(r=(0,o.rs)(a))!==a&&(0,o.RI)(t,r))||(u?!n||void 0===n[a]&&void 0===n[r]||(i[a]=_t(u,c,a,void 0,e,!0)):delete i[a]);if(s!==c)for(const e in s)t&&(0,o.RI)(t,e)||(delete s[e],h=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r{c=!0;const[n,r]=bt(e,t,!0);(0,o.l7)(s,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!c)return(0,o.Kn)(e)&&r.set(e,o.Z6),o.Z6;if((0,o.kJ)(i))for(let h=0;h-1,r[1]=n<0||e-1||(0,o.RI)(r,"default"))&&l.push(t)}}}}const u=[s,l];return(0,o.Kn)(e)&&r.set(e,u),u}function vt(e){return"$"!==e[0]}function wt(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function yt(e,t){return wt(e)===wt(t)}function xt(e,t){return(0,o.kJ)(t)?t.findIndex((t=>yt(t,e))):(0,o.mf)(t)&&yt(t,e)?0:-1}const kt=e=>"_"===e[0]||"$stable"===e,Ct=e=>(0,o.kJ)(e)?e.map(fn):[fn(e)],St=(e,t,n)=>{if(t._n)return t;const r=H(((...e)=>Ct(t(...e))),n);return r._c=!1,r},Ft=(e,t,n)=>{const r=e._ctx;for(const a in e){if(kt(a))continue;const n=e[a];if((0,o.mf)(n))t[a]=St(a,n,r);else if(null!=n){0;const e=Ct(n);t[a]=()=>e}}},jt=(e,t)=>{const n=Ct(t);e.slots.default=()=>n},At=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,o.Nj)(t,"_",n)):Ft(t,e.slots={})}else e.slots={},t&&jt(e,t);(0,o.Nj)(e.slots,en,1)},Et=(e,t,n)=>{const{vnode:r,slots:a}=e;let i=!0,s=o.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:((0,o.l7)(a,t),n||1!==e||delete a._):(i=!t.$stable,Ft(t,a)),s=t}else t&&(jt(e,t),s={default:1});if(i)for(const o in a)kt(o)||o in s||delete a[o]};function Mt(e,t,n,i,s=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>Mt(e,t&&((0,o.kJ)(t)?t[r]:t),n,i,s)));if(fe(i)&&!s)return;const l=4&i.shapeFlag?Hn(i.component)||i.component.proxy:i.el,c=s?null:l,{i:u,r:h}=e;const f=t&&t.r,p=u.refs===o.kT?u.refs={}:u.refs,d=u.setupState;if(null!=f&&f!==h&&((0,o.HD)(f)?(p[f]=null,(0,o.RI)(d,f)&&(d[f]=null)):(0,r.dq)(f)&&(f.value=null)),(0,o.mf)(h))a(h,u,12,[c,p]);else{const t=(0,o.HD)(h),a=(0,r.dq)(h);if(t||a){const r=()=>{if(e.f){const n=t?(0,o.RI)(d,h)?d[h]:p[h]:h.value;s?(0,o.kJ)(n)&&(0,o.Od)(n,l):(0,o.kJ)(n)?n.includes(l)||n.push(l):t?(p[h]=[l],(0,o.RI)(d,h)&&(d[h]=p[h])):(h.value=[l],e.k&&(p[e.k]=h.value))}else t?(p[h]=c,(0,o.RI)(d,h)&&(d[h]=c)):a&&(h.value=c,e.k&&(p[e.k]=c))};c?(r.id=-1,Ot(r,n)):r()}else 0}}function Dt(){}const Ot=W;function Lt(e){return Tt(e)}function Tt(e,t){Dt();const n=(0,o.E9)();n.__VUE__=!0;const{insert:a,remove:i,patchProp:s,createElement:l,createText:c,createComment:u,setText:h,setElementText:f,parentNode:p,nextSibling:d,setScopeId:g=o.dG,insertStaticContent:m}=e,_=(e,t,n,r=null,o=null,a=null,i=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Qt(e,t)&&(r=X(e),V(e,o,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=t;switch(c){case qt:b(e,t,n,r);break;case $t:v(e,t,n,r);break;case Bt:null==e&&y(t,n,r,i);break;case zt:T(e,t,n,r,o,a,i,s,l);break;default:1&h?j(e,t,n,r,o,a,i,s,l):6&h?R(e,t,n,r,o,a,i,s,l):(64&h||128&h)&&c.process(e,t,n,r,o,a,i,s,l,te)}null!=u&&o&&Mt(u,e&&e.ref,a,t||e,!t)},b=(e,t,n,r)=>{if(null==e)a(t.el=c(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},v=(e,t,n,r)=>{null==e?a(t.el=u(t.children||""),n,r):t.el=e.el},y=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t},n,r)=>{let o;while(e&&e!==t)o=d(e),a(e,n,r),e=o;a(t,n,r)},F=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=d(e),i(e),e=n;i(t)},j=(e,t,n,r,o,a,i,s,l)=>{i=i||"svg"===t.type,null==e?A(t,n,r,o,a,i,s,l):D(e,t,o,a,i,s,l)},A=(e,t,n,r,i,c,u,h)=>{let p,d;const{type:g,props:m,shapeFlag:_,transition:b,dirs:v}=e;if(p=e.el=l(e.type,c,m&&m.is,m),8&_?f(p,e.children):16&_&&M(e.children,p,null,r,i,c&&"foreignObject"!==g,u,h),v&&Q(e,null,r,"created"),E(p,e,e.scopeId,u,r),m){for(const t in m)"value"===t||(0,o.Gg)(t)||s(p,t,null,m[t],c,e.children,r,i,Z);"value"in m&&s(p,"value",null,m.value),(d=m.onVnodeBeforeMount)&&mn(d,r,e)}v&&Q(e,null,r,"beforeMount");const w=(!i||i&&!i.pendingBranch)&&b&&!b.persisted;w&&b.beforeEnter(p),a(p,t,n),((d=m&&m.onVnodeMounted)||w||v)&&Ot((()=>{d&&mn(d,r,e),w&&b.enter(p),v&&Q(e,null,r,"mounted")}),i)},E=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let a=0;a{for(let c=l;c{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:h,dirs:p}=t;u|=16&e.patchFlag;const d=e.props||o.kT,g=t.props||o.kT;let m;n&&Rt(n,!1),(m=g.onVnodeBeforeUpdate)&&mn(m,n,t,e),p&&Q(t,e,n,"beforeUpdate"),n&&Rt(n,!0);const _=a&&"foreignObject"!==t.type;if(h?O(e.dynamicChildren,h,c,n,r,_,i):l||B(e,t,c,null,n,r,_,i,!1),u>0){if(16&u)L(c,t,d,g,n,r,a);else if(2&u&&d.class!==g.class&&s(c,"class",null,g.class,a),4&u&&s(c,"style",d.style,g.style,a),8&u){const o=t.dynamicProps;for(let t=0;t{m&&mn(m,n,t,e),p&&Q(t,e,n,"updated")}),r)},O=(e,t,n,r,o,a,i)=>{for(let s=0;s{if(n!==r){if(n!==o.kT)for(const c in n)(0,o.Gg)(c)||c in r||s(e,c,n[c],null,l,t.children,a,i,Z);for(const c in r){if((0,o.Gg)(c))continue;const u=r[c],h=n[c];u!==h&&"value"!==c&&s(e,c,h,u,l,t.children,a,i,Z)}"value"in r&&s(e,"value",n.value,r.value)}},T=(e,t,n,r,o,i,s,l,u)=>{const h=t.el=e?e.el:c(""),f=t.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:d,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(a(h,n,r),a(f,n,r),M(t.children,n,f,o,i,s,l,u)):p>0&&64&p&&d&&e.dynamicChildren?(O(e.dynamicChildren,d,n,o,i,s,l),(null!=t.key||o&&t===o.subTree)&&Pt(e,t,!0)):B(e,t,n,f,o,i,s,l,u)},R=(e,t,n,r,o,a,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,l):P(t,n,r,o,a,i,l):H(e,t,l)},P=(e,t,n,r,o,a,i)=>{const s=e.component=vn(e,r,o);if(ge(e)&&(s.ctx.renderer=te),Dn(s),s.asyncDep){if(o&&o.registerDep(s,z),!e.el){const e=s.subTree=on($t);v(null,e,t,n)}}else z(s,e,t,n,o,a,i)},H=(e,t,n)=>{const r=t.component=e.component;if($(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void q(r,t,n);r.next=t,x(r.update),r.update()}else t.el=e.el,r.vnode=t},z=(e,t,n,a,i,s,l)=>{const c=()=>{if(e.isMounted){let t,{next:n,bu:r,u:a,parent:c,vnode:u}=e,h=n;0,Rt(e,!1),n?(n.el=u.el,q(e,n,l)):n=u,r&&(0,o.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&mn(t,c,n,u),Rt(e,!0);const f=I(e);0;const d=e.subTree;e.subTree=f,_(d,f,p(d.el),X(d),e,i,s),n.el=f.el,null===h&&N(e,f.el),a&&Ot(a,i),(t=n.props&&n.props.onVnodeUpdated)&&Ot((()=>mn(t,c,n,u)),i)}else{let r;const{el:l,props:c}=t,{bm:u,m:h,parent:f}=e,p=fe(t);if(Rt(e,!1),u&&(0,o.ir)(u),!p&&(r=c&&c.onVnodeBeforeMount)&&mn(r,f,t),Rt(e,!0),l&&re){const n=()=>{e.subTree=I(e),re(l,e.subTree,e,i,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=I(e);0,_(null,r,n,a,e,i,s),t.el=r.el}if(h&&Ot(h,i),!p&&(r=c&&c.onVnodeMounted)){const e=t;Ot((()=>mn(r,f,e)),i)}(256&t.shapeFlag||f&&fe(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Ot(e.a,i),e.isMounted=!0,t=n=a=null}},u=e.effect=new r.qq(c,(()=>w(h)),e.scope),h=e.update=()=>u.run();h.id=e.uid,Rt(e,!0),h()},q=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,gt(e,t.props,o,n),Et(e,t.children,n),(0,r.Jd)(),C(),(0,r.lk)()},B=(e,t,n,r,o,a,i,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,h=t.children,{patchFlag:p,shapeFlag:d}=t;if(p>0){if(128&p)return void W(c,h,n,r,o,a,i,s,l);if(256&p)return void U(c,h,n,r,o,a,i,s,l)}8&d?(16&u&&Z(c,o,a),h!==c&&f(n,h)):16&u?16&d?W(c,h,n,r,o,a,i,s,l):Z(c,o,a,!0):(8&u&&f(n,""),16&d&&M(h,n,r,o,a,i,s,l))},U=(e,t,n,r,a,i,s,l,c)=>{e=e||o.Z6,t=t||o.Z6;const u=e.length,h=t.length,f=Math.min(u,h);let p;for(p=0;ph?Z(e,a,i,!0,!1,f):M(t,n,r,a,i,s,l,c,f)},W=(e,t,n,r,a,i,s,l,c)=>{let u=0;const h=t.length;let f=e.length-1,p=h-1;while(u<=f&&u<=p){const r=e[u],o=t[u]=c?pn(t[u]):fn(t[u]);if(!Qt(r,o))break;_(r,o,n,null,a,i,s,l,c),u++}while(u<=f&&u<=p){const r=e[f],o=t[p]=c?pn(t[p]):fn(t[p]);if(!Qt(r,o))break;_(r,o,n,null,a,i,s,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,o=ep)while(u<=f)V(e[u],a,i,!0),u++;else{const d=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?pn(t[u]):fn(t[u]);null!=e.key&&m.set(e.key,u)}let b,v=0;const w=p-g+1;let y=!1,x=0;const k=new Array(w);for(u=0;u=w){V(r,a,i,!0);continue}let o;if(null!=r.key)o=m.get(r.key);else for(b=g;b<=p;b++)if(0===k[b-g]&&Qt(r,t[b])){o=b;break}void 0===o?V(r,a,i,!0):(k[o-g]=u+1,o>=x?x=o:y=!0,_(r,t[o],n,null,a,i,s,l,c),v++)}const C=y?Ht(k):o.Z6;for(b=C.length-1,u=w-1;u>=0;u--){const e=g+u,o=t[e],f=e+1{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,n,r);if(128&u)return void e.suspense.move(t,n,r);if(64&u)return void s.move(e,t,n,te);if(s===zt){a(i,t,n);for(let e=0;el.enter(i)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,s=()=>a(i,t,n),c=()=>{e(i,(()=>{s(),o&&o()}))};r?r(i,s,c):c()}else a(i,t,n)},V=(e,t,n,r=!1,o=!1)=>{const{type:a,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:f}=e;if(null!=s&&Mt(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,d=!fe(e);let g;if(d&&(g=i&&i.onVnodeBeforeUnmount)&&mn(g,t,e),6&u)Y(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&Q(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,te,r):c&&(a!==zt||h>0&&64&h)?Z(c,t,n,!1,!0):(a===zt&&384&h||!o&&16&u)&&Z(l,t,n),r&&J(e)}(d&&(g=i&&i.onVnodeUnmounted)||p)&&Ot((()=>{g&&mn(g,t,e),p&&Q(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===zt)return void G(n,r);if(t===Bt)return void F(e);const a=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,a);r?r(e.el,a,i):i()}else a()},G=(e,t)=>{let n;while(e!==t)n=d(e),i(e),e=n;i(t)},Y=(e,t,n)=>{const{bum:r,scope:a,update:i,subTree:s,um:l}=e;r&&(0,o.ir)(r),a.stop(),i&&(i.active=!1,V(s,e,t,n)),l&&Ot(l,t),Ot((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,r=!1,o=!1,a=0)=>{for(let i=a;i6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&V(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),C(),S(),t._vnode=e},te={p:_,um:V,m:K,r:J,mt:P,mc:M,pc:B,pbc:O,n:X,o:e};let ne,re;return t&&([ne,re]=t(te)),{render:ee,hydrate:ne,createApp:ut(ee,ne)}}function Rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Pt(e,t,n=!1){const r=e.children,a=t.children;if((0,o.kJ)(r)&&(0,o.kJ)(a))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}a=n.length,i=n[a-1];while(a-- >0)n[a]=i,i=t[i];return n}const It=e=>e.__isTeleport;const zt=Symbol.for("v-fgt"),qt=Symbol.for("v-txt"),$t=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),Nt=[];let Ut=null;function Wt(e=!1){Nt.push(Ut=e?null:[])}function Kt(){Nt.pop(),Ut=Nt[Nt.length-1]||null}let Vt=1;function Jt(e){Vt+=e}function Gt(e){return e.dynamicChildren=Vt>0?Ut||o.Z6:null,Kt(),Vt>0&&Ut&&Ut.push(e),e}function Yt(e,t,n,r,o,a){return Gt(rn(e,t,n,r,o,a,!0))}function Zt(e,t,n,r,o){return Gt(on(e,t,n,r,o,!0))}function Xt(e){return!!e&&!0===e.__v_isVNode}function Qt(e,t){return e.type===t.type&&e.key===t.key}const en="__vInternal",tn=({key:e})=>null!=e?e:null,nn=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.HD)(e)||(0,r.dq)(e)||(0,o.mf)(e)?{i:O,r:e,k:t,f:!!n}:e:null);function rn(e,t=null,n=null,r=0,a=null,i=(e===zt?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tn(t),ref:t&&nn(t),scopeId:L,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:O};return l?(dn(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=(0,o.HD)(n)?8:16),Vt>0&&!s&&Ut&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&Ut.push(c),c}const on=an;function an(e,t=null,n=null,a=0,i=null,s=!1){if(e&&e!==He||(e=$t),Xt(e)){const r=ln(e,t,!0);return n&&dn(r,n),Vt>0&&!s&&Ut&&(6&r.shapeFlag?Ut[Ut.indexOf(e)]=r:Ut.push(r)),r.patchFlag|=-2,r}if(zn(e)&&(e=e.__vccOpts),t){t=sn(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}const l=(0,o.HD)(e)?1:U(e)?128:It(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return rn(e,t,n,a,i,l,s,!0)}function sn(e){return e?(0,r.X3)(e)||en in e?(0,o.l7)({},e):e:null}function ln(e,t,n=!1){const{props:r,ref:a,patchFlag:i,children:s}=e,l=t?gn(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&tn(l),ref:t&&t.ref?n&&a?(0,o.kJ)(a)?a.concat(nn(t)):[a,nn(t)]:nn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==zt?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c}function cn(e=" ",t=0){return on(qt,null,e,t)}function un(e,t){const n=on(Bt,null,e);return n.staticCount=t,n}function hn(e="",t=!1){return t?(Wt(),Zt($t,null,e)):on($t,null,e)}function fn(e){return null==e||"boolean"===typeof e?on($t):(0,o.kJ)(e)?on(zt,null,e.slice()):"object"===typeof e?pn(e):on(qt,null,String(e))}function pn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ln(e)}function dn(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),dn(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||en in t?3===r&&O&&(1===O.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=O}}else(0,o.mf)(t)?(t={default:t,_ctx:O},n=32):(t=String(t),64&r?(n=16,t=[cn(t)]):n=8);e.children=t,e.shapeFlag|=n}function gn(...e){const t={};for(let n=0;nwn||O;let xn,kn,Cn="__VUE_INSTANCE_SETTERS__";(kn=(0,o.E9)()[Cn])||(kn=(0,o.E9)()[Cn]=[]),kn.push((e=>wn=e)),xn=e=>{kn.length>1?kn.forEach((t=>t(e))):kn[0](e)};const Sn=e=>{xn(e),e.scope.on()},Fn=()=>{wn&&wn.scope.off(),xn(null)};function jn(e){return 4&e.vnode.shapeFlag}let An,En,Mn=!1;function Dn(e,t=!1){Mn=t;const{props:n,children:r}=e.vnode,o=jn(e);dt(e,n,o,t),At(e,r);const a=o?On(e,t):void 0;return Mn=!1,a}function On(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,We));const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?Pn(e):null;Sn(e),(0,r.Jd)();const l=a(i,e,0,[e.props,n]);if((0,r.lk)(),Fn(),(0,o.tI)(l)){if(l.then(Fn,Fn),t)return l.then((n=>{Ln(e,n,t)})).catch((t=>{s(t,e,0)}));e.asyncDep=l}else Ln(e,l,t)}else Tn(e,t)}function Ln(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,r.WL)(t)),Tn(e,n)}function Tn(e,t,n){const a=e.type;if(!e.render){if(!t&&An&&!a.render){const t=a.template||Xe(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:s}=a,l=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:i},r),s);a.render=An(t,l)}}e.render=a.render||o.dG,En&&En(e)}Sn(e),(0,r.Jd)(),Je(e),(0,r.lk)(),Fn()}function Rn(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return(0,r.j)(e,"get","$attrs"),t[n]}}))}function Pn(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return Rn(e)},slots:e.slots,emit:e.emit,expose:t}}function Hn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in Ne?Ne[n](e):void 0},has(e,t){return t in e||t in Ne}}))}function In(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function zn(e){return(0,o.mf)(e)&&"__vccOpts"in e}const qn=(e,t)=>(0,r.Fl)(e,t,Mn);function $n(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Xt(t)?on(e,null,[t]):on(e,t):on(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Xt(n)&&(n=[n]),on(e,t,n))}const Bn=Symbol.for("v-scx"),Nn=()=>{{const e=pt(Bn);return e}};const Un="3.3.4"},9963:function(e,t,n){"use strict";n.d(t,{D2:function(){return _e},F8:function(){return be},MW:function(){return L},e8:function(){return fe},nr:function(){return he},ri:function(){return Ce}});var r=n(3577),o=n(6252),a=n(2262);const i="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,l=s&&s.createElement("template"),c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?s.createElementNS(i,e):s.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>s.createTextNode(e),createComment:e=>s.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>s.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===a||!(o=o.nextSibling))break}else{l.innerHTML=r?`${e}`:e;const o=l.content;if(r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function u(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function h(e,t,n){const o=e.style,a=(0,r.HD)(n);if(n&&!a){if(t&&!(0,r.HD)(t))for(const e in t)null==n[e]&&p(o,e,"");for(const e in n)p(o,e,n[e])}else{const r=o.display;a?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const f=/\s*!important$/;function p(e,t,n){if((0,r.kJ)(n))n.forEach((n=>p(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=m(e,t);f.test(n)?e.setProperty((0,r.rs)(o),n.replace(f,""),"important"):e[o]=n}}const d=["Webkit","Moz","ms"],g={};function m(e,t){const n=g[t];if(n)return n;let o=(0,r._A)(t);if("filter"!==o&&o in e)return g[t]=o;o=(0,r.kC)(o);for(let r=0;rS||(F.then((()=>S=0)),S=Date.now());function A(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,o.$d)(E(e,n.value),t,5,[e])};return n.value=e,n.attached=j(),n}function E(e,t){if((0,r.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const M=/^on[a-z]/,D=(e,t,n,o,a=!1,i,s,l,c)=>{"class"===t?u(e,o,a):"style"===t?h(e,n,o):(0,r.F7)(t)?(0,r.tR)(t)||x(e,t,n,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):O(e,t,o,a))?v(e,t,o,i,s,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),b(e,t,o,a))};function O(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&M.test(t)&&(0,r.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!M.test(t)||!(0,r.HD)(n))&&t in e))))}function L(e,t){const n=(0,o.aZ)(e);class r extends R{constructor(e){super(n,e,t)}}return r.def=n,r}const T="undefined"!==typeof HTMLElement?HTMLElement:class{};class R extends T{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,(0,o.Y3)((()=>{this._connected||(ke(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let n=0;n{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:o}=e;let a;if(n&&!(0,r.kJ)(n))for(const i in n){const e=n[i];(e===Number||e&&e.type===Number)&&(i in this._props&&(this._props[i]=(0,r.He)(this._props[i])),(a||(a=Object.create(null)))[(0,r._A)(i)]=!0)}this._numberProps=a,t&&this._resolveProps(e),this._applyStyles(o),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=(0,r.kJ)(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r],!0,!1);for(const o of n.map(r._A))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(e){this._setProp(o,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=(0,r._A)(e);this._numberProps&&this._numberProps[n]&&(t=(0,r.He)(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,r.rs)(e),""):"string"===typeof t||"number"===typeof t?this.setAttribute((0,r.rs)(e),t+""):t||this.removeAttribute((0,r.rs)(e))))}_update(){ke(this._createVNode(),this.shadowRoot)}_createVNode(){const e=(0,o.Wm)(this._def,(0,r.l7)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),(0,r.rs)(e)!==e&&t((0,r.rs)(e),n)};let n=this;while(n=n&&(n.parentNode||n.host))if(n instanceof R){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}const P="transition",H="animation",I=(e,{slots:t})=>(0,o.h)(o.P$,N(e),t);I.displayName="Transition";const z={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},q=I.props=(0,r.l7)({},o.nJ,z),$=(e,t=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},B=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function N(e){const t={};for(const r in e)r in z||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:o,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=s,appearToClass:h=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,g=U(a),m=g&&g[0],_=g&&g[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:w,onLeave:y,onLeaveCancelled:x,onBeforeAppear:k=b,onAppear:C=v,onAppearCancelled:S=w}=t,F=(e,t,n)=>{V(e,t?h:l),V(e,t?u:s),n&&n()},j=(e,t)=>{e._isLeaving=!1,V(e,f),V(e,d),V(e,p),t&&t()},A=e=>(t,n)=>{const r=e?C:v,a=()=>F(t,e,n);$(r,[t,a]),J((()=>{V(t,e?c:i),K(t,e?h:l),B(r)||Y(t,o,m,a)}))};return(0,r.l7)(t,{onBeforeEnter(e){$(b,[e]),K(e,i),K(e,s)},onBeforeAppear(e){$(k,[e]),K(e,c),K(e,u)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>j(e,t);K(e,f),ee(),K(e,p),J((()=>{e._isLeaving&&(V(e,f),K(e,d),B(y)||Y(e,o,_,n))})),$(y,[e,n])},onEnterCancelled(e){F(e,!1),$(w,[e])},onAppearCancelled(e){F(e,!0),$(S,[e])},onLeaveCancelled(e){j(e),$(x,[e])}})}function U(e){if(null==e)return null;if((0,r.Kn)(e))return[W(e.enter),W(e.leave)];{const t=W(e);return[t,t]}}function W(e){const t=(0,r.He)(e);return t}function K(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function V(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function J(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let G=0;function Y(e,t,n,r){const o=e._endId=++G,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=Z(e,t);if(!i)return r();const c=i+"end";let u=0;const h=()=>{e.removeEventListener(c,f),a()},f=t=>{t.target===e&&++u>=l&&h()};setTimeout((()=>{u(n[e]||"").split(", "),o=r(`${P}Delay`),a=r(`${P}Duration`),i=X(o,a),s=r(`${H}Delay`),l=r(`${H}Duration`),c=X(s,l);let u=null,h=0,f=0;t===P?i>0&&(u=P,h=i,f=a.length):t===H?c>0&&(u=H,h=c,f=l.length):(h=Math.max(i,c),u=h>0?i>c?P:H:null,f=u?u===P?a.length:l.length:0);const p=u===P&&/\b(transform|all)(,|$)/.test(r(`${P}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:p}}function X(e,t){while(e.lengthQ(t)+Q(e[n]))))}function Q(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ee(){return document.body.offsetHeight}const te=new WeakMap,ne=new WeakMap,re={name:"TransitionGroup",props:(0,r.l7)({},q,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,o.FN)(),r=(0,o.Y8)();let i,s;return(0,o.ic)((()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!se(i[0].el,n.vnode.el,t))return;i.forEach(oe),i.forEach(ae);const r=i.filter(ie);ee(),r.forEach((e=>{const n=e.el,r=n.style;K(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,V(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const l=(0,a.IU)(e),c=N(l);let u=l.tag||o.HY;i=s,s=t.default?(0,o.Q6)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=Z(r);return o.removeChild(r),a}const le=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(t)?e=>(0,r.ir)(t,e):t};function ce(e){e.target.composing=!0}function ue(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const he={created(e,{modifiers:{lazy:t,trim:n,number:o}},a){e._assign=le(a);const i=o||a.props&&"number"===a.props.type;w(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=(0,r.h5)(o)),e._assign(o)})),n&&w(e,"change",(()=>{e.value=e.value.trim()})),t||(w(e,"compositionstart",ce),w(e,"compositionend",ue),w(e,"change",ue))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:a}},i){if(e._assign=le(i),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((a||"number"===e.type)&&(0,r.h5)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},fe={deep:!0,created(e,t,n){e._assign=le(n),w(e,"change",(()=>{const t=e._modelValue,n=de(e),o=e.checked,a=e._assign;if((0,r.kJ)(t)){const e=(0,r.hq)(t,n),i=-1!==e;if(o&&!i)a(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),a(n)}}else if((0,r.DM)(t)){const e=new Set(t);o?e.add(n):e.delete(n),a(e)}else a(ge(e,o))}))},mounted:pe,beforeUpdate(e,t,n){e._assign=le(n),pe(e,t,n)}};function pe(e,{value:t,oldValue:n},o){e._modelValue=t,(0,r.kJ)(t)?e.checked=(0,r.hq)(t,o.props.value)>-1:(0,r.DM)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,r.WV)(t,ge(e,!0)))}function de(e){return"_value"in e?e._value:e.value}function ge(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const me={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_e=(e,t)=>n=>{if(!("key"in n))return;const o=(0,r.rs)(n.key);return t.some((e=>e===o||me[e]===o))?e(n):void 0},be={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ve(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!==!n&&(r?t?(r.beforeEnter(e),ve(e,!0),r.enter(e)):r.leave(e,(()=>{ve(e,!1)})):ve(e,t))},beforeUnmount(e,{value:t}){ve(e,t)}};function ve(e,t){e.style.display=t?e._vod:"none"}const we=(0,r.l7)({patchProp:D},c);let ye;function xe(){return ye||(ye=(0,o.Us)(we))}const ke=(...e)=>{xe().render(...e)},Ce=(...e)=>{const t=xe().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=Se(e);if(!o)return;const a=t._component;(0,r.mf)(a)||a.render||a.template||(a.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function Se(e){if((0,r.HD)(e)){const t=document.querySelector(e);return t}return e}},3577:function(e,t,n){"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{C_:function(){return X},DM:function(){return _},E9:function(){return U},F7:function(){return c},Gg:function(){return M},HD:function(){return y},He:function(){return B},Kj:function(){return v},Kn:function(){return k},NO:function(){return s},Nj:function(){return q},Od:function(){return f},PO:function(){return A},Pq:function(){return ee},RI:function(){return d},S0:function(){return E},W7:function(){return j},WV:function(){return re},Z6:function(){return a},_A:function(){return L},_N:function(){return m},aU:function(){return I},dG:function(){return i},e1:function(){return K},fY:function(){return r},h5:function(){return $},hR:function(){return H},hq:function(){return oe},ir:function(){return z},j5:function(){return V},kC:function(){return P},kJ:function(){return g},kT:function(){return o},l7:function(){return h},mf:function(){return w},rs:function(){return R},tI:function(){return C},tR:function(){return u},yA:function(){return te},yk:function(){return x},zw:function(){return ae}});const o={},a=[],i=()=>{},s=()=>!1,l=/^on[^a-z]/,c=e=>l.test(e),u=e=>e.startsWith("onUpdate:"),h=Object.assign,f=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,d=(e,t)=>p.call(e,t),g=Array.isArray,m=e=>"[object Map]"===F(e),_=e=>"[object Set]"===F(e),b=e=>"[object Date]"===F(e),v=e=>"[object RegExp]"===F(e),w=e=>"function"===typeof e,y=e=>"string"===typeof e,x=e=>"symbol"===typeof e,k=e=>null!==e&&"object"===typeof e,C=e=>k(e)&&w(e.then)&&w(e.catch),S=Object.prototype.toString,F=e=>S.call(e),j=e=>F(e).slice(8,-1),A=e=>"[object Object]"===F(e),E=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,M=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},O=/-(\w)/g,L=D((e=>e.replace(O,((e,t)=>t?t.toUpperCase():"")))),T=/\B([A-Z])/g,R=D((e=>e.replace(T,"-$1").toLowerCase())),P=D((e=>e.charAt(0).toUpperCase()+e.slice(1))),H=D((e=>e?`on${P(e)}`:"")),I=(e,t)=>!Object.is(e,t),z=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},B=e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t};let N;const U=()=>N||(N="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const W="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",K=r(W);function V(e){if(g(e)){const t={};for(let n=0;n{if(e){const n=e.split(G);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function X(e){let t="";if(y(e))t=e;else if(g(e))for(let n=0;nre(e,t)))}const ae=e=>y(e)?e:null==e?"":g(e)||k(e)&&(e.toString===S||!w(e.toString))?JSON.stringify(e,ie,2):String(e),ie=(e,t)=>t&&t.__v_isRef?ie(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:_(t)?{[`Set(${t.size})`]:[...t.values()]}:!k(t)||g(t)||A(t)?t:String(t)},9662:function(e,t,n){var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},9670:function(e,t,n){var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:function(e,t,n){var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var s,l=r(t),c=a(l),u=o(i,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3658:function(e,t,n){"use strict";var r=n(9781),o=n(3157),a=TypeError,i=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!i(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},9920:function(e,t,n){var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var s=o(t),l=i.f,c=a.f,u=0;un)throw t("Maximum allowed index exceeded");return e}},8113:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,n){var r,o,a=n(7854),i=n(8113),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),s=n(3072),l=n(9920),c=n(4705);e.exports=function(e,t){var n,u,h,f,p,d,g=e.target,m=e.global,_=e.stat;if(u=m?r:_?r[g]||s(g,{}):(r[g]||{}).prototype,u)for(h in t){if(p=t[h],e.dontCallGetSet?(d=o(u,h),f=d&&d.value):f=u[h],n=c(m?h:g+(_?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&a(p,"sham",!0),i(u,h,p,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},4374:function(e,t,n){var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1702:function(e,t,n){var r=n(4374),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);e.exports=r?i:function(e){return function(){return a.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},8173:function(e,t,n){var r=n(9662),o=n(8554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:function(e){e.exports={}},4664:function(e,t,n){var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(1702),o=n(7293),a=n(4326),i=Object,s=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?s(e,""):i(e)}:i},2788:function(e,t,n){var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:function(e,t,n){var r,o,a,i=n(4811),s=n(7854),l=n(111),c=n(8880),u=n(2597),h=n(5465),f=n(6200),p=n(3501),d="Object already initialized",g=s.TypeError,m=s.WeakMap,_=function(e){return a(e)?o(e):r(e,{})},b=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}};if(i||h.state){var v=h.state||(h.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw g(d);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},a=function(e){return v.has(e)}}else{var w=f("state");p[w]=!0,r=function(e,t){if(u(e,w))throw g(d);return t.facade=e,c(e,w,t),t},o=function(e){return u(e,w)?e[w]:{}},a=function(e){return u(e,w)}}e.exports={set:r,get:o,has:a,enforce:_,getterFor:b}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e,t,n){var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4705:function(e,t,n){var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},8554:function(e){e.exports=function(e){return null===e||void 0===e}},111:function(e,t,n){var r=n(614),o=n(4154),a=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===a}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var r=n(5005),o=n(614),a=n(7976),i=n(3307),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,s(e))}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},6339:function(e,t,n){var r=n(1702),o=n(7293),a=n(614),i=n(2597),s=n(9781),l=n(6530).CONFIGURABLE,c=n(2788),u=n(9909),h=u.enforce,f=u.get,p=String,d=Object.defineProperty,g=r("".slice),m=r("".replace),_=r([].join),b=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===g(p(t),0,7)&&(t="["+m(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||l&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&i(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=h(e);return i(r,"source")||(r.source=_(v,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return a(this)&&f(this).source||c(this)}),"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3070:function(e,t,n){var r=n(9781),o=n(4664),a=n(3353),i=n(9670),s=n(4948),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",p="writable";t.f=r?a?function(e,t,n){if(i(e),t=s(t),i(n),"function"===typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=u(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(i(e),t=s(t),i(n),o)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(6916),a=n(5296),i=n(9114),s=n(5656),l=n(4948),c=n(2597),u=n(4664),h=Object.getOwnPropertyDescriptor;t.f=r?h:function(e,t){if(e=s(e),t=l(t),u)try{return h(e,t)}catch(n){}if(c(e,t))return i(!o(a.f,e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748),a=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),o=n(2597),a=n(5656),i=n(1318).indexOf,s=n(3501),l=r([].push);e.exports=function(e,t){var n,r=a(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);while(t.length>c)o(r,n=t[c++])&&(~i(u,n)||l(u,n));return u}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2140:function(e,t,n){var r=n(6916),o=n(614),a=n(111),i=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!a(s=r(n,e)))return s;if(o(n=e.valueOf)&&!a(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!a(s=r(n,e)))return s;throw i("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),o=n(1702),a=n(8006),i=n(5181),s=n(9670),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=i.f;return n?l(t,n(e)):t}},4488:function(e,t,n){var r=n(8554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},6200:function(e,t,n){var r=n(2309),o=n(9711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3072),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(e,t,n){var r=n(7392),o=n(7293),a=n(7854),i=a.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(e,t,n){var r=n(9303),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:function(e,t,n){var r=n(4758);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7466:function(e,t,n){var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:function(e,t,n){var r=n(6916),o=n(111),a=n(2190),i=n(8173),s=n(2140),l=n(5112),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,l=i(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:function(e,t,n){var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},6330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},9711:function(e,t,n){var r=n(1702),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},3307:function(e,t,n){var r=n(6293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(e,t,n){var r=n(7854),o=n(614),a=r.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},5112:function(e,t,n){var r=n(7854),o=n(2309),a=n(2597),i=n(9711),s=n(6293),l=n(3307),c=r.Symbol,u=o("wks"),h=l?c["for"]||c:c&&c.withoutSetter||i;e.exports=function(e){return a(u,e)||(u[e]=s&&a(c,e)?c[e]:h("Symbol."+e)),u[e]}},7658:function(e,t,n){"use strict";var r=n(2109),o=n(7908),a=n(6244),i=n(3658),s=n(7207),l=n(7293),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},h=c||!u();r({target:"Array",proto:!0,arity:1,forced:h},{push:function(e){var t=o(this),n=a(t),r=arguments.length;s(n+r);for(var l=0;l - * http://jaywcjlove.github.io/hotkeys - * Licensed under the MIT license - */ -var r="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function a(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function s(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,a=0;a=0&&d.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&d.splice(0,d.length),93!==t&&224!==t||(t=91),t in h)for(var r in h[t]=!1,c)c[r]===t&&(T[r]=!1)}function E(e){if("undefined"===typeof e)Object.keys(f).forEach((function(e){return delete f[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&M(e)}));else if("object"===typeof e)e.key&&M(e);else if("string"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?a(c,t):[];f[u]=f[u].filter((function(e){var t=!r||e.method===r;return!(t&&e.scope===n&&s(e.mods,h))}))}}))};function D(e,t,n,r){var o;if(t.element===r&&(t.scope===n||"all"===t.scope)){for(var a in o=t.mods.length>0,h)Object.prototype.hasOwnProperty.call(h,a)&&(!h[a]&&t.mods.indexOf(+a)>-1||h[a]&&-1===t.mods.indexOf(+a))&&(o=!1);(0!==t.mods.length||h[16]||h[18]||h[17]||h[91])&&!o&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function O(e,t){var n=f["*"],r=e.keyCode||e.which||e.charCode;if(T.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===d.indexOf(r)&&229!==r&&d.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=u[t];e[t]&&-1===d.indexOf(n)?d.push(n):!e[t]&&d.indexOf(n)>-1?d.splice(d.indexOf(n),1):"metaKey"===t&&e[t]&&3===d.length&&(e.ctrlKey||e.shiftKey||e.altKey||(d=d.slice(d.indexOf(n))))})),r in h){for(var o in h[r]=!0,c)c[o]===r&&(T[o]=!0);if(!n)return}for(var a in h)Object.prototype.hasOwnProperty.call(h,a)&&(h[a]=e[u[a]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===d.indexOf(17)&&d.push(17),-1===d.indexOf(18)&&d.push(18),h[17]=!0,h[18]=!0);var i=x();if(n)for(var s=0;s-1}function T(e,t,n){d=[];var r=i(e),s=[],l="all",u=document,h=0,p=!1,m=!0,v="+",w=!1;for(void 0===n&&"function"===typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(l=t.scope),t.element&&(u=t.element),t.keyup&&(p=t.keyup),void 0!==t.keydown&&(m=t.keydown),void 0!==t.capture&&(w=t.capture),"string"===typeof t.splitKey&&(v=t.splitKey)),"string"===typeof t&&(l=t);h1&&(s=a(c,e)),e=e[e.length-1],e="*"===e?"*":b(e),e in f||(f[e]=[]),f[e].push({keyup:p,keydown:m,scope:l,mods:s,shortcut:r[h],method:n,key:r[h],splitKey:v,element:u});"undefined"!==typeof u&&!L(u)&&window&&(_.push(u),o(u,"keydown",(function(e){O(e,u)}),w),g||(g=!0,o(window,"focus",(function(){d=[]}),w)),o(u,"keyup",(function(e){O(e,u),A(e)}),w))}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach((function(n){var r=f[n].filter((function(n){return n.scope===t&&n.shortcut===e}));r.forEach((function(e){e&&e.method&&e.method()}))}))}var P={getPressedKeyString:C,setScope:y,getScope:x,deleteScope:j,getPressedKeyCodes:k,isPressed:F,filter:S,trigger:R,unbind:E,keyMap:l,modifier:c,modifierMap:u};for(var H in P)Object.prototype.hasOwnProperty.call(P,H)&&(T[H]=P[H]);if("undefined"!==typeof window){var I=window.hotkeys;T.noConflict=function(e){return e&&window.hotkeys===T&&(window.hotkeys=I),T},window.hotkeys=T}T.filter=function(){return!0};var z={props:{item:{type:Object,required:!0}},computed:{isMacLike:()=>/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform),hotkey(){let e=this.item.hotkey;return"string"==typeof e&&(e=e.toUpperCase(),e=e.replace(/(shift|⇧)\+/gi,this.isMacLike?"⇧":"Shift+"),e=e.replace(/(control|ctrl|⌃)\+/gi,this.isMacLike?"⌃":"Ctrl+"),e=e.replace(/(option|alt|⌥)\+/gi,this.isMacLike?"⌥":"Alt+"),e=e.replace(/(cmd|command|⌘)\+/gi,this.isMacLike?"⌘":"Cmd+"),e)}},methods:{update_hotkey(e,t){t&&T.unbind(t,this.hotkey_fn),e&&T(e,this.hotkey_fn)},hotkey_fn(e,t){e.preventDefault(),this.item.click&&!this.item.disabled&&this.item.click(e,t)}},watch:{"item.hotkey":{handler:"update_hotkey",immediate:!0}},beforeUnmount(){this.item.hotkey&&T.unbind(this.item.hotkey,this.hotkey_fn)}}},3744:function(e,t){"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},3183:function(e,t,n){"use strict";n.d(t,{Z:function(){return Kr}});var r=n(6252),o=n(3577);const a={class:"bar"};function i(e,t,n,i,s,l){return(0,r.wg)(),(0,r.iD)("div",a,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.content,((e,t)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(l.get_component(e.is)),{key:"bar-item-"+t,item:e,class:(0,o.C_)(e.class),id:e.id,is_open:s.menu_open,ref_for:!0,ref:t=>Object.defineProperty(e,"_el",{value:t,writable:!0}),onClick:t=>l.toggle_menu(e,t)},null,8,["item","class","id","is_open","onClick"])))),128))])}const s=["title"],l={key:1,class:"material-icons icon"},c={key:1,class:"emoji"},u={key:2,class:"label"},h=["innerHTML"],f={key:4,class:"material-icons chevron"},p=["innerHTML"];function d(e,t,n,a,i,d){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["bar-button",d.button_class]),title:d.title,onMousedown:t[0]||(t[0]=e=>e.preventDefault()),onClick:t[1]||(t[1]=e=>n.item.click&&!n.item.disabled?n.item.click(e):e.stopPropagation())},[n.item.icon?((0,r.wg)(),(0,r.iD)(r.HY,{key:0},["object"==typeof n.item.icon?((0,r.wg)(),(0,r.j4)((0,r.LL)(n.item.icon),{key:0,class:"icon"})):((0,r.wg)(),(0,r.iD)("span",l,(0,o.zw)(n.item.icon),1))],64)):(0,r.kq)("",!0),n.item.emoji?((0,r.wg)(),(0,r.iD)("span",c,(0,o.zw)(d.get_emoji(n.item.emoji)),1)):(0,r.kq)("",!0),n.item.text?((0,r.wg)(),(0,r.iD)("span",u,(0,o.zw)(n.item.text),1)):(0,r.kq)("",!0),n.item.html?((0,r.wg)(),(0,r.iD)("span",{key:3,class:"label",innerHTML:n.item.html},null,8,h)):(0,r.kq)("",!0),!0===n.item.chevron?((0,r.wg)(),(0,r.iD)("span",f,"expand_more")):n.item.chevron?((0,r.wg)(),(0,r.iD)("span",{key:5,class:"chevron",innerHTML:n.item.chevron},null,8,p)):(0,r.kq)("",!0),n.item.menu?((0,r.wg)(),(0,r.j4)((0,r.LL)(d.get_component(n.item.menu)),{key:6,class:(0,o.C_)(["menu",n.item.menu_class]),menu:n.item.menu,id:n.item.menu_id,width:n.item.menu_width,height:n.item.menu_height},null,8,["menu","class","id","width","height"])):(0,r.kq)("",!0)],42,s)}var g=n(4964),m=n(5612),_=n(7347),b={mixins:[_.Z],components:{BarMenu:m["default"]},props:{item:{type:Object,required:!0},is_open:Boolean},computed:{is_menu(){return!!this.item.menu},button_class(){const e=this.is_open&&this.is_menu,t=this.item.active,n=this.item.disabled;return{open:e,active:t,disabled:n}},title(){if(this.item.title){let e=this.item.title;return this.hotkey&&(e+=" ("+this.hotkey+")"),e}return null}},methods:{get_emoji:e=>e in g?g[e]:"",get_component(e){return e&&!Array.isArray(e)&&"object"==typeof e?e:"bar-menu"}}},v=n(3744);const w=(0,v.Z)(b,[["render",d]]);var y=w;const x=["title"],k=["id"];function C(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["bar-button",e.button_class]),title:e.title,onMousedown:t[2]||(t[2]=(...e)=>s.mousedown_handler&&s.mousedown_handler(...e))},[(0,r._)("div",{class:"color-square",style:(0,o.j5)({"background-color":s.css_color})},null,4),(0,r._)("div",{class:(0,o.C_)(["menu",e.item.menu_class]),id:e.item.menu_id,onClick:t[1]||(t[1]=t=>!e.item.stay_open||t.stopPropagation())},[((0,r.wg)(),(0,r.j4)((0,r.LL)(e.item.type||"compact"),{modelValue:i.color,"onUpdate:modelValue":t[0]||(t[0]=e=>i.color=e)},null,8,["modelValue"]))],10,k)],42,x)}function S(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}const F="",j=function(e,t){const{componentPrefix:n=F}=t||{};e.component(`${n}${this.name}`,this)},A={};var E={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle(){return{"background-image":`url(${D(this.white,this.grey,this.size)})`}}}};function M(e,t,n){if("undefined"===typeof document)return null;const r=document.createElement("canvas");r.width=r.height=2*n;const o=r.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,r.width,r.height),o.fillStyle=t,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),r.toDataURL()):null}function D(e,t,n){const r=`${e},${t},${n}`;if(A[r])return A[r];const o=M(e,t,n);return A[r]=o,o}function O(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:"vc-checkerboard",style:(0,o.j5)(s.bgStyle)},null,4)}var L=".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}";S(L),E.render=O,E.__file="src/components/checkboard/checkboard.vue",E.install=j;var T={name:"Alpha",components:{Checkboard:E},props:{value:Object,onChange:Function},computed:{colors(){return this.value},gradientColor(){const{rgba:e}=this.colors,t=[e.r,e.g,e.b].join(",");return`linear-gradient(to right, rgba(${t}, 0) 0%, rgba(${t}, 1) 100%)`}},methods:{handleChange(e,t){!t&&e.preventDefault();const{container:n}=this.$refs;if(!n)return;const r=n.clientWidth,o=n.getBoundingClientRect().left+window.pageXOffset,a=e.pageX||(e.touches?e.touches[0].pageX:0),i=a-o;let s;s=i<0?0:i>r?1:Math.round(100*i/r)/100,this.colors.a!==s&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:s,source:"rgba"})},handleMouseDown(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};const R={class:"vc-alpha"},P={class:"vc-alpha-checkboard-wrap"},H=(0,r._)("div",{class:"vc-alpha-picker"},null,-1),I=[H];function z(e,t,n,a,i,s){const l=(0,r.up)("Checkboard");return(0,r.wg)(),(0,r.iD)("div",R,[(0,r._)("div",P,[(0,r.Wm)(l)]),(0,r._)("div",{class:"vc-alpha-gradient",style:(0,o.j5)({background:s.gradientColor})},null,4),(0,r._)("div",{ref:"container",class:"vc-alpha-container",onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[(0,r._)("div",{class:"vc-alpha-pointer",style:(0,o.j5)({left:100*s.colors.a+"%"})},I,4)],544)])}var q=".vc-alpha,.vc-alpha-checkboard-wrap{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-container{cursor:pointer;height:100%;margin:0 3px;position:relative;z-index:2}.vc-alpha-pointer{position:absolute;z-index:2}.vc-alpha-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";function $(e,t){N(e)&&(e="100%");var n=U(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function B(e){return Math.min(1,Math.max(0,e))}function N(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function U(e){return"string"===typeof e&&-1!==e.indexOf("%")}function W(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function K(e){return e<=1?"".concat(100*Number(e),"%"):e}function V(e){return 1===e.length?"0"+e:String(e)}function J(e,t,n){return{r:255*$(e,255),g:255*$(t,255),b:255*$(n,255)}}function G(e,t,n){e=$(e,255),t=$(t,255),n=$(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,s=(r+o)/2;if(r===o)i=0,a=0;else{var l=r-o;switch(i=s>.5?l/(2-r-o):l/(r+o),r){case e:a=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z(e,t,n){var r,o,a;if(e=$(e,360),t=$(t,100),n=$(n,100),0===t)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=Y(s,i,e+1/3),o=Y(s,i,e),a=Y(s,i,e-1/3)}return{r:255*r,g:255*o,b:255*a}}function X(e,t,n){e=$(e,255),t=$(t,255),n=$(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,s=r-o,l=0===r?0:s/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/s+(t>16,g:(65280&e)>>8,b:255&e}}S(q),T.render=z,T.__file="src/components/alpha/alpha.vue",T.install=j;var ie={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 se(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,s=!1;return"string"===typeof e&&(e=de(e)),"object"===typeof e&&(ge(e.r)&&ge(e.g)&&ge(e.b)?(t=J(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):ge(e.h)&&ge(e.s)&&ge(e.v)?(r=K(e.s),o=K(e.v),t=Q(e.h,r,o),i=!0,s="hsv"):ge(e.h)&&ge(e.s)&&ge(e.l)&&(r=K(e.s),a=K(e.l),t=Z(e.h,r,a),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=W(n),{ok:i,format:e.format||s,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}}var le="[-\\+]?\\d+%?",ce="[-\\+]?\\d*\\.\\d+%?",ue="(?:".concat(ce,")|(?:").concat(le,")"),he="[\\s|\\(]+(".concat(ue,")[,|\\s]+(").concat(ue,")[,|\\s]+(").concat(ue,")\\s*\\)?"),fe="[\\s|\\(]+(".concat(ue,")[,|\\s]+(").concat(ue,")[,|\\s]+(").concat(ue,")[,|\\s]+(").concat(ue,")\\s*\\)?"),pe={CSS_UNIT:new RegExp(ue),rgb:new RegExp("rgb"+he),rgba:new RegExp("rgba"+fe),hsl:new RegExp("hsl"+he),hsla:new RegExp("hsla"+fe),hsv:new RegExp("hsv"+he),hsva:new RegExp("hsva"+fe),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 de(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(ie[e])e=ie[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=pe.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=pe.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=pe.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=pe.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=pe.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=pe.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=pe.hex8.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),a:re(n[4]),format:t?"name":"hex8"}:(n=pe.hex6.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),format:t?"name":"hex"}:(n=pe.hex4.exec(e),n?{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),a:re(n[4]+n[4]),format:t?"name":"hex8"}:(n=pe.hex3.exec(e),!!n&&{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),format:t?"name":"hex"})))))))))}function ge(e){return Boolean(pe.CSS_UNIT.exec(String(e)))}var me=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=ae(t)),this.originalInput=t;var o=se(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.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=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,a=r.g/255,i=r.b/255;return e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*e+.7152*t+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=W(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var e=this.toHsl().s;return 0===e},e.prototype.toHsv=function(){var e=X(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=X(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=G(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=G(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ee(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),te(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*$(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*$(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+ee(this.r,this.g,this.b,!1),t=0,n=Object.entries(ie);t=0,o=!t&&r&&(e.startsWith("hex")||"name"===e);return o?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=B(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=B(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=B(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=B(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100,i={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return new e(i)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;while(t--)i.push(new e({h:r,s:o,v:a})),a=(a+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i0?_e(e.hex):e&&e.hsv?_e(e.hsv):e&&e.rgba?_e(e.rgba):e&&e.rgb?_e(e.rgb):_e(e),!r||void 0!==r._a&&null!==r._a||r.setAlpha(n||r.getAlpha());const o=r.toHsl(),a=r.toHsv();return 0===o.s&&(a.h=o.h=e.h||e.hsl&&e.hsl.h||t||0),{hsl:o,hex:r.toHexString().toUpperCase(),hex8:r.toHex8String().toUpperCase(),rgba:r.toRgb(),hsv:a,oldHue:e.h||t||o.h,source:e.source,a:r.getAlpha()}}var ve={model:{prop:"modelValue",event:"update:modelValue"},props:["modelValue"],data(){return{val:be(this.modelValue)}},computed:{colors:{get(){return this.val},set(e){this.val=e,this.$emit("update:modelValue",e)}}},watch:{modelValue(e){this.val=be(e)}},methods:{colorChange(e,t){this.oldHue=this.colors.hsl.h,this.colors=be(e,t||this.oldHue)},isValidHex(e){return _e(e).isValid},simpleCheckForValidColor(e){const t=["r","g","b","a","h","s","l","v"];let n=0,r=0;for(let o=0;oe.toUpperCase()))},isTransparent(e){return 0===_e(e).getAlpha()}}},we=n(9963),ye={name:"EditableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get(){return this.value},set(e){if(!(void 0!==this.max&&+e>this.max))return e;this.$refs.input.value=this.max}},labelId(){return`input__label__${this.label}__${Math.random().toString().slice(2,5)}`},labelSpanText(){return this.labelText||this.label}},methods:{update(e){this.handleChange(e.target.value)},handleChange(e){const t={};t[this.label]=e,(void 0===t.hex&&void 0===t["#"]||e.length>5)&&this.$emit("change",t)},handleKeyDown(e){let{val:t}=this;const n=Number(t);if(n){const r=this.arrowOffset||1;38===e.keyCode&&(t=n+r,this.handleChange(t),e.preventDefault()),40===e.keyCode&&(t=n-r,this.handleChange(t),e.preventDefault())}}}};const xe={class:"vc-editable-input"},ke=["aria-labelledby"],Ce=["id","for"],Se={class:"vc-input__desc"};function Fe(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",xe,[(0,r.wy)((0,r._)("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=e=>s.val=e),"aria-labelledby":s.labelId,class:"vc-input__input",onKeydown:t[1]||(t[1]=(...e)=>s.handleKeyDown&&s.handleKeyDown(...e)),onInput:t[2]||(t[2]=(...e)=>s.update&&s.update(...e))},null,40,ke),[[we.nr,s.val]]),(0,r._)("span",{id:s.labelId,for:n.label,class:"vc-input__label"},(0,o.zw)(s.labelSpanText),9,Ce),(0,r._)("span",Se,(0,o.zw)(n.desc),1)])}var je=".vc-editable-input{position:relative}.vc-input__input{border:0;outline:none;padding:0}.vc-input__label{text-transform:capitalize}";function Ae(e,t,n){return tn?n:e:et?t:e}S(je),ye.render=Fe,ye.__file="src/components/editable-input/editable-input.vue",ye.install=j;var Ee={name:"Saturation",props:{value:Object},computed:{colors(){return this.value},bgColor(){return`hsl(${this.colors.hsv.h}, 100%, 50%)`},pointerTop(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft(){return 100*this.colors.hsv.s+"%"}},methods:{handleChange(e,t){!t&&e.preventDefault();const{container:n}=this.$refs;if(!n)return;const r=n.clientWidth,o=n.clientHeight,a=n.getBoundingClientRect().left+window.pageXOffset,i=n.getBoundingClientRect().top+window.pageYOffset,s=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),c=Ae(s-a,0,r),u=Ae(l-i,0,o),h=c/r,f=Ae(-u/o+1,0,1);this.onChange({h:this.colors.hsv.h,s:h,v:f,a:this.colors.hsv.a,source:"hsva"})},onChange(e){this.$emit("change",e)},handleMouseDown(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};const Me=(0,r._)("div",{class:"vc-saturation--white"},null,-1),De=(0,r._)("div",{class:"vc-saturation--black"},null,-1),Oe=(0,r._)("div",{class:"vc-saturation-circle"},null,-1),Le=[Oe];function Te(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{ref:"container",class:"vc-saturation",style:(0,o.j5)({background:s.bgColor}),onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[Me,De,(0,r._)("div",{class:"vc-saturation-pointer",style:(0,o.j5)({top:s.pointerTop,left:s.pointerLeft})},Le,4)],36)}var Re=".vc-saturation,.vc-saturation--black,.vc-saturation--white{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.vc-saturation--black{background:linear-gradient(0deg,#000,transparent)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}";S(Re),Ee.render=Te,Ee.__file="src/components/saturation/saturation.vue",Ee.install=j;var Pe={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data(){return{oldHue:0,pullDirection:""}},computed:{colors(){return this.value},directionClass(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},watch:{value:{handler(e,t){const{h:n}=e.hsl;0!==n&&n-this.oldHue>0&&(this.pullDirection="right"),0!==n&&n-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=n},deep:!0,immediate:!0}},methods:{handleChange(e,t){!t&&e.preventDefault();const{container:n}=this.$refs;if(!n)return;const r=n.clientWidth,o=n.clientHeight,a=n.getBoundingClientRect().left+window.pageXOffset,i=n.getBoundingClientRect().top+window.pageYOffset,s=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),c=s-a,u=l-i;let h,f;"vertical"===this.direction?(u<0?h=360:u>o?h=0:(f=-100*u/o+100,h=360*f/100),this.colors.hsl.h!==h&&this.$emit("change",{h:h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(c<0?h=0:c>r?h=360:(f=100*c/r,h=360*f/100),this.colors.hsl.h!==h&&this.$emit("change",{h:h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))},handleMouseDown(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(e){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};const He=["aria-valuenow"],Ie=(0,r._)("div",{class:"vc-hue-picker"},null,-1),ze=[Ie];function qe(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["vc-hue",[s.directionClass]])},[(0,r._)("div",{ref:"container",class:"vc-hue-container",role:"slider","aria-valuenow":s.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360",onMousedown:t[0]||(t[0]=(...e)=>s.handleMouseDown&&s.handleMouseDown(...e)),onTouchmove:t[1]||(t[1]=(...e)=>s.handleChange&&s.handleChange(...e)),onTouchstart:t[2]||(t[2]=(...e)=>s.handleChange&&s.handleChange(...e))},[(0,r._)("div",{class:"vc-hue-pointer",style:(0,o.j5)({top:s.pointerTop,left:s.pointerLeft}),role:"presentation"},ze,4)],40,He)],2)}var $e=".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";S($e),Pe.render=qe,Pe.__file="src/components/hue/hue.vue",Pe.install=j;var Be={name:"Chrome",components:{Saturation:Ee,Hue:Pe,Alpha:T,EdIn:ye,Checkboard:E},mixins:[ve],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},data(){return{fieldsIndex:0,highlight:!1}},computed:{hsl(){const{h:e,s:t,l:n}=this.colors.hsl;return{h:e.toFixed(),s:`${(100*t).toFixed()}%`,l:`${(100*n).toFixed()}%`}},activeColor(){const{rgba:e}=this.colors;return`rgba(${[e.r,e.g,e.b,e.a].join(",")})`},hasAlpha(){return this.colors.a<1}},methods:{childChange(e){this.colorChange(e)},inputChange(e){if(e)if(e.hex)this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"});else if(e.r||e.g||e.b||e.a)this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"});else if(e.h||e.s||e.l){const t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,n=e.l?e.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:n,source:"hsl"})}},toggleViews(){this.fieldsIndex>=2?this.fieldsIndex=0:this.fieldsIndex++},showHighlight(){this.highlight=!0},hideHighlight(){this.highlight=!1}}};const Ne={class:"vc-chrome-saturation-wrap"},Ue={class:"vc-chrome-body"},We={class:"vc-chrome-controls"},Ke={class:"vc-chrome-color-wrap"},Ve=["aria-label"],Je={class:"vc-chrome-sliders"},Ge={class:"vc-chrome-hue-wrap"},Ye={key:0,class:"vc-chrome-alpha-wrap"},Ze={key:0,class:"vc-chrome-fields-wrap"},Xe={class:"vc-chrome-fields"},Qe={class:"vc-chrome-field"},et={class:"vc-chrome-fields"},tt={class:"vc-chrome-field"},nt={class:"vc-chrome-field"},rt={class:"vc-chrome-field"},ot={key:0,class:"vc-chrome-field"},at={class:"vc-chrome-fields"},it={class:"vc-chrome-field"},st={class:"vc-chrome-field"},lt={class:"vc-chrome-field"},ct={key:0,class:"vc-chrome-field"},ut={class:"vc-chrome-toggle-icon"},ht=(0,r._)("path",{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"},null,-1),ft=[ht],pt={class:"vc-chrome-toggle-icon-highlight"};function dt(e,t,n,a,i,s){const l=(0,r.up)("Saturation"),c=(0,r.up)("Checkboard"),u=(0,r.up)("Hue"),h=(0,r.up)("Alpha"),f=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"Chrome color picker",class:(0,o.C_)(["vc-chrome",[n.disableAlpha?"vc-chrome__disable-alpha":""]])},[(0,r._)("div",Ne,[(0,r.Wm)(l,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,r._)("div",Ue,[(0,r._)("div",We,[(0,r._)("div",Ke,[(0,r._)("div",{"aria-label":`current color is ${e.colors.hex}`,class:"vc-chrome-active-color",style:(0,o.j5)({background:s.activeColor})},null,12,Ve),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.j4)(c,{key:0}))]),(0,r._)("div",Je,[(0,r._)("div",Ge,[(0,r.Wm)(u,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",Ye,[(0,r.Wm)(h,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]))])]),n.disableFields?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",Ze,[(0,r.wy)((0,r._)("div",Xe,[(0,r.kq)(" hex "),(0,r._)("div",Qe,[s.hasAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.j4)(f,{key:0,label:"hex",value:e.colors.hex,onChange:s.inputChange},null,8,["value","onChange"])),s.hasAlpha?((0,r.wg)(),(0,r.j4)(f,{key:1,label:"hex",value:e.colors.hex8,onChange:s.inputChange},null,8,["value","onChange"])):(0,r.kq)("v-if",!0)])],512),[[we.F8,0===i.fieldsIndex]]),(0,r.wy)((0,r._)("div",et,[(0,r.kq)(" rgba "),(0,r._)("div",tt,[(0,r.Wm)(f,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",nt,[(0,r.Wm)(f,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",rt,[(0,r.Wm)(f,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",ot,[(0,r.Wm)(f,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))],512),[[we.F8,1===i.fieldsIndex]]),(0,r.wy)((0,r._)("div",at,[(0,r.kq)(" hsla "),(0,r._)("div",it,[(0,r.Wm)(f,{label:"h",value:s.hsl.h,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",st,[(0,r.Wm)(f,{label:"s",value:s.hsl.s,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",lt,[(0,r.Wm)(f,{label:"l",value:s.hsl.l,onChange:s.inputChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",ct,[(0,r.Wm)(f,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))],512),[[we.F8,2===i.fieldsIndex]]),(0,r.kq)(" btn "),(0,r._)("div",{class:"vc-chrome-toggle-btn",role:"button","aria-label":"Change another color definition",onClick:t[3]||(t[3]=(...e)=>s.toggleViews&&s.toggleViews(...e))},[(0,r._)("div",ut,[((0,r.wg)(),(0,r.iD)("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24",onMouseover:t[0]||(t[0]=(...e)=>s.showHighlight&&s.showHighlight(...e)),onMouseenter:t[1]||(t[1]=(...e)=>s.showHighlight&&s.showHighlight(...e)),onMouseout:t[2]||(t[2]=(...e)=>s.hideHighlight&&s.hideHighlight(...e))},ft,32))]),(0,r.wy)((0,r._)("div",pt,null,512),[[we.F8,i.highlight]])]),(0,r.kq)(" btn ")]))])],2)}var gt=".vc-chrome{background:#fff;background-color:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.3);box-sizing:initial;font-family:Menlo;width:225px}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{border-radius:15px;height:30px;overflow:hidden;position:relative;width:30px;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{background-size:auto;border-radius:15px;height:30px;width:30px}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;flex:1;margin-left:-6px}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{position:relative;text-align:right;width:32px}.vc-chrome-toggle-icon{cursor:pointer;margin-right:-4px;margin-top:12px;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{background:#eee;border-radius:4px;height:28px;left:12px;position:absolute;top:10px;width:24px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{height:10px;position:relative}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:12px;transform:translate(-6px,-2px);width:12px}.vc-chrome-body{background-color:#fff;padding:16px 16px 12px}.vc-chrome-saturation-wrap{border-radius:2px 2px 0 0;overflow:hidden;padding-bottom:55%;position:relative;width:100%}.vc-chrome-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-chrome-fields .vc-input__input{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #dadada;color:#333;font-size:11px;height:21px;text-align:center;width:100%}.vc-chrome-fields .vc-input__label{color:#969696;display:block;font-size:11px;line-height:11px;margin-top:12px;text-align:center;text-transform:uppercase}.vc-chrome__disable-alpha .vc-chrome-active-color{height:18px;width:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-bottom:4px;margin-top:4px}";S(gt),Be.render=dt,Be.__file="src/components/chrome/chrome.vue",Be.install=j;const mt=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];var _t={name:"Compact",mixins:[ve],props:{palette:{type:Array,default(){return mt}}},computed:{pick(){return this.colors.hex.toUpperCase()}},methods:{handlerClick(e){this.colorChange({hex:e,source:"hex"})}}};const bt={role:"application","aria-label":"Compact color picker",class:"vc-compact"},vt={class:"vc-compact-colors",role:"listbox"},wt=["aria-label","aria-selected","onClick"],yt={class:"vc-compact-dot"};function xt(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",bt,[(0,r._)("ul",vt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.paletteUpperCase(n.palette),(e=>((0,r.wg)(),(0,r.iD)("li",{key:e,role:"option","aria-label":`color:${e}`,"aria-selected":e===s.pick,class:(0,o.C_)(["vc-compact-color-item",{"vc-compact-color-item--white":"#FFFFFF"===e}]),style:(0,o.j5)({background:e}),onClick:t=>s.handlerClick(e)},[(0,r.wy)((0,r._)("div",yt,null,512),[[we.F8,e===s.pick]])],14,wt)))),128))])])}var kt=".vc-compact{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);box-sizing:border-box;padding-left:5px;padding-top:5px;width:245px}.vc-compact-colors{margin:0;overflow:hidden;padding:0}.vc-compact-color-item{cursor:pointer;float:left;height:15px;list-style:none;margin-bottom:5px;margin-right:5px;position:relative;width:15px}.vc-compact-color-item--white{box-shadow:inset 0 0 0 1px #ddd}.vc-compact-color-item--white .vc-compact-dot{background:#000}.vc-compact-dot{background:#fff;border-radius:50%;bottom:5px;left:5px;opacity:1;position:absolute;right:5px;top:5px}";S(kt),_t.render=xt,_t.__file="src/components/compact/compact.vue",_t.install=j;const Ct=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];var St={name:"Grayscale",components:{},mixins:[ve],props:{palette:{type:Array,default(){return Ct}}},computed:{pick(){return this.colors.hex.toUpperCase()}},methods:{handlerClick(e){this.colorChange({hex:e,source:"hex"})}}};const Ft={role:"application","aria-label":"Grayscale color picker",class:"vc-grayscale"},jt={class:"vc-grayscale-colors",role:"listbox"},At=["aria-label","aria-selected","onClick"],Et={class:"vc-grayscale-dot"};function Mt(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",Ft,[(0,r._)("ul",jt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.paletteUpperCase(n.palette),(e=>((0,r.wg)(),(0,r.iD)("li",{key:e,role:"option","aria-label":`Color:${e}`,"aria-selected":e===s.pick,class:(0,o.C_)(["vc-grayscale-color-item",{"vc-grayscale-color-item--white":"#FFFFFF"===e}]),style:(0,o.j5)({background:e}),onClick:t=>s.handlerClick(e)},[(0,r.wy)((0,r._)("div",Et,null,512),[[we.F8,e===s.pick]])],14,At)))),128))])])}var Dt=".vc-grayscale{background-color:#fff;border-radius:2px;box-shadow:0 2px 15px rgba(0,0,0,.12),0 2px 10px rgba(0,0,0,.16);width:125px}.vc-grayscale-colors{border-radius:2px;margin:0;overflow:hidden;padding:0}.vc-grayscale-color-item{cursor:pointer;float:left;height:25px;list-style:none;position:relative;width:25px}.vc-grayscale-color-item--white .vc-grayscale-dot{background:#000}.vc-grayscale-dot{background:#fff;border-radius:50%;height:6px;left:50%;margin:-3px 0 0 -2px;opacity:1;position:absolute;top:50%;width:6px}";S(Dt),St.render=Mt,St.__file="src/components/grayscale/grayscale.vue",St.install=j;var Ot={name:"Material",components:{EdIn:ye},mixins:[ve],methods:{onChange(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}};const Lt={role:"application","aria-label":"Material color picker",class:"vc-material"},Tt={class:"vc-material-split"},Rt={class:"vc-material-third"},Pt={class:"vc-material-third"},Ht={class:"vc-material-third"};function It(e,t,n,a,i,s){const l=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",Lt,[(0,r.Wm)(l,{class:"vc-material-hex",label:"hex",value:e.colors.hex,style:(0,o.j5)({borderColor:e.colors.hex}),onChange:s.onChange},null,8,["value","style","onChange"]),(0,r._)("div",Tt,[(0,r._)("div",Rt,[(0,r.Wm)(l,{label:"r",value:e.colors.rgba.r,onChange:s.onChange},null,8,["value","onChange"])]),(0,r._)("div",Pt,[(0,r.Wm)(l,{label:"g",value:e.colors.rgba.g,onChange:s.onChange},null,8,["value","onChange"])]),(0,r._)("div",Ht,[(0,r.Wm)(l,{label:"b",value:e.colors.rgba.b,onChange:s.onChange},null,8,["value","onChange"])])])])}var zt=".vc-material{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);font-family:Roboto;height:98px;padding:16px;position:relative;width:98px}.vc-material .vc-input__input{color:#333;font-size:15px;height:30px;margin-top:12px;width:100%}.vc-material .vc-input__label{color:#999;font-size:11px;left:0;position:absolute;text-transform:capitalize;top:0}.vc-material-hex{border-bottom-style:solid;border-bottom-width:2px}.vc-material-split{display:flex;margin-right:-10px;padding-top:11px}.vc-material-third{flex:1;padding-right:10px}";S(zt),Ot.render=It,Ot.__file="src/components/material/material.vue",Ot.install=j;var qt={name:"Photoshop",components:{Saturation:Ee,Hue:Pe,EdIn:ye},mixins:[ve],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},data(){return{currentColor:"#FFF"}},computed:{hsv(){const{hsv:e}=this.colors;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex(){const{hex:e}=this.colors;return e&&e.replace("#","")}},created(){this.currentColor=this.colors.hex},methods:{childChange(e){this.colorChange(e)},inputChange(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept(){this.$emit("ok")},handleCancel(){this.$emit("cancel")},handleReset(){this.$emit("reset")}}};const $t={role:"heading",class:"vc-ps-head"},Bt={class:"vc-ps-body"},Nt={class:"vc-ps-saturation-wrap"},Ut={class:"vc-ps-hue-wrap"},Wt=(0,r._)("div",{class:"vc-ps-hue-pointer"},[(0,r._)("i",{class:"vc-ps-hue-pointer--left"}),(0,r._)("i",{class:"vc-ps-hue-pointer--right"})],-1),Kt={class:"vc-ps-previews"},Vt={class:"vc-ps-previews__label"},Jt={class:"vc-ps-previews__swatches"},Gt=["aria-label"],Yt=["aria-label"],Zt={class:"vc-ps-previews__label"},Xt={key:0,class:"vc-ps-actions"},Qt=["aria-label"],en=["aria-label"],tn={class:"vc-ps-fields"},nn=(0,r._)("div",{class:"vc-ps-fields__divider"},null,-1),rn=(0,r._)("div",{class:"vc-ps-fields__divider"},null,-1);function on(e,t,n,a,i,s){const l=(0,r.up)("Saturation"),c=(0,r.up)("Hue"),u=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"PhotoShop color picker",class:(0,o.C_)(["vc-photoshop",[n.disableFields?"vc-photoshop__disable-fields":""]])},[(0,r._)("div",$t,(0,o.zw)(n.head),1),(0,r._)("div",Bt,[(0,r._)("div",Nt,[(0,r.Wm)(l,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,r._)("div",Ut,[(0,r.Wm)(c,{value:e.colors,direction:"vertical",onChange:s.childChange},{default:(0,r.w5)((()=>[Wt])),_:1},8,["value","onChange"])]),(0,r._)("div",{class:(0,o.C_)(["vc-ps-controls",[n.disableFields?"vc-ps-controls__disable-fields":""]])},[(0,r._)("div",Kt,[(0,r._)("div",Vt,(0,o.zw)(n.newLabel),1),(0,r._)("div",Jt,[(0,r._)("div",{class:"vc-ps-previews__pr-color","aria-label":`New color is ${e.colors.hex}`,style:(0,o.j5)({background:e.colors.hex})},null,12,Gt),(0,r._)("div",{class:"vc-ps-previews__pr-color","aria-label":`Current color is ${i.currentColor}`,style:(0,o.j5)({background:i.currentColor}),onClick:t[0]||(t[0]=(...e)=>s.clickCurrentColor&&s.clickCurrentColor(...e))},null,12,Yt)]),(0,r._)("div",Zt,(0,o.zw)(n.currentLabel),1)]),n.disableFields?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",Xt,[(0,r._)("div",{class:"vc-ps-ac-btn",role:"button","aria-label":n.acceptLabel,onClick:t[1]||(t[1]=(...e)=>s.handleAccept&&s.handleAccept(...e))},(0,o.zw)(n.acceptLabel),9,Qt),(0,r._)("div",{class:"vc-ps-ac-btn",role:"button","aria-label":n.cancelLabel,onClick:t[2]||(t[2]=(...e)=>s.handleCancel&&s.handleCancel(...e))},(0,o.zw)(n.cancelLabel),9,en),(0,r._)("div",tn,[(0,r.kq)(" hsla "),(0,r.Wm)(u,{label:"h",desc:"°",value:s.hsv.h,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"s",desc:"%",value:s.hsv.s,max:100,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"v",desc:"%",value:s.hsv.v,max:100,onChange:s.inputChange},null,8,["value","onChange"]),nn,(0,r.kq)(" rgba "),(0,r.Wm)(u,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"]),(0,r.Wm)(u,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"]),rn,(0,r.kq)(" hex "),(0,r.Wm)(u,{label:"#",class:"vc-ps-fields__hex",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"])]),n.hasResetButton?((0,r.wg)(),(0,r.iD)("div",{key:0,class:"vc-ps-ac-btn","aria-label":"reset",onClick:t[3]||(t[3]=(...e)=>s.handleReset&&s.handleReset(...e))},(0,o.zw)(n.resetLabel),1)):(0,r.kq)("v-if",!0)]))],2)])],2)}var an='.vc-photoshop{background:#dcdcdc;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;font-family:Roboto;width:513px}.vc-photoshop__disable-fields{width:390px}.vc-ps-head{background-image:linear-gradient(-180deg,#f0f0f0,#d4d4d4);border-bottom:1px solid #b1b1b1;border-radius:4px 4px 0 0;box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.2),inset 0 -1px 0 0 rgba(0,0,0,.02);color:#4d4d4d;font-size:13px;height:23px;line-height:24px;text-align:center}.vc-ps-body{display:flex;padding:15px}.vc-ps-saturation-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;overflow:hidden;position:relative;width:256px}.vc-ps-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-ps-hue-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;margin-left:10px;width:19px}.vc-ps-hue-pointer,.vc-ps-hue-wrap{position:relative}.vc-ps-hue-pointer--left,.vc-ps-hue-pointer--right{border-color:transparent transparent transparent #555;border-style:solid;border-width:5px 0 5px 8px;height:0;position:absolute;width:0}.vc-ps-hue-pointer--left:after,.vc-ps-hue-pointer--right:after{border-color:transparent transparent transparent #fff;border-style:solid;border-width:4px 0 4px 6px;content:"";height:0;left:1px;position:absolute;top:1px;transform:translate(-8px,-5px);width:0}.vc-ps-hue-pointer--left{transform:translate(-13px,-4px)}.vc-ps-hue-pointer--right{transform:translate(20px,-4px) rotate(180deg)}.vc-ps-controls{display:flex;margin-left:10px;width:180px}.vc-ps-controls__disable-fields{width:auto}.vc-ps-actions{flex:1;margin-left:20px}.vc-ps-ac-btn{background-image:linear-gradient(-180deg,#fff,#e6e6e6);border:1px solid #878787;border-radius:2px;box-shadow:0 1px 0 0 #eaeaea;color:#000;cursor:pointer;font-size:14px;height:20px;line-height:20px;margin-bottom:10px;text-align:center}.vc-ps-previews{width:60px}.vc-ps-previews__swatches{border:1px solid #b3b3b3;border-bottom-color:#f0f0f0;margin-bottom:2px;margin-top:1px}.vc-ps-previews__pr-color{box-shadow:inset 1px 0 0 #000,inset -1px 0 0 #000,inset 0 1px 0 #000;height:34px}.vc-ps-previews__label{color:#000;font-size:14px;text-align:center}.vc-ps-fields{padding-bottom:9px;padding-top:5px;position:relative;width:80px}.vc-ps-fields .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:5px;margin-left:40%;margin-right:10px;padding-left:3px;width:40%}.vc-ps-fields .vc-input__desc,.vc-ps-fields .vc-input__label{font-size:13px;height:18px;line-height:22px;position:absolute;text-transform:uppercase;top:0}.vc-ps-fields .vc-input__label{left:0;width:34px}.vc-ps-fields .vc-input__desc{right:0;width:0}.vc-ps-fields__divider{height:5px}.vc-ps-fields__hex .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:6px;margin-left:20%;padding-left:3px;width:80%}.vc-ps-fields__hex .vc-input__label{font-size:13px;height:18px;left:0;line-height:22px;position:absolute;text-transform:uppercase;top:0;width:14px}';S(an),qt.render=on,qt.__file="src/components/photoshop/photoshop.vue",qt.install=j;const sn=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];var ln={name:"Sketch",components:{Saturation:Ee,Hue:Pe,Alpha:T,EdIn:ye,Checkboard:E},mixins:[ve],props:{presetColors:{type:Array,default(){return sn}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex(){let e;return e=this.colors.a<1?this.colors.hex8:this.colors.hex,e.replace("#","")},activeColor(){const{rgba:e}=this.colors;return`rgba(${[e.r,e.g,e.b,e.a].join(",")})`}},methods:{handlePreset(e){this.colorChange(e)},childChange(e){this.colorChange(e)},inputChange(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b||e.a)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}};const cn={class:"vc-sketch-saturation-wrap"},un={class:"vc-sketch-controls"},hn={class:"vc-sketch-sliders"},fn={class:"vc-sketch-hue-wrap"},pn={key:0,class:"vc-sketch-alpha-wrap"},dn={class:"vc-sketch-color-wrap"},gn=["aria-label"],mn={key:0,class:"vc-sketch-field"},_n={class:"vc-sketch-field--double"},bn={class:"vc-sketch-field--single"},vn={class:"vc-sketch-field--single"},wn={class:"vc-sketch-field--single"},yn={key:0,class:"vc-sketch-field--single"},xn={class:"vc-sketch-presets",role:"group","aria-label":"A color preset, pick one to set as current color"},kn=["aria-label","onClick"],Cn=["aria-label","onClick"];function Sn(e,t,n,a,i,s){const l=(0,r.up)("Saturation"),c=(0,r.up)("Hue"),u=(0,r.up)("Alpha"),h=(0,r.up)("Checkboard"),f=(0,r.up)("EdIn");return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"Sketch color picker",class:(0,o.C_)(["vc-sketch",[n.disableAlpha?"vc-sketch__disable-alpha":""]])},[(0,r._)("div",cn,[(0,r.Wm)(l,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),(0,r._)("div",un,[(0,r._)("div",hn,[(0,r._)("div",fn,[(0,r.Wm)(c,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",pn,[(0,r.Wm)(u,{value:e.colors,onChange:s.childChange},null,8,["value","onChange"])]))]),(0,r._)("div",dn,[(0,r._)("div",{"aria-label":`Current color is ${s.activeColor}`,class:"vc-sketch-active-color",style:(0,o.j5)({background:s.activeColor})},null,12,gn),(0,r.Wm)(h)])]),n.disableFields?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",mn,[(0,r.kq)(" rgba "),(0,r._)("div",_n,[(0,r.Wm)(f,{label:"hex",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",bn,[(0,r.Wm)(f,{label:"r",value:e.colors.rgba.r,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",vn,[(0,r.Wm)(f,{label:"g",value:e.colors.rgba.g,onChange:s.inputChange},null,8,["value","onChange"])]),(0,r._)("div",wn,[(0,r.Wm)(f,{label:"b",value:e.colors.rgba.b,onChange:s.inputChange},null,8,["value","onChange"])]),n.disableAlpha?(0,r.kq)("v-if",!0):((0,r.wg)(),(0,r.iD)("div",yn,[(0,r.Wm)(f,{label:"a",value:e.colors.a,"arrow-offset":.01,max:1,onChange:s.inputChange},null,8,["value","arrow-offset","onChange"])]))])),(0,r._)("div",xn,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.presetColors,(t=>((0,r.wg)(),(0,r.iD)(r.HY,null,[e.isTransparent(t)?((0,r.wg)(),(0,r.iD)("div",{key:t,"aria-label":`Color:${t}`,class:"vc-sketch-presets-color",onClick:e=>s.handlePreset(t)},[(0,r.Wm)(h)],8,Cn)):((0,r.wg)(),(0,r.iD)("div",{key:`!${t}`,class:"vc-sketch-presets-color","aria-label":`Color:${t}`,style:(0,o.j5)({background:t}),onClick:e=>s.handlePreset(t)},null,12,kn))],64)))),256))])],2)}var Fn=".vc-sketch{background:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;padding:10px 10px 0;position:relative;width:200px}.vc-sketch-saturation-wrap{overflow:hidden;padding-bottom:75%;position:relative;width:100%}.vc-sketch-controls{display:flex}.vc-sketch-sliders{flex:1;padding:4px 0}.vc-sketch-sliders .vc-alpha-gradient,.vc-sketch-sliders .vc-hue{border-radius:2px}.vc-sketch-alpha-wrap,.vc-sketch-hue-wrap{height:10px;position:relative}.vc-sketch-alpha-wrap{margin-top:4px;overflow:hidden}.vc-sketch-color-wrap{border-radius:3px;height:24px;margin-left:4px;margin-top:4px;position:relative;width:24px}.vc-sketch-active-color{border-radius:2px;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),inset 0 0 4px rgba(0,0,0,.25);left:0;position:absolute;right:0;top:0;z-index:2}.vc-sketch-color-wrap .vc-checkerboard{background-size:auto}.vc-sketch-field{display:flex;padding-top:4px}.vc-sketch-field .vc-input__input{border:none;box-shadow:inset 0 0 0 1px #ccc;font-size:10px;padding:4px 0 3px 10%;width:90%}.vc-sketch-field .vc-input__label{color:#222;display:block;font-size:11px;padding-bottom:4px;padding-top:3px;text-align:center;text-transform:capitalize}.vc-sketch-field--single{flex:1;padding-left:6px}.vc-sketch-field--double{flex:2}.vc-sketch-presets{border-top:1px solid #eee;margin-left:-10px;margin-right:-10px;padding-left:10px;padding-top:10px}.vc-sketch-presets-color{cursor:pointer;display:inline-block;height:16px;margin:0 10px 10px 0;overflow:hidden;position:relative;vertical-align:top;width:16px}.vc-sketch-presets-color,.vc-sketch-presets-color .vc-checkerboard{border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.vc-sketch__disable-alpha .vc-sketch-color-wrap{height:10px}";S(Fn),ln.render=Sn,ln.__file="src/components/sketch/sketch.vue",ln.install=j;const jn=.5;var An={name:"Slider",components:{Hue:Pe},mixins:[ve],props:{swatches:{type:Array,default(){return[{s:jn,l:.8},{s:jn,l:.65},{s:jn,l:.5},{s:jn,l:.35},{s:jn,l:.2}]}}},computed:{normalizedSwatches(){const{swatches:e}=this;return e.map((e=>"object"!==typeof e?{s:jn,l:e}:e))}},methods:{isActive(e,t){const{hsl:n}=this.colors;return 1===n.l&&1===e.l||(0===n.l&&0===e.l||Math.abs(n.l-e.l)<.01&&Math.abs(n.s-e.s)<.01)},hueChange(e){this.colorChange(e)},handleSwClick(e,t){this.colorChange({h:this.colors.hsl.h,s:t.s,l:t.l,source:"hsl"})}}};const En={role:"application","aria-label":"Slider color picker",class:"vc-slider"},Mn={class:"vc-slider-hue-warp"},Dn={class:"vc-slider-swatches",role:"group"},On=["data-index","aria-label","onClick"];function Ln(e,t,n,a,i,s){const l=(0,r.up)("Hue");return(0,r.wg)(),(0,r.iD)("div",En,[(0,r._)("div",Mn,[(0,r.Wm)(l,{value:e.colors,onChange:s.hueChange},null,8,["value","onChange"])]),(0,r._)("div",Dn,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(s.normalizedSwatches,((t,n)=>((0,r.wg)(),(0,r.iD)("div",{key:n,class:"vc-slider-swatch","data-index":n,"aria-label":`color:${e.colors.hex}`,role:"button",onClick:e=>s.handleSwClick(n,t)},[(0,r._)("div",{class:(0,o.C_)(["vc-slider-swatch-picker",{"vc-slider-swatch-picker--active":s.isActive(t,n),"vc-slider-swatch-picker--white":1===t.l}]),style:(0,o.j5)({background:`hsl(${e.colors.hsl.h}, ${100*t.s}%, ${100*t.l}%)`})},null,6)],8,On)))),128))])])}var Tn=".vc-slider{position:relative;width:410px}.vc-slider-hue-warp{height:12px;position:relative}.vc-slider-hue-warp .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:14px;transform:translate(-7px,-2px);width:14px}.vc-slider-swatches{display:flex;margin-top:20px}.vc-slider-swatch{flex:1;margin-right:1px;width:20%}.vc-slider-swatch:first-child{margin-right:1px}.vc-slider-swatch:first-child .vc-slider-swatch-picker{border-radius:2px 0 0 2px}.vc-slider-swatch:last-child{margin-right:0}.vc-slider-swatch:last-child .vc-slider-swatch-picker{border-radius:0 2px 2px 0}.vc-slider-swatch-picker{cursor:pointer;height:12px}.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active{border-radius:3.6px/2px;transform:scaleY(1.8)}.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 1px #ddd}.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 .6px #ddd}";S(Tn),An.render=Ln,An.__file="src/components/slider/slider.vue",An.install=j;var Rn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},Pn={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},Hn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},In={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},zn={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},qn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},$n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},Bn={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Nn={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Un={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Wn={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Kn={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Vn={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Jn={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Gn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Yn={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},Zn={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Xn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},Qn={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},er={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},tr={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},nr={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},rr={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},or="#ffffff",ar="#000000",ir={red:Rn,pink:Pn,purple:Hn,deepPurple:In,indigo:zn,blue:qn,lightBlue:$n,cyan:Bn,teal:Nn,green:Un,lightGreen:Wn,lime:Kn,yellow:Vn,amber:Jn,orange:Gn,deepOrange:Yn,brown:Zn,grey:Xn,blueGrey:Qn,darkText:er,lightText:tr,darkIcons:nr,lightIcons:rr,white:or,black:ar};const sr=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],lr=["900","700","500","300","100"],cr=(()=>{const e=[];return sr.forEach((t=>{let n=[];"black"===t.toLowerCase()||"white"===t.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):lr.forEach((e=>{const r=ir[t][e];n.push(r.toUpperCase())})),e.push(n)})),e})();var ur={name:"Swatches",mixins:[ve],props:{palette:{type:Array,default(){return cr}}},computed:{pick(){return this.colors.hex}},methods:{equal(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick(e){this.colorChange({hex:e,source:"hex"})}}};const hr=["data-pick"],fr={class:"vc-swatches-box",role:"listbox"},pr=["aria-label","aria-selected","data-color","onKeyup","onClick"],dr={class:"vc-swatches-pick"},gr={style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},mr=(0,r._)("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},null,-1),_r=[mr];function br(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{role:"application","aria-label":"Swatches color picker",class:"vc-swatches","data-pick":s.pick},[(0,r._)("div",fr,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.palette,((e,t)=>((0,r.wg)(),(0,r.iD)("div",{key:t,class:"vc-swatches-color-group"},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e,(e=>((0,r.wg)(),(0,r.iD)("div",{key:e,class:(0,o.C_)(["vc-swatches-color-it",[{"vc-swatches-color--white":"#FFFFFF"===e}]]),role:"option","aria-label":`Color:${e}`,"aria-selected":s.equal(e),"data-color":e,style:(0,o.j5)({background:e}),tabindex:"0",onKeyup:(0,we.D2)((t=>s.handlerClick(e)),["enter"]),onClick:t=>s.handlerClick(e)},[(0,r.wy)((0,r._)("div",dr,[((0,r.wg)(),(0,r.iD)("svg",gr,_r))],512),[[we.F8,s.equal(e)]])],46,pr)))),128))])))),128))])],8,hr)}var vr=".vc-swatches{background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);height:240px;overflow-y:scroll;width:320px}.vc-swatches-box{overflow:hidden;padding:16px 0 6px 16px}.vc-swatches-color-group{float:left;margin-right:10px;padding-bottom:10px;width:40px}.vc-swatches-color-it{background:#880e4f;-ms-border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-o-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0;box-sizing:border-box;cursor:pointer;height:24px;margin-bottom:1px;overflow:hidden;width:40px}.vc-swatches-color--white{border:1px solid #ddd}.vc-swatches-pick{fill:#fff;display:block;margin-left:8px}.vc-swatches-color--white .vc-swatches-pick{fill:#333}";S(vr),ur.render=br,ur.__file="src/components/swatches/swatches.vue",ur.install=j;const wr=["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"];var yr={name:"Twitter",components:{EditableInput:ye},mixins:[ve],props:{width:{type:[String,Number],default:276},defaultColors:{type:Array,default(){return wr}},triangle:{default:"top-left",validator(e){return["hide","top-left","top-right"].includes(e)}}},computed:{hsv(){const{hsv:e}=this.colors;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex(){const{hex:e}=this.colors;return e&&e.replace("#","")}},methods:{equal(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick(e){this.colorChange({hex:e,source:"hex"})},inputChange(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))}}};const xr=(0,r._)("div",{class:"vc-twitter-triangle-shadow"},null,-1),kr=(0,r._)("div",{class:"vc-twitter-triangle"},null,-1),Cr={class:"vc-twitter-body"},Sr=["onKeyup","onClick"],Fr=(0,r._)("div",{class:"vc-twitter-hash"}," # ",-1),jr=(0,r._)("div",{class:"vc-twitter-clear"},null,-1);function Ar(e,t,n,a,i,s){const l=(0,r.up)("EditableInput");return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["vc-twitter",{"vc-twitter-hide-triangle ":"hide"===n.triangle,"vc-twitter-top-left-triangle ":"top-left"===n.triangle,"vc-twitter-top-right-triangle ":"top-right"===n.triangle}]),style:(0,o.j5)({width:"number"===typeof n.width?`${n.width}px`:n.width})},[xr,kr,(0,r._)("div",Cr,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.defaultColors,((e,t)=>((0,r.wg)(),(0,r.iD)("span",{key:t,class:"vc-twitter-swatch",style:(0,o.j5)({background:e,boxShadow:`0 0 4px ${s.equal(e)?e:"transparent"}`}),role:"button",tabindex:"0",onKeyup:(0,we.D2)((t=>s.handlerClick(e)),["enter"]),onClick:t=>s.handlerClick(e)},null,44,Sr)))),128)),Fr,(0,r.Wm)(l,{label:"#",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"]),jr])],6)}var Er=".vc-twitter{background:#fff;border:0 solid rgba(0,0,0,.25);border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.25);position:relative}.vc-twitter-triangle{border-color:transparent transparent #fff}.vc-twitter-triangle,.vc-twitter-triangle-shadow{border-style:solid;border-width:0 9px 10px;height:0;position:absolute;width:0}.vc-twitter-triangle-shadow{border-color:transparent transparent rgba(0,0,0,.1)}.vc-twitter-body{padding:15px 9px 9px 15px}.vc-twitter .vc-editable-input{position:relative}.vc-twitter .vc-editable-input input{border:0;border-radius:0 4px 4px 0;box-shadow:inset 0 0 0 1px #f0f0f0;box-sizing:content-box;color:#666;float:left;font-size:14px;height:28px;outline:none;padding:1px 1px 1px 8px;width:100px}.vc-twitter .vc-editable-input span{display:none}.vc-twitter-hash{align-items:center;background:#f0f0f0;border-radius:4px 0 0 4px;color:#98a1a4;display:flex;float:left;height:30px;justify-content:center;width:30px}.vc-twitter-swatch{border-radius:4px;cursor:pointer;float:left;height:30px;margin:0 6px 6px 0;position:relative;width:30px}.vc-twitter-clear{clear:both}.vc-twitter-hide-triangle .vc-twitter-triangle,.vc-twitter-hide-triangle .vc-twitter-triangle-shadow{display:none}.vc-twitter-top-left-triangle .vc-twitter-triangle{left:12px;top:-10px}.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{left:12px;top:-11px}.vc-twitter-top-right-triangle .vc-twitter-triangle{right:12px;top:-10px}.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{right:12px;top:-11px}";S(Er),yr.render=Ar,yr.__file="src/components/twitter/twitter.vue",yr.install=j;const Mr=[T,E,Be,_t,ye,St,Pe,Ot,qt,Ee,ln,An,ur,yr];var Dr={mixins:[y],components:Mr.reduce(((e,t)=>(e[t.name]=t,e)),{}),data(){return{color:this.item.color}},computed:{is_menu(){return!0},css_color(){return this.color.hex8||this.color||"#000"}},methods:{mousedown_handler(e){"input"!=e.target.tagName.toLowerCase()&&e.preventDefault()}},watch:{"item.color"(e){this.color!=e&&(this._prevent_next_color_update=!0,this.color=e)},color(e){this.item.update_color&&!this._prevent_next_color_update&&this.item.update_color(e),this._prevent_next_color_update=!1}}};const Or=(0,v.Z)(Dr,[["render",C],["__scopeId","data-v-2fe7124b"]]);var Lr=Or;const Tr={class:"bar-separator"};function Rr(e,t){return(0,r.wg)(),(0,r.iD)("div",Tr)}const Pr={},Hr=(0,v.Z)(Pr,[["render",Rr]]);var Ir=Hr;const zr={class:"bar-spacer"};function qr(e,t){return(0,r.wg)(),(0,r.iD)("div",zr)}const $r={},Br=(0,v.Z)($r,[["render",qr]]);var Nr=Br,Ur={components:{BarButtonGeneric:y,BarButtonColor:Lr,BarSeparator:Ir,BarSpacer:Nr},props:{content:{type:Array,required:!0}},data(){return{menu_open:!1}},methods:{clickaway(e){this.$el.contains(e.target)||(this.menu_open=!1)},toggle_menu(e,t){t.stopPropagation();const n=t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents;this.menu_open=!(!e._el.is_menu||e.disabled)&&(!!n||!this.menu_open)},get_component(e){return e&&!Array.isArray(e)&&"object"==typeof e?e:"string"==typeof e?"bar-"+e:"bar-button-generic"}},mounted(){document.addEventListener("click",this.clickaway)},beforeUnmount(){document.removeEventListener("click",this.clickaway)}};const Wr=(0,v.Z)(Ur,[["render",i],["__scopeId","data-v-9653a704"]]);var Kr=Wr},5612:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var r=n(6252),o=n(3577);const a={class:"bar-menu"},i=(0,r._)("div",{class:"extended-hover-zone"},null,-1);function s(e,t,n,s,l,c){return(0,r.wg)(),(0,r.iD)("div",a,[i,(0,r._)("div",{class:"bar-menu-items",style:(0,o.j5)({width:n.width+"px",minWidth:n.width+"px",maxHeight:n.height+"px",overflow:n.height?"auto":"visible"})},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.menu,((e,t)=>((0,r.wg)(),(0,r.j4)((0,r.LL)(c.get_component(e.is)),{item:e,class:(0,o.C_)(e.class),id:e.id,key:"menu-"+t},null,8,["item","class","id"])))),128))],4)])}const l=["title"],c={key:1,class:"material-icons icon"},u={key:1,class:"emoji"},h={key:2,class:"label"},f=["innerHTML"],p={key:4,class:"hotkey"},d=["innerHTML"],g={key:6,class:"material-icons chevron"};function m(e,t,n,a,i,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,o.C_)(["bar-menu-item",{disabled:n.item.disabled,active:n.item.active}]),onMousedown:t[0]||(t[0]=e=>e.preventDefault()),onClick:t[1]||(t[1]=(...e)=>s.click&&s.click(...e)),title:n.item.title,style:(0,o.j5)({height:n.item.height+"px"})},[n.item.icon?((0,r.wg)(),(0,r.iD)(r.HY,{key:0},["object"==typeof n.item.icon?((0,r.wg)(),(0,r.j4)((0,r.LL)(n.item.icon),{key:0,class:"icon"})):((0,r.wg)(),(0,r.iD)("span",c,(0,o.zw)(n.item.icon),1))],64)):(0,r.kq)("",!0),n.item.emoji?((0,r.wg)(),(0,r.iD)("span",u,(0,o.zw)(s.get_emoji(n.item.emoji)),1)):(0,r.kq)("",!0),n.item.text?((0,r.wg)(),(0,r.iD)("span",h,(0,o.zw)(n.item.text),1)):(0,r.kq)("",!0),n.item.html?((0,r.wg)(),(0,r.iD)("span",{key:3,class:"label",innerHTML:n.item.html},null,8,f)):(0,r.kq)("",!0),n.item.hotkey?((0,r.wg)(),(0,r.iD)("span",p,(0,o.zw)(e.hotkey),1)):(0,r.kq)("",!0),n.item.menu&&n.item.custom_chevron?((0,r.wg)(),(0,r.iD)("span",{key:5,class:"chevron",innerHTML:n.item.custom_chevron},null,8,d)):n.item.menu?((0,r.wg)(),(0,r.iD)("span",g,"chevron_right")):(0,r.kq)("",!0),n.item.menu?((0,r.wg)(),(0,r.j4)((0,r.LL)(s.get_component(n.item.menu)),{key:7,ref:"menu",class:(0,o.C_)(["menu",n.item.menu_class]),menu:n.item.menu,id:n.item.menu_id,width:n.item.menu_width,height:n.item.menu_height},null,8,["menu","class","id","width","height"])):(0,r.kq)("",!0)],46,l)}var _=n(4964),b=n(7347),v={mixins:[b.Z],components:{BarMenu:(0,r.RC)((()=>Promise.resolve().then(n.bind(n,5612))))},props:{item:{type:Object,required:!0}},methods:{click(e){this.item.click&&!this.item.disabled?this.item.click(e):this.$refs.menu&&e.composedPath&&e.composedPath().includes(this.$refs.menu.$el)||e.stopPropagation()},get_emoji:e=>e in _?_[e]:"",get_component(e){return e&&!Array.isArray(e)&&"object"==typeof e?e:"bar-menu"}}},w=n(3744);const y=(0,w.Z)(v,[["render",m]]);var x=y;const k={class:"bar-menu-separator"};function C(e,t){return(0,r.wg)(),(0,r.iD)("div",k)}const S={},F=(0,w.Z)(S,[["render",C]]);var j=F,A={components:{BarMenuItem:x,BarMenuSeparator:j},props:{menu:{type:Array,required:!0},width:Number,height:Number},methods:{get_component(e){return"object"==typeof e?e:"string"==typeof e?"bar-menu-"+e:"bar-menu-item"}}};const E=(0,w.Z)(A,[["render",s]]);var M=E},4964:function(e){"use strict";e.exports=JSON.parse('{"100":"💯","1234":"🔢","umbrella_with_rain_drops":"☔","coffee":"☕","aries":"♈","taurus":"♉","sagittarius":"♐","capricorn":"♑","aquarius":"♒","pisces":"♓","anchor":"⚓","white_check_mark":"✅","sparkles":"✨","question":"❓","grey_question":"❔","grey_exclamation":"❕","exclamation":"❗","heavy_exclamation_mark":"❗","heavy_plus_sign":"➕","heavy_minus_sign":"➖","heavy_division_sign":"➗","hash":"#️⃣","keycap_star":"*️⃣","zero":"0️⃣","one":"1️⃣","two":"2️⃣","three":"3️⃣","four":"4️⃣","five":"5️⃣","six":"6️⃣","seven":"7️⃣","eight":"8️⃣","nine":"9️⃣","copyright":"©️","registered":"®️","mahjong":"🀄","black_joker":"🃏","a":"🅰️","b":"🅱️","o2":"🅾️","parking":"🅿️","ab":"🆎","cl":"🆑","cool":"🆒","free":"🆓","id":"🆔","new":"🆕","ng":"🆖","ok":"🆗","sos":"🆘","up":"🆙","vs":"🆚","flag-ac":"🇦🇨","flag-ad":"🇦🇩","flag-ae":"🇦🇪","flag-af":"🇦🇫","flag-ag":"🇦🇬","flag-ai":"🇦🇮","flag-al":"🇦🇱","flag-am":"🇦🇲","flag-ao":"🇦🇴","flag-aq":"🇦🇶","flag-ar":"🇦🇷","flag-as":"🇦🇸","flag-at":"🇦🇹","flag-au":"🇦🇺","flag-aw":"🇦🇼","flag-ax":"🇦🇽","flag-az":"🇦🇿","flag-ba":"🇧🇦","flag-bb":"🇧🇧","flag-bd":"🇧🇩","flag-be":"🇧🇪","flag-bf":"🇧🇫","flag-bg":"🇧🇬","flag-bh":"🇧🇭","flag-bi":"🇧🇮","flag-bj":"🇧🇯","flag-bl":"🇧🇱","flag-bm":"🇧🇲","flag-bn":"🇧🇳","flag-bo":"🇧🇴","flag-bq":"🇧🇶","flag-br":"🇧🇷","flag-bs":"🇧🇸","flag-bt":"🇧🇹","flag-bv":"🇧🇻","flag-bw":"🇧🇼","flag-by":"🇧🇾","flag-bz":"🇧🇿","flag-ca":"🇨🇦","flag-cc":"🇨🇨","flag-cd":"🇨🇩","flag-cf":"🇨🇫","flag-cg":"🇨🇬","flag-ch":"🇨🇭","flag-ci":"🇨🇮","flag-ck":"🇨🇰","flag-cl":"🇨🇱","flag-cm":"🇨🇲","cn":"🇨🇳","flag-cn":"🇨🇳","flag-co":"🇨🇴","flag-cp":"🇨🇵","flag-cr":"🇨🇷","flag-cu":"🇨🇺","flag-cv":"🇨🇻","flag-cw":"🇨🇼","flag-cx":"🇨🇽","flag-cy":"🇨🇾","flag-cz":"🇨🇿","de":"🇩🇪","flag-de":"🇩🇪","flag-dg":"🇩🇬","flag-dj":"🇩🇯","flag-dk":"🇩🇰","flag-dm":"🇩🇲","flag-do":"🇩🇴","flag-dz":"🇩🇿","flag-ea":"🇪🇦","flag-ec":"🇪🇨","flag-ee":"🇪🇪","flag-eg":"🇪🇬","flag-eh":"🇪🇭","flag-er":"🇪🇷","es":"🇪🇸","flag-es":"🇪🇸","flag-et":"🇪🇹","flag-eu":"🇪🇺","flag-fi":"🇫🇮","flag-fj":"🇫🇯","flag-fk":"🇫🇰","flag-fm":"🇫🇲","flag-fo":"🇫🇴","fr":"🇫🇷","flag-fr":"🇫🇷","flag-ga":"🇬🇦","gb":"🇬🇧","uk":"🇬🇧","flag-gb":"🇬🇧","flag-gd":"🇬🇩","flag-ge":"🇬🇪","flag-gf":"🇬🇫","flag-gg":"🇬🇬","flag-gh":"🇬🇭","flag-gi":"🇬🇮","flag-gl":"🇬🇱","flag-gm":"🇬🇲","flag-gn":"🇬🇳","flag-gp":"🇬🇵","flag-gq":"🇬🇶","flag-gr":"🇬🇷","flag-gs":"🇬🇸","flag-gt":"🇬🇹","flag-gu":"🇬🇺","flag-gw":"🇬🇼","flag-gy":"🇬🇾","flag-hk":"🇭🇰","flag-hm":"🇭🇲","flag-hn":"🇭🇳","flag-hr":"🇭🇷","flag-ht":"🇭🇹","flag-hu":"🇭🇺","flag-ic":"🇮🇨","flag-id":"🇮🇩","flag-ie":"🇮🇪","flag-il":"🇮🇱","flag-im":"🇮🇲","flag-in":"🇮🇳","flag-io":"🇮🇴","flag-iq":"🇮🇶","flag-ir":"🇮🇷","flag-is":"🇮🇸","it":"🇮🇹","flag-it":"🇮🇹","flag-je":"🇯🇪","flag-jm":"🇯🇲","flag-jo":"🇯🇴","jp":"🇯🇵","flag-jp":"🇯🇵","flag-ke":"🇰🇪","flag-kg":"🇰🇬","flag-kh":"🇰🇭","flag-ki":"🇰🇮","flag-km":"🇰🇲","flag-kn":"🇰🇳","flag-kp":"🇰🇵","kr":"🇰🇷","flag-kr":"🇰🇷","flag-kw":"🇰🇼","flag-ky":"🇰🇾","flag-kz":"🇰🇿","flag-la":"🇱🇦","flag-lb":"🇱🇧","flag-lc":"🇱🇨","flag-li":"🇱🇮","flag-lk":"🇱🇰","flag-lr":"🇱🇷","flag-ls":"🇱🇸","flag-lt":"🇱🇹","flag-lu":"🇱🇺","flag-lv":"🇱🇻","flag-ly":"🇱🇾","flag-ma":"🇲🇦","flag-mc":"🇲🇨","flag-md":"🇲🇩","flag-me":"🇲🇪","flag-mf":"🇲🇫","flag-mg":"🇲🇬","flag-mh":"🇲🇭","flag-mk":"🇲🇰","flag-ml":"🇲🇱","flag-mm":"🇲🇲","flag-mn":"🇲🇳","flag-mo":"🇲🇴","flag-mp":"🇲🇵","flag-mq":"🇲🇶","flag-mr":"🇲🇷","flag-ms":"🇲🇸","flag-mt":"🇲🇹","flag-mu":"🇲🇺","flag-mv":"🇲🇻","flag-mw":"🇲🇼","flag-mx":"🇲🇽","flag-my":"🇲🇾","flag-mz":"🇲🇿","flag-na":"🇳🇦","flag-nc":"🇳🇨","flag-ne":"🇳🇪","flag-nf":"🇳🇫","flag-ng":"🇳🇬","flag-ni":"🇳🇮","flag-nl":"🇳🇱","flag-no":"🇳🇴","flag-np":"🇳🇵","flag-nr":"🇳🇷","flag-nu":"🇳🇺","flag-nz":"🇳🇿","flag-om":"🇴🇲","flag-pa":"🇵🇦","flag-pe":"🇵🇪","flag-pf":"🇵🇫","flag-pg":"🇵🇬","flag-ph":"🇵🇭","flag-pk":"🇵🇰","flag-pl":"🇵🇱","flag-pm":"🇵🇲","flag-pn":"🇵🇳","flag-pr":"🇵🇷","flag-ps":"🇵🇸","flag-pt":"🇵🇹","flag-pw":"🇵🇼","flag-py":"🇵🇾","flag-qa":"🇶🇦","flag-re":"🇷🇪","flag-ro":"🇷🇴","flag-rs":"🇷🇸","ru":"🇷🇺","flag-ru":"🇷🇺","flag-rw":"🇷🇼","flag-sa":"🇸🇦","flag-sb":"🇸🇧","flag-sc":"🇸🇨","flag-sd":"🇸🇩","flag-se":"🇸🇪","flag-sg":"🇸🇬","flag-sh":"🇸🇭","flag-si":"🇸🇮","flag-sj":"🇸🇯","flag-sk":"🇸🇰","flag-sl":"🇸🇱","flag-sm":"🇸🇲","flag-sn":"🇸🇳","flag-so":"🇸🇴","flag-sr":"🇸🇷","flag-ss":"🇸🇸","flag-st":"🇸🇹","flag-sv":"🇸🇻","flag-sx":"🇸🇽","flag-sy":"🇸🇾","flag-sz":"🇸🇿","flag-ta":"🇹🇦","flag-tc":"🇹🇨","flag-td":"🇹🇩","flag-tf":"🇹🇫","flag-tg":"🇹🇬","flag-th":"🇹🇭","flag-tj":"🇹🇯","flag-tk":"🇹🇰","flag-tl":"🇹🇱","flag-tm":"🇹🇲","flag-tn":"🇹🇳","flag-to":"🇹🇴","flag-tr":"🇹🇷","flag-tt":"🇹🇹","flag-tv":"🇹🇻","flag-tw":"🇹🇼","flag-tz":"🇹🇿","flag-ua":"🇺🇦","flag-ug":"🇺🇬","flag-um":"🇺🇲","flag-un":"🇺🇳","us":"🇺🇸","flag-us":"🇺🇸","flag-uy":"🇺🇾","flag-uz":"🇺🇿","flag-va":"🇻🇦","flag-vc":"🇻🇨","flag-ve":"🇻🇪","flag-vg":"🇻🇬","flag-vi":"🇻🇮","flag-vn":"🇻🇳","flag-vu":"🇻🇺","flag-wf":"🇼🇫","flag-ws":"🇼🇸","flag-xk":"🇽🇰","flag-ye":"🇾🇪","flag-yt":"🇾🇹","flag-za":"🇿🇦","flag-zm":"🇿🇲","flag-zw":"🇿🇼","koko":"🈁","sa":"🈂️","u7121":"🈚","u6307":"🈯","u7981":"🈲","u7a7a":"🈳","u5408":"🈴","u6e80":"🈵","u6709":"🈶","u6708":"🈷️","u7533":"🈸","u5272":"🈹","u55b6":"🈺","ideograph_advantage":"🉐","accept":"🉑","cyclone":"🌀","foggy":"🌁","closed_umbrella":"🌂","night_with_stars":"🌃","sunrise_over_mountains":"🌄","sunrise":"🌅","city_sunset":"🌆","city_sunrise":"🌇","rainbow":"🌈","bridge_at_night":"🌉","ocean":"🌊","volcano":"🌋","milky_way":"🌌","earth_africa":"🌍","earth_americas":"🌎","earth_asia":"🌏","globe_with_meridians":"🌐","new_moon":"🌑","waxing_crescent_moon":"🌒","first_quarter_moon":"🌓","moon":"🌔","waxing_gibbous_moon":"🌔","full_moon":"🌕","waning_gibbous_moon":"🌖","last_quarter_moon":"🌗","waning_crescent_moon":"🌘","crescent_moon":"🌙","new_moon_with_face":"🌚","first_quarter_moon_with_face":"🌛","last_quarter_moon_with_face":"🌜","full_moon_with_face":"🌝","sun_with_face":"🌞","star2":"🌟","stars":"🌠","thermometer":"🌡️","mostly_sunny":"🌤️","sun_small_cloud":"🌤️","barely_sunny":"🌥️","sun_behind_cloud":"🌥️","partly_sunny_rain":"🌦️","sun_behind_rain_cloud":"🌦️","rain_cloud":"🌧️","snow_cloud":"🌨️","lightning":"🌩️","lightning_cloud":"🌩️","tornado":"🌪️","tornado_cloud":"🌪️","fog":"🌫️","wind_blowing_face":"🌬️","hotdog":"🌭","taco":"🌮","burrito":"🌯","chestnut":"🌰","seedling":"🌱","evergreen_tree":"🌲","deciduous_tree":"🌳","palm_tree":"🌴","cactus":"🌵","hot_pepper":"🌶️","tulip":"🌷","cherry_blossom":"🌸","rose":"🌹","hibiscus":"🌺","sunflower":"🌻","blossom":"🌼","corn":"🌽","ear_of_rice":"🌾","herb":"🌿","four_leaf_clover":"🍀","maple_leaf":"🍁","fallen_leaf":"🍂","leaves":"🍃","mushroom":"🍄","tomato":"🍅","eggplant":"🍆","grapes":"🍇","melon":"🍈","watermelon":"🍉","tangerine":"🍊","lemon":"🍋","banana":"🍌","pineapple":"🍍","apple":"🍎","green_apple":"🍏","pear":"🍐","peach":"🍑","cherries":"🍒","strawberry":"🍓","hamburger":"🍔","pizza":"🍕","meat_on_bone":"🍖","poultry_leg":"🍗","rice_cracker":"🍘","rice_ball":"🍙","rice":"🍚","curry":"🍛","ramen":"🍜","spaghetti":"🍝","bread":"🍞","fries":"🍟","sweet_potato":"🍠","dango":"🍡","oden":"🍢","sushi":"🍣","fried_shrimp":"🍤","fish_cake":"🍥","icecream":"🍦","shaved_ice":"🍧","ice_cream":"🍨","doughnut":"🍩","cookie":"🍪","chocolate_bar":"🍫","candy":"🍬","lollipop":"🍭","custard":"🍮","honey_pot":"🍯","cake":"🍰","bento":"🍱","stew":"🍲","fried_egg":"🍳","cooking":"🍳","fork_and_knife":"🍴","tea":"🍵","sake":"🍶","wine_glass":"🍷","cocktail":"🍸","tropical_drink":"🍹","beer":"🍺","beers":"🍻","baby_bottle":"🍼","knife_fork_plate":"🍽️","champagne":"🍾","popcorn":"🍿","ribbon":"🎀","gift":"🎁","birthday":"🎂","jack_o_lantern":"🎃","christmas_tree":"🎄","santa":"🎅","fireworks":"🎆","sparkler":"🎇","balloon":"🎈","tada":"🎉","confetti_ball":"🎊","tanabata_tree":"🎋","crossed_flags":"🎌","bamboo":"🎍","dolls":"🎎","flags":"🎏","wind_chime":"🎐","rice_scene":"🎑","school_satchel":"🎒","mortar_board":"🎓","medal":"🎖️","reminder_ribbon":"🎗️","studio_microphone":"🎙️","level_slider":"🎚️","control_knobs":"🎛️","film_frames":"🎞️","admission_tickets":"🎟️","carousel_horse":"🎠","ferris_wheel":"🎡","roller_coaster":"🎢","fishing_pole_and_fish":"🎣","microphone":"🎤","movie_camera":"🎥","cinema":"🎦","headphones":"🎧","art":"🎨","tophat":"🎩","circus_tent":"🎪","ticket":"🎫","clapper":"🎬","performing_arts":"🎭","video_game":"🎮","dart":"🎯","slot_machine":"🎰","8ball":"🎱","game_die":"🎲","bowling":"🎳","flower_playing_cards":"🎴","musical_note":"🎵","notes":"🎶","saxophone":"🎷","guitar":"🎸","musical_keyboard":"🎹","trumpet":"🎺","violin":"🎻","musical_score":"🎼","running_shirt_with_sash":"🎽","tennis":"🎾","ski":"🎿","basketball":"🏀","checkered_flag":"🏁","snowboarder":"🏂","woman-running":"🏃‍♀️","man-running":"🏃‍♂️","runner":"🏃‍♂️","running":"🏃‍♂️","woman-surfing":"🏄‍♀️","man-surfing":"🏄‍♂️","surfer":"🏄‍♂️","sports_medal":"🏅","trophy":"🏆","horse_racing":"🏇","football":"🏈","rugby_football":"🏉","woman-swimming":"🏊‍♀️","man-swimming":"🏊‍♂️","swimmer":"🏊‍♂️","woman-lifting-weights":"🏋️‍♀️","man-lifting-weights":"🏋️‍♂️","weight_lifter":"🏋️‍♂️","woman-golfing":"🏌️‍♀️","man-golfing":"🏌️‍♂️","golfer":"🏌️‍♂️","racing_motorcycle":"🏍️","racing_car":"🏎️","cricket_bat_and_ball":"🏏","volleyball":"🏐","field_hockey_stick_and_ball":"🏑","ice_hockey_stick_and_puck":"🏒","table_tennis_paddle_and_ball":"🏓","snow_capped_mountain":"🏔️","camping":"🏕️","beach_with_umbrella":"🏖️","building_construction":"🏗️","house_buildings":"🏘️","cityscape":"🏙️","derelict_house_building":"🏚️","classical_building":"🏛️","desert":"🏜️","desert_island":"🏝️","national_park":"🏞️","stadium":"🏟️","house":"🏠","house_with_garden":"🏡","office":"🏢","post_office":"🏣","european_post_office":"🏤","hospital":"🏥","bank":"🏦","atm":"🏧","hotel":"🏨","love_hotel":"🏩","convenience_store":"🏪","school":"🏫","department_store":"🏬","factory":"🏭","izakaya_lantern":"🏮","lantern":"🏮","japanese_castle":"🏯","european_castle":"🏰","rainbow-flag":"🏳️‍🌈","transgender_flag":"🏳️‍⚧️","waving_white_flag":"🏳️","pirate_flag":"🏴‍☠️","flag-england":"🏴󠁧󠁢󠁥󠁮󠁧󠁿","flag-scotland":"🏴󠁧󠁢󠁳󠁣󠁴󠁿","flag-wales":"🏴󠁧󠁢󠁷󠁬󠁳󠁿","waving_black_flag":"🏴","rosette":"🏵️","label":"🏷️","badminton_racquet_and_shuttlecock":"🏸","bow_and_arrow":"🏹","amphora":"🏺","skin-tone-2":"🏻","skin-tone-3":"🏼","skin-tone-4":"🏽","skin-tone-5":"🏾","skin-tone-6":"🏿","rat":"🐀","mouse2":"🐁","ox":"🐂","water_buffalo":"🐃","cow2":"🐄","tiger2":"🐅","leopard":"🐆","rabbit2":"🐇","black_cat":"🐈‍⬛","cat2":"🐈","dragon":"🐉","crocodile":"🐊","whale2":"🐋","snail":"🐌","snake":"🐍","racehorse":"🐎","ram":"🐏","goat":"🐐","sheep":"🐑","monkey":"🐒","rooster":"🐓","chicken":"🐔","service_dog":"🐕‍🦺","dog2":"🐕","pig2":"🐖","boar":"🐗","elephant":"🐘","octopus":"🐙","shell":"🐚","bug":"🐛","ant":"🐜","bee":"🐝","honeybee":"🐝","ladybug":"🐞","lady_beetle":"🐞","fish":"🐟","tropical_fish":"🐠","blowfish":"🐡","turtle":"🐢","hatching_chick":"🐣","baby_chick":"🐤","hatched_chick":"🐥","bird":"🐦","penguin":"🐧","koala":"🐨","poodle":"🐩","dromedary_camel":"🐪","camel":"🐫","dolphin":"🐬","flipper":"🐬","mouse":"🐭","cow":"🐮","tiger":"🐯","rabbit":"🐰","cat":"🐱","dragon_face":"🐲","whale":"🐳","horse":"🐴","monkey_face":"🐵","dog":"🐶","pig":"🐷","frog":"🐸","hamster":"🐹","wolf":"🐺","polar_bear":"🐻‍❄️","bear":"🐻","panda_face":"🐼","pig_nose":"🐽","feet":"🐾","paw_prints":"🐾","chipmunk":"🐿️","eyes":"👀","eye-in-speech-bubble":"👁️‍🗨️","eye":"👁️","ear":"👂","nose":"👃","lips":"👄","tongue":"👅","point_up_2":"👆","point_down":"👇","point_left":"👈","point_right":"👉","facepunch":"👊","punch":"👊","wave":"👋","ok_hand":"👌","+1":"👍","thumbsup":"👍","-1":"👎","thumbsdown":"👎","clap":"👏","open_hands":"👐","crown":"👑","womans_hat":"👒","eyeglasses":"👓","necktie":"👔","shirt":"👕","tshirt":"👕","jeans":"👖","dress":"👗","kimono":"👘","bikini":"👙","womans_clothes":"👚","purse":"👛","handbag":"👜","pouch":"👝","mans_shoe":"👞","shoe":"👞","athletic_shoe":"👟","high_heel":"👠","sandal":"👡","boot":"👢","footprints":"👣","bust_in_silhouette":"👤","busts_in_silhouette":"👥","boy":"👦","girl":"👧","male-farmer":"👨‍🌾","male-cook":"👨‍🍳","man_feeding_baby":"👨‍🍼","male-student":"👨‍🎓","male-singer":"👨‍🎤","male-artist":"👨‍🎨","male-teacher":"👨‍🏫","male-factory-worker":"👨‍🏭","man-boy-boy":"👨‍👦‍👦","man-boy":"👨‍👦","man-girl-boy":"👨‍👧‍👦","man-girl-girl":"👨‍👧‍👧","man-girl":"👨‍👧","man-man-boy":"👨‍👨‍👦","man-man-boy-boy":"👨‍👨‍👦‍👦","man-man-girl":"👨‍👨‍👧","man-man-girl-boy":"👨‍👨‍👧‍👦","man-man-girl-girl":"👨‍👨‍👧‍👧","man-woman-boy":"👨‍👩‍👦","family":"👨‍👩‍👦","man-woman-boy-boy":"👨‍👩‍👦‍👦","man-woman-girl":"👨‍👩‍👧","man-woman-girl-boy":"👨‍👩‍👧‍👦","man-woman-girl-girl":"👨‍👩‍👧‍👧","male-technologist":"👨‍💻","male-office-worker":"👨‍💼","male-mechanic":"👨‍🔧","male-scientist":"👨‍🔬","male-astronaut":"👨‍🚀","male-firefighter":"👨‍🚒","man_with_probing_cane":"👨‍🦯","red_haired_man":"👨‍🦰","curly_haired_man":"👨‍🦱","bald_man":"👨‍🦲","white_haired_man":"👨‍🦳","man_in_motorized_wheelchair":"👨‍🦼","man_in_manual_wheelchair":"👨‍🦽","male-doctor":"👨‍⚕️","male-judge":"👨‍⚖️","male-pilot":"👨‍✈️","man-heart-man":"👨‍❤️‍👨","man-kiss-man":"👨‍❤️‍💋‍👨","man":"👨","female-farmer":"👩‍🌾","female-cook":"👩‍🍳","woman_feeding_baby":"👩‍🍼","female-student":"👩‍🎓","female-singer":"👩‍🎤","female-artist":"👩‍🎨","female-teacher":"👩‍🏫","female-factory-worker":"👩‍🏭","woman-boy-boy":"👩‍👦‍👦","woman-boy":"👩‍👦","woman-girl-boy":"👩‍👧‍👦","woman-girl-girl":"👩‍👧‍👧","woman-girl":"👩‍👧","woman-woman-boy":"👩‍👩‍👦","woman-woman-boy-boy":"👩‍👩‍👦‍👦","woman-woman-girl":"👩‍👩‍👧","woman-woman-girl-boy":"👩‍👩‍👧‍👦","woman-woman-girl-girl":"👩‍👩‍👧‍👧","female-technologist":"👩‍💻","female-office-worker":"👩‍💼","female-mechanic":"👩‍🔧","female-scientist":"👩‍🔬","female-astronaut":"👩‍🚀","female-firefighter":"👩‍🚒","woman_with_probing_cane":"👩‍🦯","red_haired_woman":"👩‍🦰","curly_haired_woman":"👩‍🦱","bald_woman":"👩‍🦲","white_haired_woman":"👩‍🦳","woman_in_motorized_wheelchair":"👩‍🦼","woman_in_manual_wheelchair":"👩‍🦽","female-doctor":"👩‍⚕️","female-judge":"👩‍⚖️","female-pilot":"👩‍✈️","woman-heart-man":"👩‍❤️‍👨","woman-heart-woman":"👩‍❤️‍👩","woman-kiss-man":"👩‍❤️‍💋‍👨","woman-kiss-woman":"👩‍❤️‍💋‍👩","woman":"👩","man_and_woman_holding_hands":"👫","woman_and_man_holding_hands":"👫","couple":"👫","two_men_holding_hands":"👬","men_holding_hands":"👬","two_women_holding_hands":"👭","women_holding_hands":"👭","female-police-officer":"👮‍♀️","male-police-officer":"👮‍♂️","cop":"👮‍♂️","women-with-bunny-ears-partying":"👯‍♀️","woman-with-bunny-ears-partying":"👯‍♀️","dancers":"👯‍♀️","men-with-bunny-ears-partying":"👯‍♂️","man-with-bunny-ears-partying":"👯‍♂️","woman_with_veil":"👰‍♀️","man_with_veil":"👰‍♂️","bride_with_veil":"👰","blond-haired-woman":"👱‍♀️","blond-haired-man":"👱‍♂️","person_with_blond_hair":"👱‍♂️","man_with_gua_pi_mao":"👲","woman-wearing-turban":"👳‍♀️","man-wearing-turban":"👳‍♂️","man_with_turban":"👳‍♂️","older_man":"👴","older_woman":"👵","baby":"👶","female-construction-worker":"👷‍♀️","male-construction-worker":"👷‍♂️","construction_worker":"👷‍♂️","princess":"👸","japanese_ogre":"👹","japanese_goblin":"👺","ghost":"👻","angel":"👼","alien":"👽","space_invader":"👾","imp":"👿","skull":"💀","woman-tipping-hand":"💁‍♀️","information_desk_person":"💁‍♀️","man-tipping-hand":"💁‍♂️","female-guard":"💂‍♀️","male-guard":"💂‍♂️","guardsman":"💂‍♂️","dancer":"💃","lipstick":"💄","nail_care":"💅","woman-getting-massage":"💆‍♀️","massage":"💆‍♀️","man-getting-massage":"💆‍♂️","woman-getting-haircut":"💇‍♀️","haircut":"💇‍♀️","man-getting-haircut":"💇‍♂️","barber":"💈","syringe":"💉","pill":"💊","kiss":"💋","love_letter":"💌","ring":"💍","gem":"💎","couplekiss":"💏","bouquet":"💐","couple_with_heart":"💑","wedding":"💒","heartbeat":"💓","broken_heart":"💔","two_hearts":"💕","sparkling_heart":"💖","heartpulse":"💗","cupid":"💘","blue_heart":"💙","green_heart":"💚","yellow_heart":"💛","purple_heart":"💜","gift_heart":"💝","revolving_hearts":"💞","heart_decoration":"💟","diamond_shape_with_a_dot_inside":"💠","bulb":"💡","anger":"💢","bomb":"💣","zzz":"💤","boom":"💥","collision":"💥","sweat_drops":"💦","droplet":"💧","dash":"💨","hankey":"💩","poop":"💩","shit":"💩","muscle":"💪","dizzy":"💫","speech_balloon":"💬","thought_balloon":"💭","white_flower":"💮","moneybag":"💰","currency_exchange":"💱","heavy_dollar_sign":"💲","credit_card":"💳","yen":"💴","dollar":"💵","euro":"💶","pound":"💷","money_with_wings":"💸","chart":"💹","seat":"💺","computer":"💻","briefcase":"💼","minidisc":"💽","floppy_disk":"💾","cd":"💿","dvd":"📀","file_folder":"📁","open_file_folder":"📂","page_with_curl":"📃","page_facing_up":"📄","date":"📅","calendar":"📆","card_index":"📇","chart_with_upwards_trend":"📈","chart_with_downwards_trend":"📉","bar_chart":"📊","clipboard":"📋","pushpin":"📌","round_pushpin":"📍","paperclip":"📎","straight_ruler":"📏","triangular_ruler":"📐","bookmark_tabs":"📑","ledger":"📒","notebook":"📓","notebook_with_decorative_cover":"📔","closed_book":"📕","book":"📖","open_book":"📖","green_book":"📗","blue_book":"📘","orange_book":"📙","books":"📚","name_badge":"📛","scroll":"📜","memo":"📝","pencil":"📝","telephone_receiver":"📞","pager":"📟","fax":"📠","satellite_antenna":"📡","loudspeaker":"📢","mega":"📣","outbox_tray":"📤","inbox_tray":"📥","package":"📦","e-mail":"📧","incoming_envelope":"📨","envelope_with_arrow":"📩","mailbox_closed":"📪","mailbox":"📫","mailbox_with_mail":"📬","mailbox_with_no_mail":"📭","postbox":"📮","postal_horn":"📯","newspaper":"📰","iphone":"📱","calling":"📲","vibration_mode":"📳","mobile_phone_off":"📴","no_mobile_phones":"📵","signal_strength":"📶","camera":"📷","camera_with_flash":"📸","video_camera":"📹","tv":"📺","radio":"📻","vhs":"📼","film_projector":"📽️","prayer_beads":"📿","twisted_rightwards_arrows":"🔀","repeat":"🔁","repeat_one":"🔂","arrows_clockwise":"🔃","arrows_counterclockwise":"🔄","low_brightness":"🔅","high_brightness":"🔆","mute":"🔇","speaker":"🔈","sound":"🔉","loud_sound":"🔊","battery":"🔋","electric_plug":"🔌","mag":"🔍","mag_right":"🔎","lock_with_ink_pen":"🔏","closed_lock_with_key":"🔐","key":"🔑","lock":"🔒","unlock":"🔓","bell":"🔔","no_bell":"🔕","bookmark":"🔖","link":"🔗","radio_button":"🔘","back":"🔙","end":"🔚","on":"🔛","soon":"🔜","top":"🔝","underage":"🔞","keycap_ten":"🔟","capital_abcd":"🔠","abcd":"🔡","symbols":"🔣","abc":"🔤","fire":"🔥","flashlight":"🔦","wrench":"🔧","hammer":"🔨","nut_and_bolt":"🔩","hocho":"🔪","knife":"🔪","gun":"🔫","microscope":"🔬","telescope":"🔭","crystal_ball":"🔮","six_pointed_star":"🔯","beginner":"🔰","trident":"🔱","black_square_button":"🔲","white_square_button":"🔳","red_circle":"🔴","large_blue_circle":"🔵","large_orange_diamond":"🔶","large_blue_diamond":"🔷","small_orange_diamond":"🔸","small_blue_diamond":"🔹","small_red_triangle":"🔺","small_red_triangle_down":"🔻","arrow_up_small":"🔼","arrow_down_small":"🔽","om_symbol":"🕉️","dove_of_peace":"🕊️","kaaba":"🕋","mosque":"🕌","synagogue":"🕍","menorah_with_nine_branches":"🕎","clock1":"🕐","clock2":"🕑","clock3":"🕒","clock4":"🕓","clock5":"🕔","clock6":"🕕","clock7":"🕖","clock8":"🕗","clock9":"🕘","clock10":"🕙","clock11":"🕚","clock12":"🕛","clock130":"🕜","clock230":"🕝","clock330":"🕞","clock430":"🕟","clock530":"🕠","clock630":"🕡","clock730":"🕢","clock830":"🕣","clock930":"🕤","clock1030":"🕥","clock1130":"🕦","clock1230":"🕧","candle":"🕯️","mantelpiece_clock":"🕰️","hole":"🕳️","man_in_business_suit_levitating":"🕴️","female-detective":"🕵️‍♀️","male-detective":"🕵️‍♂️","sleuth_or_spy":"🕵️‍♂️","dark_sunglasses":"🕶️","spider":"🕷️","spider_web":"🕸️","joystick":"🕹️","man_dancing":"🕺","linked_paperclips":"🖇️","lower_left_ballpoint_pen":"🖊️","lower_left_fountain_pen":"🖋️","lower_left_paintbrush":"🖌️","lower_left_crayon":"🖍️","raised_hand_with_fingers_splayed":"🖐️","middle_finger":"🖕","reversed_hand_with_middle_finger_extended":"🖕","spock-hand":"🖖","black_heart":"🖤","desktop_computer":"🖥️","printer":"🖨️","three_button_mouse":"🖱️","trackball":"🖲️","frame_with_picture":"🖼️","card_index_dividers":"🗂️","card_file_box":"🗃️","file_cabinet":"🗄️","wastebasket":"🗑️","spiral_note_pad":"🗒️","spiral_calendar_pad":"🗓️","compression":"🗜️","old_key":"🗝️","rolled_up_newspaper":"🗞️","dagger_knife":"🗡️","speaking_head_in_silhouette":"🗣️","left_speech_bubble":"🗨️","right_anger_bubble":"🗯️","ballot_box_with_ballot":"🗳️","world_map":"🗺️","mount_fuji":"🗻","tokyo_tower":"🗼","statue_of_liberty":"🗽","japan":"🗾","moyai":"🗿","grinning":"😀","grin":"😁","joy":"😂","smiley":"😃","smile":"😄","sweat_smile":"😅","laughing":"😆","satisfied":"😆","innocent":"😇","smiling_imp":"😈","wink":"😉","blush":"😊","yum":"😋","relieved":"😌","heart_eyes":"😍","sunglasses":"😎","smirk":"😏","neutral_face":"😐","expressionless":"😑","unamused":"😒","sweat":"😓","pensive":"😔","confused":"😕","confounded":"😖","kissing":"😗","kissing_heart":"😘","kissing_smiling_eyes":"😙","kissing_closed_eyes":"😚","stuck_out_tongue":"😛","stuck_out_tongue_winking_eye":"😜","stuck_out_tongue_closed_eyes":"😝","disappointed":"😞","worried":"😟","angry":"😠","rage":"😡","cry":"😢","persevere":"😣","triumph":"😤","disappointed_relieved":"😥","frowning":"😦","anguished":"😧","fearful":"😨","weary":"😩","sleepy":"😪","tired_face":"😫","grimacing":"😬","sob":"😭","face_exhaling":"😮‍💨","open_mouth":"😮","hushed":"😯","cold_sweat":"😰","scream":"😱","astonished":"😲","flushed":"😳","sleeping":"😴","face_with_spiral_eyes":"😵‍💫","dizzy_face":"😵","face_in_clouds":"😶‍🌫️","no_mouth":"😶","mask":"😷","smile_cat":"😸","joy_cat":"😹","smiley_cat":"😺","heart_eyes_cat":"😻","smirk_cat":"😼","kissing_cat":"😽","pouting_cat":"😾","crying_cat_face":"😿","scream_cat":"🙀","slightly_frowning_face":"🙁","slightly_smiling_face":"🙂","upside_down_face":"🙃","face_with_rolling_eyes":"🙄","woman-gesturing-no":"🙅‍♀️","no_good":"🙅‍♀️","man-gesturing-no":"🙅‍♂️","woman-gesturing-ok":"🙆‍♀️","ok_woman":"🙆‍♀️","man-gesturing-ok":"🙆‍♂️","woman-bowing":"🙇‍♀️","man-bowing":"🙇‍♂️","bow":"🙇‍♂️","see_no_evil":"🙈","hear_no_evil":"🙉","speak_no_evil":"🙊","woman-raising-hand":"🙋‍♀️","raising_hand":"🙋‍♀️","man-raising-hand":"🙋‍♂️","raised_hands":"🙌","woman-frowning":"🙍‍♀️","person_frowning":"🙍‍♀️","man-frowning":"🙍‍♂️","woman-pouting":"🙎‍♀️","person_with_pouting_face":"🙎‍♀️","man-pouting":"🙎‍♂️","pray":"🙏","rocket":"🚀","helicopter":"🚁","steam_locomotive":"🚂","railway_car":"🚃","bullettrain_side":"🚄","bullettrain_front":"🚅","train2":"🚆","metro":"🚇","light_rail":"🚈","station":"🚉","tram":"🚊","train":"🚋","bus":"🚌","oncoming_bus":"🚍","trolleybus":"🚎","busstop":"🚏","minibus":"🚐","ambulance":"🚑","fire_engine":"🚒","police_car":"🚓","oncoming_police_car":"🚔","taxi":"🚕","oncoming_taxi":"🚖","car":"🚗","red_car":"🚗","oncoming_automobile":"🚘","blue_car":"🚙","truck":"🚚","articulated_lorry":"🚛","tractor":"🚜","monorail":"🚝","mountain_railway":"🚞","suspension_railway":"🚟","mountain_cableway":"🚠","aerial_tramway":"🚡","ship":"🚢","woman-rowing-boat":"🚣‍♀️","man-rowing-boat":"🚣‍♂️","rowboat":"🚣‍♂️","speedboat":"🚤","traffic_light":"🚥","vertical_traffic_light":"🚦","construction":"🚧","rotating_light":"🚨","triangular_flag_on_post":"🚩","door":"🚪","no_entry_sign":"🚫","smoking":"🚬","no_smoking":"🚭","put_litter_in_its_place":"🚮","do_not_litter":"🚯","potable_water":"🚰","non-potable_water":"🚱","bike":"🚲","no_bicycles":"🚳","woman-biking":"🚴‍♀️","man-biking":"🚴‍♂️","bicyclist":"🚴‍♂️","woman-mountain-biking":"🚵‍♀️","man-mountain-biking":"🚵‍♂️","mountain_bicyclist":"🚵‍♂️","woman-walking":"🚶‍♀️","man-walking":"🚶‍♂️","walking":"🚶‍♂️","no_pedestrians":"🚷","children_crossing":"🚸","mens":"🚹","womens":"🚺","restroom":"🚻","baby_symbol":"🚼","toilet":"🚽","wc":"🚾","shower":"🚿","bath":"🛀","bathtub":"🛁","passport_control":"🛂","customs":"🛃","baggage_claim":"🛄","left_luggage":"🛅","couch_and_lamp":"🛋️","sleeping_accommodation":"🛌","shopping_bags":"🛍️","bellhop_bell":"🛎️","bed":"🛏️","place_of_worship":"🛐","octagonal_sign":"🛑","shopping_trolley":"🛒","hindu_temple":"🛕","hut":"🛖","elevator":"🛗","hammer_and_wrench":"🛠️","shield":"🛡️","oil_drum":"🛢️","motorway":"🛣️","railway_track":"🛤️","motor_boat":"🛥️","small_airplane":"🛩️","airplane_departure":"🛫","airplane_arriving":"🛬","satellite":"🛰️","passenger_ship":"🛳️","scooter":"🛴","motor_scooter":"🛵","canoe":"🛶","sled":"🛷","flying_saucer":"🛸","skateboard":"🛹","auto_rickshaw":"🛺","pickup_truck":"🛻","roller_skate":"🛼","large_orange_circle":"🟠","large_yellow_circle":"🟡","large_green_circle":"🟢","large_purple_circle":"🟣","large_brown_circle":"🟤","large_red_square":"🟥","large_blue_square":"🟦","large_orange_square":"🟧","large_yellow_square":"🟨","large_green_square":"🟩","large_purple_square":"🟪","large_brown_square":"🟫","pinched_fingers":"🤌","white_heart":"🤍","brown_heart":"🤎","pinching_hand":"🤏","zipper_mouth_face":"🤐","money_mouth_face":"🤑","face_with_thermometer":"🤒","nerd_face":"🤓","thinking_face":"🤔","face_with_head_bandage":"🤕","robot_face":"🤖","hugging_face":"🤗","the_horns":"🤘","sign_of_the_horns":"🤘","call_me_hand":"🤙","raised_back_of_hand":"🤚","left-facing_fist":"🤛","right-facing_fist":"🤜","handshake":"🤝","crossed_fingers":"🤞","hand_with_index_and_middle_fingers_crossed":"🤞","i_love_you_hand_sign":"🤟","face_with_cowboy_hat":"🤠","clown_face":"🤡","nauseated_face":"🤢","rolling_on_the_floor_laughing":"🤣","drooling_face":"🤤","lying_face":"🤥","woman-facepalming":"🤦‍♀️","man-facepalming":"🤦‍♂️","face_palm":"🤦","sneezing_face":"🤧","face_with_raised_eyebrow":"🤨","face_with_one_eyebrow_raised":"🤨","star-struck":"🤩","grinning_face_with_star_eyes":"🤩","zany_face":"🤪","grinning_face_with_one_large_and_one_small_eye":"🤪","shushing_face":"🤫","face_with_finger_covering_closed_lips":"🤫","face_with_symbols_on_mouth":"🤬","serious_face_with_symbols_covering_mouth":"🤬","face_with_hand_over_mouth":"🤭","smiling_face_with_smiling_eyes_and_hand_covering_mouth":"🤭","face_vomiting":"🤮","face_with_open_mouth_vomiting":"🤮","exploding_head":"🤯","shocked_face_with_exploding_head":"🤯","pregnant_woman":"🤰","breast-feeding":"🤱","palms_up_together":"🤲","selfie":"🤳","prince":"🤴","woman_in_tuxedo":"🤵‍♀️","man_in_tuxedo":"🤵‍♂️","person_in_tuxedo":"🤵","mrs_claus":"🤶","mother_christmas":"🤶","woman-shrugging":"🤷‍♀️","man-shrugging":"🤷‍♂️","shrug":"🤷","woman-cartwheeling":"🤸‍♀️","man-cartwheeling":"🤸‍♂️","person_doing_cartwheel":"🤸","woman-juggling":"🤹‍♀️","man-juggling":"🤹‍♂️","juggling":"🤹","fencer":"🤺","woman-wrestling":"🤼‍♀️","man-wrestling":"🤼‍♂️","wrestlers":"🤼","woman-playing-water-polo":"🤽‍♀️","man-playing-water-polo":"🤽‍♂️","water_polo":"🤽","woman-playing-handball":"🤾‍♀️","man-playing-handball":"🤾‍♂️","handball":"🤾","diving_mask":"🤿","wilted_flower":"🥀","drum_with_drumsticks":"🥁","clinking_glasses":"🥂","tumbler_glass":"🥃","spoon":"🥄","goal_net":"🥅","first_place_medal":"🥇","second_place_medal":"🥈","third_place_medal":"🥉","boxing_glove":"🥊","martial_arts_uniform":"🥋","curling_stone":"🥌","lacrosse":"🥍","softball":"🥎","flying_disc":"🥏","croissant":"🥐","avocado":"🥑","cucumber":"🥒","bacon":"🥓","potato":"🥔","carrot":"🥕","baguette_bread":"🥖","green_salad":"🥗","shallow_pan_of_food":"🥘","stuffed_flatbread":"🥙","egg":"🥚","glass_of_milk":"🥛","peanuts":"🥜","kiwifruit":"🥝","pancakes":"🥞","dumpling":"🥟","fortune_cookie":"🥠","takeout_box":"🥡","chopsticks":"🥢","bowl_with_spoon":"🥣","cup_with_straw":"🥤","coconut":"🥥","broccoli":"🥦","pie":"🥧","pretzel":"🥨","cut_of_meat":"🥩","sandwich":"🥪","canned_food":"🥫","leafy_green":"🥬","mango":"🥭","moon_cake":"🥮","bagel":"🥯","smiling_face_with_3_hearts":"🥰","yawning_face":"🥱","smiling_face_with_tear":"🥲","partying_face":"🥳","woozy_face":"🥴","hot_face":"🥵","cold_face":"🥶","ninja":"🥷","disguised_face":"🥸","pleading_face":"🥺","sari":"🥻","lab_coat":"🥼","goggles":"🥽","hiking_boot":"🥾","womans_flat_shoe":"🥿","crab":"🦀","lion_face":"🦁","scorpion":"🦂","turkey":"🦃","unicorn_face":"🦄","eagle":"🦅","duck":"🦆","bat":"🦇","shark":"🦈","owl":"🦉","fox_face":"🦊","butterfly":"🦋","deer":"🦌","gorilla":"🦍","lizard":"🦎","rhinoceros":"🦏","shrimp":"🦐","squid":"🦑","giraffe_face":"🦒","zebra_face":"🦓","hedgehog":"🦔","sauropod":"🦕","t-rex":"🦖","cricket":"🦗","kangaroo":"🦘","llama":"🦙","peacock":"🦚","hippopotamus":"🦛","parrot":"🦜","raccoon":"🦝","lobster":"🦞","mosquito":"🦟","microbe":"🦠","badger":"🦡","swan":"🦢","mammoth":"🦣","dodo":"🦤","sloth":"🦥","otter":"🦦","orangutan":"🦧","skunk":"🦨","flamingo":"🦩","oyster":"🦪","beaver":"🦫","bison":"🦬","seal":"🦭","guide_dog":"🦮","probing_cane":"🦯","bone":"🦴","leg":"🦵","foot":"🦶","tooth":"🦷","female_superhero":"🦸‍♀️","male_superhero":"🦸‍♂️","superhero":"🦸","female_supervillain":"🦹‍♀️","male_supervillain":"🦹‍♂️","supervillain":"🦹","safety_vest":"🦺","ear_with_hearing_aid":"🦻","motorized_wheelchair":"🦼","manual_wheelchair":"🦽","mechanical_arm":"🦾","mechanical_leg":"🦿","cheese_wedge":"🧀","cupcake":"🧁","salt":"🧂","beverage_box":"🧃","garlic":"🧄","onion":"🧅","falafel":"🧆","waffle":"🧇","butter":"🧈","mate_drink":"🧉","ice_cube":"🧊","bubble_tea":"🧋","woman_standing":"🧍‍♀️","man_standing":"🧍‍♂️","standing_person":"🧍","woman_kneeling":"🧎‍♀️","man_kneeling":"🧎‍♂️","kneeling_person":"🧎","deaf_woman":"🧏‍♀️","deaf_man":"🧏‍♂️","deaf_person":"🧏","face_with_monocle":"🧐","farmer":"🧑‍🌾","cook":"🧑‍🍳","person_feeding_baby":"🧑‍🍼","mx_claus":"🧑‍🎄","student":"🧑‍🎓","singer":"🧑‍🎤","artist":"🧑‍🎨","teacher":"🧑‍🏫","factory_worker":"🧑‍🏭","technologist":"🧑‍💻","office_worker":"🧑‍💼","mechanic":"🧑‍🔧","scientist":"🧑‍🔬","astronaut":"🧑‍🚀","firefighter":"🧑‍🚒","people_holding_hands":"🧑‍🤝‍🧑","person_with_probing_cane":"🧑‍🦯","red_haired_person":"🧑‍🦰","curly_haired_person":"🧑‍🦱","bald_person":"🧑‍🦲","white_haired_person":"🧑‍🦳","person_in_motorized_wheelchair":"🧑‍🦼","person_in_manual_wheelchair":"🧑‍🦽","health_worker":"🧑‍⚕️","judge":"🧑‍⚖️","pilot":"🧑‍✈️","adult":"🧑","child":"🧒","older_adult":"🧓","woman_with_beard":"🧔‍♀️","man_with_beard":"🧔‍♂️","bearded_person":"🧔","person_with_headscarf":"🧕","woman_in_steamy_room":"🧖‍♀️","man_in_steamy_room":"🧖‍♂️","person_in_steamy_room":"🧖‍♂️","woman_climbing":"🧗‍♀️","person_climbing":"🧗‍♀️","man_climbing":"🧗‍♂️","woman_in_lotus_position":"🧘‍♀️","person_in_lotus_position":"🧘‍♀️","man_in_lotus_position":"🧘‍♂️","female_mage":"🧙‍♀️","mage":"🧙‍♀️","male_mage":"🧙‍♂️","female_fairy":"🧚‍♀️","fairy":"🧚‍♀️","male_fairy":"🧚‍♂️","female_vampire":"🧛‍♀️","vampire":"🧛‍♀️","male_vampire":"🧛‍♂️","mermaid":"🧜‍♀️","merman":"🧜‍♂️","merperson":"🧜‍♂️","female_elf":"🧝‍♀️","male_elf":"🧝‍♂️","elf":"🧝‍♂️","female_genie":"🧞‍♀️","male_genie":"🧞‍♂️","genie":"🧞‍♂️","female_zombie":"🧟‍♀️","male_zombie":"🧟‍♂️","zombie":"🧟‍♂️","brain":"🧠","orange_heart":"🧡","billed_cap":"🧢","scarf":"🧣","gloves":"🧤","coat":"🧥","socks":"🧦","red_envelope":"🧧","firecracker":"🧨","jigsaw":"🧩","test_tube":"🧪","petri_dish":"🧫","dna":"🧬","compass":"🧭","abacus":"🧮","fire_extinguisher":"🧯","toolbox":"🧰","bricks":"🧱","magnet":"🧲","luggage":"🧳","lotion_bottle":"🧴","thread":"🧵","yarn":"🧶","safety_pin":"🧷","teddy_bear":"🧸","broom":"🧹","basket":"🧺","roll_of_paper":"🧻","soap":"🧼","sponge":"🧽","receipt":"🧾","nazar_amulet":"🧿","ballet_shoes":"🩰","one-piece_swimsuit":"🩱","briefs":"🩲","shorts":"🩳","thong_sandal":"🩴","drop_of_blood":"🩸","adhesive_bandage":"🩹","stethoscope":"🩺","yo-yo":"🪀","kite":"🪁","parachute":"🪂","boomerang":"🪃","magic_wand":"🪄","pinata":"🪅","nesting_dolls":"🪆","ringed_planet":"🪐","chair":"🪑","razor":"🪒","axe":"🪓","diya_lamp":"🪔","banjo":"🪕","military_helmet":"🪖","accordion":"🪗","long_drum":"🪘","coin":"🪙","carpentry_saw":"🪚","screwdriver":"🪛","ladder":"🪜","hook":"🪝","mirror":"🪞","window":"🪟","plunger":"🪠","sewing_needle":"🪡","knot":"🪢","bucket":"🪣","mouse_trap":"🪤","toothbrush":"🪥","headstone":"🪦","placard":"🪧","rock":"🪨","fly":"🪰","worm":"🪱","beetle":"🪲","cockroach":"🪳","potted_plant":"🪴","wood":"🪵","feather":"🪶","anatomical_heart":"🫀","lungs":"🫁","people_hugging":"🫂","blueberries":"🫐","bell_pepper":"🫑","olive":"🫒","flatbread":"🫓","tamale":"🫔","fondue":"🫕","teapot":"🫖","bangbang":"‼️","interrobang":"⁉️","tm":"™️","information_source":"ℹ️","left_right_arrow":"↔️","arrow_up_down":"↕️","arrow_upper_left":"↖️","arrow_upper_right":"↗️","arrow_lower_right":"↘️","arrow_lower_left":"↙️","leftwards_arrow_with_hook":"↩️","arrow_right_hook":"↪️","watch":"⌚","hourglass":"⌛","keyboard":"⌨️","eject":"⏏️","fast_forward":"⏩","rewind":"⏪","arrow_double_up":"⏫","arrow_double_down":"⏬","black_right_pointing_double_triangle_with_vertical_bar":"⏭️","black_left_pointing_double_triangle_with_vertical_bar":"⏮️","black_right_pointing_triangle_with_double_vertical_bar":"⏯️","alarm_clock":"⏰","stopwatch":"⏱️","timer_clock":"⏲️","hourglass_flowing_sand":"⏳","double_vertical_bar":"⏸️","black_square_for_stop":"⏹️","black_circle_for_record":"⏺️","m":"Ⓜ️","black_small_square":"▪️","white_small_square":"▫️","arrow_forward":"▶️","arrow_backward":"◀️","white_medium_square":"◻️","black_medium_square":"◼️","white_medium_small_square":"◽","black_medium_small_square":"◾","sunny":"☀️","cloud":"☁️","umbrella":"☂️","snowman":"☃️","comet":"☄️","phone":"☎️","telephone":"☎️","ballot_box_with_check":"☑️","shamrock":"☘️","point_up":"☝️","skull_and_crossbones":"☠️","radioactive_sign":"☢️","biohazard_sign":"☣️","orthodox_cross":"☦️","star_and_crescent":"☪️","peace_symbol":"☮️","yin_yang":"☯️","wheel_of_dharma":"☸️","white_frowning_face":"☹️","relaxed":"☺️","female_sign":"♀️","male_sign":"♂️","gemini":"♊","cancer":"♋","leo":"♌","virgo":"♍","libra":"♎","scorpius":"♏","chess_pawn":"♟️","spades":"♠️","clubs":"♣️","hearts":"♥️","diamonds":"♦️","hotsprings":"♨️","recycle":"♻️","infinity":"♾️","wheelchair":"♿","hammer_and_pick":"⚒️","crossed_swords":"⚔️","medical_symbol":"⚕️","staff_of_aesculapius":"⚕️","scales":"⚖️","alembic":"⚗️","gear":"⚙️","atom_symbol":"⚛️","fleur_de_lis":"⚜️","warning":"⚠️","zap":"⚡","transgender_symbol":"⚧️","white_circle":"⚪","black_circle":"⚫","coffin":"⚰️","funeral_urn":"⚱️","soccer":"⚽","baseball":"⚾","snowman_without_snow":"⛄","partly_sunny":"⛅","thunder_cloud_and_rain":"⛈️","ophiuchus":"⛎","pick":"⛏️","helmet_with_white_cross":"⛑️","chains":"⛓️","no_entry":"⛔","shinto_shrine":"⛩️","church":"⛪","mountain":"⛰️","umbrella_on_ground":"⛱️","fountain":"⛲","golf":"⛳","ferry":"⛴️","boat":"⛵","sailboat":"⛵","skier":"⛷️","ice_skate":"⛸️","woman-bouncing-ball":"⛹️‍♀️","man-bouncing-ball":"⛹️‍♂️","person_with_ball":"⛹️‍♂️","tent":"⛺","fuelpump":"⛽","scissors":"✂️","airplane":"✈️","email":"✉️","envelope":"✉️","fist":"✊","hand":"✋","raised_hand":"✋","v":"✌️","writing_hand":"✍️","pencil2":"✏️","black_nib":"✒️","heavy_check_mark":"✔️","heavy_multiplication_x":"✖️","latin_cross":"✝️","star_of_david":"✡️","eight_spoked_asterisk":"✳️","eight_pointed_black_star":"✴️","snowflake":"❄️","sparkle":"❇️","x":"❌","negative_squared_cross_mark":"❎","heavy_heart_exclamation_mark_ornament":"❣️","heart_on_fire":"❤️‍🔥","mending_heart":"❤️‍🩹","heart":"❤️","arrow_right":"➡️","curly_loop":"➰","loop":"➿","arrow_heading_up":"⤴️","arrow_heading_down":"⤵️","arrow_left":"⬅️","arrow_up":"⬆️","arrow_down":"⬇️","black_large_square":"⬛","white_large_square":"⬜","star":"⭐","o":"⭕","wavy_dash":"〰️","part_alternation_mark":"〽️","congratulations":"㊗️","secret":"㊙️"}')}}]); -//# sourceMappingURL=chunk-vendors.5945ee75.js.map \ No newline at end of file diff --git a/docs/js/chunk-vendors.5945ee75.js.map b/docs/js/chunk-vendors.5945ee75.js.map deleted file mode 100644 index bdba1f5..0000000 --- a/docs/js/chunk-vendors.5945ee75.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/chunk-vendors.5945ee75.js","mappings":"slBAMA,IAAIA,EACJ,MAAMC,EACJC,YAAYC,GAAW,GACrBC,KAAKD,SAAWA,EAIhBC,KAAKC,SAAU,EAIfD,KAAKE,QAAU,GAIfF,KAAKG,SAAW,GAChBH,KAAKI,OAASR,GACTG,GAAYH,IACfI,KAAKK,OAAST,EAAkBU,SAAWV,EAAkBU,OAAS,KAAKC,KACzEP,MACE,EAER,CACIQ,aACF,OAAOR,KAAKC,OACd,CACAQ,IAAIC,GACF,GAAIV,KAAKC,QAAS,CAChB,MAAMU,EAAqBf,EAC3B,IAEE,OADAA,EAAoBI,KACbU,GACT,CAAE,QACAd,EAAoBe,CACtB,CACF,MAAW,CAGb,CAKAC,KACEhB,EAAoBI,IACtB,CAKAa,MACEjB,EAAoBI,KAAKI,MAC3B,CACAU,KAAKC,GACH,GAAIf,KAAKC,QAAS,CAChB,IAAIe,EAAGC,EACP,IAAKD,EAAI,EAAGC,EAAIjB,KAAKE,QAAQgB,OAAQF,EAAIC,EAAGD,IAC1ChB,KAAKE,QAAQc,GAAGF,OAElB,IAAKE,EAAI,EAAGC,EAAIjB,KAAKG,SAASe,OAAQF,EAAIC,EAAGD,IAC3ChB,KAAKG,SAASa,KAEhB,GAAIhB,KAAKM,OACP,IAAKU,E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ACd,IKvCJ,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASzf,KAEpE,O","sources":["webpack://vue-document-editor/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack://vue-document-editor/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack://vue-document-editor/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack://vue-document-editor/./node_modules/@vue/shared/dist/shared.esm-bundler.js","webpack://vue-document-editor/./node_modules/core-js/internals/a-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/an-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-includes.js","webpack://vue-document-editor/./node_modules/core-js/internals/array-set-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/classof-raw.js","webpack://vue-document-editor/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/create-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/define-global-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/descriptors.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-all.js","webpack://vue-document-editor/./node_modules/core-js/internals/document-create-element.js","webpack://vue-document-editor/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-user-agent.js","webpack://vue-document-editor/./node_modules/core-js/internals/engine-v8-version.js","webpack://vue-document-editor/./node_modules/core-js/internals/enum-bug-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/export.js","webpack://vue-document-editor/./node_modules/core-js/internals/fails.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-bind-native.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-call.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-name.js","webpack://vue-document-editor/./node_modules/core-js/internals/function-uncurry-this.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/get-method.js","webpack://vue-document-editor/./node_modules/core-js/internals/global.js","webpack://vue-document-editor/./node_modules/core-js/internals/has-own-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/hidden-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/ie8-dom-define.js","webpack://vue-document-editor/./node_modules/core-js/internals/indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/inspect-source.js","webpack://vue-document-editor/./node_modules/core-js/internals/internal-state.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-array.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-callable.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-forced.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-pure.js","webpack://vue-document-editor/./node_modules/core-js/internals/is-symbol.js","webpack://vue-document-editor/./node_modules/core-js/internals/length-of-array-like.js","webpack://vue-document-editor/./node_modules/core-js/internals/make-built-in.js","webpack://vue-document-editor/./node_modules/core-js/internals/math-trunc.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-define-property.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-keys-internal.js","webpack://vue-document-editor/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://vue-document-editor/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/own-keys.js","webpack://vue-document-editor/./node_modules/core-js/internals/require-object-coercible.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared-store.js","webpack://vue-document-editor/./node_modules/core-js/internals/shared.js","webpack://vue-document-editor/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-absolute-index.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-indexed-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-length.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-object.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-primitive.js","webpack://vue-document-editor/./node_modules/core-js/internals/to-property-key.js","webpack://vue-document-editor/./node_modules/core-js/internals/try-to-string.js","webpack://vue-document-editor/./node_modules/core-js/internals/uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://vue-document-editor/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://vue-document-editor/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://vue-document-editor/./node_modules/core-js/internals/well-known-symbol.js","webpack://vue-document-editor/./node_modules/core-js/modules/es.array.push.js","webpack://vue-document-editor/./node_modules/hotkeys-js/dist/hotkeys.esm.js","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/imports/bar-hotkey-manager.js","webpack://vue-document-editor/./node_modules/vue-loader/dist/exportHelper.js","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/Bar.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonGeneric.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonGeneric.vue?68b1","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonColor.vue","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/style-inject.es-746bb8ed.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/defaultConfig.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/utils/compoent.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/checkboard/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/alpha/index.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/util.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/conversion.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/css-color-names.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/format-input.js","webpack://vue-document-editor/./node_modules/@ctrl/tinycolor/dist/module/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/mixin/color.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/editable-input/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/utils/utils.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/saturation/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/hue/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/chrome/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/compact/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/grayscale/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/material/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/photoshop/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/sketch/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/slider/index.js","webpack://vue-document-editor/./node_modules/material-colors/dist/colors.es2015.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/swatches/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components/twitter/index.js","webpack://vue-document-editor/./node_modules/@ckpack/vue-color/libs/components.js","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarButtonColor.vue?2d37","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSeparator.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSeparator.vue?a46f","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSpacer.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarSpacer.vue?8e19","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/Bar.vue?855e","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenu.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuItem.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuItem.vue?4eb2","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuSeparator.vue","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenuSeparator.vue?59f5","webpack://vue-document-editor/./node_modules/vue-file-toolbar-menu/src/Bar/BarMenu.vue?d5fc"],"sourcesContent":["import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const { deps } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { effect: activeEffect, target, type, key } : void 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if (!!(process.env.NODE_ENV !== \"production\") && activeEffect.onTrack) {\n activeEffect.onTrack(\n extend(\n {\n effect: activeEffect\n },\n debuggerEventExtraInfo\n )\n );\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(deps[0], eventInfo);\n } else {\n triggerEffects(deps[0]);\n }\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(createDep(effects), eventInfo);\n } else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if (!!(process.env.NODE_ENV !== \"production\") && effect2.onTrigger) {\n effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst get$1 = /* @__PURE__ */ createGetter();\nconst shallowGet = /* @__PURE__ */ createGetter(false, true);\nconst readonlyGet = /* @__PURE__ */ createGetter(true);\nconst shallowReadonlyGet = /* @__PURE__ */ createGetter(true, true);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nfunction createGetter(isReadonly2 = false, shallow = false) {\n return function get2(target, key, receiver) {\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set$1 = /* @__PURE__ */ createSetter();\nconst shallowSet = /* @__PURE__ */ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set2(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n };\n}\nfunction deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction has$1(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\", isArray(target) ? \"length\" : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get: get$1,\n set: set$1,\n deleteProperty,\n has: has$1,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n },\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /* @__PURE__ */ extend(\n {},\n mutableHandlers,\n {\n get: shallowGet,\n set: shallowSet\n }\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ extend(\n {},\n readonlyHandlers,\n {\n get: shallowReadonlyGet\n }\n);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(\n method,\n false,\n false\n );\n readonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n false\n );\n shallowInstrumentations2[method] = createIterableMethod(\n method,\n false,\n true\n );\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {\n trackEffects(ref2.dep || (ref2.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {\n triggerEffects(dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(\n source,\n key,\n defaultValue\n );\n}\n\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst tick = /* @__PURE__ */ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(\n true\n /* computedTrigger */\n );\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, capitalize, isGloballyWhitelisted, NO, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJobId = getId(queue[middle]);\n middleJobId < id ? start = middle + 1 : end = middle;\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Set();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(\n normalizeClassComponent(instance.type)\n );\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(\n render.call(\n proxyToUse,\n proxyToUse,\n renderCache,\n props,\n setupState,\n data,\n ctx\n )\n );\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if (!!(process.env.NODE_ENV !== \"production\") && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(\n render2.length > 1 ? render2(\n props,\n !!(process.env.NODE_ENV !== \"production\") ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : { attrs, slots, emit }\n ) : render2(\n props,\n null\n /* we know it doesn't need it */\n )\n );\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if (!!(process.env.NODE_ENV !== \"production\") && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(isModelListener)) {\n fallthroughAttrs = filterModelListeners(\n fallthroughAttrs,\n propsOptions\n );\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n if (!isModelListener(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(\n `Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`\n );\n }\n if (eventAttrs.length) {\n warn(\n `Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`\n );\n }\n }\n }\n }\n if (vnode.dirs) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Runtime directive used on component with non-element root node. The directives will not function as intended.`\n );\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Component inside renders non-element root node that cannot be animated.`\n );\n }\n root.transition = vnode.transition;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n if (!!(process.env.NODE_ENV !== \"production\") && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n } else {\n patchSuspense(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl ;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: { createElement }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n container,\n hiddenContainer,\n anchor,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n patch(\n null,\n suspense.pendingBranch = vnode.ssContent,\n hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds\n );\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(\n null,\n vnode.ssFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds\n );\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(\n pendingBranch,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n suspense.resolve(true);\n } else {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if (!!(process.env.NODE_ENV !== \"production\") && true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](\n ` is an experimental feature and its API will likely change.`\n );\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: { parentNode, remove }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(\n `suspense.resolve() is called without a pending branch.`\n );\n }\n if (suspense.isUnmounted) {\n throw new Error(\n `suspense.resolve() is called on an already unmounted suspense boundary.`\n );\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n const delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container2, anchor2, 0);\n }\n };\n }\n let { anchor: anchor2 } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(\n null,\n fallbackVNode,\n container2,\n anchor2,\n parentComponent2,\n null,\n // fallback tree will not have suspense context\n isSVG2,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(\n activeBranch,\n parentComponent2,\n null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch((err) => {\n handleError(err, instance, 0);\n }).then((asyncSetupResult) => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const { vnode: vnode2 } = instance;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(\n instance,\n vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree),\n suspense,\n isSVG,\n optimized\n );\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(\n suspense.activeBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n if (suspense.pendingBranch) {\n unmount(\n suspense.pendingBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n node.parentNode,\n document.createElement(\"div\"),\n null,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals,\n true\n /* hydrating */\n );\n const result = hydrateNode(\n node,\n suspense.pendingBranch = vnode.ssContent,\n parentComponent,\n suspense,\n slotScopeIds,\n optimized\n );\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(\n isSlotChildren ? children.default : children\n );\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if (!!(process.env.NODE_ENV !== \"production\") && !singleChild) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter((c) => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n var _a;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = getCurrentScope() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n } else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow$1(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return traverse(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [\n getter(),\n isMultiSource ? [] : void 0,\n onCleanup\n ]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some(\n (v, i) => hasChanged(v, oldValue[i])\n ) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup)\n ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\"))\n break;\n }\n }\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1))\n done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el._leaveCb) {\n el._leaveCb(\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el._leaveCb) {\n leavingVNode.el._leaveCb();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el._enterCb = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el._leaveCb = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ? vnode.children ? vnode.children[0] : void 0 : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128)\n keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n /* do not throw in dev if user provided error component */\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n isSVG,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n /* do not include inferred name to avoid breaking existing code */\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res)\n res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\")\n props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(\n Fragment,\n {\n key: props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn(`Cannot mutate \n\n\n","\n\n","import { render } from \"./BarButtonGeneric.vue?vue&type=template&id=4f947989\"\nimport script from \"./BarButtonGeneric.vue?vue&type=script&lang=js\"\nexport * from \"./BarButtonGeneric.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport { styleInject as s };\n","const name = 'VueColor';\n// 自定义组件前缀\nconst prefix = '';\nconst cssPrefix = '';\nconst size = 'medium';\n\nexport { cssPrefix, name, prefix, size };\n","import { prefix } from '../defaultConfig.js';\n\nconst install = function (app, options) {\n const { componentPrefix = prefix } = options || {};\n app.component(`${componentPrefix}${this.name}`, this);\n};\n\nexport { install };\n","import { openBlock, createElementBlock, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nconst _checkboardCache = {};\n\nvar script = {\n name: 'Checkboard',\n props: {\n size: {\n type: [Number, String],\n default: 8,\n },\n white: {\n type: String,\n default: '#fff',\n },\n grey: {\n type: String,\n default: '#e6e6e6',\n },\n },\n computed: {\n bgStyle() {\n return {\n 'background-image': `url(${getCheckboard(this.white, this.grey, this.size)})`,\n };\n },\n },\n};\n\n/**\n * get base 64 data by canvas\n *\n * @param {String} c1 hex color\n * @param {String} c2 hex color\n * @param {Number} size\n */\n\nfunction renderCheckboard(c1, c2, size) {\n // Dont Render On Server\n if (typeof document === 'undefined')\n return null;\n\n const canvas = document.createElement('canvas');\n canvas.width = canvas.height = size * 2;\n const ctx = canvas.getContext('2d');\n // If no context can be found, return early.\n if (!ctx)\n return null;\n\n ctx.fillStyle = c1;\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n ctx.fillStyle = c2;\n ctx.fillRect(0, 0, size, size);\n ctx.translate(size, size);\n ctx.fillRect(0, 0, size, size);\n return canvas.toDataURL();\n}\n\n/**\n * get checkboard base data and cache\n *\n * @param {String} c1 hex color\n * @param {String} c2 hex color\n * @param {Number} size\n */\n\nfunction getCheckboard(c1, c2, size) {\n const key = `${c1},${c2},${size}`;\n\n if (_checkboardCache[key])\n return _checkboardCache[key];\n\n const checkboard = renderCheckboard(c1, c2, size);\n _checkboardCache[key] = checkboard;\n return checkboard;\n}\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n class: \"vc-checkerboard\",\n style: normalizeStyle($options.bgStyle)\n }, null, 4 /* STYLE */))\n}\n\nvar css_248z = \".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/checkboard/checkboard.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script$1 from '../checkboard/index.js';\nimport { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Alpha',\n components: {\n Checkboard: script$1,\n },\n props: {\n value: Object,\n onChange: Function,\n },\n computed: {\n colors() {\n return this.value;\n },\n gradientColor() {\n const { rgba } = this.colors;\n const rgbStr = [rgba.r, rgba.g, rgba.b].join(',');\n return `linear-gradient(to right, rgba(${rgbStr}, 0) 0%, rgba(${rgbStr}, 1) 100%)`;\n },\n },\n methods: {\n handleChange(e, skip) {\n !skip && e.preventDefault();\n const { container } = this.$refs;\n if (!container) {\n // for some edge cases, container may not exist. see #220\n return;\n }\n const containerWidth = container.clientWidth;\n\n const xOffset = container.getBoundingClientRect().left + window.pageXOffset;\n const pageX = e.pageX || (e.touches ? e.touches[0].pageX : 0);\n const left = pageX - xOffset;\n\n let a;\n if (left < 0)\n a = 0;\n else if (left > containerWidth)\n a = 1;\n else\n a = Math.round(left * 100 / containerWidth) / 100;\n\n if (this.colors.a !== a) {\n this.$emit('change', {\n h: this.colors.hsl.h,\n s: this.colors.hsl.s,\n l: this.colors.hsl.l,\n a,\n source: 'rgba',\n });\n }\n },\n handleMouseDown(e) {\n this.handleChange(e, true);\n window.addEventListener('mousemove', this.handleChange);\n window.addEventListener('mouseup', this.handleMouseUp);\n },\n handleMouseUp() {\n this.unbindEventListeners();\n },\n unbindEventListeners() {\n window.removeEventListener('mousemove', this.handleChange);\n window.removeEventListener('mouseup', this.handleMouseUp);\n },\n },\n};\n\nconst _hoisted_1 = { class: \"vc-alpha\" };\nconst _hoisted_2 = { class: \"vc-alpha-checkboard-wrap\" };\nconst _hoisted_3 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-alpha-picker\" }, null, -1 /* HOISTED */);\nconst _hoisted_4 = [\n _hoisted_3\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Checkboard = resolveComponent(\"Checkboard\");\n\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"div\", _hoisted_2, [\n createVNode(_component_Checkboard)\n ]),\n createElementVNode(\"div\", {\n class: \"vc-alpha-gradient\",\n style: normalizeStyle({ background: $options.gradientColor })\n }, null, 4 /* STYLE */),\n createElementVNode(\"div\", {\n ref: \"container\",\n class: \"vc-alpha-container\",\n onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.handleMouseDown && $options.handleMouseDown(...args))),\n onTouchmove: _cache[1] || (_cache[1] = (...args) => ($options.handleChange && $options.handleChange(...args))),\n onTouchstart: _cache[2] || (_cache[2] = (...args) => ($options.handleChange && $options.handleChange(...args)))\n }, [\n createElementVNode(\"div\", {\n class: \"vc-alpha-pointer\",\n style: normalizeStyle({ left: `${$options.colors.a * 100}%` })\n }, _hoisted_4, 4 /* STYLE */)\n ], 544 /* HYDRATE_EVENTS, NEED_PATCH */)\n ]))\n}\n\nvar css_248z = \".vc-alpha,.vc-alpha-checkboard-wrap{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-container{cursor:pointer;height:100%;margin:0 3px;position:relative;z-index:2}.vc-alpha-pointer{position:absolute;z-index:2}.vc-alpha-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/alpha/alpha.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","/**\n * Take input from [0, n] and return it as [0, 1]\n * @hidden\n */\nexport function bound01(n, max) {\n if (isOnePointZero(n)) {\n n = '100%';\n }\n var isPercent = isPercentage(n);\n n = max === 360 ? n : Math.min(max, Math.max(0, parseFloat(n)));\n // Automatically convert percentage into number\n if (isPercent) {\n n = parseInt(String(n * max), 10) / 100;\n }\n // Handle floating point rounding errors\n if (Math.abs(n - max) < 0.000001) {\n return 1;\n }\n // Convert into [0, 1] range if it isn't already\n if (max === 360) {\n // If n is a hue given in degrees,\n // wrap around out-of-range values into [0, 360] range\n // then convert into [0, 1].\n n = (n < 0 ? (n % max) + max : n % max) / parseFloat(String(max));\n }\n else {\n // If n not a hue given in degrees\n // Convert into [0, 1] range if it isn't already.\n n = (n % max) / parseFloat(String(max));\n }\n return n;\n}\n/**\n * Force a number between 0 and 1\n * @hidden\n */\nexport function clamp01(val) {\n return Math.min(1, Math.max(0, val));\n}\n/**\n * Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n * \n * @hidden\n */\nexport function isOnePointZero(n) {\n return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;\n}\n/**\n * Check to see if string passed in is a percentage\n * @hidden\n */\nexport function isPercentage(n) {\n return typeof n === 'string' && n.indexOf('%') !== -1;\n}\n/**\n * Return a valid alpha value [0,1] with all invalid values being set to 1\n * @hidden\n */\nexport function boundAlpha(a) {\n a = parseFloat(a);\n if (isNaN(a) || a < 0 || a > 1) {\n a = 1;\n }\n return a;\n}\n/**\n * Replace a decimal with it's percentage value\n * @hidden\n */\nexport function convertToPercentage(n) {\n if (n <= 1) {\n return \"\".concat(Number(n) * 100, \"%\");\n }\n return n;\n}\n/**\n * Force a hex value to have 2 characters\n * @hidden\n */\nexport function pad2(c) {\n return c.length === 1 ? '0' + c : String(c);\n}\n","import { bound01, pad2 } from './util';\n// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:\n// \n/**\n * Handle bounds / percentage checking to conform to CSS color spec\n * \n * *Assumes:* r, g, b in [0, 255] or [0, 1]\n * *Returns:* { r, g, b } in [0, 255]\n */\nexport function rgbToRgb(r, g, b) {\n return {\n r: bound01(r, 255) * 255,\n g: bound01(g, 255) * 255,\n b: bound01(b, 255) * 255,\n };\n}\n/**\n * Converts an RGB color value to HSL.\n * *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]\n * *Returns:* { h, s, l } in [0,1]\n */\nexport function rgbToHsl(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var s = 0;\n var l = (max + min) / 2;\n if (max === min) {\n s = 0;\n h = 0; // achromatic\n }\n else {\n var d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, l: l };\n}\nfunction hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * (6 * t);\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n/**\n * Converts an HSL color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hslToRgb(h, s, l) {\n var r;\n var g;\n var b;\n h = bound01(h, 360);\n s = bound01(s, 100);\n l = bound01(l, 100);\n if (s === 0) {\n // achromatic\n g = l;\n b = l;\n r = l;\n }\n else {\n var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n var p = 2 * l - q;\n r = hue2rgb(p, q, h + 1 / 3);\n g = hue2rgb(p, q, h);\n b = hue2rgb(p, q, h - 1 / 3);\n }\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color value to HSV\n *\n * *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n * *Returns:* { h, s, v } in [0,1]\n */\nexport function rgbToHsv(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = 0;\n var v = max;\n var d = max - min;\n var s = max === 0 ? 0 : d / max;\n if (max === min) {\n h = 0; // achromatic\n }\n else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n case g:\n h = (b - r) / d + 2;\n break;\n case b:\n h = (r - g) / d + 4;\n break;\n default:\n break;\n }\n h /= 6;\n }\n return { h: h, s: s, v: v };\n}\n/**\n * Converts an HSV color value to RGB.\n *\n * *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n * *Returns:* { r, g, b } in the set [0, 255]\n */\nexport function hsvToRgb(h, s, v) {\n h = bound01(h, 360) * 6;\n s = bound01(s, 100);\n v = bound01(v, 100);\n var i = Math.floor(h);\n var f = h - i;\n var p = v * (1 - s);\n var q = v * (1 - f * s);\n var t = v * (1 - (1 - f) * s);\n var mod = i % 6;\n var r = [v, q, p, p, t, v][mod];\n var g = [t, v, v, q, p, p][mod];\n var b = [p, p, t, v, v, q][mod];\n return { r: r * 255, g: g * 255, b: b * 255 };\n}\n/**\n * Converts an RGB color to hex\n *\n * Assumes r, g, and b are contained in the set [0, 255]\n * Returns a 3 or 6 character hex\n */\nexport function rgbToHex(r, g, b, allow3Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n // Return a 3 character hex if possible\n if (allow3Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color plus alpha transparency to hex\n *\n * Assumes r, g, b are contained in the set [0, 255] and\n * a in [0, 1]. Returns a 4 or 8 character rgba hex\n */\n// eslint-disable-next-line max-params\nexport function rgbaToHex(r, g, b, a, allow4Char) {\n var hex = [\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n pad2(convertDecimalToHex(a)),\n ];\n // Return a 4 character hex if possible\n if (allow4Char &&\n hex[0].startsWith(hex[0].charAt(1)) &&\n hex[1].startsWith(hex[1].charAt(1)) &&\n hex[2].startsWith(hex[2].charAt(1)) &&\n hex[3].startsWith(hex[3].charAt(1))) {\n return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);\n }\n return hex.join('');\n}\n/**\n * Converts an RGBA color to an ARGB Hex8 string\n * Rarely used, but required for \"toFilter()\"\n */\nexport function rgbaToArgbHex(r, g, b, a) {\n var hex = [\n pad2(convertDecimalToHex(a)),\n pad2(Math.round(r).toString(16)),\n pad2(Math.round(g).toString(16)),\n pad2(Math.round(b).toString(16)),\n ];\n return hex.join('');\n}\n/** Converts a decimal to a hex value */\nexport function convertDecimalToHex(d) {\n return Math.round(parseFloat(d) * 255).toString(16);\n}\n/** Converts a hex value to a decimal */\nexport function convertHexToDecimal(h) {\n return parseIntFromHex(h) / 255;\n}\n/** Parse a base-16 hex value into a base-10 integer */\nexport function parseIntFromHex(val) {\n return parseInt(val, 16);\n}\nexport function numberInputToObject(color) {\n return {\n r: color >> 16,\n g: (color & 0xff00) >> 8,\n b: color & 0xff,\n };\n}\n","// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json\n/**\n * @hidden\n */\nexport var names = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n goldenrod: '#daa520',\n gold: '#ffd700',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavenderblush: '#fff0f5',\n lavender: '#e6e6fa',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n","/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\nimport { convertHexToDecimal, hslToRgb, hsvToRgb, parseIntFromHex, rgbToRgb } from './conversion';\nimport { names } from './css-color-names';\nimport { boundAlpha, convertToPercentage } from './util';\n/**\n * Given a string or object, convert that input to RGB\n *\n * Possible string inputs:\n * ```\n * \"red\"\n * \"#f00\" or \"f00\"\n * \"#ff0000\" or \"ff0000\"\n * \"#ff000000\" or \"ff000000\"\n * \"rgb 255 0 0\" or \"rgb (255, 0, 0)\"\n * \"rgb 1.0 0 0\" or \"rgb (1, 0, 0)\"\n * \"rgba (255, 0, 0, 1)\" or \"rgba 255, 0, 0, 1\"\n * \"rgba (1.0, 0, 0, 1)\" or \"rgba 1.0, 0, 0, 1\"\n * \"hsl(0, 100%, 50%)\" or \"hsl 0 100% 50%\"\n * \"hsla(0, 100%, 50%, 1)\" or \"hsla 0 100% 50%, 1\"\n * \"hsv(0, 100%, 100%)\" or \"hsv 0 100% 100%\"\n * ```\n */\nexport function inputToRGB(color) {\n var rgb = { r: 0, g: 0, b: 0 };\n var a = 1;\n var s = null;\n var v = null;\n var l = null;\n var ok = false;\n var format = false;\n if (typeof color === 'string') {\n color = stringInputToObject(color);\n }\n if (typeof color === 'object') {\n if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {\n rgb = rgbToRgb(color.r, color.g, color.b);\n ok = true;\n format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {\n s = convertToPercentage(color.s);\n v = convertToPercentage(color.v);\n rgb = hsvToRgb(color.h, s, v);\n ok = true;\n format = 'hsv';\n }\n else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {\n s = convertToPercentage(color.s);\n l = convertToPercentage(color.l);\n rgb = hslToRgb(color.h, s, l);\n ok = true;\n format = 'hsl';\n }\n if (Object.prototype.hasOwnProperty.call(color, 'a')) {\n a = color.a;\n }\n }\n a = boundAlpha(a);\n return {\n ok: ok,\n format: color.format || format,\n r: Math.min(255, Math.max(rgb.r, 0)),\n g: Math.min(255, Math.max(rgb.g, 0)),\n b: Math.min(255, Math.max(rgb.b, 0)),\n a: a,\n };\n}\n// \nvar CSS_INTEGER = '[-\\\\+]?\\\\d+%?';\n// \nvar CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?';\n// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.\nvar CSS_UNIT = \"(?:\".concat(CSS_NUMBER, \")|(?:\").concat(CSS_INTEGER, \")\");\n// Actual matching.\n// Parentheses and commas are optional, but not required.\n// Whitespace can take the place of commas or opening paren\nvar PERMISSIVE_MATCH3 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar PERMISSIVE_MATCH4 = \"[\\\\s|\\\\(]+(\".concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")[,|\\\\s]+(\").concat(CSS_UNIT, \")\\\\s*\\\\)?\");\nvar matchers = {\n CSS_UNIT: new RegExp(CSS_UNIT),\n rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),\n rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),\n hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),\n hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),\n hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),\n hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),\n hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n};\n/**\n * Permissive string parsing. Take in a number of formats, and output an object\n * based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`\n */\nexport function stringInputToObject(color) {\n color = color.trim().toLowerCase();\n if (color.length === 0) {\n return false;\n }\n var named = false;\n if (names[color]) {\n color = names[color];\n named = true;\n }\n else if (color === 'transparent') {\n return { r: 0, g: 0, b: 0, a: 0, format: 'name' };\n }\n // Try to match string input using regular expressions.\n // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]\n // Just return an object and let the conversion functions handle that.\n // This way the result will be the same whether the tinycolor is initialized with string or object.\n var match = matchers.rgb.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3] };\n }\n match = matchers.rgba.exec(color);\n if (match) {\n return { r: match[1], g: match[2], b: match[3], a: match[4] };\n }\n match = matchers.hsl.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3] };\n }\n match = matchers.hsla.exec(color);\n if (match) {\n return { h: match[1], s: match[2], l: match[3], a: match[4] };\n }\n match = matchers.hsv.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3] };\n }\n match = matchers.hsva.exec(color);\n if (match) {\n return { h: match[1], s: match[2], v: match[3], a: match[4] };\n }\n match = matchers.hex8.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n a: convertHexToDecimal(match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex6.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1]),\n g: parseIntFromHex(match[2]),\n b: parseIntFromHex(match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n match = matchers.hex4.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n a: convertHexToDecimal(match[4] + match[4]),\n format: named ? 'name' : 'hex8',\n };\n }\n match = matchers.hex3.exec(color);\n if (match) {\n return {\n r: parseIntFromHex(match[1] + match[1]),\n g: parseIntFromHex(match[2] + match[2]),\n b: parseIntFromHex(match[3] + match[3]),\n format: named ? 'name' : 'hex',\n };\n }\n return false;\n}\n/**\n * Check to see if it looks like a CSS unit\n * (see `matchers` above for definition).\n */\nexport function isValidCSSUnit(color) {\n return Boolean(matchers.CSS_UNIT.exec(String(color)));\n}\n","import { numberInputToObject, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv } from './conversion';\nimport { names } from './css-color-names';\nimport { inputToRGB } from './format-input';\nimport { bound01, boundAlpha, clamp01 } from './util';\nvar TinyColor = /** @class */ (function () {\n function TinyColor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n var _a;\n // If input is already a tinycolor, return itself\n if (color instanceof TinyColor) {\n // eslint-disable-next-line no-constructor-return\n return color;\n }\n if (typeof color === 'number') {\n color = numberInputToObject(color);\n }\n this.originalInput = color;\n var rgb = inputToRGB(color);\n this.originalInput = color;\n this.r = rgb.r;\n this.g = rgb.g;\n this.b = rgb.b;\n this.a = rgb.a;\n this.roundA = Math.round(100 * this.a) / 100;\n this.format = (_a = opts.format) !== null && _a !== void 0 ? _a : rgb.format;\n this.gradientType = opts.gradientType;\n // Don't let the range of [0,255] come back in [0,1].\n // Potentially lose a little bit of precision here, but will fix issues where\n // .5 gets interpreted as half of the total, instead of half of 1\n // If it was supposed to be 128, this was already taken care of by `inputToRgb`\n if (this.r < 1) {\n this.r = Math.round(this.r);\n }\n if (this.g < 1) {\n this.g = Math.round(this.g);\n }\n if (this.b < 1) {\n this.b = Math.round(this.b);\n }\n this.isValid = rgb.ok;\n }\n TinyColor.prototype.isDark = function () {\n return this.getBrightness() < 128;\n };\n TinyColor.prototype.isLight = function () {\n return !this.isDark();\n };\n /**\n * Returns the perceived brightness of the color, from 0-255.\n */\n TinyColor.prototype.getBrightness = function () {\n // http://www.w3.org/TR/AERT#color-contrast\n var rgb = this.toRgb();\n return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n };\n /**\n * Returns the perceived luminance of a color, from 0-1.\n */\n TinyColor.prototype.getLuminance = function () {\n // http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n var rgb = this.toRgb();\n var R;\n var G;\n var B;\n var RsRGB = rgb.r / 255;\n var GsRGB = rgb.g / 255;\n var BsRGB = rgb.b / 255;\n if (RsRGB <= 0.03928) {\n R = RsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);\n }\n if (GsRGB <= 0.03928) {\n G = GsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);\n }\n if (BsRGB <= 0.03928) {\n B = BsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);\n }\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n };\n /**\n * Returns the alpha value of a color, from 0-1.\n */\n TinyColor.prototype.getAlpha = function () {\n return this.a;\n };\n /**\n * Sets the alpha value on the current color.\n *\n * @param alpha - The new alpha value. The accepted range is 0-1.\n */\n TinyColor.prototype.setAlpha = function (alpha) {\n this.a = boundAlpha(alpha);\n this.roundA = Math.round(100 * this.a) / 100;\n return this;\n };\n /**\n * Returns whether the color is monochrome.\n */\n TinyColor.prototype.isMonochrome = function () {\n var s = this.toHsl().s;\n return s === 0;\n };\n /**\n * Returns the object as a HSVA object.\n */\n TinyColor.prototype.toHsv = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };\n };\n /**\n * Returns the hsva values interpolated into a string with the following format:\n * \"hsva(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHsvString = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n var h = Math.round(hsv.h * 360);\n var s = Math.round(hsv.s * 100);\n var v = Math.round(hsv.v * 100);\n return this.a === 1 ? \"hsv(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%)\") : \"hsva(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a HSLA object.\n */\n TinyColor.prototype.toHsl = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };\n };\n /**\n * Returns the hsla values interpolated into a string with the following format:\n * \"hsla(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHslString = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n var h = Math.round(hsl.h * 360);\n var s = Math.round(hsl.s * 100);\n var l = Math.round(hsl.l * 100);\n return this.a === 1 ? \"hsl(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%)\") : \"hsla(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the hex value of the color.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHex = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return rgbToHex(this.r, this.g, this.b, allow3Char);\n };\n /**\n * Returns the hex value of the color -with a # prefixed.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHexString = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return '#' + this.toHex(allow3Char);\n };\n /**\n * Returns the hex 8 value of the color.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8 = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);\n };\n /**\n * Returns the hex 8 value of the color -with a # prefixed.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8String = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return '#' + this.toHex8(allow4Char);\n };\n /**\n * Returns the shorter hex value of the color depends on its alpha -with a # prefixed.\n * @param allowShortChar will shorten hex value to 3 or 4 char if possible\n */\n TinyColor.prototype.toHexShortString = function (allowShortChar) {\n if (allowShortChar === void 0) { allowShortChar = false; }\n return this.a === 1 ? this.toHexString(allowShortChar) : this.toHex8String(allowShortChar);\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toRgb = function () {\n return {\n r: Math.round(this.r),\n g: Math.round(this.g),\n b: Math.round(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA values interpolated into a string with the following format:\n * \"RGBA(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toRgbString = function () {\n var r = Math.round(this.r);\n var g = Math.round(this.g);\n var b = Math.round(this.b);\n return this.a === 1 ? \"rgb(\".concat(r, \", \").concat(g, \", \").concat(b, \")\") : \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toPercentageRgb = function () {\n var fmt = function (x) { return \"\".concat(Math.round(bound01(x, 255) * 100), \"%\"); };\n return {\n r: fmt(this.r),\n g: fmt(this.g),\n b: fmt(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA relative values interpolated into a string\n */\n TinyColor.prototype.toPercentageRgbString = function () {\n var rnd = function (x) { return Math.round(bound01(x, 255) * 100); };\n return this.a === 1\n ? \"rgb(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%)\")\n : \"rgba(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%, \").concat(this.roundA, \")\");\n };\n /**\n * The 'real' name of the color -if there is one.\n */\n TinyColor.prototype.toName = function () {\n if (this.a === 0) {\n return 'transparent';\n }\n if (this.a < 1) {\n return false;\n }\n var hex = '#' + rgbToHex(this.r, this.g, this.b, false);\n for (var _i = 0, _a = Object.entries(names); _i < _a.length; _i++) {\n var _b = _a[_i], key = _b[0], value = _b[1];\n if (hex === value) {\n return key;\n }\n }\n return false;\n };\n TinyColor.prototype.toString = function (format) {\n var formatSet = Boolean(format);\n format = format !== null && format !== void 0 ? format : this.format;\n var formattedString = false;\n var hasAlpha = this.a < 1 && this.a >= 0;\n var needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith('hex') || format === 'name');\n if (needsAlphaFormat) {\n // Special case for \"transparent\", all other non-alpha formats\n // will return rgba when there is transparency.\n if (format === 'name' && this.a === 0) {\n return this.toName();\n }\n return this.toRgbString();\n }\n if (format === 'rgb') {\n formattedString = this.toRgbString();\n }\n if (format === 'prgb') {\n formattedString = this.toPercentageRgbString();\n }\n if (format === 'hex' || format === 'hex6') {\n formattedString = this.toHexString();\n }\n if (format === 'hex3') {\n formattedString = this.toHexString(true);\n }\n if (format === 'hex4') {\n formattedString = this.toHex8String(true);\n }\n if (format === 'hex8') {\n formattedString = this.toHex8String();\n }\n if (format === 'name') {\n formattedString = this.toName();\n }\n if (format === 'hsl') {\n formattedString = this.toHslString();\n }\n if (format === 'hsv') {\n formattedString = this.toHsvString();\n }\n return formattedString || this.toHexString();\n };\n TinyColor.prototype.toNumber = function () {\n return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);\n };\n TinyColor.prototype.clone = function () {\n return new TinyColor(this.toString());\n };\n /**\n * Lighten the color a given amount. Providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.lighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l += amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Brighten the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.brighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var rgb = this.toRgb();\n rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));\n rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));\n rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));\n return new TinyColor(rgb);\n };\n /**\n * Darken the color a given amount, from 0 to 100.\n * Providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.darken = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l -= amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.tint = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('white', amount);\n };\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.shade = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('black', amount);\n };\n /**\n * Desaturate the color a given amount, from 0 to 100.\n * Providing 100 will is the same as calling greyscale\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.desaturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s -= amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Saturate the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.saturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s += amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Completely desaturates a color into greyscale.\n * Same as calling `desaturate(100)`\n */\n TinyColor.prototype.greyscale = function () {\n return this.desaturate(100);\n };\n /**\n * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.\n * Values outside of this range will be wrapped into this range.\n */\n TinyColor.prototype.spin = function (amount) {\n var hsl = this.toHsl();\n var hue = (hsl.h + amount) % 360;\n hsl.h = hue < 0 ? 360 + hue : hue;\n return new TinyColor(hsl);\n };\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n TinyColor.prototype.mix = function (color, amount) {\n if (amount === void 0) { amount = 50; }\n var rgb1 = this.toRgb();\n var rgb2 = new TinyColor(color).toRgb();\n var p = amount / 100;\n var rgba = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b,\n a: (rgb2.a - rgb1.a) * p + rgb1.a,\n };\n return new TinyColor(rgba);\n };\n TinyColor.prototype.analogous = function (results, slices) {\n if (results === void 0) { results = 6; }\n if (slices === void 0) { slices = 30; }\n var hsl = this.toHsl();\n var part = 360 / slices;\n var ret = [this];\n for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results;) {\n hsl.h = (hsl.h + part) % 360;\n ret.push(new TinyColor(hsl));\n }\n return ret;\n };\n /**\n * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js\n */\n TinyColor.prototype.complement = function () {\n var hsl = this.toHsl();\n hsl.h = (hsl.h + 180) % 360;\n return new TinyColor(hsl);\n };\n TinyColor.prototype.monochromatic = function (results) {\n if (results === void 0) { results = 6; }\n var hsv = this.toHsv();\n var h = hsv.h;\n var s = hsv.s;\n var v = hsv.v;\n var res = [];\n var modification = 1 / results;\n while (results--) {\n res.push(new TinyColor({ h: h, s: s, v: v }));\n v = (v + modification) % 1;\n }\n return res;\n };\n TinyColor.prototype.splitcomplement = function () {\n var hsl = this.toHsl();\n var h = hsl.h;\n return [\n this,\n new TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),\n new TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),\n ];\n };\n /**\n * Compute how the color would appear on a background\n */\n TinyColor.prototype.onBackground = function (background) {\n var fg = this.toRgb();\n var bg = new TinyColor(background).toRgb();\n var alpha = fg.a + bg.a * (1 - fg.a);\n return new TinyColor({\n r: (fg.r * fg.a + bg.r * bg.a * (1 - fg.a)) / alpha,\n g: (fg.g * fg.a + bg.g * bg.a * (1 - fg.a)) / alpha,\n b: (fg.b * fg.a + bg.b * bg.a * (1 - fg.a)) / alpha,\n a: alpha,\n });\n };\n /**\n * Alias for `polyad(3)`\n */\n TinyColor.prototype.triad = function () {\n return this.polyad(3);\n };\n /**\n * Alias for `polyad(4)`\n */\n TinyColor.prototype.tetrad = function () {\n return this.polyad(4);\n };\n /**\n * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)\n * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...\n */\n TinyColor.prototype.polyad = function (n) {\n var hsl = this.toHsl();\n var h = hsl.h;\n var result = [this];\n var increment = 360 / n;\n for (var i = 1; i < n; i++) {\n result.push(new TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));\n }\n return result;\n };\n /**\n * compare color vs current color\n */\n TinyColor.prototype.equals = function (color) {\n return this.toRgbString() === new TinyColor(color).toRgbString();\n };\n return TinyColor;\n}());\nexport { TinyColor };\n// kept for backwards compatability with v1\nexport function tinycolor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n return new TinyColor(color, opts);\n}\n","import { TinyColor } from '@ctrl/tinycolor';\n\nfunction tinycolor(...args) {\n return new TinyColor(...args);\n}\n\nfunction _colorChange(data, oldHue) {\n const alpha = data && data.a;\n let color;\n\n // hsl is better than hex between conversions\n if (data && data.hsl)\n color = tinycolor(data.hsl);\n else if (data && data.hex && data.hex.length > 0)\n color = tinycolor(data.hex);\n else if (data && data.hsv)\n color = tinycolor(data.hsv);\n else if (data && data.rgba)\n color = tinycolor(data.rgba);\n else if (data && data.rgb)\n color = tinycolor(data.rgb);\n else\n color = tinycolor(data);\n\n if (color && (color._a === undefined || color._a === null))\n color.setAlpha(alpha || color.getAlpha());\n\n const hsl = color.toHsl();\n const hsv = color.toHsv();\n\n if (hsl.s === 0)\n hsv.h = hsl.h = data.h || (data.hsl && data.hsl.h) || oldHue || 0;\n\n /* --- comment this block to fix #109, may cause #25 again --- */\n // when the hsv.v is less than 0.0164 (base on test)\n // because of possible loss of precision\n // the result of hue and saturation would be miscalculated\n // if (hsv.v < 0.0164) {\n // hsv.h = data.h || (data.hsv && data.hsv.h) || 0\n // hsv.s = data.s || (data.hsv && data.hsv.s) || 0\n // }\n\n // if (hsl.l < 0.01) {\n // hsl.h = data.h || (data.hsl && data.hsl.h) || 0\n // hsl.s = data.s || (data.hsl && data.hsl.s) || 0\n // }\n /* ------ */\n\n return {\n hsl,\n hex: color.toHexString().toUpperCase(),\n hex8: color.toHex8String().toUpperCase(),\n rgba: color.toRgb(),\n hsv,\n oldHue: data.h || oldHue || hsl.h,\n source: data.source,\n a: color.getAlpha(),\n };\n}\n\nvar colorMixin = {\n model: {\n prop: 'modelValue',\n event: 'update:modelValue',\n },\n props: ['modelValue'],\n data() {\n return {\n val: _colorChange(this.modelValue),\n };\n },\n computed: {\n colors: {\n get() {\n return this.val;\n },\n set(newVal) {\n this.val = newVal;\n this.$emit('update:modelValue', newVal);\n },\n },\n },\n watch: {\n modelValue(newVal) {\n this.val = _colorChange(newVal);\n },\n },\n methods: {\n colorChange(data, oldHue) {\n this.oldHue = this.colors.hsl.h;\n this.colors = _colorChange(data, oldHue || this.oldHue);\n },\n isValidHex(hex) {\n return tinycolor(hex).isValid;\n },\n simpleCheckForValidColor(data) {\n const keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v'];\n let checked = 0;\n let passed = 0;\n\n for (let i = 0; i < keysToCheck.length; i++) {\n const letter = keysToCheck[i];\n if (data[letter]) {\n checked++;\n if (!isNaN(data[letter]))\n passed++;\n }\n }\n\n if (checked === passed)\n return data;\n },\n paletteUpperCase(palette) {\n return palette.map(c => c.toUpperCase());\n },\n isTransparent(color) {\n return tinycolor(color).getAlpha() === 0;\n },\n },\n};\n\nexport { colorMixin as default };\n","import { openBlock, createElementBlock, withDirectives, createElementVNode, vModelText, toDisplayString } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'EditableInput',\n props: {\n label: String,\n labelText: String,\n desc: String,\n value: [String, Number],\n max: Number,\n min: Number,\n arrowOffset: {\n type: Number,\n default: 1,\n },\n },\n computed: {\n val: {\n get() {\n return this.value;\n },\n set(v) {\n // TODO: min\n if (!(this.max === undefined) && +v > this.max)\n this.$refs.input.value = this.max;\n else\n return v;\n },\n },\n labelId() {\n return `input__label__${this.label}__${Math.random().toString().slice(2, 5)}`;\n },\n labelSpanText() {\n return this.labelText || this.label;\n },\n },\n methods: {\n update(e) {\n this.handleChange(e.target.value);\n },\n handleChange(newVal) {\n const data = {};\n data[this.label] = newVal;\n if (data.hex === undefined && data['#'] === undefined)\n this.$emit('change', data);\n else if (newVal.length > 5)\n this.$emit('change', data);\n },\n // **** unused\n // handleBlur (e) {\n // console.log(e)\n // },\n handleKeyDown(e) {\n let { val } = this;\n const number = Number(val);\n\n if (number) {\n const amount = this.arrowOffset || 1;\n\n // Up\n if (e.keyCode === 38) {\n val = number + amount;\n this.handleChange(val);\n e.preventDefault();\n }\n\n // Down\n if (e.keyCode === 40) {\n val = number - amount;\n this.handleChange(val);\n e.preventDefault();\n }\n }\n },\n // **** unused\n // handleDrag (e) {\n // console.log(e)\n // },\n // handleMouseDown (e) {\n // console.log(e)\n // }\n },\n};\n\nconst _hoisted_1 = { class: \"vc-editable-input\" };\nconst _hoisted_2 = [\"aria-labelledby\"];\nconst _hoisted_3 = [\"id\", \"for\"];\nconst _hoisted_4 = { class: \"vc-input__desc\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n withDirectives(createElementVNode(\"input\", {\n ref: \"input\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => (($options.val) = $event)),\n \"aria-labelledby\": $options.labelId,\n class: \"vc-input__input\",\n onKeydown: _cache[1] || (_cache[1] = (...args) => ($options.handleKeyDown && $options.handleKeyDown(...args))),\n onInput: _cache[2] || (_cache[2] = (...args) => ($options.update && $options.update(...args)))\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_2), [\n [vModelText, $options.val]\n ]),\n createElementVNode(\"span\", {\n id: $options.labelId,\n for: $props.label,\n class: \"vc-input__label\"\n }, toDisplayString($options.labelSpanText), 9 /* TEXT, PROPS */, _hoisted_3),\n createElementVNode(\"span\", _hoisted_4, toDisplayString($props.desc), 1 /* TEXT */)\n ]))\n}\n\nvar css_248z = \".vc-editable-input{position:relative}.vc-input__input{border:0;outline:none;padding:0}.vc-input__label{text-transform:capitalize}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/editable-input/editable-input.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","function clamp(value, min, max) {\n return min < max\n ? (value < min ? min : value > max ? max : value)\n : (value < max ? max : value > min ? min : value);\n}\n\nexport { clamp };\n","import { clamp } from '../../utils/utils.js';\nimport { openBlock, createElementBlock, normalizeStyle, createElementVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Saturation',\n props: {\n value: Object,\n },\n computed: {\n colors() {\n return this.value;\n },\n bgColor() {\n return `hsl(${this.colors.hsv.h}, 100%, 50%)`;\n },\n pointerTop() {\n return `${(-(this.colors.hsv.v * 100) + 1) + 100}%`;\n },\n pointerLeft() {\n return `${this.colors.hsv.s * 100}%`;\n },\n },\n methods: {\n handleChange(e, skip) {\n !skip && e.preventDefault();\n const { container } = this.$refs;\n if (!container) {\n // for some edge cases, container may not exist. see #220\n return;\n }\n const containerWidth = container.clientWidth;\n const containerHeight = container.clientHeight;\n\n const xOffset = container.getBoundingClientRect().left + window.pageXOffset;\n const yOffset = container.getBoundingClientRect().top + window.pageYOffset;\n const pageX = e.pageX || (e.touches ? e.touches[0].pageX : 0);\n const pageY = e.pageY || (e.touches ? e.touches[0].pageY : 0);\n const left = clamp(pageX - xOffset, 0, containerWidth);\n const top = clamp(pageY - yOffset, 0, containerHeight);\n const saturation = left / containerWidth;\n const bright = clamp(-(top / containerHeight) + 1, 0, 1);\n\n this.onChange({\n h: this.colors.hsv.h,\n s: saturation,\n v: bright,\n a: this.colors.hsv.a,\n source: 'hsva',\n });\n },\n onChange(param) {\n this.$emit('change', param);\n },\n handleMouseDown(e) {\n // this.handleChange(e, true)\n window.addEventListener('mousemove', this.handleChange);\n window.addEventListener('mouseup', this.handleChange);\n window.addEventListener('mouseup', this.handleMouseUp);\n },\n handleMouseUp(e) {\n this.unbindEventListeners();\n },\n unbindEventListeners() {\n window.removeEventListener('mousemove', this.handleChange);\n window.removeEventListener('mouseup', this.handleChange);\n window.removeEventListener('mouseup', this.handleMouseUp);\n },\n },\n};\n\nconst _hoisted_1 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-saturation--white\" }, null, -1 /* HOISTED */);\nconst _hoisted_2 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-saturation--black\" }, null, -1 /* HOISTED */);\nconst _hoisted_3 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-saturation-circle\" }, null, -1 /* HOISTED */);\nconst _hoisted_4 = [\n _hoisted_3\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n ref: \"container\",\n class: \"vc-saturation\",\n style: normalizeStyle({ background: $options.bgColor }),\n onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.handleMouseDown && $options.handleMouseDown(...args))),\n onTouchmove: _cache[1] || (_cache[1] = (...args) => ($options.handleChange && $options.handleChange(...args))),\n onTouchstart: _cache[2] || (_cache[2] = (...args) => ($options.handleChange && $options.handleChange(...args)))\n }, [\n _hoisted_1,\n _hoisted_2,\n createElementVNode(\"div\", {\n class: \"vc-saturation-pointer\",\n style: normalizeStyle({ top: $options.pointerTop, left: $options.pointerLeft })\n }, _hoisted_4, 4 /* STYLE */)\n ], 36 /* STYLE, HYDRATE_EVENTS */))\n}\n\nvar css_248z = \".vc-saturation,.vc-saturation--black,.vc-saturation--white{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.vc-saturation--black{background:linear-gradient(0deg,#000,transparent)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/saturation/saturation.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import { openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Hue',\n props: {\n value: Object,\n direction: {\n type: String,\n // [horizontal | vertical]\n default: 'horizontal',\n },\n },\n data() {\n return {\n oldHue: 0,\n pullDirection: '',\n };\n },\n computed: {\n colors() {\n return this.value;\n },\n directionClass() {\n return {\n 'vc-hue--horizontal': this.direction === 'horizontal',\n 'vc-hue--vertical': this.direction === 'vertical',\n };\n },\n pointerTop() {\n if (this.direction === 'vertical') {\n if (this.colors.hsl.h === 0 && this.pullDirection === 'right')\n return 0;\n return `${-((this.colors.hsl.h * 100) / 360) + 100}%`;\n }\n return 0;\n },\n pointerLeft() {\n if (this.direction === 'vertical')\n return 0;\n\n if (this.colors.hsl.h === 0 && this.pullDirection === 'right')\n return '100%';\n return `${(this.colors.hsl.h * 100) / 360}%`;\n },\n },\n watch: {\n value: {\n handler(value, oldVal) {\n const { h } = value.hsl;\n if (h !== 0 && h - this.oldHue > 0)\n this.pullDirection = 'right';\n if (h !== 0 && h - this.oldHue < 0)\n this.pullDirection = 'left';\n this.oldHue = h;\n },\n deep: true,\n immediate: true,\n },\n },\n methods: {\n handleChange(e, skip) {\n !skip && e.preventDefault();\n\n const { container } = this.$refs;\n if (!container) {\n // for some edge cases, container may not exist. see #220\n return;\n }\n const containerWidth = container.clientWidth;\n const containerHeight = container.clientHeight;\n\n const xOffset = container.getBoundingClientRect().left + window.pageXOffset;\n const yOffset = container.getBoundingClientRect().top + window.pageYOffset;\n const pageX = e.pageX || (e.touches ? e.touches[0].pageX : 0);\n const pageY = e.pageY || (e.touches ? e.touches[0].pageY : 0);\n const left = pageX - xOffset;\n const top = pageY - yOffset;\n\n let h;\n let percent;\n\n if (this.direction === 'vertical') {\n if (top < 0) {\n h = 360;\n }\n else if (top > containerHeight) {\n h = 0;\n }\n else {\n percent = -(top * 100 / containerHeight) + 100;\n h = (360 * percent / 100);\n }\n\n if (this.colors.hsl.h !== h) {\n this.$emit('change', {\n h,\n s: this.colors.hsl.s,\n l: this.colors.hsl.l,\n a: this.colors.hsl.a,\n source: 'hsl',\n });\n }\n }\n else {\n if (left < 0) {\n h = 0;\n }\n else if (left > containerWidth) {\n h = 360;\n }\n else {\n percent = left * 100 / containerWidth;\n h = (360 * percent / 100);\n }\n\n if (this.colors.hsl.h !== h) {\n this.$emit('change', {\n h,\n s: this.colors.hsl.s,\n l: this.colors.hsl.l,\n a: this.colors.hsl.a,\n source: 'hsl',\n });\n }\n }\n },\n handleMouseDown(e) {\n this.handleChange(e, true);\n window.addEventListener('mousemove', this.handleChange);\n window.addEventListener('mouseup', this.handleChange);\n window.addEventListener('mouseup', this.handleMouseUp);\n },\n handleMouseUp(e) {\n this.unbindEventListeners();\n },\n unbindEventListeners() {\n window.removeEventListener('mousemove', this.handleChange);\n window.removeEventListener('mouseup', this.handleChange);\n window.removeEventListener('mouseup', this.handleMouseUp);\n },\n },\n};\n\nconst _hoisted_1 = [\"aria-valuenow\"];\nconst _hoisted_2 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-hue-picker\" }, null, -1 /* HOISTED */);\nconst _hoisted_3 = [\n _hoisted_2\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\"vc-hue\", [$options.directionClass]])\n }, [\n createElementVNode(\"div\", {\n ref: \"container\",\n class: \"vc-hue-container\",\n role: \"slider\",\n \"aria-valuenow\": $options.colors.hsl.h,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"360\",\n onMousedown: _cache[0] || (_cache[0] = (...args) => ($options.handleMouseDown && $options.handleMouseDown(...args))),\n onTouchmove: _cache[1] || (_cache[1] = (...args) => ($options.handleChange && $options.handleChange(...args))),\n onTouchstart: _cache[2] || (_cache[2] = (...args) => ($options.handleChange && $options.handleChange(...args)))\n }, [\n createElementVNode(\"div\", {\n class: \"vc-hue-pointer\",\n style: normalizeStyle({ top: $options.pointerTop, left: $options.pointerLeft }),\n role: \"presentation\"\n }, _hoisted_3, 4 /* STYLE */)\n ], 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1)\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/hue/hue.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$4 from '../editable-input/index.js';\nimport script$1 from '../saturation/index.js';\nimport script$2 from '../hue/index.js';\nimport script$3 from '../alpha/index.js';\nimport script$5 from '../checkboard/index.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, normalizeStyle, createBlock, createCommentVNode, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../utils/utils.js';\nimport '../../defaultConfig.js';\n\nvar script = {\n name: 'Chrome',\n components: {\n Saturation: script$1,\n Hue: script$2,\n Alpha: script$3,\n EdIn: script$4,\n Checkboard: script$5,\n },\n mixins: [colorMixin],\n props: {\n disableAlpha: {\n type: Boolean,\n default: false,\n },\n disableFields: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n fieldsIndex: 0,\n highlight: false,\n };\n },\n computed: {\n hsl() {\n const { h, s, l } = this.colors.hsl;\n return {\n h: h.toFixed(),\n s: `${(s * 100).toFixed()}%`,\n l: `${(l * 100).toFixed()}%`,\n };\n },\n activeColor() {\n const { rgba } = this.colors;\n return `rgba(${[rgba.r, rgba.g, rgba.b, rgba.a].join(',')})`;\n },\n hasAlpha() {\n return this.colors.a < 1;\n },\n },\n methods: {\n childChange(data) {\n this.colorChange(data);\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data.hex) {\n this.isValidHex(data.hex) && this.colorChange({\n hex: data.hex,\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n else if (data.h || data.s || data.l) {\n const s = data.s ? (data.s.replace('%', '') / 100) : this.colors.hsl.s;\n const l = data.l ? (data.l.replace('%', '') / 100) : this.colors.hsl.l;\n\n this.colorChange({\n h: data.h || this.colors.hsl.h,\n s,\n l,\n source: 'hsl',\n });\n }\n },\n toggleViews() {\n if (this.fieldsIndex >= 2) {\n this.fieldsIndex = 0;\n return;\n }\n this.fieldsIndex++;\n },\n showHighlight() {\n this.highlight = true;\n },\n hideHighlight() {\n this.highlight = false;\n },\n },\n};\n\nconst _hoisted_1 = { class: \"vc-chrome-saturation-wrap\" };\nconst _hoisted_2 = { class: \"vc-chrome-body\" };\nconst _hoisted_3 = { class: \"vc-chrome-controls\" };\nconst _hoisted_4 = { class: \"vc-chrome-color-wrap\" };\nconst _hoisted_5 = [\"aria-label\"];\nconst _hoisted_6 = { class: \"vc-chrome-sliders\" };\nconst _hoisted_7 = { class: \"vc-chrome-hue-wrap\" };\nconst _hoisted_8 = {\n key: 0,\n class: \"vc-chrome-alpha-wrap\"\n};\nconst _hoisted_9 = {\n key: 0,\n class: \"vc-chrome-fields-wrap\"\n};\nconst _hoisted_10 = { class: \"vc-chrome-fields\" };\nconst _hoisted_11 = { class: \"vc-chrome-field\" };\nconst _hoisted_12 = { class: \"vc-chrome-fields\" };\nconst _hoisted_13 = { class: \"vc-chrome-field\" };\nconst _hoisted_14 = { class: \"vc-chrome-field\" };\nconst _hoisted_15 = { class: \"vc-chrome-field\" };\nconst _hoisted_16 = {\n key: 0,\n class: \"vc-chrome-field\"\n};\nconst _hoisted_17 = { class: \"vc-chrome-fields\" };\nconst _hoisted_18 = { class: \"vc-chrome-field\" };\nconst _hoisted_19 = { class: \"vc-chrome-field\" };\nconst _hoisted_20 = { class: \"vc-chrome-field\" };\nconst _hoisted_21 = {\n key: 0,\n class: \"vc-chrome-field\"\n};\nconst _hoisted_22 = { class: \"vc-chrome-toggle-icon\" };\nconst _hoisted_23 = /*#__PURE__*/createElementVNode(\"path\", {\n fill: \"#333\",\n d: \"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z\"\n}, null, -1 /* HOISTED */);\nconst _hoisted_24 = [\n _hoisted_23\n];\nconst _hoisted_25 = { class: \"vc-chrome-toggle-icon-highlight\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Saturation = resolveComponent(\"Saturation\");\n const _component_Checkboard = resolveComponent(\"Checkboard\");\n const _component_Hue = resolveComponent(\"Hue\");\n const _component_Alpha = resolveComponent(\"Alpha\");\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"Chrome color picker\",\n class: normalizeClass([\"vc-chrome\", [$props.disableAlpha ? 'vc-chrome__disable-alpha' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_1, [\n createVNode(_component_Saturation, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createElementVNode(\"div\", _hoisted_4, [\n createElementVNode(\"div\", {\n \"aria-label\": `current color is ${_ctx.colors.hex}`,\n class: \"vc-chrome-active-color\",\n style: normalizeStyle({ background: $options.activeColor })\n }, null, 12 /* STYLE, PROPS */, _hoisted_5),\n (!$props.disableAlpha)\n ? (openBlock(), createBlock(_component_Checkboard, { key: 0 }))\n : createCommentVNode(\"v-if\", true)\n ]),\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"div\", _hoisted_7, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_8, [\n createVNode(_component_Alpha, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ])\n ]),\n (!$props.disableFields)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_9, [\n withDirectives(createElementVNode(\"div\", _hoisted_10, [\n createCommentVNode(\" hex \"),\n createElementVNode(\"div\", _hoisted_11, [\n (!$options.hasAlpha)\n ? (openBlock(), createBlock(_component_EdIn, {\n key: 0,\n label: \"hex\",\n value: _ctx.colors.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]))\n : createCommentVNode(\"v-if\", true),\n ($options.hasAlpha)\n ? (openBlock(), createBlock(_component_EdIn, {\n key: 1,\n label: \"hex\",\n value: _ctx.colors.hex8,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]))\n : createCommentVNode(\"v-if\", true)\n ])\n ], 512 /* NEED_PATCH */), [\n [vShow, $data.fieldsIndex === 0]\n ]),\n withDirectives(createElementVNode(\"div\", _hoisted_12, [\n createCommentVNode(\" rgba \"),\n createElementVNode(\"div\", _hoisted_13, [\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_14, [\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_15, [\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_16, [\n createVNode(_component_EdIn, {\n label: \"a\",\n value: _ctx.colors.a,\n \"arrow-offset\": 0.01,\n max: 1,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"arrow-offset\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ], 512 /* NEED_PATCH */), [\n [vShow, $data.fieldsIndex === 1]\n ]),\n withDirectives(createElementVNode(\"div\", _hoisted_17, [\n createCommentVNode(\" hsla \"),\n createElementVNode(\"div\", _hoisted_18, [\n createVNode(_component_EdIn, {\n label: \"h\",\n value: $options.hsl.h,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_19, [\n createVNode(_component_EdIn, {\n label: \"s\",\n value: $options.hsl.s,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_20, [\n createVNode(_component_EdIn, {\n label: \"l\",\n value: $options.hsl.l,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_21, [\n createVNode(_component_EdIn, {\n label: \"a\",\n value: _ctx.colors.a,\n \"arrow-offset\": 0.01,\n max: 1,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"arrow-offset\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ], 512 /* NEED_PATCH */), [\n [vShow, $data.fieldsIndex === 2]\n ]),\n createCommentVNode(\" btn \"),\n createElementVNode(\"div\", {\n class: \"vc-chrome-toggle-btn\",\n role: \"button\",\n \"aria-label\": \"Change another color definition\",\n onClick: _cache[3] || (_cache[3] = (...args) => ($options.toggleViews && $options.toggleViews(...args)))\n }, [\n createElementVNode(\"div\", _hoisted_22, [\n (openBlock(), createElementBlock(\"svg\", {\n style: {\"width\":\"24px\",\"height\":\"24px\"},\n viewBox: \"0 0 24 24\",\n onMouseover: _cache[0] || (_cache[0] = (...args) => ($options.showHighlight && $options.showHighlight(...args))),\n onMouseenter: _cache[1] || (_cache[1] = (...args) => ($options.showHighlight && $options.showHighlight(...args))),\n onMouseout: _cache[2] || (_cache[2] = (...args) => ($options.hideHighlight && $options.hideHighlight(...args)))\n }, _hoisted_24, 32 /* HYDRATE_EVENTS */))\n ]),\n withDirectives(createElementVNode(\"div\", _hoisted_25, null, 512 /* NEED_PATCH */), [\n [vShow, $data.highlight]\n ])\n ]),\n createCommentVNode(\" btn \")\n ]))\n : createCommentVNode(\"v-if\", true)\n ])\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-chrome{background:#fff;background-color:#fff;border-radius:2px;box-shadow:0 0 2px rgba(0,0,0,.3),0 4px 8px rgba(0,0,0,.3);box-sizing:initial;font-family:Menlo;width:225px}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{border-radius:15px;height:30px;overflow:hidden;position:relative;width:30px;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{background-size:auto;border-radius:15px;height:30px;width:30px}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;flex:1;margin-left:-6px}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{position:relative;text-align:right;width:32px}.vc-chrome-toggle-icon{cursor:pointer;margin-right:-4px;margin-top:12px;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{background:#eee;border-radius:4px;height:28px;left:12px;position:absolute;top:10px;width:24px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{height:10px;position:relative}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:12px;transform:translate(-6px,-2px);width:12px}.vc-chrome-body{background-color:#fff;padding:16px 16px 12px}.vc-chrome-saturation-wrap{border-radius:2px 2px 0 0;overflow:hidden;padding-bottom:55%;position:relative;width:100%}.vc-chrome-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-chrome-fields .vc-input__input{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #dadada;color:#333;font-size:11px;height:21px;text-align:center;width:100%}.vc-chrome-fields .vc-input__label{color:#969696;display:block;font-size:11px;line-height:11px;margin-top:12px;text-align:center;text-transform:uppercase}.vc-chrome__disable-alpha .vc-chrome-active-color{height:18px;width:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-bottom:4px;margin-top:4px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/chrome/chrome.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport { openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst defaultColors = [\n '#4D4D4D', '#999999', '#FFFFFF', '#F44E3B', '#FE9200', '#FCDC00',\n '#DBDF00', '#A4DD00', '#68CCCA', '#73D8FF', '#AEA1FF', '#FDA1FF',\n '#333333', '#808080', '#CCCCCC', '#D33115', '#E27300', '#FCC400',\n '#B0BC00', '#68BC00', '#16A5A5', '#009CE0', '#7B64FF', '#FA28FF',\n '#000000', '#666666', '#B3B3B3', '#9F0500', '#C45100', '#FB9E00',\n '#808900', '#194D33', '#0C797D', '#0062B1', '#653294', '#AB149E',\n];\n\nvar script = {\n name: 'Compact',\n mixins: [colorMixin],\n props: {\n palette: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n },\n computed: {\n pick() {\n return this.colors.hex.toUpperCase();\n },\n },\n methods: {\n handlerClick(c) {\n this.colorChange({\n hex: c,\n source: 'hex',\n });\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Compact color picker\",\n class: \"vc-compact\"\n};\nconst _hoisted_2 = {\n class: \"vc-compact-colors\",\n role: \"listbox\"\n};\nconst _hoisted_3 = [\"aria-label\", \"aria-selected\", \"onClick\"];\nconst _hoisted_4 = { class: \"vc-compact-dot\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"ul\", _hoisted_2, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paletteUpperCase($props.palette), (c) => {\n return (openBlock(), createElementBlock(\"li\", {\n key: c,\n role: \"option\",\n \"aria-label\": `color:${c}`,\n \"aria-selected\": c === $options.pick,\n class: normalizeClass([\"vc-compact-color-item\", { 'vc-compact-color-item--white': c === '#FFFFFF' }]),\n style: normalizeStyle({ background: c }),\n onClick: $event => ($options.handlerClick(c))\n }, [\n withDirectives(createElementVNode(\"div\", _hoisted_4, null, 512 /* NEED_PATCH */), [\n [vShow, c === $options.pick]\n ])\n ], 14 /* CLASS, STYLE, PROPS */, _hoisted_3))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ]))\n}\n\nvar css_248z = \".vc-compact{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);box-sizing:border-box;padding-left:5px;padding-top:5px;width:245px}.vc-compact-colors{margin:0;overflow:hidden;padding:0}.vc-compact-color-item{cursor:pointer;float:left;height:15px;list-style:none;margin-bottom:5px;margin-right:5px;position:relative;width:15px}.vc-compact-color-item--white{box-shadow:inset 0 0 0 1px #ddd}.vc-compact-color-item--white .vc-compact-dot{background:#000}.vc-compact-dot{background:#fff;border-radius:50%;bottom:5px;left:5px;opacity:1;position:absolute;right:5px;top:5px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/compact/compact.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport { openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst defaultColors = [\n '#FFFFFF', '#F2F2F2', '#E6E6E6', '#D9D9D9', '#CCCCCC', '#BFBFBF', '#B3B3B3',\n '#A6A6A6', '#999999', '#8C8C8C', '#808080', '#737373', '#666666', '#595959',\n '#4D4D4D', '#404040', '#333333', '#262626', '#0D0D0D', '#000000',\n];\n\nvar script = {\n name: 'Grayscale',\n components: {\n\n },\n mixins: [colorMixin],\n props: {\n palette: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n },\n computed: {\n pick() {\n return this.colors.hex.toUpperCase();\n },\n },\n methods: {\n handlerClick(c) {\n this.colorChange({\n hex: c,\n source: 'hex',\n });\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Grayscale color picker\",\n class: \"vc-grayscale\"\n};\nconst _hoisted_2 = {\n class: \"vc-grayscale-colors\",\n role: \"listbox\"\n};\nconst _hoisted_3 = [\"aria-label\", \"aria-selected\", \"onClick\"];\nconst _hoisted_4 = { class: \"vc-grayscale-dot\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"ul\", _hoisted_2, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paletteUpperCase($props.palette), (c) => {\n return (openBlock(), createElementBlock(\"li\", {\n key: c,\n role: \"option\",\n \"aria-label\": `Color:${c}`,\n \"aria-selected\": c === $options.pick,\n class: normalizeClass([\"vc-grayscale-color-item\", { 'vc-grayscale-color-item--white': c === '#FFFFFF' }]),\n style: normalizeStyle({ background: c }),\n onClick: $event => ($options.handlerClick(c))\n }, [\n withDirectives(createElementVNode(\"div\", _hoisted_4, null, 512 /* NEED_PATCH */), [\n [vShow, c === $options.pick]\n ])\n ], 14 /* CLASS, STYLE, PROPS */, _hoisted_3))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ]))\n}\n\nvar css_248z = \".vc-grayscale{background-color:#fff;border-radius:2px;box-shadow:0 2px 15px rgba(0,0,0,.12),0 2px 10px rgba(0,0,0,.16);width:125px}.vc-grayscale-colors{border-radius:2px;margin:0;overflow:hidden;padding:0}.vc-grayscale-color-item{cursor:pointer;float:left;height:25px;list-style:none;position:relative;width:25px}.vc-grayscale-color-item--white .vc-grayscale-dot{background:#000}.vc-grayscale-dot{background:#fff;border-radius:50%;height:6px;left:50%;margin:-3px 0 0 -2px;opacity:1;position:absolute;top:50%;width:6px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/grayscale/grayscale.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script$1 from '../editable-input/index.js';\nimport colorMixin from '../../mixin/color.js';\nimport { resolveComponent, openBlock, createElementBlock, createVNode, normalizeStyle, createElementVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\nimport '@ctrl/tinycolor';\n\nvar script = {\n name: 'Material',\n components: {\n EdIn: script$1,\n },\n mixins: [colorMixin],\n methods: {\n onChange(data) {\n if (!data)\n return;\n\n if (data.hex) {\n this.isValidHex(data.hex) && this.colorChange({\n hex: data.hex,\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Material color picker\",\n class: \"vc-material\"\n};\nconst _hoisted_2 = { class: \"vc-material-split\" };\nconst _hoisted_3 = { class: \"vc-material-third\" };\nconst _hoisted_4 = { class: \"vc-material-third\" };\nconst _hoisted_5 = { class: \"vc-material-third\" };\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createVNode(_component_EdIn, {\n class: \"vc-material-hex\",\n label: \"hex\",\n value: _ctx.colors.hex,\n style: normalizeStyle({ borderColor: _ctx.colors.hex }),\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"style\", \"onChange\"]),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_4, [\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_5, [\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.onChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ])\n ])\n ]))\n}\n\nvar css_248z = \".vc-material{background-color:#fff;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);font-family:Roboto;height:98px;padding:16px;position:relative;width:98px}.vc-material .vc-input__input{color:#333;font-size:15px;height:30px;margin-top:12px;width:100%}.vc-material .vc-input__label{color:#999;font-size:11px;left:0;position:absolute;text-transform:capitalize;top:0}.vc-material-hex{border-bottom-style:solid;border-bottom-width:2px}.vc-material-split{display:flex;margin-right:-10px;padding-top:11px}.vc-material-third{flex:1;padding-right:10px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/material/material.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$3 from '../editable-input/index.js';\nimport script$1 from '../saturation/index.js';\nimport script$2 from '../hue/index.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createVNode, withCtx, normalizeStyle, createCommentVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\nimport '../../utils/utils.js';\n\nvar script = {\n name: 'Photoshop',\n components: {\n Saturation: script$1,\n Hue: script$2,\n EdIn: script$3,\n },\n mixins: [colorMixin],\n props: {\n head: {\n type: String,\n default: 'Color Picker',\n },\n disableFields: {\n type: Boolean,\n default: false,\n },\n hasResetButton: {\n type: Boolean,\n default: false,\n },\n acceptLabel: {\n type: String,\n default: 'OK',\n },\n cancelLabel: {\n type: String,\n default: 'Cancel',\n },\n resetLabel: {\n type: String,\n default: 'Reset',\n },\n newLabel: {\n type: String,\n default: 'new',\n },\n currentLabel: {\n type: String,\n default: 'current',\n },\n },\n data() {\n return {\n currentColor: '#FFF',\n };\n },\n computed: {\n hsv() {\n const { hsv } = this.colors;\n return {\n h: hsv.h.toFixed(),\n s: (hsv.s * 100).toFixed(),\n v: (hsv.v * 100).toFixed(),\n };\n },\n hex() {\n const { hex } = this.colors;\n return hex && hex.replace('#', '');\n },\n },\n created() {\n this.currentColor = this.colors.hex;\n },\n methods: {\n childChange(data) {\n this.colorChange(data);\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data['#']) {\n this.isValidHex(data['#']) && this.colorChange({\n hex: data['#'],\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n else if (data.h || data.s || data.v) {\n this.colorChange({\n h: data.h || this.colors.hsv.h,\n s: (data.s / 100) || this.colors.hsv.s,\n v: (data.v / 100) || this.colors.hsv.v,\n source: 'hsv',\n });\n }\n },\n clickCurrentColor() {\n this.colorChange({\n hex: this.currentColor,\n source: 'hex',\n });\n },\n handleAccept() {\n this.$emit('ok');\n },\n handleCancel() {\n this.$emit('cancel');\n },\n handleReset() {\n this.$emit('reset');\n },\n },\n\n};\n\nconst _hoisted_1 = {\n role: \"heading\",\n class: \"vc-ps-head\"\n};\nconst _hoisted_2 = { class: \"vc-ps-body\" };\nconst _hoisted_3 = { class: \"vc-ps-saturation-wrap\" };\nconst _hoisted_4 = { class: \"vc-ps-hue-wrap\" };\nconst _hoisted_5 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-ps-hue-pointer\" }, [\n /*#__PURE__*/createElementVNode(\"i\", { class: \"vc-ps-hue-pointer--left\" }),\n /*#__PURE__*/createElementVNode(\"i\", { class: \"vc-ps-hue-pointer--right\" })\n], -1 /* HOISTED */);\nconst _hoisted_6 = { class: \"vc-ps-previews\" };\nconst _hoisted_7 = { class: \"vc-ps-previews__label\" };\nconst _hoisted_8 = { class: \"vc-ps-previews__swatches\" };\nconst _hoisted_9 = [\"aria-label\"];\nconst _hoisted_10 = [\"aria-label\"];\nconst _hoisted_11 = { class: \"vc-ps-previews__label\" };\nconst _hoisted_12 = {\n key: 0,\n class: \"vc-ps-actions\"\n};\nconst _hoisted_13 = [\"aria-label\"];\nconst _hoisted_14 = [\"aria-label\"];\nconst _hoisted_15 = { class: \"vc-ps-fields\" };\nconst _hoisted_16 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-ps-fields__divider\" }, null, -1 /* HOISTED */);\nconst _hoisted_17 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-ps-fields__divider\" }, null, -1 /* HOISTED */);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Saturation = resolveComponent(\"Saturation\");\n const _component_Hue = resolveComponent(\"Hue\");\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"PhotoShop color picker\",\n class: normalizeClass([\"vc-photoshop\", [$props.disableFields ? 'vc-photoshop__disable-fields' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_1, toDisplayString($props.head), 1 /* TEXT */),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createVNode(_component_Saturation, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_4, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n direction: \"vertical\",\n onChange: $options.childChange\n }, {\n default: withCtx(() => [\n _hoisted_5\n ]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", {\n class: normalizeClass([\"vc-ps-controls\", [$props.disableFields ? 'vc-ps-controls__disable-fields' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"div\", _hoisted_7, toDisplayString($props.newLabel), 1 /* TEXT */),\n createElementVNode(\"div\", _hoisted_8, [\n createElementVNode(\"div\", {\n class: \"vc-ps-previews__pr-color\",\n \"aria-label\": `New color is ${_ctx.colors.hex}`,\n style: normalizeStyle({ background: _ctx.colors.hex })\n }, null, 12 /* STYLE, PROPS */, _hoisted_9),\n createElementVNode(\"div\", {\n class: \"vc-ps-previews__pr-color\",\n \"aria-label\": `Current color is ${$data.currentColor}`,\n style: normalizeStyle({ background: $data.currentColor }),\n onClick: _cache[0] || (_cache[0] = (...args) => ($options.clickCurrentColor && $options.clickCurrentColor(...args)))\n }, null, 12 /* STYLE, PROPS */, _hoisted_10)\n ]),\n createElementVNode(\"div\", _hoisted_11, toDisplayString($props.currentLabel), 1 /* TEXT */)\n ]),\n (!$props.disableFields)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_12, [\n createElementVNode(\"div\", {\n class: \"vc-ps-ac-btn\",\n role: \"button\",\n \"aria-label\": $props.acceptLabel,\n onClick: _cache[1] || (_cache[1] = (...args) => ($options.handleAccept && $options.handleAccept(...args)))\n }, toDisplayString($props.acceptLabel), 9 /* TEXT, PROPS */, _hoisted_13),\n createElementVNode(\"div\", {\n class: \"vc-ps-ac-btn\",\n role: \"button\",\n \"aria-label\": $props.cancelLabel,\n onClick: _cache[2] || (_cache[2] = (...args) => ($options.handleCancel && $options.handleCancel(...args)))\n }, toDisplayString($props.cancelLabel), 9 /* TEXT, PROPS */, _hoisted_14),\n createElementVNode(\"div\", _hoisted_15, [\n createCommentVNode(\" hsla \"),\n createVNode(_component_EdIn, {\n label: \"h\",\n desc: \"°\",\n value: $options.hsv.h,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"s\",\n desc: \"%\",\n value: $options.hsv.s,\n max: 100,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"v\",\n desc: \"%\",\n value: $options.hsv.v,\n max: 100,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n _hoisted_16,\n createCommentVNode(\" rgba \"),\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n _hoisted_17,\n createCommentVNode(\" hex \"),\n createVNode(_component_EdIn, {\n label: \"#\",\n class: \"vc-ps-fields__hex\",\n value: $options.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n ($props.hasResetButton)\n ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: \"vc-ps-ac-btn\",\n \"aria-label\": \"reset\",\n onClick: _cache[3] || (_cache[3] = (...args) => ($options.handleReset && $options.handleReset(...args)))\n }, toDisplayString($props.resetLabel), 1 /* TEXT */))\n : createCommentVNode(\"v-if\", true)\n ]))\n : createCommentVNode(\"v-if\", true)\n ], 2 /* CLASS */)\n ])\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-photoshop{background:#dcdcdc;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;font-family:Roboto;width:513px}.vc-photoshop__disable-fields{width:390px}.vc-ps-head{background-image:linear-gradient(-180deg,#f0f0f0,#d4d4d4);border-bottom:1px solid #b1b1b1;border-radius:4px 4px 0 0;box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.2),inset 0 -1px 0 0 rgba(0,0,0,.02);color:#4d4d4d;font-size:13px;height:23px;line-height:24px;text-align:center}.vc-ps-body{display:flex;padding:15px}.vc-ps-saturation-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;overflow:hidden;position:relative;width:256px}.vc-ps-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-ps-hue-wrap{border:2px solid #b3b3b3;border-bottom-color:#f0f0f0;height:256px;margin-left:10px;width:19px}.vc-ps-hue-pointer,.vc-ps-hue-wrap{position:relative}.vc-ps-hue-pointer--left,.vc-ps-hue-pointer--right{border-color:transparent transparent transparent #555;border-style:solid;border-width:5px 0 5px 8px;height:0;position:absolute;width:0}.vc-ps-hue-pointer--left:after,.vc-ps-hue-pointer--right:after{border-color:transparent transparent transparent #fff;border-style:solid;border-width:4px 0 4px 6px;content:\\\"\\\";height:0;left:1px;position:absolute;top:1px;transform:translate(-8px,-5px);width:0}.vc-ps-hue-pointer--left{transform:translate(-13px,-4px)}.vc-ps-hue-pointer--right{transform:translate(20px,-4px) rotate(180deg)}.vc-ps-controls{display:flex;margin-left:10px;width:180px}.vc-ps-controls__disable-fields{width:auto}.vc-ps-actions{flex:1;margin-left:20px}.vc-ps-ac-btn{background-image:linear-gradient(-180deg,#fff,#e6e6e6);border:1px solid #878787;border-radius:2px;box-shadow:0 1px 0 0 #eaeaea;color:#000;cursor:pointer;font-size:14px;height:20px;line-height:20px;margin-bottom:10px;text-align:center}.vc-ps-previews{width:60px}.vc-ps-previews__swatches{border:1px solid #b3b3b3;border-bottom-color:#f0f0f0;margin-bottom:2px;margin-top:1px}.vc-ps-previews__pr-color{box-shadow:inset 1px 0 0 #000,inset -1px 0 0 #000,inset 0 1px 0 #000;height:34px}.vc-ps-previews__label{color:#000;font-size:14px;text-align:center}.vc-ps-fields{padding-bottom:9px;padding-top:5px;position:relative;width:80px}.vc-ps-fields .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:5px;margin-left:40%;margin-right:10px;padding-left:3px;width:40%}.vc-ps-fields .vc-input__desc,.vc-ps-fields .vc-input__label{font-size:13px;height:18px;line-height:22px;position:absolute;text-transform:uppercase;top:0}.vc-ps-fields .vc-input__label{left:0;width:34px}.vc-ps-fields .vc-input__desc{right:0;width:0}.vc-ps-fields__divider{height:5px}.vc-ps-fields__hex .vc-input__input{border:1px solid #888;box-shadow:inset 0 1px 1px rgba(0,0,0,.1),0 1px 0 0 #ececec;font-size:13px;height:18px;margin-bottom:6px;margin-left:20%;padding-left:3px;width:80%}.vc-ps-fields__hex .vc-input__label{font-size:13px;height:18px;left:0;line-height:22px;position:absolute;text-transform:uppercase;top:0;width:14px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/photoshop/photoshop.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$4 from '../editable-input/index.js';\nimport script$1 from '../saturation/index.js';\nimport script$2 from '../hue/index.js';\nimport script$3 from '../alpha/index.js';\nimport script$5 from '../checkboard/index.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, normalizeStyle, Fragment, renderList } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\nimport '../../utils/utils.js';\n\nconst presetColors = [\n '#D0021B', '#F5A623', '#F8E71C', '#8B572A', '#7ED321',\n '#417505', '#BD10E0', '#9013FE', '#4A90E2', '#50E3C2',\n '#B8E986', '#000000', '#4A4A4A', '#9B9B9B', '#FFFFFF',\n 'rgba(0,0,0,0)',\n];\n\nvar script = {\n name: 'Sketch',\n components: {\n Saturation: script$1,\n Hue: script$2,\n Alpha: script$3,\n EdIn: script$4,\n Checkboard: script$5,\n },\n mixins: [colorMixin],\n props: {\n presetColors: {\n type: Array,\n default() {\n return presetColors;\n },\n },\n disableAlpha: {\n type: Boolean,\n default: false,\n },\n disableFields: {\n type: Boolean,\n default: false,\n },\n },\n computed: {\n hex() {\n let hex;\n if (this.colors.a < 1)\n hex = this.colors.hex8;\n else\n hex = this.colors.hex;\n\n return hex.replace('#', '');\n },\n activeColor() {\n const { rgba } = this.colors;\n return `rgba(${[rgba.r, rgba.g, rgba.b, rgba.a].join(',')})`;\n },\n },\n methods: {\n handlePreset(c) {\n this.colorChange(c);\n },\n childChange(data) {\n this.colorChange(data);\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data.hex) {\n this.isValidHex(data.hex) && this.colorChange({\n hex: data.hex,\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n },\n },\n};\n\nconst _hoisted_1 = { class: \"vc-sketch-saturation-wrap\" };\nconst _hoisted_2 = { class: \"vc-sketch-controls\" };\nconst _hoisted_3 = { class: \"vc-sketch-sliders\" };\nconst _hoisted_4 = { class: \"vc-sketch-hue-wrap\" };\nconst _hoisted_5 = {\n key: 0,\n class: \"vc-sketch-alpha-wrap\"\n};\nconst _hoisted_6 = { class: \"vc-sketch-color-wrap\" };\nconst _hoisted_7 = [\"aria-label\"];\nconst _hoisted_8 = {\n key: 0,\n class: \"vc-sketch-field\"\n};\nconst _hoisted_9 = { class: \"vc-sketch-field--double\" };\nconst _hoisted_10 = { class: \"vc-sketch-field--single\" };\nconst _hoisted_11 = { class: \"vc-sketch-field--single\" };\nconst _hoisted_12 = { class: \"vc-sketch-field--single\" };\nconst _hoisted_13 = {\n key: 0,\n class: \"vc-sketch-field--single\"\n};\nconst _hoisted_14 = {\n class: \"vc-sketch-presets\",\n role: \"group\",\n \"aria-label\": \"A color preset, pick one to set as current color\"\n};\nconst _hoisted_15 = [\"aria-label\", \"onClick\"];\nconst _hoisted_16 = [\"aria-label\", \"onClick\"];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Saturation = resolveComponent(\"Saturation\");\n const _component_Hue = resolveComponent(\"Hue\");\n const _component_Alpha = resolveComponent(\"Alpha\");\n const _component_Checkboard = resolveComponent(\"Checkboard\");\n const _component_EdIn = resolveComponent(\"EdIn\");\n\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"Sketch color picker\",\n class: normalizeClass([\"vc-sketch\", [$props.disableAlpha ? 'vc-sketch__disable-alpha' : '']])\n }, [\n createElementVNode(\"div\", _hoisted_1, [\n createVNode(_component_Saturation, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n createElementVNode(\"div\", _hoisted_4, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_5, [\n createVNode(_component_Alpha, {\n value: _ctx.colors,\n onChange: $options.childChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ]),\n createElementVNode(\"div\", _hoisted_6, [\n createElementVNode(\"div\", {\n \"aria-label\": `Current color is ${$options.activeColor}`,\n class: \"vc-sketch-active-color\",\n style: normalizeStyle({ background: $options.activeColor })\n }, null, 12 /* STYLE, PROPS */, _hoisted_7),\n createVNode(_component_Checkboard)\n ])\n ]),\n (!$props.disableFields)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_8, [\n createCommentVNode(\" rgba \"),\n createElementVNode(\"div\", _hoisted_9, [\n createVNode(_component_EdIn, {\n label: \"hex\",\n value: $options.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_10, [\n createVNode(_component_EdIn, {\n label: \"r\",\n value: _ctx.colors.rgba.r,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_11, [\n createVNode(_component_EdIn, {\n label: \"g\",\n value: _ctx.colors.rgba.g,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_12, [\n createVNode(_component_EdIn, {\n label: \"b\",\n value: _ctx.colors.rgba.b,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n (!$props.disableAlpha)\n ? (openBlock(), createElementBlock(\"div\", _hoisted_13, [\n createVNode(_component_EdIn, {\n label: \"a\",\n value: _ctx.colors.a,\n \"arrow-offset\": 0.01,\n max: 1,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"arrow-offset\", \"onChange\"])\n ]))\n : createCommentVNode(\"v-if\", true)\n ]))\n : createCommentVNode(\"v-if\", true),\n createElementVNode(\"div\", _hoisted_14, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.presetColors, (c) => {\n return (openBlock(), createElementBlock(Fragment, null, [\n (!_ctx.isTransparent(c))\n ? (openBlock(), createElementBlock(\"div\", {\n key: `!${c}`,\n class: \"vc-sketch-presets-color\",\n \"aria-label\": `Color:${c}`,\n style: normalizeStyle({ background: c }),\n onClick: $event => ($options.handlePreset(c))\n }, null, 12 /* STYLE, PROPS */, _hoisted_15))\n : (openBlock(), createElementBlock(\"div\", {\n key: c,\n \"aria-label\": `Color:${c}`,\n class: \"vc-sketch-presets-color\",\n onClick: $event => ($options.handlePreset(c))\n }, [\n createVNode(_component_Checkboard)\n ], 8 /* PROPS */, _hoisted_16))\n ], 64 /* STABLE_FRAGMENT */))\n }), 256 /* UNKEYED_FRAGMENT */))\n ])\n ], 2 /* CLASS */))\n}\n\nvar css_248z = \".vc-sketch{background:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15),0 8px 16px rgba(0,0,0,.15);box-sizing:initial;padding:10px 10px 0;position:relative;width:200px}.vc-sketch-saturation-wrap{overflow:hidden;padding-bottom:75%;position:relative;width:100%}.vc-sketch-controls{display:flex}.vc-sketch-sliders{flex:1;padding:4px 0}.vc-sketch-sliders .vc-alpha-gradient,.vc-sketch-sliders .vc-hue{border-radius:2px}.vc-sketch-alpha-wrap,.vc-sketch-hue-wrap{height:10px;position:relative}.vc-sketch-alpha-wrap{margin-top:4px;overflow:hidden}.vc-sketch-color-wrap{border-radius:3px;height:24px;margin-left:4px;margin-top:4px;position:relative;width:24px}.vc-sketch-active-color{border-radius:2px;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15),inset 0 0 4px rgba(0,0,0,.25);left:0;position:absolute;right:0;top:0;z-index:2}.vc-sketch-color-wrap .vc-checkerboard{background-size:auto}.vc-sketch-field{display:flex;padding-top:4px}.vc-sketch-field .vc-input__input{border:none;box-shadow:inset 0 0 0 1px #ccc;font-size:10px;padding:4px 0 3px 10%;width:90%}.vc-sketch-field .vc-input__label{color:#222;display:block;font-size:11px;padding-bottom:4px;padding-top:3px;text-align:center;text-transform:capitalize}.vc-sketch-field--single{flex:1;padding-left:6px}.vc-sketch-field--double{flex:2}.vc-sketch-presets{border-top:1px solid #eee;margin-left:-10px;margin-right:-10px;padding-left:10px;padding-top:10px}.vc-sketch-presets-color{cursor:pointer;display:inline-block;height:16px;margin:0 10px 10px 0;overflow:hidden;position:relative;vertical-align:top;width:16px}.vc-sketch-presets-color,.vc-sketch-presets-color .vc-checkerboard{border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.vc-sketch__disable-alpha .vc-sketch-color-wrap{height:10px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/sketch/sketch.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import colorMixin from '../../mixin/color.js';\nimport script$1 from '../hue/index.js';\nimport { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, Fragment, renderList, normalizeClass, normalizeStyle } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst DEFAULT_SATURATION = 0.5;\n\nvar script = {\n name: 'Slider',\n components: {\n Hue: script$1,\n },\n mixins: [colorMixin],\n props: {\n swatches: {\n type: Array,\n default() {\n // also accepts: ['.80', '.65', '.50', '.35', '.20']\n return [\n { s: DEFAULT_SATURATION, l: 0.8 },\n { s: DEFAULT_SATURATION, l: 0.65 },\n { s: DEFAULT_SATURATION, l: 0.5 },\n { s: DEFAULT_SATURATION, l: 0.35 },\n { s: DEFAULT_SATURATION, l: 0.2 },\n ];\n },\n },\n },\n computed: {\n normalizedSwatches() {\n const { swatches } = this;\n return swatches.map((swatch) => {\n // to be compatible with another data format ['.80', '.65', '.50', '.35', '.20']\n if (typeof swatch !== 'object') {\n return {\n s: DEFAULT_SATURATION,\n l: swatch,\n };\n }\n return swatch;\n });\n },\n },\n methods: {\n isActive(swatch, index) {\n const { hsl } = this.colors;\n if (hsl.l === 1 && swatch.l === 1)\n return true;\n\n if (hsl.l === 0 && swatch.l === 0)\n return true;\n\n return (\n Math.abs(hsl.l - swatch.l) < 0.01 && Math.abs(hsl.s - swatch.s) < 0.01\n );\n },\n hueChange(data) {\n this.colorChange(data);\n },\n handleSwClick(index, swatch) {\n this.colorChange({\n h: this.colors.hsl.h,\n s: swatch.s,\n l: swatch.l,\n source: 'hsl',\n });\n },\n },\n};\n\nconst _hoisted_1 = {\n role: \"application\",\n \"aria-label\": \"Slider color picker\",\n class: \"vc-slider\"\n};\nconst _hoisted_2 = { class: \"vc-slider-hue-warp\" };\nconst _hoisted_3 = {\n class: \"vc-slider-swatches\",\n role: \"group\"\n};\nconst _hoisted_4 = [\"data-index\", \"aria-label\", \"onClick\"];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Hue = resolveComponent(\"Hue\");\n\n return (openBlock(), createElementBlock(\"div\", _hoisted_1, [\n createElementVNode(\"div\", _hoisted_2, [\n createVNode(_component_Hue, {\n value: _ctx.colors,\n onChange: $options.hueChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"])\n ]),\n createElementVNode(\"div\", _hoisted_3, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($options.normalizedSwatches, (swatch, index) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: index,\n class: \"vc-slider-swatch\",\n \"data-index\": index,\n \"aria-label\": `color:${_ctx.colors.hex}`,\n role: \"button\",\n onClick: $event => ($options.handleSwClick(index, swatch))\n }, [\n createElementVNode(\"div\", {\n class: normalizeClass([\"vc-slider-swatch-picker\", { 'vc-slider-swatch-picker--active': $options.isActive(swatch, index), 'vc-slider-swatch-picker--white': swatch.l === 1 }]),\n style: normalizeStyle({ background: `hsl(${_ctx.colors.hsl.h}, ${swatch.s * 100}%, ${swatch.l * 100}%)` })\n }, null, 6 /* CLASS, STYLE */)\n ], 8 /* PROPS */, _hoisted_4))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ]))\n}\n\nvar css_248z = \".vc-slider{position:relative;width:410px}.vc-slider-hue-warp{height:12px;position:relative}.vc-slider-hue-warp .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:14px;transform:translate(-7px,-2px);width:14px}.vc-slider-swatches{display:flex;margin-top:20px}.vc-slider-swatch{flex:1;margin-right:1px;width:20%}.vc-slider-swatch:first-child{margin-right:1px}.vc-slider-swatch:first-child .vc-slider-swatch-picker{border-radius:2px 0 0 2px}.vc-slider-swatch:last-child{margin-right:0}.vc-slider-swatch:last-child .vc-slider-swatch-picker{border-radius:0 2px 2px 0}.vc-slider-swatch-picker{cursor:pointer;height:12px}.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active{border-radius:3.6px/2px;transform:scaleY(1.8)}.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 1px #ddd}.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white{box-shadow:inset 0 0 0 .6px #ddd}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/slider/slider.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","export var red = {\"50\":\"#ffebee\",\"100\":\"#ffcdd2\",\"200\":\"#ef9a9a\",\"300\":\"#e57373\",\"400\":\"#ef5350\",\"500\":\"#f44336\",\"600\":\"#e53935\",\"700\":\"#d32f2f\",\"800\":\"#c62828\",\"900\":\"#b71c1c\",\"a100\":\"#ff8a80\",\"a200\":\"#ff5252\",\"a400\":\"#ff1744\",\"a700\":\"#d50000\"};\nexport var pink = {\"50\":\"#fce4ec\",\"100\":\"#f8bbd0\",\"200\":\"#f48fb1\",\"300\":\"#f06292\",\"400\":\"#ec407a\",\"500\":\"#e91e63\",\"600\":\"#d81b60\",\"700\":\"#c2185b\",\"800\":\"#ad1457\",\"900\":\"#880e4f\",\"a100\":\"#ff80ab\",\"a200\":\"#ff4081\",\"a400\":\"#f50057\",\"a700\":\"#c51162\"};\nexport var purple = {\"50\":\"#f3e5f5\",\"100\":\"#e1bee7\",\"200\":\"#ce93d8\",\"300\":\"#ba68c8\",\"400\":\"#ab47bc\",\"500\":\"#9c27b0\",\"600\":\"#8e24aa\",\"700\":\"#7b1fa2\",\"800\":\"#6a1b9a\",\"900\":\"#4a148c\",\"a100\":\"#ea80fc\",\"a200\":\"#e040fb\",\"a400\":\"#d500f9\",\"a700\":\"#aa00ff\"};\nexport var deepPurple = {\"50\":\"#ede7f6\",\"100\":\"#d1c4e9\",\"200\":\"#b39ddb\",\"300\":\"#9575cd\",\"400\":\"#7e57c2\",\"500\":\"#673ab7\",\"600\":\"#5e35b1\",\"700\":\"#512da8\",\"800\":\"#4527a0\",\"900\":\"#311b92\",\"a100\":\"#b388ff\",\"a200\":\"#7c4dff\",\"a400\":\"#651fff\",\"a700\":\"#6200ea\"};\nexport var indigo = {\"50\":\"#e8eaf6\",\"100\":\"#c5cae9\",\"200\":\"#9fa8da\",\"300\":\"#7986cb\",\"400\":\"#5c6bc0\",\"500\":\"#3f51b5\",\"600\":\"#3949ab\",\"700\":\"#303f9f\",\"800\":\"#283593\",\"900\":\"#1a237e\",\"a100\":\"#8c9eff\",\"a200\":\"#536dfe\",\"a400\":\"#3d5afe\",\"a700\":\"#304ffe\"};\nexport var blue = {\"50\":\"#e3f2fd\",\"100\":\"#bbdefb\",\"200\":\"#90caf9\",\"300\":\"#64b5f6\",\"400\":\"#42a5f5\",\"500\":\"#2196f3\",\"600\":\"#1e88e5\",\"700\":\"#1976d2\",\"800\":\"#1565c0\",\"900\":\"#0d47a1\",\"a100\":\"#82b1ff\",\"a200\":\"#448aff\",\"a400\":\"#2979ff\",\"a700\":\"#2962ff\"};\nexport var lightBlue = {\"50\":\"#e1f5fe\",\"100\":\"#b3e5fc\",\"200\":\"#81d4fa\",\"300\":\"#4fc3f7\",\"400\":\"#29b6f6\",\"500\":\"#03a9f4\",\"600\":\"#039be5\",\"700\":\"#0288d1\",\"800\":\"#0277bd\",\"900\":\"#01579b\",\"a100\":\"#80d8ff\",\"a200\":\"#40c4ff\",\"a400\":\"#00b0ff\",\"a700\":\"#0091ea\"};\nexport var cyan = {\"50\":\"#e0f7fa\",\"100\":\"#b2ebf2\",\"200\":\"#80deea\",\"300\":\"#4dd0e1\",\"400\":\"#26c6da\",\"500\":\"#00bcd4\",\"600\":\"#00acc1\",\"700\":\"#0097a7\",\"800\":\"#00838f\",\"900\":\"#006064\",\"a100\":\"#84ffff\",\"a200\":\"#18ffff\",\"a400\":\"#00e5ff\",\"a700\":\"#00b8d4\"};\nexport var teal = {\"50\":\"#e0f2f1\",\"100\":\"#b2dfdb\",\"200\":\"#80cbc4\",\"300\":\"#4db6ac\",\"400\":\"#26a69a\",\"500\":\"#009688\",\"600\":\"#00897b\",\"700\":\"#00796b\",\"800\":\"#00695c\",\"900\":\"#004d40\",\"a100\":\"#a7ffeb\",\"a200\":\"#64ffda\",\"a400\":\"#1de9b6\",\"a700\":\"#00bfa5\"};\nexport var green = {\"50\":\"#e8f5e9\",\"100\":\"#c8e6c9\",\"200\":\"#a5d6a7\",\"300\":\"#81c784\",\"400\":\"#66bb6a\",\"500\":\"#4caf50\",\"600\":\"#43a047\",\"700\":\"#388e3c\",\"800\":\"#2e7d32\",\"900\":\"#1b5e20\",\"a100\":\"#b9f6ca\",\"a200\":\"#69f0ae\",\"a400\":\"#00e676\",\"a700\":\"#00c853\"};\nexport var lightGreen = {\"50\":\"#f1f8e9\",\"100\":\"#dcedc8\",\"200\":\"#c5e1a5\",\"300\":\"#aed581\",\"400\":\"#9ccc65\",\"500\":\"#8bc34a\",\"600\":\"#7cb342\",\"700\":\"#689f38\",\"800\":\"#558b2f\",\"900\":\"#33691e\",\"a100\":\"#ccff90\",\"a200\":\"#b2ff59\",\"a400\":\"#76ff03\",\"a700\":\"#64dd17\"};\nexport var lime = {\"50\":\"#f9fbe7\",\"100\":\"#f0f4c3\",\"200\":\"#e6ee9c\",\"300\":\"#dce775\",\"400\":\"#d4e157\",\"500\":\"#cddc39\",\"600\":\"#c0ca33\",\"700\":\"#afb42b\",\"800\":\"#9e9d24\",\"900\":\"#827717\",\"a100\":\"#f4ff81\",\"a200\":\"#eeff41\",\"a400\":\"#c6ff00\",\"a700\":\"#aeea00\"};\nexport var yellow = {\"50\":\"#fffde7\",\"100\":\"#fff9c4\",\"200\":\"#fff59d\",\"300\":\"#fff176\",\"400\":\"#ffee58\",\"500\":\"#ffeb3b\",\"600\":\"#fdd835\",\"700\":\"#fbc02d\",\"800\":\"#f9a825\",\"900\":\"#f57f17\",\"a100\":\"#ffff8d\",\"a200\":\"#ffff00\",\"a400\":\"#ffea00\",\"a700\":\"#ffd600\"};\nexport var amber = {\"50\":\"#fff8e1\",\"100\":\"#ffecb3\",\"200\":\"#ffe082\",\"300\":\"#ffd54f\",\"400\":\"#ffca28\",\"500\":\"#ffc107\",\"600\":\"#ffb300\",\"700\":\"#ffa000\",\"800\":\"#ff8f00\",\"900\":\"#ff6f00\",\"a100\":\"#ffe57f\",\"a200\":\"#ffd740\",\"a400\":\"#ffc400\",\"a700\":\"#ffab00\"};\nexport var orange = {\"50\":\"#fff3e0\",\"100\":\"#ffe0b2\",\"200\":\"#ffcc80\",\"300\":\"#ffb74d\",\"400\":\"#ffa726\",\"500\":\"#ff9800\",\"600\":\"#fb8c00\",\"700\":\"#f57c00\",\"800\":\"#ef6c00\",\"900\":\"#e65100\",\"a100\":\"#ffd180\",\"a200\":\"#ffab40\",\"a400\":\"#ff9100\",\"a700\":\"#ff6d00\"};\nexport var deepOrange = {\"50\":\"#fbe9e7\",\"100\":\"#ffccbc\",\"200\":\"#ffab91\",\"300\":\"#ff8a65\",\"400\":\"#ff7043\",\"500\":\"#ff5722\",\"600\":\"#f4511e\",\"700\":\"#e64a19\",\"800\":\"#d84315\",\"900\":\"#bf360c\",\"a100\":\"#ff9e80\",\"a200\":\"#ff6e40\",\"a400\":\"#ff3d00\",\"a700\":\"#dd2c00\"};\nexport var brown = {\"50\":\"#efebe9\",\"100\":\"#d7ccc8\",\"200\":\"#bcaaa4\",\"300\":\"#a1887f\",\"400\":\"#8d6e63\",\"500\":\"#795548\",\"600\":\"#6d4c41\",\"700\":\"#5d4037\",\"800\":\"#4e342e\",\"900\":\"#3e2723\"};\nexport var grey = {\"50\":\"#fafafa\",\"100\":\"#f5f5f5\",\"200\":\"#eeeeee\",\"300\":\"#e0e0e0\",\"400\":\"#bdbdbd\",\"500\":\"#9e9e9e\",\"600\":\"#757575\",\"700\":\"#616161\",\"800\":\"#424242\",\"900\":\"#212121\"};\nexport var blueGrey = {\"50\":\"#eceff1\",\"100\":\"#cfd8dc\",\"200\":\"#b0bec5\",\"300\":\"#90a4ae\",\"400\":\"#78909c\",\"500\":\"#607d8b\",\"600\":\"#546e7a\",\"700\":\"#455a64\",\"800\":\"#37474f\",\"900\":\"#263238\"};\nexport var darkText = {\"primary\":\"rgba(0, 0, 0, 0.87)\",\"secondary\":\"rgba(0, 0, 0, 0.54)\",\"disabled\":\"rgba(0, 0, 0, 0.38)\",\"dividers\":\"rgba(0, 0, 0, 0.12)\"};\nexport var lightText = {\"primary\":\"rgba(255, 255, 255, 1)\",\"secondary\":\"rgba(255, 255, 255, 0.7)\",\"disabled\":\"rgba(255, 255, 255, 0.5)\",\"dividers\":\"rgba(255, 255, 255, 0.12)\"};\nexport var darkIcons = {\"active\":\"rgba(0, 0, 0, 0.54)\",\"inactive\":\"rgba(0, 0, 0, 0.38)\"};\nexport var lightIcons = {\"active\":\"rgba(255, 255, 255, 1)\",\"inactive\":\"rgba(255, 255, 255, 0.5)\"};\nexport var white = \"#ffffff\";\nexport var black = \"#000000\";\n\nexport default {\n red: red,\n pink: pink,\n purple: purple,\n deepPurple: deepPurple,\n indigo: indigo,\n blue: blue,\n lightBlue: lightBlue,\n cyan: cyan,\n teal: teal,\n green: green,\n lightGreen: lightGreen,\n lime: lime,\n yellow: yellow,\n amber: amber,\n orange: orange,\n deepOrange: deepOrange,\n brown: brown,\n grey: grey,\n blueGrey: blueGrey,\n darkText: darkText,\n lightText: lightText,\n darkIcons: darkIcons,\n lightIcons: lightIcons,\n white: white,\n black: black\n};\n","import material from 'material-colors';\nimport colorMixin from '../../mixin/color.js';\nimport { openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, normalizeStyle, withKeys, withDirectives, vShow } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '@ctrl/tinycolor';\nimport '../../defaultConfig.js';\n\nconst colorMap = [\n 'red', 'pink', 'purple', 'deepPurple',\n 'indigo', 'blue', 'lightBlue', 'cyan',\n 'teal', 'green', 'lightGreen', 'lime',\n 'yellow', 'amber', 'orange', 'deepOrange',\n 'brown', 'blueGrey', 'black',\n];\nconst colorLevel = ['900', '700', '500', '300', '100'];\nconst defaultColors = (() => {\n const colors = [];\n colorMap.forEach((type) => {\n let typeColor = [];\n if (type.toLowerCase() === 'black' || type.toLowerCase() === 'white') {\n typeColor = typeColor.concat(['#000000', '#FFFFFF']);\n }\n else {\n colorLevel.forEach((level) => {\n const color = material[type][level];\n typeColor.push(color.toUpperCase());\n });\n }\n colors.push(typeColor);\n });\n return colors;\n})();\n\nvar script = {\n name: 'Swatches',\n mixins: [colorMixin],\n props: {\n palette: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n },\n computed: {\n pick() {\n return this.colors.hex;\n },\n },\n methods: {\n equal(color) {\n return color.toLowerCase() === this.colors.hex.toLowerCase();\n },\n handlerClick(c) {\n this.colorChange({\n hex: c,\n source: 'hex',\n });\n },\n },\n\n};\n\nconst _hoisted_1 = [\"data-pick\"];\nconst _hoisted_2 = {\n class: \"vc-swatches-box\",\n role: \"listbox\"\n};\nconst _hoisted_3 = [\"aria-label\", \"aria-selected\", \"data-color\", \"onKeyup\", \"onClick\"];\nconst _hoisted_4 = { class: \"vc-swatches-pick\" };\nconst _hoisted_5 = {\n style: {\"width\":\"24px\",\"height\":\"24px\"},\n viewBox: \"0 0 24 24\"\n};\nconst _hoisted_6 = /*#__PURE__*/createElementVNode(\"path\", { d: \"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z\" }, null, -1 /* HOISTED */);\nconst _hoisted_7 = [\n _hoisted_6\n];\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createElementBlock(\"div\", {\n role: \"application\",\n \"aria-label\": \"Swatches color picker\",\n class: \"vc-swatches\",\n \"data-pick\": $options.pick\n }, [\n createElementVNode(\"div\", _hoisted_2, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.palette, (group, $idx) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: $idx,\n class: \"vc-swatches-color-group\"\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(group, (c) => {\n return (openBlock(), createElementBlock(\"div\", {\n key: c,\n class: normalizeClass([\"vc-swatches-color-it\", [{ 'vc-swatches-color--white': c === '#FFFFFF' }]]),\n role: \"option\",\n \"aria-label\": `Color:${c}`,\n \"aria-selected\": $options.equal(c),\n \"data-color\": c,\n style: normalizeStyle({ background: c }),\n tabindex: \"0\",\n onKeyup: withKeys($event => ($options.handlerClick(c)), [\"enter\"]),\n onClick: $event => ($options.handlerClick(c))\n }, [\n withDirectives(createElementVNode(\"div\", _hoisted_4, [\n (openBlock(), createElementBlock(\"svg\", _hoisted_5, _hoisted_7))\n ], 512 /* NEED_PATCH */), [\n [vShow, $options.equal(c)]\n ])\n ], 46 /* CLASS, STYLE, PROPS, HYDRATE_EVENTS */, _hoisted_3))\n }), 128 /* KEYED_FRAGMENT */))\n ]))\n }), 128 /* KEYED_FRAGMENT */))\n ])\n ], 8 /* PROPS */, _hoisted_1))\n}\n\nvar css_248z = \".vc-swatches{background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.16);height:240px;overflow-y:scroll;width:320px}.vc-swatches-box{overflow:hidden;padding:16px 0 6px 16px}.vc-swatches-color-group{float:left;margin-right:10px;padding-bottom:10px;width:40px}.vc-swatches-color-it{background:#880e4f;-ms-border-radius:2px 2px 0 0;-moz-border-radius:2px 2px 0 0;-o-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0;box-sizing:border-box;cursor:pointer;height:24px;margin-bottom:1px;overflow:hidden;width:40px}.vc-swatches-color--white{border:1px solid #ddd}.vc-swatches-pick{fill:#fff;display:block;margin-left:8px}.vc-swatches-color--white .vc-swatches-pick{fill:#333}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/swatches/swatches.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script$1 from '../editable-input/index.js';\nimport colorMixin from '../../mixin/color.js';\nimport { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, withKeys, createVNode } from 'vue';\nimport { s as styleInject } from '../../style-inject.es-746bb8ed.js';\nimport { install } from '../../utils/compoent.js';\nimport '../../defaultConfig.js';\nimport '@ctrl/tinycolor';\n\nconst defaultColors = [\n '#FF6900', '#FCB900', '#7BDCB5', '#00D084', '#8ED1FC', '#0693E3', '#ABB8C3',\n '#EB144C', '#F78DA7', '#9900EF',\n];\n\nvar script = {\n name: 'Twitter',\n components: {\n EditableInput: script$1,\n },\n mixins: [colorMixin],\n props: {\n width: {\n type: [String, Number],\n default: 276,\n },\n defaultColors: {\n type: Array,\n default() {\n return defaultColors;\n },\n },\n triangle: {\n default: 'top-left',\n validator(value) {\n return ['hide', 'top-left', 'top-right'].includes(value);\n },\n },\n },\n computed: {\n hsv() {\n const { hsv } = this.colors;\n return {\n h: hsv.h.toFixed(),\n s: (hsv.s * 100).toFixed(),\n v: (hsv.v * 100).toFixed(),\n };\n },\n hex() {\n const { hex } = this.colors;\n return hex && hex.replace('#', '');\n },\n },\n methods: {\n equal(color) {\n return color.toLowerCase() === this.colors.hex.toLowerCase();\n },\n handlerClick(color) {\n this.colorChange({\n hex: color,\n source: 'hex',\n });\n },\n inputChange(data) {\n if (!data)\n return;\n\n if (data['#']) {\n this.isValidHex(data['#']) && this.colorChange({\n hex: data['#'],\n source: 'hex',\n });\n }\n else if (data.r || data.g || data.b || data.a) {\n this.colorChange({\n r: data.r || this.colors.rgba.r,\n g: data.g || this.colors.rgba.g,\n b: data.b || this.colors.rgba.b,\n a: data.a || this.colors.rgba.a,\n source: 'rgba',\n });\n }\n else if (data.h || data.s || data.v) {\n this.colorChange({\n h: data.h || this.colors.hsv.h,\n s: (data.s / 100) || this.colors.hsv.s,\n v: (data.v / 100) || this.colors.hsv.v,\n source: 'hsv',\n });\n }\n },\n },\n};\n\nconst _hoisted_1 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-triangle-shadow\" }, null, -1 /* HOISTED */);\nconst _hoisted_2 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-triangle\" }, null, -1 /* HOISTED */);\nconst _hoisted_3 = { class: \"vc-twitter-body\" };\nconst _hoisted_4 = [\"onKeyup\", \"onClick\"];\nconst _hoisted_5 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-hash\" }, \" # \", -1 /* HOISTED */);\nconst _hoisted_6 = /*#__PURE__*/createElementVNode(\"div\", { class: \"vc-twitter-clear\" }, null, -1 /* HOISTED */);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_EditableInput = resolveComponent(\"EditableInput\");\n\n return (openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\"vc-twitter\", {\n 'vc-twitter-hide-triangle ': $props.triangle === 'hide',\n 'vc-twitter-top-left-triangle ': $props.triangle === 'top-left',\n 'vc-twitter-top-right-triangle ': $props.triangle === 'top-right',\n }]),\n style: normalizeStyle({\n width: typeof $props.width === 'number' ? `${$props.width}px` : $props.width,\n })\n }, [\n _hoisted_1,\n _hoisted_2,\n createElementVNode(\"div\", _hoisted_3, [\n (openBlock(true), createElementBlock(Fragment, null, renderList($props.defaultColors, (color, index) => {\n return (openBlock(), createElementBlock(\"span\", {\n key: index,\n class: \"vc-twitter-swatch\",\n style: normalizeStyle({\n background: color,\n boxShadow: `0 0 4px ${$options.equal(color) ? color : 'transparent'}`,\n }),\n role: \"button\",\n tabindex: \"0\",\n onKeyup: withKeys($event => ($options.handlerClick(color)), [\"enter\"]),\n onClick: $event => ($options.handlerClick(color))\n }, null, 44 /* STYLE, PROPS, HYDRATE_EVENTS */, _hoisted_4))\n }), 128 /* KEYED_FRAGMENT */)),\n _hoisted_5,\n createVNode(_component_EditableInput, {\n label: \"#\",\n value: $options.hex,\n onChange: $options.inputChange\n }, null, 8 /* PROPS */, [\"value\", \"onChange\"]),\n _hoisted_6\n ])\n ], 6 /* CLASS, STYLE */))\n}\n\nvar css_248z = \".vc-twitter{background:#fff;border:0 solid rgba(0,0,0,.25);border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.25);position:relative}.vc-twitter-triangle{border-color:transparent transparent #fff}.vc-twitter-triangle,.vc-twitter-triangle-shadow{border-style:solid;border-width:0 9px 10px;height:0;position:absolute;width:0}.vc-twitter-triangle-shadow{border-color:transparent transparent rgba(0,0,0,.1)}.vc-twitter-body{padding:15px 9px 9px 15px}.vc-twitter .vc-editable-input{position:relative}.vc-twitter .vc-editable-input input{border:0;border-radius:0 4px 4px 0;box-shadow:inset 0 0 0 1px #f0f0f0;box-sizing:content-box;color:#666;float:left;font-size:14px;height:28px;outline:none;padding:1px 1px 1px 8px;width:100px}.vc-twitter .vc-editable-input span{display:none}.vc-twitter-hash{align-items:center;background:#f0f0f0;border-radius:4px 0 0 4px;color:#98a1a4;display:flex;float:left;height:30px;justify-content:center;width:30px}.vc-twitter-swatch{border-radius:4px;cursor:pointer;float:left;height:30px;margin:0 6px 6px 0;position:relative;width:30px}.vc-twitter-clear{clear:both}.vc-twitter-hide-triangle .vc-twitter-triangle,.vc-twitter-hide-triangle .vc-twitter-triangle-shadow{display:none}.vc-twitter-top-left-triangle .vc-twitter-triangle{left:12px;top:-10px}.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{left:12px;top:-11px}.vc-twitter-top-right-triangle .vc-twitter-triangle{right:12px;top:-10px}.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{right:12px;top:-11px}\";\nstyleInject(css_248z);\n\nscript.render = render;\nscript.__file = \"src/components/twitter/twitter.vue\";\n\nscript.install = install;\n\nexport { script as default };\n","import script from './components/alpha/index.js';\nimport script$1 from './components/checkboard/index.js';\nimport script$2 from './components/chrome/index.js';\nimport script$3 from './components/compact/index.js';\nimport script$4 from './components/editable-input/index.js';\nimport script$5 from './components/grayscale/index.js';\nimport script$6 from './components/hue/index.js';\nimport script$7 from './components/material/index.js';\nimport script$8 from './components/photoshop/index.js';\nimport script$9 from './components/saturation/index.js';\nimport script$a from './components/sketch/index.js';\nimport script$b from './components/slider/index.js';\nimport script$c from './components/swatches/index.js';\nimport script$d from './components/twitter/index.js';\nimport 'vue';\nimport './style-inject.es-746bb8ed.js';\nimport './utils/compoent.js';\nimport './defaultConfig.js';\nimport './mixin/color.js';\nimport '@ctrl/tinycolor';\nimport './utils/utils.js';\nimport 'material-colors';\n\n/* Do not modify the automatically generated code */\n\nconst components = [\n script,\n script$1,\n script$2,\n script$3,\n script$4,\n script$5,\n script$6,\n script$7,\n script$8,\n script$9,\n script$a,\n script$b,\n script$c,\n script$d,\n];\n\nexport { script as Alpha, script$1 as Checkboard, script$2 as Chrome, script$3 as Compact, script$4 as EditableInput, script$5 as Grayscale, script$6 as Hue, script$7 as Material, script$8 as Photoshop, script$9 as Saturation, script$a as Sketch, script$b as Slider, script$c as Swatches, script$d as Twitter, components };\n","import { render } from \"./BarButtonColor.vue?vue&type=template&id=2fe7124b&scoped=true\"\nimport script from \"./BarButtonColor.vue?vue&type=script&lang=js\"\nexport * from \"./BarButtonColor.vue?vue&type=script&lang=js\"\n\nimport \"./BarButtonColor.vue?vue&type=style&index=0&id=2fe7124b&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2fe7124b\"]])\n\nexport default __exports__","","import { render } from \"./BarSeparator.vue?vue&type=template&id=e605c7a0\"\nconst script = {}\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./BarSpacer.vue?vue&type=template&id=563ebb40\"\nconst script = {}\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Bar.vue?vue&type=template&id=9653a704&scoped=true\"\nimport script from \"./Bar.vue?vue&type=script&lang=js\"\nexport * from \"./Bar.vue?vue&type=script&lang=js\"\n\nimport \"./Bar.vue?vue&type=style&index=0&id=9653a704&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9653a704\"]])\n\nexport default __exports__","\n\n","\n\n","import { render } from \"./BarMenuItem.vue?vue&type=template&id=3bea5e82\"\nimport script from \"./BarMenuItem.vue?vue&type=script&lang=js\"\nexport * from \"./BarMenuItem.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","","import { render } from \"./BarMenuSeparator.vue?vue&type=template&id=3edb62da\"\nconst script = {}\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./BarMenu.vue?vue&type=template&id=5abecf45\"\nimport script from \"./BarMenu.vue?vue&type=script&lang=js\"\nexport * from \"./BarMenu.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/Users/romain/Developer/vue-document-editor/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["activeEffectScope","EffectScope","constructor","detached","this","_active","effects","cleanups","parent","index","scopes","push","active","run","fn","currentEffectScope","on","off","stop","fromParent","i","l","length","last","pop","recordEffectScope","effect","scope","getCurrentScope","createDep","dep","Set","w","n","wasTracked","trackOpBit","newTracked","initDepMarkers","deps","finalizeDepMarkers","ptr","delete","targetMap","WeakMap","effectTrackDepth","maxMarkerBits","activeEffect","ITERATE_KEY","Symbol","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","lastShouldTrack","shouldTrack","cleanupEffect","deferStop","onStop","effect2","trackStack","pauseTracking","resetTracking","track","target","type","key","depsMap","get","set","Map","eventInfo","trackEffects","debuggerEventExtraInfo","shouldTrack2","has","add","trigger","newValue","oldValue","oldTarget","values","newLength","Number","forEach","key2","triggerEffects","computed","triggerEffect","allowRecurse","isNonTrackableKeys","builtInSymbols","Object","getOwnPropertyNames","filter","map","get$1","createGetter","shallowGet","readonlyGet","arrayInstrumentations","createArrayInstrumentations","instrumentations","args","arr","toRaw","res","apply","hasOwnProperty","obj","isReadonly2","shallow","receiver","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","targetIsArray","Reflect","isRef","value","readonly","reactive","set$1","createSetter","shallowSet","isReadonly","isShallow","hadKey","result","deleteProperty","has$1","ownKeys","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","v","getPrototypeOf","rawTarget","rawKey","has2","wrap","toReadonly","toReactive","call","size","proto","get2","deleteEntry","clear","hadItems","createForEach","callback","thisArg","observed","createIterableMethod","method","targetIsMap","isPair","iterator","isKeyOnly","innerIterator","next","done","createReadonlyMethod","createInstrumentations","mutableInstrumentations2","shallowInstrumentations2","readonlyInstrumentations2","shallowReadonlyInstrumentations2","iteratorMethods","mutableInstrumentations","readonlyInstrumentations","shallowInstrumentations","shallowReadonlyInstrumentations","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","isExtensible","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","Proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref2","triggerRefValue","newVal","r","__v_isRef","ref","createRef","rawValue","RefImpl","__v_isShallow","_rawValue","_value","useDirectValue","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","ComputedRefImpl","getter","_setter","isSSR","_dirty","_cacheable","self","getterOrOptions","debugOptions","setter","onlyGetter","cRef","callWithErrorHandling","instance","err","handleError","callWithAsyncErrorHandling","catch","throwInDev","contextVNode","vnode","cur","exposedInstance","errorInfo","errorCapturedHooks","ec","appErrorHandler","appContext","config","errorHandler","logError","console","error","isFlushing","isFlushPending","queue","flushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","Promise","resolve","currentFlushPromise","nextTick","p","then","bind","findInsertionIndex","id","start","end","middle","middleJobId","getId","queueJob","job","includes","splice","queueFlush","flushJobs","invalidateJob","indexOf","queuePostFlushCb","cb","flushPreFlushCbs","seen","pre","flushPostFlushCbs","deduped","sort","a","b","Infinity","comparator","diff","emit","event","rawArgs","isUnmounted","props","isModelListener","startsWith","modelArg","slice","modifiersKey","number","trim","handlerName","handler","onceHandler","emitted","normalizeEmitsOptions","comp","asMixin","cache","emitsCache","cached","emits","normalized","hasExtends","extendEmits","raw2","normalizedFromExtend","mixins","extends","isEmitListener","options","replace","toLowerCase","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","__scopeId","pushScopeId","popScopeId","withCtx","ctx","isNonScopedSlot","_n","renderFnWithContext","_d","setBlockTracking","prevInstance","_c","renderComponentRoot","Component","withProxy","propsOptions","slots","attrs","render","renderCache","data","setupState","inheritAttrs","fallthroughAttrs","shapeFlag","proxyToUse","normalizeVNode","render2","getFunctionalFallthrough","blockStack","createVNode","Comment","root","keys","some","filterModelListeners","cloneVNode","dirs","concat","transition","shouldUpdateComponent","prevVNode","nextVNode","optimized","prevProps","children","prevChildren","component","nextProps","nextChildren","patchFlag","emitsOptions","$stable","hasPropsChanged","dynamicProps","nextKeys","updateHOCHostEl","el","subTree","isSuspense","__isSuspense","queueEffectWithSuspense","suspense","pendingBranch","INITIAL_WATCHER_VALUE","watch","source","doWatch","immediate","deep","flush","onTrack","onTrigger","_a","currentInstance","cleanup","forceTrigger","isMultiSource","s","traverse","onCleanup","baseGetter","ssrCleanup","isInSSRComponentSetup","useSSRContext","__watcherHandles","Array","fill","queuePostRenderEffect","uid","unwatch","instanceWatch","publicThis","createPathGetter","setCurrentInstance","unsetCurrentInstance","path","segments","split","withDirectives","directives","internalInstance","getExposeProxy","bindings","dir","arg","modifiers","mounted","updated","invokeDirectiveHook","name","oldBindings","binding","hook","useTransitionState","state","isMounted","isLeaving","isUnmounting","leavingVNodes","onMounted","onBeforeUnmount","TransitionHookValidator","Function","BaseTransitionPropsValidators","mode","String","appear","Boolean","persisted","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","BaseTransitionImpl","setup","getCurrentInstance","prevTransitionKey","default","getTransitionRawChildren","child","hasFound","c","rawProps","emptyPlaceholder","innerChild","getKeepAliveChild","enterHooks","resolveTransitionHooks","setTransitionHooks","oldChild","oldInnerChild","transitionKeyChanged","getTransitionKey","isSameVNodeType","leavingHooks","afterLeave","update","delayLeave","earlyRemove","delayedLeave","leavingVNodesCache","getLeavingNodesForType","_leaveCb","BaseTransition","create","callHook","callAsyncHook","every","hook2","hooks","beforeEnter","leavingVNode","enter","afterHook","cancelHook","called","_enterCb","cancelled","leave","remove","clone","vnode2","isKeepAlive","ssContent","ssFallback","keepComment","parentKey","ret","keyedFragmentCount","Fragment","defineComponent","extraOptions","isAsyncWrapper","__asyncLoader","defineAsyncComponent","loader","loadingComponent","errorComponent","delay","timeout","suspensible","onError","userOnError","resolvedComp","pendingRequest","retries","retry","load","thisRequest","Error","reject","userRetry","userFail","__esModule","toStringTag","__asyncResolved","createInnerComp","loaded","delayed","setTimeout","ce","__isKeepAlive","RegExp","matches","pattern","test","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","__wdc","current","isDeactivated","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","resetShapeFlag","getInnerChild","prepend","__weh","unshift","createHook","lifecycle","onBeforeMount","onBeforeUpdate","onUpdated","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","COMPONENTS","resolveComponent","maybeSelfReference","resolveAsset","NULL_DYNAMIC_COMPONENT","for","resolveDynamicComponent","warnMissing","selfName","getComponentName","registry","renderList","renderItem","from","item","getPublicInstance","isStatefulComponent","publicPropertiesMap","$","$el","$data","$props","$attrs","$slots","$refs","refs","$parent","$root","$emit","$options","resolveMergedOptions","$forceUpdate","f","$nextTick","$watch","hasSetupBinding","__isScriptSetup","PublicInstanceProxyHandlers","_","accessCache","normalizedProps","shouldCacheAccess","publicGetter","cssModule","globalProperties","__cssModules","defineProperty","descriptor","normalizePropsOrEmits","reduce","applyOptions","beforeCreate","dataOptions","computedOptions","methods","watchOptions","provide","provideOptions","inject","injectOptions","created","beforeMount","beforeUpdate","activated","deactivated","beforeDestroy","beforeUnmount","destroyed","unmounted","renderTracked","renderTriggered","errorCaptured","serverPrefetch","expose","components","filters","checkDuplicateProperties","resolveInjections","methodHandler","opt","enumerable","configurable","createWatcher","provides","registerLifecycleHook","register","_hook","exposed","val","normalizeInject","h","base","extendsOptions","globalMixins","optionsCache","optionMergeStrategies","resolved","m","mergeOptions","to","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeEmitsOrPropsOptions","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","createAppContext","app","isNativeTag","NO","performance","warnHandler","compilerOptions","propsCache","uid$1","createAppAPI","hydrate","rootComponent","rootProps","context","installedPlugins","_uid","_component","_props","_container","_context","_instance","version","use","plugin","install","mixin","directive","mount","rootContainer","isHydrate","isSVG","__vue_app__","unmount","runWithContext","currentApp","parentProvides","defaultValue","treatDefaultAsFactory","arguments","initProps","isStateful","InternalObjectKey","propsDefaults","setFullProps","updateProps","rawPrevProps","rawCurrentProps","hasAttrsChanged","kebabKey","resolvePropValue","propsToUpdate","camelizedKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","skipFactory","normalizePropsOptions","extendProps","normalizedKey","validatePropName","prop","booleanIndex","getTypeIndex","stringIndex","getType","ctor","match","toString","isSameType","expectedTypes","findIndex","t","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","_ctx","normalizeVNodeSlots","initSlots","updateSlots","needDeletionCheck","deletionComparisonTarget","setRef","rawRef","oldRawRef","parentSuspense","isUnmount","refValue","owner","oldRef","_isString","_isRef","doSet","existing","k","initFeatureFlags","createRenderer","baseCreateRenderer","createHydrationFns","__VUE__","insert","hostInsert","hostRemove","patchProp","hostPatchProp","createElement","hostCreateElement","createText","hostCreateText","createComment","hostCreateComment","setText","hostSetText","setElementText","hostSetElementText","parentNode","hostParentNode","nextSibling","hostNextSibling","setScopeId","hostSetScopeId","insertStaticContent","hostInsertStaticContent","patch","n1","n2","container","anchor","parentComponent","slotScopeIds","dynamicChildren","getNextHostNode","Text","processText","processCommentNode","Static","mountStaticNode","processFragment","processElement","processComponent","process","internals","moveStaticNode","removeStaticNode","mountElement","patchElement","vnodeHook","is","mountChildren","scopeId","unmountChildren","onVnodeBeforeMount","invokeVNodeHook","needCallTransitionHooks","onVnodeMounted","parentVNode","cloneIfMounted","oldProps","newProps","toggleRecurse","onVnodeBeforeUpdate","areChildrenSVG","patchBlockChildren","patchChildren","patchProps","class","style","onVnodeUpdated","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","traverseStaticChildren","activate","mountComponent","updateComponent","initialVNode","createComponentInstance","renderer","setupComponent","asyncDep","registerDep","setupRenderEffect","placeholder","asyncResolved","updateComponentPreRender","componentUpdateFn","bu","u","originNext","nextTree","prevTree","bm","isAsyncWrapperVNode","hydrateNode","hydrateSubTree","scopedInitialVNode","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","commonLength","Math","min","nextChild","parentAnchor","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","j","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","move","moveType","needTransition","remove2","performLeave","doRemove","deactivate","shouldInvokeDirs","shouldInvokeVnodeHook","onVnodeBeforeUnmount","unmountComponent","onVnodeUnmounted","removeFragment","performRemove","bum","um","suspenseId","pendingId","_vnode","mt","mc","pc","pbc","o","createApp","allowed","ch1","ch2","len","arrI","isTeleport","__isTeleport","currentBlock","openBlock","disableTracking","closeBlock","isBlockTreeEnabled","setupBlock","createElementBlock","createBaseVNode","createBlock","isVNode","__v_isVNode","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","__v_skip","targetAnchor","staticCount","normalizeChildren","normalize","_createVNode","cloned","isClassComponent","__vccOpts","guardReactiveProps","klass","extraProps","mergeRef","mergedProps","mergeProps","createTextVNode","text","flag","createStaticVNode","content","numberOfNodes","createCommentVNode","asBlock","memo","slot","slotFlag","toMerge","incoming","emptyAppContext","exposeProxy","setupContext","attrsProxy","slotsProxy","bc","da","rtg","rtc","sp","internalSetCurrentInstance","globalCurrentInstanceSetters","settersKey","compile","installWithProxy","setupResult","setupStatefulComponent","createSetupContext","resolvedResult","handleSetupResult","e","finishComponentSetup","__ssrInlineRender","ssrRender","skipOptions","template","isCustomElement","delimiters","componentCompilerOptions","finalCompilerOptions","getAttrsProxy","includeInferred","displayName","__name","propsOrChildren","prototype","ssrContextKey","svgNS","doc","document","templateContainer","nodeOps","insertBefore","removeChild","tag","createElementNS","multiple","setAttribute","createTextNode","node","nodeValue","textContent","querySelector","selector","before","previousSibling","lastChild","cloneNode","innerHTML","wrapper","firstChild","appendChild","patchClass","transitionClasses","_vtc","join","removeAttribute","className","patchStyle","isCssString","setStyle","currentDisplay","display","cssText","importantRE","setProperty","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","removeAttributeNS","setAttributeNS","isBoolean","patchDOMProp","tagName","getAttribute","needRemove","addEventListener","removeEventListener","patchEvent","prevValue","nextValue","invokers","_vei","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","cachedNow","getNow","Date","now","initialValue","_vts","attached","patchStopImmediatePropagation","originalStop","stopImmediatePropagation","_stopped","nativeOnRE","shouldSetAsProp","_trueValue","_falseValue","defineCustomElement","hydrate2","Comp","VueCustomElement","VueElement","initialProps","super","def","BaseClass","HTMLElement","_def","_connected","_resolved","_numberProps","shadowRoot","attachShadow","_resolveProps","connectedCallback","_update","_resolveDef","disconnectedCallback","attributes","_setAttr","MutationObserver","mutations","attributeName","observe","isAsync","styles","numberProps","_applyStyles","asyncDef","declaredPropKeys","_setProp","_getProp","shouldReflect","shouldUpdate","isCE","dispatch","dispatchEvent","CustomEvent","detail","host","css","TRANSITION","ANIMATION","Transition","resolveTransitionProps","DOMTransitionPropsValidators","duration","enterFromClass","enterActiveClass","enterToClass","appearFromClass","appearActiveClass","appearToClass","leaveFromClass","leaveActiveClass","leaveToClass","TransitionPropsValidators","h2","hasExplicitCallback","baseProps","durations","normalizeDuration","enterDuration","leaveDuration","finishEnter","isAppear","removeTransitionClass","finishLeave","_isLeaving","makeEnterHook","nextFrame","addTransitionClass","whenTransitionEnds","forceReflow","NumberOf","cls","classList","requestAnimationFrame","endId","expectedType","explicitTimeout","_endId","resolveIfNotStale","propCount","getTransitionInfo","endEvent","ended","onEnd","window","getComputedStyle","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","max","hasTransform","delays","d","toMs","body","offsetHeight","positionMap","newPositionMap","TransitionGroupImpl","moveClass","hasCSSTransform","callPendingCbs","recordPosition","movedChildren","applyTranslation","transform","webkitTransform","transitionDuration","_moveCb","propertyName","cssTransitionProps","getBoundingClientRect","oldPos","newPos","dx","left","dy","top","nodeType","getModelAssigner","onCompositionStart","composing","onCompositionEnd","Event","vModelText","lazy","_assign","castToNumber","domValue","activeElement","vModelCheckbox","modelValue","_modelValue","elementValue","getValue","checked","assign","found","filtered","getCheckboxValue","setChecked","keyNames","esc","space","up","right","down","withKeys","eventKey","vShow","_vod","setDisplay","rendererOptions","ensureRenderer","containerOrSelector","normalizeContainer","SVGElement","Element","makeMap","str","expectsLowerCase","list","EMPTY_OBJ","EMPTY_ARR","NOOP","onRE","isOn","extend","hasOwn","isArray","isMap","toTypeString","isSet","isDate","isRegExp","isFunction","isString","isSymbol","isObject","isPromise","objectToString","toRawType","isPlainObject","isIntegerKey","parseInt","isReservedProp","cacheStringFunction","hit","camelizeRE","camelize","toUpperCase","hyphenateRE","hyphenate","capitalize","charAt","toHandlerKey","hasChanged","invokeArrayFns","fns","looseToNumber","parseFloat","isNaN","toNumber","NaN","_globalThis","getGlobalThis","globalThis","g","GLOBALS_WHITE_LISTED","isGloballyWhitelisted","normalizeStyle","parseStringStyle","listDelimiterRE","propertyDelimiterRE","styleCommentRE","tmp","normalizeClass","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","looseCompareArrays","equal","looseEqual","aValidType","bValidType","getTime","aKeysCount","bKeysCount","aHasKey","bHasKey","looseIndexOf","toDisplayString","JSON","stringify","replacer","_key","entries","val2","isCallable","tryToString","$TypeError","TypeError","module","exports","argument","$String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","fromIndex","O","DESCRIPTORS","getOwnPropertyDescriptor","SILENT_ON_NON_WRITABLE_LENGTH_SET","undefined","writable","uncurryThis","stringSlice","it","getOwnPropertyDescriptorModule","definePropertyModule","exceptions","createPropertyDescriptor","object","bitmap","makeBuiltIn","defineGlobalProperty","simple","global","unsafe","nonConfigurable","nonWritable","fails","documentAll","all","IS_HTMLDDA","EXISTS","MAX_SAFE_INTEGER","navigator","userAgent","Deno","versions","v8","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","FORCED","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","sham","exec","NATIVE_BIND","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","aFunction","namespace","aCallable","isNullOrUndefined","V","P","func","check","toObject","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","enforce","getterFor","TYPE","metadata","facade","STATE","$documentAll","replacement","feature","detection","POLYFILL","NATIVE","string","getBuiltIn","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","floor","trunc","x","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","propertyIsEnumerableModule","internalObjectKeys","enumBugKeys","getOwnPropertySymbols","names","$propertyIsEnumerable","NASHORN_BUG","input","pref","valueOf","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","SHARED","IS_PURE","copyright","license","V8_VERSION","symbol","toIntegerOrInfinity","integer","IndexedObject","requireObjectCoercible","getMethod","ordinaryToPrimitive","wellKnownSymbol","TO_PRIMITIVE","exoticToPrim","toPrimitive","postfix","random","NATIVE_SYMBOL","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","properErrorOnNonWritableLength","argCount","isff","addEvent","useCapture","attachEvent","getMods","modifier","mods","getKeys","lastIndexOf","compareArray","a1","a2","arr1","arr2","isIndex","_keyMap","backspace","tab","return","escape","del","ins","home","pageup","pagedown","capslock","num_0","num_1","num_2","num_3","num_4","num_5","num_6","num_7","num_8","num_9","num_multiply","num_add","num_enter","num_subtract","num_decimal","num_divide","_modifier","shift","alt","option","ctrl","control","cmd","command","modifierMap","shiftKey","ctrlKey","altKey","metaKey","_mods","_handlers","_downKeys","winListendFocus","_scope","elementHasBindEvent","code","charCodeAt","getKey","find","getModifier","setScope","getScope","getPressedKeyCodes","getPressedKeyString","fromCharCode","srcElement","isContentEditable","readOnly","isPressed","keyCode","deleteScope","newScope","handlers","clearModifier","which","charCode","hotkeys","unbind","keysInfo","info","eachUnbind","_len","splitKey","_ref","_ref$splitKey","multipleKeys","originKey","unbindKeys","lastKey","record","isMatchingMethod","eventHandler","element","modifiersMatch","y","shortcut","preventDefault","returnValue","stopPropagation","cancelBubble","asterisk","keyName","keyNum","getModifierState","keydown","keyup","_i","keyShortcut","_downKeysCurrent","isElementBind","capture","dataList","_api","keyMap","_hotkeys","noConflict","required","isMacLike","platform","hotkey","update_hotkey","new_hotkey","old_hotkey","hotkey_fn","click","disabled","sfc","item_idx","get_component","is_open","menu_open","toggle_menu","$event","button_class","title","icon","get_emoji","emoji","html","chevron","menu","menu_class","menu_id","width","menu_width","height","menu_height","BarMenu","is_menu","open","emoji_name","__exports__","mousedown_handler","css_color","stay_open","color","styleInject","insertAt","head","getElementsByTagName","styleSheet","prefix","componentPrefix","_checkboardCache","script","white","grey","bgStyle","getCheckboard","renderCheckboard","canvas","getContext","fillStyle","fillRect","translate","toDataURL","checkboard","_cache","$setup","css_248z","__file","Checkboard","onChange","colors","gradientColor","rgba","rgbStr","handleChange","skip","containerWidth","clientWidth","xOffset","pageXOffset","pageX","touches","round","hsl","handleMouseDown","handleMouseUp","unbindEventListeners","_component_Checkboard","background","onMousedown","onTouchmove","onTouchstart","bound01","isOnePointZero","isPercent","isPercentage","abs","clamp01","boundAlpha","convertToPercentage","rgbToRgb","rgbToHsl","hue2rgb","q","hslToRgb","rgbToHsv","hsvToRgb","mod","rgbToHex","allow3Char","hex","rgbaToHex","allow4Char","convertDecimalToHex","convertHexToDecimal","parseIntFromHex","numberInputToObject","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","goldenrod","gold","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavenderblush","lavender","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellow","yellowgreen","inputToRGB","rgb","ok","format","stringInputToObject","isValidCSSUnit","substr","CSS_INTEGER","CSS_NUMBER","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","matchers","hsla","hsv","hsva","hex3","hex6","hex4","hex8","named","TinyColor","opts","originalInput","roundA","gradientType","isValid","isDark","getBrightness","isLight","toRgb","getLuminance","R","G","B","RsRGB","GsRGB","BsRGB","pow","getAlpha","setAlpha","alpha","isMonochrome","toHsl","toHsv","toHsvString","toHslString","toHex","toHexString","toHex8","toHex8String","toHexShortString","allowShortChar","toRgbString","toPercentageRgb","fmt","toPercentageRgbString","rnd","toName","_b","formatSet","formattedString","hasAlpha","needsAlphaFormat","lighten","amount","brighten","darken","tint","mix","shade","desaturate","saturate","greyscale","spin","hue","rgb1","rgb2","analogous","results","slices","part","complement","monochromatic","modification","splitcomplement","onBackground","fg","bg","triad","polyad","tetrad","increment","equals","_colorChange","oldHue","colorMixin","model","colorChange","isValidHex","simpleCheckForValidColor","keysToCheck","passed","letter","paletteUpperCase","palette","isTransparent","label","labelText","desc","arrowOffset","labelId","labelSpanText","handleKeyDown","onKeydown","onInput","clamp","bgColor","pointerTop","pointerLeft","containerHeight","clientHeight","yOffset","pageYOffset","pageY","saturation","bright","param","direction","pullDirection","directionClass","oldVal","percent","role","Saturation","Hue","Alpha","EdIn","disableAlpha","disableFields","fieldsIndex","highlight","toFixed","activeColor","childChange","inputChange","toggleViews","showHighlight","hideHighlight","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_component_Saturation","_component_Hue","_component_Alpha","_component_EdIn","onClick","viewBox","onMouseover","onMouseenter","onMouseout","defaultColors","pick","handlerClick","borderColor","hasResetButton","acceptLabel","cancelLabel","resetLabel","newLabel","currentLabel","currentColor","clickCurrentColor","handleAccept","handleCancel","handleReset","presetColors","handlePreset","DEFAULT_SATURATION","swatches","normalizedSwatches","swatch","isActive","hueChange","handleSwClick","deepPurple","lightBlue","lightGreen","amber","deepOrange","blueGrey","darkText","lightText","darkIcons","lightIcons","colorMap","colorLevel","typeColor","level","group","$idx","tabindex","onKeyup","EditableInput","triangle","validator","_component_EditableInput","boxShadow","BarButtonGeneric","acc","item_color","_prevent_next_color_update","new_color","update_color","BarButtonColor","BarSeparator","BarSpacer","clickaway","contains","touch","sourceCapabilities","firesTouchEvents","_el","custom_chevron","composedPath","BarMenuItem","BarMenuSeparator"],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index 3781423..0974c87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-document-editor", - "version": "2.3.1", + "version": "2.3.2", "description": "Paper-sized WYSIWYG document editor for Vue apps", "author": { "name": "Romain Lamothe",