diff --git a/dist/VueDocumentEditor.common.js b/dist/VueDocumentEditor.common.js index 611492c..d9908e3 100644 --- a/dist/VueDocumentEditor.common.js +++ b/dist/VueDocumentEditor.common.js @@ -112,10 +112,10 @@ module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { /***/ 4326: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { -var uncurryThisRaw = __webpack_require__(84); +var uncurryThis = __webpack_require__(1702); -var toString = uncurryThisRaw({}.toString); -var stringSlice = uncurryThisRaw(''.slice); +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); module.exports = function (it) { return stringSlice(toString(it), 8, -1); @@ -482,7 +482,7 @@ module.exports = { /***/ }), -/***/ 84: +/***/ 1702: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { var NATIVE_BIND = __webpack_require__(4374); @@ -498,22 +498,6 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { }; -/***/ }), - -/***/ 1702: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var classofRaw = __webpack_require__(4326); -var uncurryThisRaw = __webpack_require__(84); - -module.exports = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn); -}; - - /***/ }), /***/ 5005: @@ -1203,10 +1187,10 @@ var store = __webpack_require__(5465); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.26.0', + version: '3.26.1', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE', source: 'https://github.com/zloirock/core-js' }); @@ -1629,9 +1613,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=988dbac0&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=4da58a69&scoped=true -const _withScopeId = n => (_pushScopeId("data-v-988dbac0"), n = n(), _popScopeId(), n); +const _withScopeId = n => (_pushScopeId("data-v-4da58a69"), n = n(), _popScopeId(), n); const _hoisted_1 = { class: "editor", ref: "editor" @@ -1663,7 +1647,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) { onKeydown: _cache[2] || (_cache[2] = (...args) => $options.keydown && $options.keydown(...args)) }, null, 44, _hoisted_4)], 512); } -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=988dbac0&scoped=true +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=4da58a69&scoped=true // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js var es_array_push = __webpack_require__(7658); @@ -1822,7 +1806,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, }, // Page margins in CSS page_margins: { - type: String, + type: [String, Function], default: "10mm 15mm" }, // Display zoom. Only acts on the screen display @@ -2171,7 +2155,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, top: "calc(" + top_mm + "mm + " + view_padding + "px)", width: this.page_format_mm[0] + "mm", // "height" is set below - padding: this.page_margins, + padding: typeof this.page_margins == "function" ? this.page_margins(page_idx + 1, this.pages.length) : this.page_margins, transform: "scale(" + this.zoom + ")" }; style[allow_overflow ? "minHeight" : "height"] = this.page_format_mm[1] + "mm"; @@ -2240,7 +2224,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, //const page_clone = page_elt.cloneNode(true); page.elt.style = ""; // reset page style for the clone page.elt.style.position = "relative"; - page.elt.style.padding = this.page_margins; + page.elt.style.padding = typeof this.page_margins == "function" ? this.page_margins(page_idx + 1, this.pages.length) : this.page_margins; page.elt.style.breakBefore = page_idx ? "page" : "auto"; // add overlays if any @@ -2293,6 +2277,9 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, } } document.body = this._page_body; + + // reposition pages + this.update_pages_elts(); } }, // Watch for changes and adapt content accordingly @@ -2331,15 +2318,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=988dbac0&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=4da58a69&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=988dbac0&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=4da58a69&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=988dbac0&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=4da58a69&scoped=true&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=988dbac0&scoped=true&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=4da58a69&scoped=true&lang=css // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js var exportHelper = __webpack_require__(3744); @@ -2352,7 +2339,7 @@ var exportHelper = __webpack_require__(3744); -const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-988dbac0"]]) +const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-4da58a69"]]) /* 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 5c5e730..d464140 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;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;;;;;;;;AC1BA,qBAAqB,mBAAO,CAAC,EAAwC;;AAErE,gCAAgC;AAChC;;AAEA;AACA;AACA;;;;;;;;ACPA,aAAa,mBAAO,CAAC,IAA+B;AACpD,cAAc,mBAAO,CAAC,IAAuB;AAC7C,qCAAqC,mBAAO,CAAC,IAAiD;AAC9F,2BAA2B,mBAAO,CAAC,IAAqC;;AAExE;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA,kBAAkB,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ACxE,IAAI,CAAC+G,KAAK,CAACwH,QAAQ,CAAC5K,MAAM,CAACoK,WAAW,CAAC;QACzC;MACF;MACA9L,QAAQ,CAACuF,IAAG,GAAI,IAAI,CAACiG,UAAU;IACjC;EACF,CAAC;EAED;EACAe,KAAK,EAAE;IACL1K,OAAO,EAAE;MACP2K,OAAM,GAAK;QACT;QACA,IAAG,IAAI,CAACvJ,uCAAuC,EAAE;UAC/C,IAAI,CAACA,uCAAsC,GAAI,KAAK;QACtD,OAAO,IAAI,CAACM,aAAa,EAAE;MAC7B,CAAC;MACDkJ,IAAI,EAAE;IACR,CAAC;IACDxK,OAAO,EAAE;MACPuK,OAAM,GAAK;QAAE,IAAI,CAAC5H,iBAAiB,EAAE;MAAE;IACzC,CAAC;IACDpC,cAAc,EAAE;MACdgK,OAAM,GAAK;QACT,IAAI,CAAClJ,sBAAsB,EAAE;QAC7B,IAAI,CAACC,aAAa,EAAE;MACtB;IACF,CAAC;IACDd,YAAY,EAAE;MACZ+J,OAAM,GAAK;QACT,IAAI,CAACjJ,aAAa,EAAE;MACtB;IACF,CAAC;IACDb,IAAI,EAAE;MACJ8J,OAAM,GAAK;QAAE,IAAI,CAAC5H,iBAAiB,EAAE;MAAE;IACzC;EACF;AAEF,CAAC;;AGhjB0P;;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-raw.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?5250","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?36e4","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?0b07","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?b6ef","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?3e47","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 uncurryThisRaw = require('../internals/function-uncurry-this-raw');\n\nvar toString = uncurryThisRaw({}.toString);\nvar stringSlice = uncurryThisRaw(''.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\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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('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 classofRaw = require('../internals/classof-raw');\nvar uncurryThisRaw = require('../internals/function-uncurry-this-raw');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);\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; })() || 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 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;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\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 (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^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 = TEMPLATE.join(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.26.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.0/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');\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 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 WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\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 SILENT_ON_NON_WRITABLE_LENGTH = !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\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\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](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=988dbac0&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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=988dbac0&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=988dbac0&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=988dbac0&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=988dbac0&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=988dbac0&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-988dbac0\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","_hoisted_2","_Fragment","$data","page","page_idx","key","uuid","elt","innerHTML","length","style","$options","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","overlay","Function","page_format_mm","page_margins","zoom","Number","data","pages","pages_overlay_refs","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","process_current_text_style","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","input","e","emit_new_content","inputType","keydown","keyCode","is_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","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","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":";;;;;;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;AACJ;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;;;;;;;;AC1BA,kBAAkB,mBAAO,CAAC,IAAoC;;AAE9D,6BAA6B;AAC7B;;AAEA;AACA;AACA;;;;;;;;ACPA,aAAa,mBAAO,CAAC,IAA+B;AACpD,cAAc,mB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ACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA,aAAa,mBAAO,CAAC,IAAqB;AAC1C,+BAA+B,6BAA4D;AAC3F,kCAAkC,mBAAO,CAAC,IAA6C;AACvF,oBAAoB,mBAAO,CAAC,IAA8B;AAC1D,2BAA2B,mBAAO,CAAC,IAAqC;AACxE,gCAAgC,mBAAO,CAAC,IAA0C;AAClF,eAAe,mBAAO,CAAC,IAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,8DAA8D;AAC9D,IAAI;AACJ,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;ACNA,YAAY,mBAAO,CAAC,IAAoB;;AAExC;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA,CAAC;;;;;;;;ACPD,kBAAkB,mBAAO,CAAC,IAAmC;;AAE7D;;AAEA;AACA;AACA;;;;;;;;ACNA,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,aAAa,mBAAO,CAAC,IAA+B;;AAEpD;AACA;AACA;;AAEA;AACA;AACA,+CAA+C,aAAa;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;AChBA,kBAAkB,mBAAO,CAAC,IAAmC;;AAE7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACVA,aAAa,mBAAO,CAAC,IAAqB;AAC1C,iBAAiB,mBAAO,CAAC,GAA0B;;AAEnD;AACA;AACA;;AAEA;AACA;AAC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;;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?2568","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?9952","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?629c","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?264c","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?65fd","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\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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('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; })() || 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 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;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\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 (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^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 = TEMPLATE.join(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.26.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.1/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');\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 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 WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\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 SILENT_ON_NON_WRITABLE_LENGTH = !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\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\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](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=4da58a69&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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=4da58a69&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=4da58a69&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=4da58a69&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=4da58a69&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=4da58a69&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-4da58a69\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","_hoisted_2","_Fragment","$data","page","page_idx","key","uuid","elt","innerHTML","length","style","$options","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","overlay","Function","page_format_mm","page_margins","zoom","Number","data","pages","pages_overlay_refs","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","process_current_text_style","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","input","e","emit_new_content","inputType","keydown","keyCode","is_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","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","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 18c0102..d952cb2 100644 --- a/dist/VueDocumentEditor.css +++ b/dist/VueDocumentEditor.css @@ -1 +1 @@ -body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.editor[data-v-988dbac0]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-988dbac0] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-988dbac0] ::-webkit-scrollbar-corner,.editor[data-v-988dbac0] ::-webkit-scrollbar-track{display:none}.editor[data-v-988dbac0] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-988dbac0] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-988dbac0]{display:none}.editor>.content[data-v-988dbac0]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-988dbac0]>.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-988dbac0],.editor>.content[data-v-988dbac0] [contenteditable]{cursor:text}.editor>.content[data-v-988dbac0] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-988dbac0]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-988dbac0]{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-4da58a69]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-4da58a69] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-4da58a69] ::-webkit-scrollbar-corner,.editor[data-v-4da58a69] ::-webkit-scrollbar-track{display:none}.editor[data-v-4da58a69] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-4da58a69] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-4da58a69]{display:none}.editor>.content[data-v-4da58a69]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-4da58a69]>.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-4da58a69],.editor>.content[data-v-4da58a69] [contenteditable]{cursor:text}.editor>.content[data-v-4da58a69] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-4da58a69]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-4da58a69]{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 df7292b..1ff09cf 100644 --- a/dist/VueDocumentEditor.umd.js +++ b/dist/VueDocumentEditor.umd.js @@ -122,10 +122,10 @@ module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { /***/ 4326: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { -var uncurryThisRaw = __webpack_require__(84); +var uncurryThis = __webpack_require__(1702); -var toString = uncurryThisRaw({}.toString); -var stringSlice = uncurryThisRaw(''.slice); +var toString = uncurryThis({}.toString); +var stringSlice = uncurryThis(''.slice); module.exports = function (it) { return stringSlice(toString(it), 8, -1); @@ -492,7 +492,7 @@ module.exports = { /***/ }), -/***/ 84: +/***/ 1702: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { var NATIVE_BIND = __webpack_require__(4374); @@ -508,22 +508,6 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { }; -/***/ }), - -/***/ 1702: -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -var classofRaw = __webpack_require__(4326); -var uncurryThisRaw = __webpack_require__(84); - -module.exports = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn); -}; - - /***/ }), /***/ 5005: @@ -1213,10 +1197,10 @@ var store = __webpack_require__(5465); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.26.0', + version: '3.26.1', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE', source: 'https://github.com/zloirock/core-js' }); @@ -1647,9 +1631,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=988dbac0&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=4da58a69&scoped=true -const _withScopeId = n => (_pushScopeId("data-v-988dbac0"), n = n(), _popScopeId(), n); +const _withScopeId = n => (_pushScopeId("data-v-4da58a69"), n = n(), _popScopeId(), n); const _hoisted_1 = { class: "editor", ref: "editor" @@ -1681,7 +1665,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) { onKeydown: _cache[2] || (_cache[2] = (...args) => $options.keydown && $options.keydown(...args)) }, null, 44, _hoisted_4)], 512); } -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=988dbac0&scoped=true +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=template&id=4da58a69&scoped=true // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js var es_array_push = __webpack_require__(7658); @@ -1840,7 +1824,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, }, // Page margins in CSS page_margins: { - type: String, + type: [String, Function], default: "10mm 15mm" }, // Display zoom. Only acts on the screen display @@ -2189,7 +2173,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, top: "calc(" + top_mm + "mm + " + view_padding + "px)", width: this.page_format_mm[0] + "mm", // "height" is set below - padding: this.page_margins, + padding: typeof this.page_margins == "function" ? this.page_margins(page_idx + 1, this.pages.length) : this.page_margins, transform: "scale(" + this.zoom + ")" }; style[allow_overflow ? "minHeight" : "height"] = this.page_format_mm[1] + "mm"; @@ -2258,7 +2242,7 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, //const page_clone = page_elt.cloneNode(true); page.elt.style = ""; // reset page style for the clone page.elt.style.position = "relative"; - page.elt.style.padding = this.page_margins; + page.elt.style.padding = typeof this.page_margins == "function" ? this.page_margins(page_idx + 1, this.pages.length) : this.page_margins; page.elt.style.breakBefore = page_idx ? "page" : "auto"; // add overlays if any @@ -2311,6 +2295,9 @@ function move_children_backwards_with_merging(page_html_div, next_page_html_div, } } document.body = this._page_body; + + // reposition pages + this.update_pages_elts(); } }, // Watch for changes and adapt content accordingly @@ -2349,15 +2336,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=988dbac0&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=4da58a69&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=988dbac0&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=0&id=4da58a69&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=988dbac0&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=4da58a69&scoped=true&lang=css // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=988dbac0&scoped=true&lang=css +;// CONCATENATED MODULE: ./src/DocumentEditor/DocumentEditor.vue?vue&type=style&index=1&id=4da58a69&scoped=true&lang=css // EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js var exportHelper = __webpack_require__(3744); @@ -2370,7 +2357,7 @@ var exportHelper = __webpack_require__(3744); -const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-988dbac0"]]) +const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(DocumentEditorvue_type_script_lang_js, [['render',render],['__scopeId',"data-v-4da58a69"]]) /* 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 47adc2e..eb7d411 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;;;;;;;;AC1BA,qBAAqB,mBAAO,CAAC,EAAwC;;AAErE,gCAAgC;AAChC;;AAEA;AACA;AACA;;;;;;;;ACPA,aAAa,mBAAO,CAAC,IAA+B;AACpD,cAAc,mBAAO,CAAC,IAAuB;AAC7C,qCAAqC,mBAAO,CAAC,IAAiD;AAC9F,2BAA2B,mBAAO,CAAC,IAAqC;;AA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AAI,CAACkM,aAAa,CAAC,IAAI,CAAC3B,UAAU,CAAC7K,QAAQ,EAAE,KAAK,CAAC,CAAC;UACxE,IAAI,CAAC+G,KAAK,CAACwH,QAAQ,CAAC5K,MAAM,CAACoK,WAAW,CAAC;QACzC;MACF;MACA9L,QAAQ,CAACuF,IAAG,GAAI,IAAI,CAACiG,UAAU;IACjC;EACF,CAAC;EAED;EACAe,KAAK,EAAE;IACL1K,OAAO,EAAE;MACP2K,OAAM,GAAK;QACT;QACA,IAAG,IAAI,CAACvJ,uCAAuC,EAAE;UAC/C,IAAI,CAACA,uCAAsC,GAAI,KAAK;QACtD,OAAO,IAAI,CAACM,aAAa,EAAE;MAC7B,CAAC;MACDkJ,IAAI,EAAE;IACR,CAAC;IACDxK,OAAO,EAAE;MACPuK,OAAM,GAAK;QAAE,IAAI,CAAC5H,iBAAiB,EAAE;MAAE;IACzC,CAAC;IACDpC,cAAc,EAAE;MACdgK,OAAM,GAAK;QACT,IAAI,CAAClJ,sBAAsB,EAAE;QAC7B,IAAI,CAACC,aAAa,EAAE;MACtB;IACF,CAAC;IACDd,YAAY,EAAE;MACZ+J,OAAM,GAAK;QACT,IAAI,CAACjJ,aAAa,EAAE;MACtB;IACF,CAAC;IACDb,IAAI,EAAE;MACJ8J,OAAM,GAAK;QAAE,IAAI,CAAC5H,iBAAiB,EAAE;MAAE;IACzC;EACF;AAEF,CAAC;;AGhjB0P;;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-raw.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?4116","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0586","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?e1a6","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?ce54","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?c57f","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?5602","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 uncurryThisRaw = require('../internals/function-uncurry-this-raw');\n\nvar toString = uncurryThisRaw({}.toString);\nvar stringSlice = uncurryThisRaw(''.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\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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('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 classofRaw = require('../internals/classof-raw');\nvar uncurryThisRaw = require('../internals/function-uncurry-this-raw');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);\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; })() || 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 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;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\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 (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^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 = TEMPLATE.join(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.26.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.0/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');\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 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 WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\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 SILENT_ON_NON_WRITABLE_LENGTH = !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\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\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](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=988dbac0&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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=988dbac0&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=988dbac0&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=988dbac0&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=988dbac0&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=988dbac0&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-988dbac0\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","_hoisted_2","_Fragment","$data","page","page_idx","key","uuid","elt","innerHTML","length","style","$options","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","overlay","Function","page_format_mm","page_margins","zoom","Number","data","pages","pages_overlay_refs","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","process_current_text_style","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","input","e","emit_new_content","inputType","keydown","keyCode","is_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","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","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;;A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AAiB,EAAE;IAC1B;EACF,CAAC;EAED;EACA2H,KAAK,EAAE;IACL1K,OAAO,EAAE;MACP2K,OAAM,GAAK;QACT;QACA,IAAG,IAAI,CAACvJ,uCAAuC,EAAE;UAC/C,IAAI,CAACA,uCAAsC,GAAI,KAAK;QACtD,OAAO,IAAI,CAACM,aAAa,EAAE;MAC7B,CAAC;MACDkJ,IAAI,EAAE;IACR,CAAC;IACDxK,OAAO,EAAE;MACPuK,OAAM,GAAK;QAAE,IAAI,CAAC5H,iBAAiB,EAAE;MAAE;IACzC,CAAC;IACDpC,cAAc,EAAE;MACdgK,OAAM,GAAK;QACT,IAAI,CAAClJ,sBAAsB,EAAE;QAC7B,IAAI,CAACC,aAAa,EAAE;MACtB;IACF,CAAC;IACDd,YAAY,EAAE;MACZ+J,OAAM,GAAK;QACT,IAAI,CAACjJ,aAAa,EAAE;MACtB;IACF,CAAC;IACDb,IAAI,EAAE;MACJ8J,OAAM,GAAK;QAAE,IAAI,CAAC5H,iBAAiB,EAAE;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?b43e","webpack://VueDocumentEditor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?0586","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?111d","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?3fa3","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?6bd5","webpack://VueDocumentEditor/./src/DocumentEditor/DocumentEditor.vue?b4a2","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\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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('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; })() || 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 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;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\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 (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^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 = TEMPLATE.join(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.26.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.1/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');\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 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 WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\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 SILENT_ON_NON_WRITABLE_LENGTH = !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\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\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](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=4da58a69&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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=4da58a69&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=4da58a69&scoped=true&lang=css\"","import { render } from \"./DocumentEditor.vue?vue&type=template&id=4da58a69&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=4da58a69&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=4da58a69&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-4da58a69\"]])\n\nexport default __exports__","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["class","ref","_createElementBlock","_hoisted_1","$props","_hoisted_2","_Fragment","$data","page","page_idx","key","uuid","elt","innerHTML","length","style","$options","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","overlay","Function","page_format_mm","page_margins","zoom","Number","data","pages","pages_overlay_refs","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","process_current_text_style","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","input","e","emit_new_content","inputType","keydown","keyCode","is_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","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","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 333445d..78c1bb6 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(84),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,e,n){var r=n(5005);t.exports=r("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}},84: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)}}},1702:function(t,e,n){var r=n(4326),o=n(84);t.exports=function(t){if("Function"===r(t))return o(t)}},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}()||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(7293),o=n(614),i=n(2597),s=n(9781),a=n(6530).CONFIGURABLE,c=n(2788),u=n(9909),l=u.enforce,p=u.get,f=Object.defineProperty,d=s&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),h=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||a&&t.name!==e)&&(s?f(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&i(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=l(t);return i(r,"source")||(r.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return o(this)&&p(this).source||c(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.26.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(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=o("wks"),l=r.Symbol,p=l&&l["for"],f=c?l:l&&l.withoutSetter||s;t.exports=function(t){if(!i(u,t)||!a&&"string"!=typeof u[t]){var e="Symbol."+t;a&&i(l,t)?u[t]=l[t]:u[t]=c&&p?p(e):f(e)}return u[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}}();r({target:"Array",proto:!0,arity:1,forced:u||l},{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](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,default:"10mm 15mm"},zoom:{type:Number,default:1}},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))),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){const e=!(!this.content[0]||"string"!=typeof this.content[0])&&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 t={position:"absolute",left:"calc("+p+"px + "+s+"px)",top:"calc("+f+"mm + "+s+"px)",width:this.page_format_mm[0]+"mm",padding:this.page_margins,transform:"scale("+this.zoom+")"};return t[e?"minHeight":"height"]=this.page_format_mm[1]+"mm",t}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(){for(const t of this.$refs.content.children)this.pages.find((e=>e.elt==t))||t.remove();for(const[t,e]of this.pages.entries()){if(!e.elt){e.elt=document.createElement("div"),e.elt.className="page",e.elt.dataset.isVDEPage="";const n=this.pages[t+1];this.$refs.content.insertBefore(e.elt,n?n.elt:null)}e.elt.dataset.contentIdx=e.content_idx,this.printing_mode||(e.elt.style=Object.entries(this.page_style(t,!e.template)).map((([t,e])=>t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+":"+e)).join(";")),e.elt.contentEditable=!(!this.editable||e.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=this.page_margins,r.elt.style.breakBefore=n?"page":"auto";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}},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-988dbac0"]]);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,e,n){var r=n(5005);t.exports=r("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}()||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(7293),o=n(614),i=n(2597),s=n(9781),a=n(6530).CONFIGURABLE,c=n(2788),u=n(9909),l=u.enforce,p=u.get,f=Object.defineProperty,d=s&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),h=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||a&&t.name!==e)&&(s?f(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&i(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=l(t);return i(r,"source")||(r.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return o(this)&&p(this).source||c(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.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(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=o("wks"),l=r.Symbol,p=l&&l["for"],f=c?l:l&&l.withoutSetter||s;t.exports=function(t){if(!i(u,t)||!a&&"string"!=typeof u[t]){var e="Symbol."+t;a&&i(l,t)?u[t]=l[t]:u[t]=c&&p?p(e):f(e)}return u[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}}();r({target:"Array",proto:!0,arity:1,forced:u||l},{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](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}},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))),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){const e=!(!this.content[0]||"string"!=typeof this.content[0])&&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(){for(const t of this.$refs.content.children)this.pages.find((e=>e.elt==t))||t.remove();for(const[t,e]of this.pages.entries()){if(!e.elt){e.elt=document.createElement("div"),e.elt.className="page",e.elt.dataset.isVDEPage="";const n=this.pages[t+1];this.$refs.content.insertBefore(e.elt,n?n.elt:null)}e.elt.dataset.contentIdx=e.content_idx,this.printing_mode||(e.elt.style=Object.entries(this.page_style(t,!e.template)).map((([t,e])=>t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+":"+e)).join(";")),e.elt.contentEditable=!(!this.editable||e.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";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_pages_elts()}},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-4da58a69"]]);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 79b4469..1798a6c 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,G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./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-raw.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 uncurryThisRaw = require('../internals/function-uncurry-this-raw');\n\nvar toString = uncurryThisRaw({}.toString);\nvar stringSlice = uncurryThisRaw(''.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\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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('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 classofRaw = require('../internals/classof-raw');\nvar uncurryThisRaw = require('../internals/function-uncurry-this-raw');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);\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; })() || 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 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;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\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 (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^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 = TEMPLATE.join(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.26.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.0/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');\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 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 WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\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 SILENT_ON_NON_WRITABLE_LENGTH = !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\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\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](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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=988dbac0&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=988dbac0&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=988dbac0&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-988dbac0\"]])\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","uncurryThisRaw","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","getBuiltIn","match","version","userAgent","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","classofRaw","aFunction","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","globalThis","window","g","uncurryThis","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","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","constructor","join","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","symbolFor","createWellKnownSymbol","withoutSetter","description","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","SILENT_ON_NON_WRITABLE_LENGTH","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","_hoisted_2","_Fragment","$data","page","page_idx","uuid","elt","innerHTML","style","$options","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","overlay","page_format_mm","page_margins","zoom","Number","pages","pages_overlay_refs","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","process_current_text_style","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","keydown","keyCode","is_text","preventDefault","removed_pages_flag","new_content","filter","children","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","textDecoration","toUpperCase","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","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,GAAW,OAAOA,EACjC,MAAMF,EAAWD,EAAYG,GAAY,qBAC3C,C,uBCTA,IAAIC,EAAW,EAAQ,KAEnBC,EAAUC,OACVL,EAAaC,UAGjBV,EAAOD,QAAU,SAAUY,GACzB,GAAIC,EAASD,GAAW,OAAOA,EAC/B,MAAMF,EAAWI,EAAQF,GAAY,oBACvC,C,uBCTA,IAAII,EAAkB,EAAQ,MAC1BC,EAAkB,EAAQ,MAC1BC,EAAoB,EAAQ,MAG5BC,EAAe,SAAUC,GAC3B,OAAO,SAAUC,EAAOC,EAAIC,GAC1B,IAGIC,EAHAC,EAAIT,EAAgBK,GACpBK,EAASR,EAAkBO,GAC3BE,EAAQV,EAAgBM,EAAWG,GAIvC,GAAIN,GAAeE,GAAMA,GAAI,MAAOI,EAASC,EAG3C,GAFAH,EAA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R,KAAK+b,cAAc/b,KAAKua,WAAWnJ,GAAUD,EAAKyF,WACnE5W,KAAK+W,MAAM1C,QAAQD,OAAOjD,EAAKG,KAC/B,MAAM+L,EAAcrd,KAAKiV,mBAAmB9D,EAAKE,MAC9CgM,IACDA,EAAY7L,MAAQxR,KAAK+b,cAAc/b,KAAKua,WAAWnJ,GAAU,IACjEpR,KAAK+W,MAAM8G,SAASzJ,OAAOiJ,GAE/B,CACAnZ,SAASsT,KAAOxX,KAAK+c,WAGrB/c,KAAK6W,mBACP,GAIFiH,MAAO,CACLzJ,QAAS,CACP0J,UAEK/d,KAAKoV,wCACNpV,KAAKoV,yCAA0C,EAC1CpV,KAAK0V,eACd,EACAsI,MAAM,GAERzJ,QAAS,CACPwJ,UAAa/d,KAAK6W,mBAAqB,GAEzCjC,eAAgB,CACdmJ,UACE/d,KAAKyV,yBACLzV,KAAK0V,eACP,GAEFb,aAAc,CACZkJ,UACE/d,KAAK0V,eACP,GAEFZ,KAAM,CACJiJ,UAAa/d,KAAK6W,mBAAqB,K,UEviB7C,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\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","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('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; })() || 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 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;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\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 (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^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 = TEMPLATE.join(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.26.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.1/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');\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 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 WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\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 SILENT_ON_NON_WRITABLE_LENGTH = !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\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\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](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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=4da58a69&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=4da58a69&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=4da58a69&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-4da58a69\"]])\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","getBuiltIn","match","version","userAgent","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","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","getter","setter","arity","constructor","join","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","symbolFor","createWellKnownSymbol","withoutSetter","description","$","setArrayLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","SILENT_ON_NON_WRITABLE_LENGTH","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","_hoisted_2","_Fragment","$data","page","page_idx","uuid","elt","innerHTML","style","$options","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","overlay","page_format_mm","page_margins","zoom","Number","pages","pages_overlay_refs","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","process_current_text_style","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","keydown","keyCode","is_text","preventDefault","removed_pages_flag","new_content","filter","children","getAttribute","sel","focusNode","element","isContentEditable","getComputedStyle","textDecorationStack","headerLevel","isList","parent","parent_style","textDecoration","toUpperCase","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","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.ad4ee36e.css b/docs/css/app.8efcac9d.css similarity index 90% rename from docs/css/app.ad4ee36e.css rename to docs/css/app.8efcac9d.css index 48791df..c21370f 100644 --- a/docs/css/app.ad4ee36e.css +++ b/docs/css/app.8efcac9d.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-988dbac0]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-988dbac0] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-988dbac0] ::-webkit-scrollbar-corner,.editor[data-v-988dbac0] ::-webkit-scrollbar-track{display:none}.editor[data-v-988dbac0] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-988dbac0] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-988dbac0]{display:none}.editor>.content[data-v-988dbac0]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-988dbac0]>.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-988dbac0],.editor>.content[data-v-988dbac0] [contenteditable]{cursor:text}.editor>.content[data-v-988dbac0] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-988dbac0]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-988dbac0]{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-40b973fe]{width:-moz-fit-content;width:fit-content;min-width:100%}.bar[data-v-40b973fe]{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-4da58a69]{display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default}.editor[data-v-4da58a69] ::-webkit-scrollbar{width:16px;height:16px}.editor[data-v-4da58a69] ::-webkit-scrollbar-corner,.editor[data-v-4da58a69] ::-webkit-scrollbar-track{display:none}.editor[data-v-4da58a69] ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border:5px solid transparent;border-radius:16px;background-clip:content-box}.editor[data-v-4da58a69] ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.8)}.editor .hide_children>[data-v-4da58a69]{display:none}.editor>.content[data-v-4da58a69]{position:relative;outline:none;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.content[data-v-4da58a69]>.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-4da58a69],.editor>.content[data-v-4da58a69] [contenteditable]{cursor:text}.editor>.content[data-v-4da58a69] [contenteditable=false]{cursor:default}.editor>.overlays[data-v-4da58a69]{position:relative;margin:0;padding:0;min-width:100%;pointer-events:none}.editor>.overlays>.overlay[data-v-4da58a69]{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 diff --git a/docs/index.html b/docs/index.html index 8e7a1c3..b01b705 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.8c34c49e.js b/docs/js/app.844b7ba5.js similarity index 70% rename from docs/js/app.8c34c49e.js rename to docs/js/app.844b7ba5.js index 2d9be34..84d6597 100644 --- a/docs/js/app.8c34c49e.js +++ b/docs/js/app.844b7ba5.js @@ -1,2 +1,2 @@ -(function(){"use strict";var e={1287: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"),d=(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)(d,{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(3177),l=i(3577);const d={class:"editor",ref:"editor"},c={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",d,[i.overlay?((0,s.wg)(),(0,s.iD)("div",c,[((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,default:"10mm 15mm"},zoom:{type:Number,default:1}},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))),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){const t=!(!this.content[0]||"string"!=typeof this.content[0])&&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,d,c,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,d=r/(2*g)*(1+2*l)-n/2,c=Math.max(0,(n*this.zoom-r)/2),u=d+c,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 e={position:"absolute",left:"calc("+u+"px + "+o+"px)",top:"calc("+m+"mm + "+o+"px)",width:this.page_format_mm[0]+"mm",padding:this.page_margins,transform:"scale("+this.zoom+")"};return e[t?"minHeight":"height"]=this.page_format_mm[1]+"mm",e}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(){for(const e of this.$refs.content.children)this.pages.find((t=>t.elt==e))||e.remove();for(const[e,t]of this.pages.entries()){if(!t.elt){t.elt=document.createElement("div"),t.elt.className="page",t.elt.dataset.isVDEPage="";const i=this.pages[e+1];this.$refs.content.insertBefore(t.elt,i?i.elt:null)}t.elt.dataset.contentIdx=t.content_idx,this.printing_mode||(t.elt.style=Object.entries(this.page_style(e,!t.template)).map((([e,t])=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+":"+t)).join(";")),t.elt.contentEditable=!(!this.editable||t.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=this.page_margins,n.elt.style.breakBefore=i?"page":"auto";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}},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-988dbac0"]]);var v=b,x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6e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nZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC";const k=e=>((0,s.dD)("data-v-751680aa"),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))),M=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))),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,[M,(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,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-751680aa] {\n width: 100%;\n border-spacing: 0;\n}\ntable td[data-v-751680aa] {\n position: relative;\n padding: 6px;\n vertical-align: top;\n}\ntable.order-table td[data-v-751680aa] {\n vertical-align: middle;\n}\ntable thead td[data-v-751680aa] {\n font-weight: bold;\n}\ntable tbody td[data-v-751680aa] {\n border-top: solid 1px #CCC;\n}\ninput[type=number][data-v-751680aa] {\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-751680aa] {\n background: rgba(200, 250, 230, 0.4);\n transition: padding 0.05s linear;\n}\nspan[contenteditable="true"][data-v-751680aa]:focus {\n padding: 0 4px;\n}\n@media print {\n*[contenteditable="true"][data-v-751680aa], input[data-v-751680aa] {\n background: none;\n}\n.hide-in-print[data-v-751680aa] {\n display: none;\n}\ninput[data-v-751680aa]::-webkit-outer-spin-button,\n input[data-v-751680aa]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\ninput[type=number][data-v-751680aa] {\n -moz-appearance: textfield;\n background: none;\n}\n}\n.header[data-v-751680aa] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.order[data-v-751680aa] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.left-btn[data-v-751680aa] {\n position: absolute;\n left: -40px;\n top: 2px;\n}\n.left-btn[data-v-751680aa]:hover {\n opacity: 0.6;\n}\n';const ae=(0,y.Z)(ne,[["render",ie],["styles",[se]],["__scopeId","data-v-751680aa"]]);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]:e[1]},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[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[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],d=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 c=l(i)}for(t&&t(n);do.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 d={class:"editor",ref:"editor"},c={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",d,[i.overlay?((0,s.wg)(),(0,s.iD)("div",c,[((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}},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))),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){const t=!(!this.content[0]||"string"!=typeof this.content[0])&&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,d,c,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,d=r/(2*g)*(1+2*l)-n/2,c=Math.max(0,(n*this.zoom-r)/2),u=d+c,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(){for(const e of this.$refs.content.children)this.pages.find((t=>t.elt==e))||e.remove();for(const[e,t]of this.pages.entries()){if(!t.elt){t.elt=document.createElement("div"),t.elt.className="page",t.elt.dataset.isVDEPage="";const i=this.pages[e+1];this.$refs.content.insertBefore(t.elt,i?i.elt:null)}t.elt.dataset.contentIdx=t.content_idx,this.printing_mode||(t.elt.style=Object.entries(this.page_style(e,!t.template)).map((([e,t])=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+":"+t)).join(";")),t.elt.contentEditable=!(!this.editable||t.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";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_pages_elts()}},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-4da58a69"]]);var v=b,x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0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nedu80qQFscY1SYfx2Z7LoUSpOlwH9ubi/j9m/YcCiWIDth1YK4EaUU8z7Z7Ab/bbX+rUII0PdY36DcKJUgu8R7btnkcv83+RqEEaRncwnZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC";const k=e=>((0,s.dD)("data-v-751680aa"),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))),M=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))),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,[M,(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,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-751680aa] {\n width: 100%;\n border-spacing: 0;\n}\ntable td[data-v-751680aa] {\n position: relative;\n padding: 6px;\n vertical-align: top;\n}\ntable.order-table td[data-v-751680aa] {\n vertical-align: middle;\n}\ntable thead td[data-v-751680aa] {\n font-weight: bold;\n}\ntable tbody td[data-v-751680aa] {\n border-top: solid 1px #CCC;\n}\ninput[type=number][data-v-751680aa] {\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-751680aa] {\n background: rgba(200, 250, 230, 0.4);\n transition: padding 0.05s linear;\n}\nspan[contenteditable="true"][data-v-751680aa]:focus {\n padding: 0 4px;\n}\n@media print {\n*[contenteditable="true"][data-v-751680aa], input[data-v-751680aa] {\n background: none;\n}\n.hide-in-print[data-v-751680aa] {\n display: none;\n}\ninput[data-v-751680aa]::-webkit-outer-spin-button,\n input[data-v-751680aa]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\ninput[type=number][data-v-751680aa] {\n -moz-appearance: textfield;\n background: none;\n}\n}\n.header[data-v-751680aa] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.order[data-v-751680aa] {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n.left-btn[data-v-751680aa] {\n position: absolute;\n left: -40px;\n top: 2px;\n}\n.left-btn[data-v-751680aa]:hover {\n opacity: 0.6;\n}\n';const ae=(0,y.Z)(ne,[["render",ie],["styles",[se]],["__scopeId","data-v-751680aa"]]);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[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[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],d=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 c=l(i)}for(t&&t(n);d\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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=4da58a69&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=4da58a69&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=4da58a69&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-4da58a69\"]])\n\nexport default __exports__","\n\n\n\n","export default \"\\ntable[data-v-751680aa] {\\n width: 100%;\\n border-spacing: 0;\\n}\\ntable td[data-v-751680aa] {\\n position: relative;\\n padding: 6px;\\n vertical-align: top;\\n}\\ntable.order-table td[data-v-751680aa] {\\n vertical-align: middle;\\n}\\ntable thead td[data-v-751680aa] {\\n font-weight: bold;\\n}\\ntable tbody td[data-v-751680aa] {\\n border-top: solid 1px #CCC;\\n}\\ninput[type=number][data-v-751680aa] {\\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-751680aa] {\\n background: rgba(200, 250, 230, 0.4);\\n transition: padding 0.05s linear;\\n}\\nspan[contenteditable=\\\"true\\\"][data-v-751680aa]:focus {\\n padding: 0 4px;\\n}\\n@media print {\\n*[contenteditable=\\\"true\\\"][data-v-751680aa], input[data-v-751680aa] {\\n background: none;\\n}\\n.hide-in-print[data-v-751680aa] {\\n display: none;\\n}\\ninput[data-v-751680aa]::-webkit-outer-spin-button,\\n input[data-v-751680aa]::-webkit-inner-spin-button {\\n -webkit-appearance: none;\\n margin: 0;\\n}\\ninput[type=number][data-v-751680aa] {\\n -moz-appearance: textfield;\\n background: none;\\n}\\n}\\n.header[data-v-751680aa] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.order[data-v-751680aa] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.left-btn[data-v-751680aa] {\\n position: absolute;\\n left: -40px;\\n top: 2px;\\n}\\n.left-btn[data-v-751680aa]:hover {\\n opacity: 0.6;\\n}\\n\"","import { render } from \"./InvoiceTemplate.ce.vue?vue&type=template&id=751680aa&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=751680aa&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-751680aa\"]])\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](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__(6605); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementBlock","_hoisted_1","_createVNode","_component_vue_file_toolbar_menu","content","$options","_component_vue_document_editor","ref","$data","overlay","zoom","page_format_mm","page_margins","display","$props","_hoisted_2","_Fragment","page","page_idx","key","uuid","elt","innerHTML","length","style","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","Function","Number","data","pages","pages_overlay_refs","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","process_current_text_style","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","input","e","emit_new_content","inputType","keydown","keyCode","is_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","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep","__exports__","colspan","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","invoice_number","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","billing_address","target","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","onClick","_hoisted_20","_hoisted_21","desc","_hoisted_22","min","qty","_hoisted_24","step","price","_hoisted_26","toFixed","_hoisted_27","_hoisted_28","tax_percent","parseFloat","innerText","_hoisted_29","shipping","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","is_shipping_identical","items","today","date","Date","toJSON","next_month","setDate","getDate","sub_total","reduce","acc","total","preventLineBreaks","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","menu","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__","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","call","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.8c34c49e.js.map b/docs/js/app.8c34c49e.js.map deleted file mode 100644 index cc5100a..0000000 --- a/docs/js/app.8c34c49e.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/app.8c34c49e.js","mappings":"sFACOA,MAAM,Q,sHAAXC,EAAAA,EAAAA,IAcM,MAdNC,EAcM,EAXJC,EAAAA,EAAAA,IAAqDC,EAAAA,CAA7BC,QAASC,EAAAA,KAAMN,MAAM,O,qBAG7CG,EAAAA,EAAAA,IAMuBI,EAAAA,CANFP,MAAM,SAASQ,IAAI,SAC9BH,QAASI,EAAAA,Q,kCAAAA,EAAAA,QAAO,GACvBC,QAASJ,EAAAA,QACTK,KAAMF,EAAAA,KACNG,eAAgBH,EAAAA,eAChBI,aAAcJ,EAAAA,aACdK,QAASL,EAAAA,S,kHCZTT,MAAM,SAASQ,IAAI,U,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,WAAa,OAAOH,EAAoB,KAAO,IACjH8C,EAAsB9C,EAAoBS,EAAEqC,E","sources":["webpack://vue-document-editor/./src/Demo/Demo.vue","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue","webpack://vue-document-editor/./src/DocumentEditor/imports/page-transition-mgmt.js","webpack://vue-document-editor/./src/DocumentEditor/DocumentEditor.vue?a4df","webpack://vue-document-editor/./src/Demo/InvoiceTemplate.ce.vue","webpack://vue-document-editor/./src/Demo/InvoiceTemplate.ce.vue?456b","webpack://vue-document-editor/./src/Demo/InvoiceTemplate.ce.vue?2ab1","webpack://vue-document-editor/./src/Demo/Demo.vue?e249","webpack://vue-document-editor/./src/main.js","webpack://vue-document-editor/webpack/bootstrap","webpack://vue-document-editor/webpack/runtime/chunk loaded","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/make namespace object","webpack://vue-document-editor/webpack/runtime/jsonp chunk loading","webpack://vue-document-editor/webpack/startup"],"sourcesContent":["\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 {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, 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 // if it is a node with no content (e.g. ), or a header title (e.g.

) we simply move it\n else if(!sub_child.childNodes.length || sub_child.tagName.match(/h\\d/i)) {\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, 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=988dbac0&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=988dbac0&lang=css\"\nimport \"./DocumentEditor.vue?vue&type=style&index=1&id=988dbac0&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-988dbac0\"]])\n\nexport default __exports__","\n\n\n\n","export default \"\\ntable[data-v-751680aa] {\\n width: 100%;\\n border-spacing: 0;\\n}\\ntable td[data-v-751680aa] {\\n position: relative;\\n padding: 6px;\\n vertical-align: top;\\n}\\ntable.order-table td[data-v-751680aa] {\\n vertical-align: middle;\\n}\\ntable thead td[data-v-751680aa] {\\n font-weight: bold;\\n}\\ntable tbody td[data-v-751680aa] {\\n border-top: solid 1px #CCC;\\n}\\ninput[type=number][data-v-751680aa] {\\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-751680aa] {\\n background: rgba(200, 250, 230, 0.4);\\n transition: padding 0.05s linear;\\n}\\nspan[contenteditable=\\\"true\\\"][data-v-751680aa]:focus {\\n padding: 0 4px;\\n}\\n@media print {\\n*[contenteditable=\\\"true\\\"][data-v-751680aa], input[data-v-751680aa] {\\n background: none;\\n}\\n.hide-in-print[data-v-751680aa] {\\n display: none;\\n}\\ninput[data-v-751680aa]::-webkit-outer-spin-button,\\n input[data-v-751680aa]::-webkit-inner-spin-button {\\n -webkit-appearance: none;\\n margin: 0;\\n}\\ninput[type=number][data-v-751680aa] {\\n -moz-appearance: textfield;\\n background: none;\\n}\\n}\\n.header[data-v-751680aa] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.order[data-v-751680aa] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 10px;\\n}\\n.left-btn[data-v-751680aa] {\\n position: absolute;\\n left: -40px;\\n top: 2px;\\n}\\n.left-btn[data-v-751680aa]:hover {\\n opacity: 0.6;\\n}\\n\"","import { render } from \"./InvoiceTemplate.ce.vue?vue&type=template&id=751680aa&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=751680aa&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-751680aa\"]])\n\nexport default __exports__","import { render } from \"./Demo.vue?vue&type=template&id=40b973fe&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=40b973fe&lang=css\"\nimport \"./Demo.vue?vue&type=style&index=1&id=40b973fe&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-40b973fe\"]])\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](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__(1287); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementBlock","_hoisted_1","_createVNode","_component_vue_file_toolbar_menu","content","$options","_component_vue_document_editor","ref","$data","overlay","zoom","page_format_mm","page_margins","display","$props","_hoisted_2","_Fragment","page","page_idx","key","uuid","elt","innerHTML","length","style","_createElementVNode","contenteditable","onInput","onKeyup","onKeydown","find_sub_child_sibling_node","container","s_tag","child_nodes","childNodes","i","move_children_forward_recursively","child","child_sibling","stop_condition","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","editable","Boolean","Function","Number","data","pages","pages_overlay_refs","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","process_current_text_style","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","input","e","emit_new_content","inputType","keydown","keyCode","is_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","page_style","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","page_elt","find","remove","className","insertBefore","contentIdx","contentEditable","editor","classList","add","clientWidth","_page_body","print_body","margin","background","font","breakBefore","overlay_elt","overflow","return_overlay","right","bottom","alignItems","justifyContent","cursor","overlays","watch","handler","deep","__exports__","colspan","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","invoice_number","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","billing_address","target","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","onClick","_hoisted_20","_hoisted_21","desc","_hoisted_22","min","qty","_hoisted_24","step","price","_hoisted_26","toFixed","_hoisted_27","_hoisted_28","tax_percent","parseFloat","innerText","_hoisted_29","shipping","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","is_shipping_identical","items","today","date","Date","toJSON","next_month","setDate","getDate","sub_total","reduce","acc","total","preventLineBreaks","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","menu","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__","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","call","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.6491798d.js b/docs/js/chunk-vendors.6491798d.js new file mode 100644 index 0000000..07c4cc9 --- /dev/null +++ b/docs/js/chunk-vendors.6491798d.js @@ -0,0 +1,11 @@ +(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 Ne},IU:function(){return Ae},Jd:function(){return k},PG:function(){return Ce},Um:function(){return ye},WL:function(){return qe},X$:function(){return F},X3:function(){return Fe},Xl:function(){return Ee},dq:function(){return Re},iH:function(){return Te},j:function(){return S},lk:function(){return C},qj:function(){return we},qq:function(){return v},yT:function(){return je}});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)}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},l=e=>(e.w&d)>0,c=e=>(e.n&d)>0,u=({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(l.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&c.push(l.get("length")):(c.push(l.get(_)),(0,r._N)(e)&&c.push(l.get(b)));break;case"delete":(0,r.kJ)(e)||(c.push(l.get(_)),(0,r._N)(e)&&c.push(l.get(b)));break;case"set":(0,r._N)(e)&&c.push(l.get(_));break}if(1===c.length)c[0]&&A(c[0]);else{const e=[];for(const t of c)t&&e.push(...t);A(s(e))}}function A(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const r of n)r.computed&&E(r,t);for(const r of n)r.computed||E(r,t)}function E(e,t){(e!==m||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const M=(0,r.fY)("__proto__,__v_isRef,__isVue"),D=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),O=H(),L=H(!1,!0),R=H(!0),T=P();function P(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ae(this);for(let t=0,o=this.length;t{e[t]=function(...e){k();const n=Ae(this)[t].apply(this,e);return C(),n}})),e}function H(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?_e:me:t?ge:de).get(n))return n;const i=(0,r.kJ)(n);if(!e&&i&&(0,r.RI)(T,o))return Reflect.get(T,o,a);const s=Reflect.get(n,o,a);return((0,r.yk)(o)?D.has(o):M(o))?s:(e||S(n,"get",o),t?s:Re(s)?i&&(0,r.S0)(o)?s:s.value:(0,r.Kn)(s)?e?xe(s):we(s):s)}}const I=q(),z=q(!0);function q(e=!1){return function(t,n,o,a){let i=t[n];if(Se(i)&&Re(i)&&!Re(o))return!1;if(!e&&(je(o)||Se(o)||(i=Ae(i),o=Ae(o)),!(0,r.kJ)(t)&&Re(i)&&!Re(o)))return i.value=o,!0;const s=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)e,J=e=>Reflect.getPrototypeOf(e);function G(e,t,n=!1,r=!1){e=e["__v_raw"];const o=Ae(e),a=Ae(t);n||(t!==a&&S(o,"get",t),S(o,"get",a));const{has:i}=J(o),s=r?V:n?De:Me;return i.call(o,t)?s(e.get(t)):i.call(o,a)?s(e.get(a)):void(e!==o&&e.get(t))}function Y(e,t=!1){const n=this["__v_raw"],r=Ae(n),o=Ae(e);return t||(e!==o&&S(r,"has",e),S(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Z(e,t=!1){return e=e["__v_raw"],!t&&S(Ae(e),"iterate",_),Reflect.get(e,"size",e)}function X(e){e=Ae(e);const t=Ae(this),n=J(t),r=n.has.call(t,e);return r||(t.add(e),F(t,"add",e,e)),this}function Q(e,t){t=Ae(t);const n=Ae(this),{has:o,get:a}=J(n);let i=o.call(n,e);i||(e=Ae(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 ee(e){const t=Ae(this),{has:n,get:r}=J(t);let o=n.call(t,e);o||(e=Ae(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 te(){const e=Ae(this),t=0!==e.size,n=void 0,r=e.clear();return t&&F(e,"clear",void 0,void 0,n),r}function ne(e,t){return function(n,r){const o=this,a=o["__v_raw"],i=Ae(a),s=t?V:e?De:Me;return!e&&S(i,"iterate",_),a.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}}function re(e,t,n){return function(...o){const a=this["__v_raw"],i=Ae(a),s=(0,r._N)(i),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=a[e](...o),h=n?V:t?De:Me;return!t&&S(i,"iterate",c?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 oe(e){return function(...t){return"delete"!==e&&this}}function ae(){const e={get(e){return G(this,e)},get size(){return Z(this)},has:Y,add:X,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return G(this,e,!1,!0)},get size(){return Z(this)},has:Y,add:X,set:Q,delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return G(this,e,!0)},get size(){return Z(this,!0)},has(e){return Y.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!1)},r={get(e){return G(this,e,!0,!0)},get size(){return Z(this,!0)},has(e){return Y.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=re(o,!1,!1),n[o]=re(o,!0,!1),t[o]=re(o,!1,!0),r[o]=re(o,!0,!0)})),[e,n,t,r]}const[ie,se,le,ce]=ae();function ue(e,t){const n=t?e?ce:le:e?se:ie;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 he={get:ue(!1,!1)},fe={get:ue(!1,!0)},pe={get:ue(!0,!1)};const de=new WeakMap,ge=new WeakMap,me=new WeakMap,_e=new WeakMap;function be(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ve(e){return e["__v_skip"]||!Object.isExtensible(e)?0:be((0,r.W7)(e))}function we(e){return Se(e)?e:ke(e,!1,U,he,de)}function ye(e){return ke(e,!1,K,fe,ge)}function xe(e){return ke(e,!0,W,pe,me)}function ke(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=ve(e);if(0===s)return e;const l=new Proxy(e,2===s?o:n);return a.set(e,l),l}function Ce(e){return Se(e)?Ce(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Se(e){return!(!e||!e["__v_isReadonly"])}function je(e){return!(!e||!e["__v_isShallow"])}function Fe(e){return Ce(e)||Se(e)}function Ae(e){const t=e&&e["__v_raw"];return t?Ae(t):e}function Ee(e){return(0,r.Nj)(e,"__v_skip",!0),e}const Me=e=>(0,r.Kn)(e)?we(e):e,De=e=>(0,r.Kn)(e)?xe(e):e;function Oe(e){y&&m&&(e=Ae(e),j(e.dep||(e.dep=s())))}function Le(e,t){e=Ae(e),e.dep&&A(e.dep)}function Re(e){return!(!e||!0!==e.__v_isRef)}function Te(e){return Pe(e,!1)}function Pe(e,t){return Re(e)?e:new He(e,t)}class He{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ae(e),this._value=t?e:Me(e)}get value(){return Oe(this),this._value}set value(e){const t=this.__v_isShallow||je(e)||Se(e);e=t?e:Ae(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Me(e),Le(this,e))}}function Ie(e){return Re(e)?e.value:e}const ze={get:(e,t,n)=>Ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Re(o)&&!Re(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function qe(e){return Ce(e)?e:new Proxy(e,ze)}var $e;class Be{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[$e]=!1,this._dirty=!0,this.effect=new v(e,(()=>{this._dirty||(this._dirty=!0,Le(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=Ae(this);return Oe(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ne(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 Be(o,a,i||!a,n);return s}$e="__v_isReadonly"},6252:function(e,t,n){"use strict";n.d(t,{$d:function(){return i},Cn:function(){return P},FN:function(){return _n},HY:function(){return Tt},Ko:function(){return Be},LL:function(){return ze},P$:function(){return re},Q6:function(){return ce},RC:function(){return fe},U2:function(){return ae},Uk:function(){return on},Us:function(){return Et},Wm:function(){return en},Y3:function(){return b},Y8:function(){return ee},_:function(){return Qt},aZ:function(){return ue},dD:function(){return T},h:function(){return Rn},iD:function(){return Kt},ic:function(){return Fe},j4:function(){return Vt},kq:function(){return sn},nK:function(){return le},uE:function(){return an},up:function(){return He},w5:function(){return H},wg:function(){return $t},wy:function(){return Re}});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=j(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;tj(e)-j(t))),g=0;gnull==e.id?1/0:e.id,F=(e,t)=>{const n=j(e)-j(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(F);o.dG;try{for(f=0;f(0,o.HD)(e)?e.trim():e))),t&&(a=n.map(o.He))}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 R(e){const t=O;return O=e,L=e&&e.type.__scopeId||null,t}function T(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&&Ut(-1);const o=R(t);let a;try{a=e(...n)}finally{R(o),r._d&&Ut(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=R(e);try{if(4&n.shapeFlag){const e=a||r;b=ln(f.call(e,e,p,i,g,d,m)),v=u}else{const e=t;0,b=ln(e.length>1?e(i,{attrs:u,slots:c,emit:h}):e(i,null)),v=t.props?u:z(u)}}catch(x){zt.length=0,s(x,e,1),b=en(Ht)}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=rn(y,v))}return n.dirs&&(y=rn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,R(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)}function K(e,t){if(mn){let n=mn.provides;const r=mn.parent&&mn.parent.provides;r===n&&(n=mn.provides=Object.create(r)),n[e]=t}else 0}function V(e,t,n=!1){const r=mn||O;if(r){const a=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&(0,o.mf)(t)?t.call(r.proxy):t}else 0}const J={};function G(e,t,n){return Y(e,t,n)}function Y(e,t,{immediate:n,deep:s,flush:l,onTrack:c,onTrigger:u}=o.kT){const h=mn;let f,p,d=!1,g=!1;if((0,r.dq)(e)?(f=()=>e.value,d=(0,r.yT)(e)):(0,r.PG)(e)?(f=()=>e,s=!0):(0,o.kJ)(e)?(g=!0,d=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),f=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?Q(e):(0,o.mf)(e)?a(e,h,2):void 0))):f=(0,o.mf)(e)?t?()=>a(e,h,2):()=>{if(!h||!h.isUnmounted)return p&&p(),i(e,h,3,[_])}:o.dG,t&&s){const e=f;f=()=>Q(e())}let m,_=e=>{p=x.onStop=()=>{a(e,h,4)}};if(kn){if(_=o.dG,t?n&&i(t,h,3,[f(),g?[]:void 0,_]):f(),"sync"!==l)return o.dG;{const e=Pn();m=e.__watcherHandles||(e.__watcherHandles=[])}}let b=g?new Array(e.length).fill(J):J;const v=()=>{if(x.active)if(t){const e=x.run();(s||d||(g?e.some(((e,t)=>(0,o.aU)(e,b[t]))):(0,o.aU)(e,b)))&&(p&&p(),i(t,h,3,[e,b===J?void 0:g&&b[0]===J?[]:b,_]),b=e)}else x.run()};let y;v.allowRecurse=!!t,"sync"===l?y=v:"post"===l?y=()=>At(v,h&&h.suspense):(v.pre=!0,h&&(v.id=h.uid),y=()=>w(v));const x=new r.qq(f,y);t?n?v():b=x.run():"post"===l?At(x.run.bind(x),h&&h.suspense):x.run();const k=()=>{x.stop(),h&&h.scope&&(0,o.Od)(h.scope.effects,x)};return m&&m.push(k),k}function Z(e,t,n){const r=this.proxy,a=(0,o.HD)(e)?e.includes(".")?X(r,e):()=>r[e]:e.bind(r,r);let i;(0,o.mf)(t)?i=t:(i=t.handler,n=t);const s=mn;bn(this);const l=Y(a,i.bind(r),n);return s?bn(s):vn(),l}function X(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Q(e,t)}));else if((0,o.PO)(e))for(const n in e)Q(e[n],t);return e}function ee(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Se((()=>{e.isMounted=!0})),Ae((()=>{e.isUnmounting=!0})),e}const te=[Function,Array],ne={name:"BaseTransition",props:{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},setup(e,{slots:t}){const n=_n(),o=ee();let a;return()=>{const i=t.default&&ce(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!==Ht){0,s=t,e=!0;break}}const l=(0,r.IU)(e),{mode:c}=l;if(o.isLeaving)return ie(s);const u=se(s);if(!u)return ie(s);const h=ae(u,l,o,n);le(u,h);const f=n.subTree,p=f&&se(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!==Ht&&(!Gt(u,p)||d)){const e=ae(p,l,o,n);if(le(p,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},ie(s);"in-out"===c&&u.type!==Ht&&(e.delayLeave=(e,t,n)=>{const r=oe(o,p);r[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=n})}return s}}},re=ne;function oe(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 ae(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=oe(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&&Gt(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 ae(e,t,n,r)}};return S}function ie(e){if(de(e))return e=rn(e),e.children=null,e}function se(e){return de(e)?e.children?e.children[0]:void 0:e}function le(e,t){6&e.shapeFlag&&e.component?le(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 ce(e,t=!1,n){let r=[],o=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;function fe(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 ue({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return h},setup(){const e=mn;if(h)return()=>pe(h,e);const t=t=>{f=null,s(t,e,13,!a)};if(c&&e.suspense||kn)return g().then((t=>()=>pe(t,e))).catch((e=>(t(e),()=>a?en(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&&de(e.parent.vnode)&&w(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>o.value&&h?pe(h,e):u.value&&a?en(a,{error:u.value}):n&&!p.value?en(n):void 0}})}function pe(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,i=en(e,r,o);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const de=e=>e.type.__isKeepAlive;RegExp,RegExp;function ge(e,t){return(0,o.kJ)(e)?e.some((e=>ge(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function me(e,t){be(e,"a",t)}function _e(e,t){be(e,"da",t)}function be(e,t,n=mn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(xe(t,r,n),n){let e=n.parent;while(e&&e.parent)de(e.parent.vnode)&&ve(r,t,n,e),e=e.parent}}function ve(e,t,n,r){const a=xe(t,e,r,!0);Ee((()=>{(0,o.Od)(r[t],a)}),n)}function we(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ye(e){return 128&e.shapeFlag?e.ssContent:e}function xe(e,t,n=mn,o=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),bn(n);const a=i(t,n,e,o);return vn(),(0,r.lk)(),a});return o?a.unshift(s):a.push(s),s}}const ke=e=>(t,n=mn)=>(!kn||"sp"===e)&&xe(e,((...e)=>t(...e)),n),Ce=ke("bm"),Se=ke("m"),je=ke("bu"),Fe=ke("u"),Ae=ke("bum"),Ee=ke("um"),Me=ke("sp"),De=ke("rtg"),Oe=ke("rtc");function Le(e,t=mn){xe("ec",e,t)}function Re(e,t){const n=O;if(null===n)return e;const r=Mn(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let i=0;it(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?wn(e)?Mn(e)||e.proxy:Ne(e.parent):null,Ue=(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=>Ne(e.parent),$root:e=>Ne(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=>Z.bind(e)}),We=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Ke={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(We(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=Ue[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 We(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)||We(t,s)||(l=i[0])&&(0,o.RI)(l,s)||(0,o.RI)(r,s)||(0,o.RI)(Ue,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)}};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:j,serverPrefetch:F,expose:A,inheritAttrs:E,components:M,directives:D,filters:O}=t,L=null;if(h&&Ge(h,a,L,e.appContext.config.unwrapInjectedRef),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=Ln({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=>{K(t,e[t])}))}function R(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&Ye(f,e,"c"),R(Ce,p),R(Se,d),R(je,g),R(Fe,m),R(me,_),R(_e,b),R(Le,j),R(Oe,C),R(De,S),R(Ae,w),R(Ee,x),R(Me,F),(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,a=!1){(0,o.kJ)(e)&&(e=rt(e));for(const i in e){const n=e[i];let s;s=(0,o.Kn)(n)?"default"in n?V(n.from||i,n.default,!0):V(n.from||i):V(n),(0,r.dq)(s)&&a?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[i]=s}}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(".")?X(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&G(a,n)}else if((0,o.mf)(e))G(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)&&G(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:at,emits:at,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:it,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;n0)||16&l){let r;ct(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]=ut(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]=ht(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 ft(e){return"$"!==e[0]}function pt(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function dt(e,t){return pt(e)===pt(t)}function gt(e,t){return(0,o.kJ)(t)?t.findIndex((t=>dt(t,e))):(0,o.mf)(t)&&dt(t,e)?0:-1}const mt=e=>"_"===e[0]||"$stable"===e,_t=e=>(0,o.kJ)(e)?e.map(ln):[ln(e)],bt=(e,t,n)=>{if(t._n)return t;const r=H(((...e)=>_t(t(...e))),n);return r._c=!1,r},vt=(e,t,n)=>{const r=e._ctx;for(const a in e){if(mt(a))continue;const n=e[a];if((0,o.mf)(n))t[a]=bt(a,n,r);else if(null!=n){0;const e=_t(n);t[a]=()=>e}}},wt=(e,t)=>{const n=_t(t);e.slots.default=()=>n},yt=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,o.Nj)(t,"_",n)):vt(t,e.slots={})}else e.slots={},t&&wt(e,t);(0,o.Nj)(e.slots,Yt,1)},xt=(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,vt(t,a)),s=t}else t&&(wt(e,t),s={default:1});if(i)for(const o in a)mt(o)||o in s||delete a[o]};function kt(){return{app:null,config:{isNativeTag:o.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ct=0;function St(e,t){return function(n,r=null){(0,o.mf)(n)||(n=Object.assign({},n)),null==r||(0,o.Kn)(r)||(r=null);const a=kt(),i=new Set;let s=!1;const l=a.app={_uid:Ct++,_component:n,_props:r,_container:null,_context:a,_instance:null,version:Hn,get config(){return a.config},set config(e){0},use(e,...t){return i.has(e)||(e&&(0,o.mf)(e.install)?(i.add(e),e.install(l,...t)):(0,o.mf)(e)&&(i.add(e),e(l,...t))),l},mixin(e){return a.mixins.includes(e)||a.mixins.push(e),l},component(e,t){return t?(a.components[e]=t,l):a.components[e]},directive(e,t){return t?(a.directives[e]=t,l):a.directives[e]},mount(o,i,c){if(!s){0;const u=en(n,r);return u.appContext=a,i&&t?t(u,o):e(u,o,c),s=!0,l._container=o,o.__vue_app__=l,Mn(u.component)||u.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return a.provides[e]=t,l}};return l}}function jt(e,t,n,i,s=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>jt(e,t&&((0,o.kJ)(t)?t[r]:t),n,i,s)));if(he(i)&&!s)return;const l=4&i.shapeFlag?Mn(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,At(r,n)):r()}else 0}}function Ft(){}const At=W;function Et(e){return Mt(e)}function Mt(e,t){Ft();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&&!Gt(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 Pt:b(e,t,n,r);break;case Ht:v(e,t,n,r);break;case It:null==e&&y(t,n,r,i);break;case Tt:R(e,t,n,r,o,a,i,s,l);break;default:1&h?F(e,t,n,r,o,a,i,s,l):6&h?T(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&&jt(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)},j=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=d(e),i(e),e=n;i(t)},F=(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&&Te(e,null,r,"created"),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)&&fn(d,r,e)}E(p,e,e.scopeId,u,r),v&&Te(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)&&At((()=>{d&&fn(d,r,e),w&&b.enter(p),v&&Te(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&&Dt(n,!1),(m=g.onVnodeBeforeUpdate)&&fn(m,n,t,e),p&&Te(t,e,n,"beforeUpdate"),n&&Dt(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&&fn(m,n,t,e),p&&Te(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)}},R=(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)&&Ot(e,t,!0)):B(e,t,n,f,o,i,s,l,u)},T=(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=gn(e,r,o);if(de(e)&&(s.ctx.renderer=ee),Cn(s),s.asyncDep){if(o&&o.registerDep(s,z),!e.el){const e=s.subTree=en(Ht);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,Dt(e,!1),n?(n.el=u.el,q(e,n,l)):n=u,r&&(0,o.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&fn(t,c,n,u),Dt(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&&At(a,i),(t=n.props&&n.props.onVnodeUpdated)&&At((()=>fn(t,c,n,u)),i)}else{let r;const{el:l,props:c}=t,{bm:u,m:h,parent:f}=e,p=he(t);if(Dt(e,!1),u&&(0,o.ir)(u),!p&&(r=c&&c.onVnodeBeforeMount)&&fn(r,f,t),Dt(e,!0),l&&ne){const n=()=>{e.subTree=I(e),ne(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&&At(h,i),!p&&(r=c&&c.onVnodeMounted)){const e=t;At((()=>fn(r,f,e)),i)}(256&t.shapeFlag||f&&he(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&At(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,Dt(e,!0),h()},q=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,lt(e,t.props,o,n),xt(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?cn(t[u]):ln(t[u]);if(!Gt(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?cn(t[p]):ln(t[p]);if(!Gt(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?cn(t[u]):ln(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]&&Gt(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?Lt(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===Tt){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&&jt(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,d=!he(e);let g;if(d&&(g=i&&i.onVnodeBeforeUnmount)&&fn(g,t,e),6&u)Y(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&Te(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,ee,r):c&&(a!==Tt||h>0&&64&h)?Z(c,t,n,!1,!0):(a===Tt&&384&h||!o&&16&u)&&Z(l,t,n),r&&J(e)}(d&&(g=i&&i.onVnodeUnmounted)||p)&&At((()=>{g&&fn(g,t,e),p&&Te(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Tt)return void G(n,r);if(t===It)return void j(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&&At(l,t),At((()=>{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),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:St(Q,te)}}function Dt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ot(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 Rt=e=>e.__isTeleport;const Tt=Symbol(void 0),Pt=Symbol(void 0),Ht=Symbol(void 0),It=Symbol(void 0),zt=[];let qt=null;function $t(e=!1){zt.push(qt=e?null:[])}function Bt(){zt.pop(),qt=zt[zt.length-1]||null}let Nt=1;function Ut(e){Nt+=e}function Wt(e){return e.dynamicChildren=Nt>0?qt||o.Z6:null,Bt(),Nt>0&&qt&&qt.push(e),e}function Kt(e,t,n,r,o,a){return Wt(Qt(e,t,n,r,o,a,!0))}function Vt(e,t,n,r,o){return Wt(en(e,t,n,r,o,!0))}function Jt(e){return!!e&&!0===e.__v_isVNode}function Gt(e,t){return e.type===t.type&&e.key===t.key}const Yt="__vInternal",Zt=({key:e})=>null!=e?e:null,Xt=({ref:e,ref_key:t,ref_for:n})=>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 Qt(e,t=null,n=null,r=0,a=null,i=(e===Tt?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zt(t),ref:t&&Xt(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?(un(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=(0,o.HD)(n)?8:16),Nt>0&&!s&&qt&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&qt.push(c),c}const en=tn;function tn(e,t=null,n=null,a=0,i=null,s=!1){if(e&&e!==Ie||(e=Ht),Jt(e)){const r=rn(e,t,!0);return n&&un(r,n),Nt>0&&!s&&qt&&(6&r.shapeFlag?qt[qt.indexOf(e)]=r:qt.push(r)),r.patchFlag|=-2,r}if(On(e)&&(e=e.__vccOpts),t){t=nn(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:Rt(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return Qt(e,t,n,a,i,l,s,!0)}function nn(e){return e?(0,r.X3)(e)||Yt in e?(0,o.l7)({},e):e:null}function rn(e,t,n=!1){const{props:r,ref:a,patchFlag:i,children:s}=e,l=t?hn(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Zt(l),ref:t&&t.ref?n&&a?(0,o.kJ)(a)?a.concat(Xt(t)):[a,Xt(t)]:Xt(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!==Tt?-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&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx};return c}function on(e=" ",t=0){return en(Pt,null,e,t)}function an(e,t){const n=en(It,null,e);return n.staticCount=t,n}function sn(e="",t=!1){return t?($t(),Vt(Ht,null,e)):en(Ht,null,e)}function ln(e){return null==e||"boolean"===typeof e?en(Ht):(0,o.kJ)(e)?en(Tt,null,e.slice()):"object"===typeof e?cn(e):en(Pt,null,String(e))}function cn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:rn(e)}function un(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),un(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Yt 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=[on(t)]):n=8);e.children=t,e.shapeFlag|=n}function hn(...e){const t={};for(let n=0;nmn||O,bn=e=>{mn=e,e.scope.on()},vn=()=>{mn&&mn.scope.off(),mn=null};function wn(e){return 4&e.vnode.shapeFlag}let yn,xn,kn=!1;function Cn(e,t=!1){kn=t;const{props:n,children:r}=e.vnode,o=wn(e);st(e,n,o,t),yt(e,r);const a=o?Sn(e,t):void 0;return kn=!1,a}function Sn(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,Ke));const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?En(e):null;bn(e),(0,r.Jd)();const l=a(i,e,0,[e.props,n]);if((0,r.lk)(),vn(),(0,o.tI)(l)){if(l.then(vn,vn),t)return l.then((n=>{jn(e,n,t)})).catch((t=>{s(t,e,0)}));e.asyncDep=l}else jn(e,l,t)}else Fn(e,t)}function jn(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)),Fn(e,n)}function Fn(e,t,n){const a=e.type;if(!e.render){if(!t&&yn&&!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=yn(t,l)}}e.render=a.render||o.dG,xn&&xn(e)}bn(e),(0,r.Jd)(),Je(e),(0,r.lk)(),vn()}function An(e){return new Proxy(e.attrs,{get(t,n){return(0,r.j)(e,"get","$attrs"),t[n]}})}function En(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=An(e))},slots:e.slots,emit:e.emit,expose:t}}function Mn(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 Ue?Ue[n](e):void 0},has(e,t){return t in e||t in Ue}}))}function Dn(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function On(e){return(0,o.mf)(e)&&"__vccOpts"in e}const Ln=(e,t)=>(0,r.Fl)(e,t,kn);function Rn(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Jt(t)?en(e,null,[t]):en(e,t):en(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Jt(n)&&(n=[n]),en(e,t,n))}const Tn=Symbol(""),Pn=()=>{{const e=V(Tn);return e}};const Hn="3.2.45"},9963:function(e,t,n){"use strict";n.d(t,{F8:function(){return se},MW:function(){return O},e8:function(){return re},nr:function(){return ne},ri:function(){return pe}});var r=n(3577),o=n(6252);n(2262);const a="http://www.w3.org/2000/svg",i="undefined"!==typeof document?document:null,s=i&&i.createElement("template"),l={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?i.createElementNS(a,e):i.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>i.createTextNode(e),createComment:e=>i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>i.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{s.innerHTML=r?`${e}`:e;const o=s.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 c(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 u(e,t,n){const o=e.style,a=(0,r.HD)(n);if(n&&!a){for(const e in n)f(o,e,n[e]);if(t&&!(0,r.HD)(t))for(const e in t)null==n[e]&&f(o,e,"")}else{const r=o.display;a?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const h=/\s*!important$/;function f(e,t,n){if((0,r.kJ)(n))n.forEach((n=>f(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=g(e,t);h.test(n)?e.setProperty((0,r.rs)(o),n.replace(h,""),"important"):e[o]=n}}const p=["Webkit","Moz","ms"],d={};function g(e,t){const n=d[t];if(n)return n;let o=(0,r._A)(t);if("filter"!==o&&o in e)return d[t]=o;o=(0,r.kC)(o);for(let r=0;rC||(S.then((()=>C=0)),C=Date.now());function F(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,o.$d)(A(e,n.value),t,5,[e])};return n.value=e,n.attached=j(),n}function A(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 E=/^on[a-z]/,M=(e,t,n,o,a=!1,i,s,l,h)=>{"class"===t?c(e,o,a):"style"===t?u(e,n,o):(0,r.F7)(t)?(0,r.tR)(t)||y(e,t,n,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):D(e,t,o,a))?b(e,t,o,i,s,l,h):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),_(e,t,o,a))};function D(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&E.test(t)&&(0,r.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!E.test(t)||!(0,r.HD)(n))&&t in e))))}function O(e,t){const n=(0,o.aZ)(e);class r extends R{constructor(e){super(n,e,t)}}return r.def=n,r}const L="undefined"!==typeof HTMLElement?HTMLElement:class{};class R extends L{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||(fe(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(){fe(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 T="transition",P="animation",H=(e,{slots:t})=>(0,o.h)(o.P$,$(e),t);H.displayName="Transition";const I={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},z=(H.props=(0,r.l7)({},o.P$.props,I),(e,t=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)}),q=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function $(e){const t={};for(const r in e)r in I||(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=B(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,j=(e,t,n)=>{W(e,t?h:l),W(e,t?u:s),n&&n()},F=(e,t)=>{e._isLeaving=!1,W(e,f),W(e,d),W(e,p),t&&t()},A=e=>(t,n)=>{const r=e?C:v,a=()=>j(t,e,n);z(r,[t,a]),K((()=>{W(t,e?c:i),U(t,e?h:l),q(r)||J(t,o,m,a)}))};return(0,r.l7)(t,{onBeforeEnter(e){z(b,[e]),U(e,i),U(e,s)},onBeforeAppear(e){z(k,[e]),U(e,c),U(e,u)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>F(e,t);U(e,f),X(),U(e,p),K((()=>{e._isLeaving&&(W(e,f),U(e,d),q(y)||J(e,o,_,n))})),z(y,[e,n])},onEnterCancelled(e){j(e,!1),z(w,[e])},onAppearCancelled(e){j(e,!0),z(S,[e])},onLeaveCancelled(e){F(e),z(x,[e])}})}function B(e){if(null==e)return null;if((0,r.Kn)(e))return[N(e.enter),N(e.leave)];{const t=N(e);return[t,t]}}function N(e){const t=(0,r.He)(e);return t}function U(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function W(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 K(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let V=0;function J(e,t,n,r){const o=e._endId=++V,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:l}=G(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(`${T}Delay`),a=r(`${T}Duration`),i=Y(o,a),s=r(`${P}Delay`),l=r(`${P}Duration`),c=Y(s,l);let u=null,h=0,f=0;t===T?i>0&&(u=T,h=i,f=a.length):t===P?c>0&&(u=P,h=c,f=l.length):(h=Math.max(i,c),u=h>0?i>c?T:P:null,f=u?u===T?a.length:l.length:0);const p=u===T&&/\b(transform|all)(,|$)/.test(r(`${T}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:p}}function Y(e,t){while(e.lengthZ(t)+Z(e[n]))))}function Z(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function X(){return document.body.offsetHeight}new WeakMap,new WeakMap;const Q=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(t)?e=>(0,r.ir)(t,e):t};function ee(e){e.target.composing=!0}function te(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ne={created(e,{modifiers:{lazy:t,trim:n,number:o}},a){e._assign=Q(a);const i=o||a.props&&"number"===a.props.type;v(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=(0,r.He)(o)),e._assign(o)})),n&&v(e,"change",(()=>{e.value=e.value.trim()})),t||(v(e,"compositionstart",ee),v(e,"compositionend",te),v(e,"change",te))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:a}},i){if(e._assign=Q(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.He)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},re={deep:!0,created(e,t,n){e._assign=Q(n),v(e,"change",(()=>{const t=e._modelValue,n=ae(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(ie(e,o))}))},mounted:oe,beforeUpdate(e,t,n){e._assign=Q(n),oe(e,t,n)}};function oe(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,ie(e,!0)))}function ae(e){return"_value"in e?e._value:e.value}function ie(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const se={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):le(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),le(e,!0),r.enter(e)):r.leave(e,(()=>{le(e,!1)})):le(e,t))},beforeUnmount(e,{value:t}){le(e,t)}};function le(e,t){e.style.display=t?e._vod:"none"}const ce=(0,r.l7)({patchProp:M},l);let ue;function he(){return ue||(ue=(0,o.Us)(ce))}const fe=(...e)=>{he().render(...e)},pe=(...e)=>{const t=he().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=de(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 de(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 h},DM:function(){return L},E9:function(){return oe},F7:function(){return S},Gg:function(){return W},HD:function(){return P},He:function(){return ne},Kn:function(){return I},NO:function(){return k},Nj:function(){return te},Od:function(){return A},PO:function(){return N},Pq:function(){return p},RI:function(){return M},S0:function(){return U},W7:function(){return B},WV:function(){return m},Z6:function(){return y},_A:function(){return J},_N:function(){return O},aU:function(){return Q},dG:function(){return x},e1:function(){return a},fY:function(){return r},hR:function(){return X},hq:function(){return _},ir:function(){return ee},j5:function(){return i},kC:function(){return Z},kJ:function(){return D},kT:function(){return w},l7:function(){return F},mf:function(){return T},rs:function(){return Y},tI:function(){return z},tR:function(){return j},yA:function(){return d},yk:function(){return H},zw:function(){return b}});const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",a=r(o);function i(e){if(D(e)){const t={};for(let n=0;n{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function h(e){let t="";if(P(e))t=e;else if(D(e))for(let n=0;nm(e,t)))}const b=e=>P(e)?e:null==e?"":D(e)||I(e)&&(e.toString===q||!T(e.toString))?JSON.stringify(e,v,2):String(e),v=(e,t)=>t&&t.__v_isRef?v(e,t.value):O(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||D(t)||N(t)?t:String(t),w={},y=[],x=()=>{},k=()=>!1,C=/^on[^a-z]/,S=e=>C.test(e),j=e=>e.startsWith("onUpdate:"),F=Object.assign,A=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},E=Object.prototype.hasOwnProperty,M=(e,t)=>E.call(e,t),D=Array.isArray,O=e=>"[object Map]"===$(e),L=e=>"[object Set]"===$(e),R=e=>"[object Date]"===$(e),T=e=>"function"===typeof e,P=e=>"string"===typeof e,H=e=>"symbol"===typeof e,I=e=>null!==e&&"object"===typeof e,z=e=>I(e)&&T(e.then)&&T(e.catch),q=Object.prototype.toString,$=e=>q.call(e),B=e=>$(e).slice(8,-1),N=e=>"[object Object]"===$(e),U=e=>P(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,W=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},V=/-(\w)/g,J=K((e=>e.replace(V,((e,t)=>t?t.toUpperCase():"")))),G=/\B([A-Z])/g,Y=K((e=>e.replace(G,"-$1").toLowerCase())),Z=K((e=>e.charAt(0).toUpperCase()+e.slice(1))),X=K((e=>e?`on${Z(e)}`:"")),Q=(e,t)=>!Object.is(e,t),ee=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ne=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let re;const oe=()=>re||(re="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},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,t,n){var r=n(5005);e.exports=r("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}()||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(7293),o=n(614),a=n(2597),i=n(9781),s=n(6530).CONFIGURABLE,l=n(2788),c=n(9909),u=c.enforce,h=c.get,f=Object.defineProperty,p=i&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),d=String(String).split("String"),g=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(i?f(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=u(e);return a(r,"source")||(r.source=d.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return o(this)&&h(this).source||l(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.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(e,t,n){var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(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=o("wks"),u=r.Symbol,h=u&&u["for"],f=l?u:u&&u.withoutSetter||i;e.exports=function(e){if(!a(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&a(u,e)?c[e]=u[e]:c[e]=l&&h?h(t):f(t)}return c[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}}();r({target:"Array",proto:!0,arity:1,forced:c||u},{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&&(R[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(R.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&&(R[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 R(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 T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach((function(n){var r=f[n].find((function(n){return n.scope===t&&n.shortcut===e}));r&&r.method&&r.method()}))}var P={getPressedKeyString:C,setScope:y,getScope:x,deleteScope:F,getPressedKeyCodes:k,isPressed:j,filter:S,trigger:T,unbind:E,keyMap:l,modifier:c,modifierMap:u};for(var H in P)Object.prototype.hasOwnProperty.call(P,H)&&(R[H]=P[H]);if("undefined"!==typeof window){var I=window.hotkeys;R.noConflict=function(e){return e&&window.hotkeys===R&&(window.hotkeys=I),R},window.hotkeys=R}R.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&&R.unbind(t,this.hotkey_fn),e&&R(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&&R.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 j="",F=function(e,t){const{componentPrefix:n=j}=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=F;var R={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 T={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",T,[(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),R.render=z,R.__file="src/components/alpha/alpha.vue",R.install=F;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.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.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();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},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 je(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 Fe=".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(Fe),ye.render=je,ye.__file="src/components/editable-input/editable-input.vue",ye.install=F;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 Re(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 Te=".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(Te),Ee.render=Re,Ee.__file="src/components/saturation/saturation.vue",Ee.install=F;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=F;var Be={name:"Chrome",components:{Saturation:Ee,Hue:Pe,Alpha:R,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=F;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=F;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 jt={role:"application","aria-label":"Grayscale color picker",class:"vc-grayscale"},Ft={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",jt,[(0,r._)("ul",Ft,[((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=F;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"},Rt={class:"vc-material-split"},Tt={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",Rt,[(0,r._)("div",Tt,[(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=F;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=F;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:R,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 jn=".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(jn),ln.render=Sn,ln.__file="src/components/sketch/sketch.vue",ln.install=F;const Fn=.5;var An={name:"Slider",components:{Hue:Pe},mixins:[ve],props:{swatches:{type:Array,default(){return[{s:Fn,l:.8},{s:Fn,l:.65},{s:Fn,l:.5},{s:Fn,l:.35},{s:Fn,l:.2}]}}},computed:{normalizedSwatches(){const{swatches:e}=this;return e.map((e=>"object"!==typeof e?{s:Fn,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 Rn=".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(Rn),An.render=Ln,An.__file="src/components/slider/slider.vue",An.install=F;var Tn={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:Tn,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","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}),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)]])],14,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=F;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=["onClick"],jr=(0,r._)("div",{class:"vc-twitter-hash"}," # ",-1),Fr=(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"}`}),onClick:t=>s.handlerClick(e)},null,12,Sr)))),128)),jr,(0,r.Wm)(l,{label:"#",value:s.hex,onChange:s.inputChange},null,8,["value","onChange"]),Fr])],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;outline:none;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=F;const Mr=[R,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 Rr={class:"bar-separator"};function Tr(e,t){return(0,r.wg)(),(0,r.iD)("div",Rr)}const Pr={},Hr=(0,v.Z)(Pr,[["render",Tr]]);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={},j=(0,w.Z)(S,[["render",C]]);var F=j,A={components:{BarMenuItem:x,BarMenuSeparator:F},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.6491798d.js.map \ No newline at end of file diff --git a/docs/js/chunk-vendors.6491798d.js.map b/docs/js/chunk-vendors.6491798d.js.map new file mode 100644 index 0000000..e99b59d --- /dev/null +++ b/docs/js/chunk-vendors.6491798d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/chunk-vendors.6491798d.js","mappings":"8jBAMA,IAAIA,EACJ,MAAMC,EACFC,YAAYC,GAAW,GACnBC,KAAKD,SAAWA,EAIhBC,KAAKC,QAAS,EAIdD,KAAKE,QAAU,GAIfF,KAAKG,SAAW,GAChBH,KAAKI,OAASR,GACTG,GAAYH,IACbI,KAAKK,OACAT,EAAkBU,SAAWV,EAAkBU,OAAS,KAAKC,KAAKP,MAAQ,EAEvF,CACAQ,IAAIC,GACA,GAAIT,KAAKC,OAAQ,CACb,MAAMS,EAAqBd,EAC3B,IAEI,OADAA,EAAoBI,KACbS,GAIX,CAFA,QACIb,EAAoBc,CACxB,CACJ,MACS,CAGb,CAKAC,KACIf,EAAoBI,IACxB,CAKAY,MACIhB,EAAoBI,KAAKI,MAC7B,CACAS,KAAKC,GACD,GAAId,KAAKC,OAAQ,CACb,IAAIc,EAAGC,EACP,IAAKD,EAAI,EAAGC,EAAIhB,KAAKE,QAAQe,OAAQF,EAAIC,EAAGD,IACxCf,KAAKE,QAAQa,GAAGF,OAEpB,IAAKE,EAAI,EAAGC,EAAIhB,KAAKG,SAASc,OAAQF,EAAIC,EAAGD,IACzCf,KAAKG,SAASY,KAElB,GAAIf,KAAKM,OACL,IAAKS,EAAI,EAAGC,EAAIhB,KAAKM,OAAOW,OAAQF,E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KmhC,QACTC,MAAO,EAAAphC,KAAKqhC,WACZC,OAAQ,EAAAthC,KAAKuhC,a,+FAUpB,GACErzC,OAAQ,CAAE,KAEVsV,WAAY,CACVg+B,SAAS,SAAqB,IAAM,0CAGtC70C,MAAO,CACLqT,KAAM,CACJjhB,KAAMwB,OACNk/C,UAAU,IAIdn9B,QAAS,CACP29B,MAAOrmB,GACFt+B,KAAK0kB,KAAKigC,QAAU3kD,KAAK0kB,KAAKkgC,SAAU5kD,KAAK0kB,KAAKigC,MAAMrmB,GAClDt+B,KAAKolB,MAAMugC,MAASrnB,EAAE8kC,cAAiB9kC,EAAE8kC,eAAetzD,SAAS9P,KAAKolB,MAAMugC,KAAK5gC,MACxFuZ,EAAE4kB,iBAEN,EACAqC,UAAWc,GAAeA,KAAcb,EAASA,EAAMa,GAAc,GACrEtB,cAAexxB,GACb,OAAGA,IAAOpa,MAAMk0B,QAAQ9Z,IAAoB,iBAANA,EAAuBA,EACjD,UACd,I,UCxDJ,MAAM+yB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS,KAEpE,Q,SCNO7xB,MAAM,sB,kCAAX,QAAsC,MAAtC,E,CCAF,MAAM0yB,EAAS,CAAC,EAGV,GAA2B,OAAgBA,EAAQ,CAAC,CAAC,SAAS,KAEpE,QJiBA,GAEEj/B,WAAY,CACVm7C,YAAW,EACXC,iBAAgB,GAGlBjyD,MAAO,CACLs0C,KAAM,CACJliD,KAAM0V,MACNgrC,UAAU,GAEZ2B,MAAO7+C,OACP++C,OAAQ/+C,QAGV+f,QAAS,CACP+9B,cAAcxxB,GACZ,MAAgB,iBAANA,EAAuBA,EACZ,iBAANA,EAAuB,YAAYA,EACtC,eACd,IKvCJ,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS9e,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, toNumber, 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 =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n run(fn) {\n if (this.active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\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 // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\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 = undefined;\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 }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`onScopeDispose() is called when there is no active effect scope` +\n ` to be associated with.`);\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; // set was tracked\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 }\n else {\n deps[ptr++] = dep;\n }\n // clear bits\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = new WeakMap();\n// The number of effects currently being tracked recursively.\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\n/**\n * The bitwise track markers support at most 30 levels of recursion.\n * This value is chosen to enable modern JS engines to use a SMI on all platforms.\n * When recursion depth is greater, fall back to using a full cleanup.\n */\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 = undefined;\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 }\n else {\n cleanupEffect(this);\n }\n return this.fn();\n }\n finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = undefined;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n // stopped while running itself - defer the cleanup\n if (activeEffect === this) {\n this.deferStop = true;\n }\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(effect) {\n const { deps } = effect;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect);\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 === undefined ? 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 = 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')\n ? { effect: activeEffect, target, type, key }\n : undefined;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit; // set newly tracked\n shouldTrack = !wasTracked(dep);\n }\n }\n else {\n // Full cleanup mode.\n shouldTrack = !dep.has(activeEffect);\n }\n if (shouldTrack) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if ((process.env.NODE_ENV !== 'production') && activeEffect.onTrack) {\n activeEffect.onTrack(Object.assign({ effect: activeEffect }, debuggerEventExtraInfo));\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n // never been tracked\n return;\n }\n let deps = [];\n if (type === \"clear\" /* TriggerOpTypes.CLEAR */) {\n // collection being cleared\n // trigger all effects for target\n deps = [...depsMap.values()];\n }\n else if (key === 'length' && isArray(target)) {\n const newLength = toNumber(newValue);\n depsMap.forEach((dep, key) => {\n if (key === 'length' || key >= newLength) {\n deps.push(dep);\n }\n });\n }\n else {\n // schedule runs for SET | ADD | DELETE\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n // also run for iteration key on ADD | DELETE | Map.SET\n switch (type) {\n case \"add\" /* TriggerOpTypes.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 }\n else if (isIntegerKey(key)) {\n // new index added to array -> length changes\n deps.push(depsMap.get('length'));\n }\n break;\n case \"delete\" /* TriggerOpTypes.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\" /* TriggerOpTypes.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')\n ? { target, type, key, newValue, oldValue, oldTarget }\n : undefined;\n if (deps.length === 1) {\n if (deps[0]) {\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(deps[0], eventInfo);\n }\n else {\n triggerEffects(deps[0]);\n }\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 }\n else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n // spread into array for stabilization\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect of effects) {\n if (effect.computed) {\n triggerEffect(effect, debuggerEventExtraInfo);\n }\n }\n for (const effect of effects) {\n if (!effect.computed) {\n triggerEffect(effect, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect, debuggerEventExtraInfo) {\n if (effect !== activeEffect || effect.allowRecurse) {\n if ((process.env.NODE_ENV !== 'production') && effect.onTrigger) {\n effect.onTrigger(extend({ effect }, debuggerEventExtraInfo));\n }\n if (effect.scheduler) {\n effect.scheduler();\n }\n else {\n effect.run();\n }\n }\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n/*#__PURE__*/\nObject.getOwnPropertyNames(Symbol)\n // ios10.x Object.getOwnPropertyNames(Symbol) can enumerate 'arguments' and 'caller'\n // but accessing them on Symbol leads to TypeError because Symbol is a strict mode\n // function\n .filter(key => key !== 'arguments' && key !== 'caller')\n .map(key => Symbol[key])\n .filter(isSymbol));\nconst get = /*#__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\" /* TrackOpTypes.GET */, i + '');\n }\n // we run the method using the original args first (which may be reactive)\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n // if that didn't work, run it again using raw values.\n return arr[key](...args.map(toRaw));\n }\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 createGetter(isReadonly = false, shallow = false) {\n return function get(target, key, receiver) {\n if (key === \"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */) {\n return !isReadonly;\n }\n else if (key === \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */) {\n return isReadonly;\n }\n else if (key === \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */) {\n return shallow;\n }\n else if (key === \"__v_raw\" /* ReactiveFlags.RAW */ &&\n receiver ===\n (isReadonly\n ? shallow\n ? shallowReadonlyMap\n : readonlyMap\n : shallow\n ? shallowReactiveMap\n : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly) {\n track(target, \"get\" /* TrackOpTypes.GET */, key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n // ref unwrapping - skip unwrap for Array + integer key.\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n // Convert returned value into a proxy as well. we do the isObject check\n // here to avoid invalid value warning. Also need to lazy access readonly\n // and reactive here to avoid circular dependency.\n return isReadonly ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set = /*#__PURE__*/ createSetter();\nconst shallowSet = /*#__PURE__*/ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set(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)\n ? Number(key) < target.length\n : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n // don't trigger if target is something up in the prototype chain of original\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, key, value);\n }\n else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\" /* TriggerOpTypes.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\" /* TriggerOpTypes.DELETE */, key, undefined, oldValue);\n }\n return result;\n}\nfunction has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\" /* TrackOpTypes.HAS */, key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\" /* TrackOpTypes.ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get,\n set,\n deleteProperty,\n has,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n },\n deleteProperty(target, key) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\n get: shallowGet,\n set: shallowSet\n});\n// Props handlers are special in the sense that it should not unwrap top-level\n// refs (in order to allow refs to be explicitly passed down), but should\n// retain the reactivity of the normal readonly object.\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\n get: shallowReadonlyGet\n});\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\n // #1772: readonly(reactive(Map)) should return readonly + reactive version\n // of the value\n target = target[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\" /* TrackOpTypes.GET */, key);\n }\n track(rawTarget, \"get\" /* TrackOpTypes.GET */, rawKey);\n }\n const { has } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has.call(rawTarget, key)) {\n return wrap(target.get(key));\n }\n else if (has.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n }\n else if (target !== rawTarget) {\n // #3602 readonly(reactive(Map))\n // ensure that the nested reactive `Map` can do tracking for itself\n target.get(key);\n }\n}\nfunction has$1(key, isReadonly = false) {\n const target = this[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\" /* TrackOpTypes.HAS */, key);\n }\n track(rawTarget, \"has\" /* TrackOpTypes.HAS */, rawKey);\n }\n return key === rawKey\n ? target.has(key)\n : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\" /* ReactiveFlags.RAW */];\n !isReadonly && track(toRaw(target), \"iterate\" /* TrackOpTypes.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\" /* TriggerOpTypes.ADD */, value, value);\n }\n return this;\n}\nfunction set$1(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, key, value);\n }\n else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\" /* TriggerOpTypes.SET */, key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get ? get.call(target, key) : undefined;\n // forward the operation before queueing reactions\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\" /* TriggerOpTypes.DELETE */, key, undefined, 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')\n ? isMap(target)\n ? new Map(target)\n : new Set(target)\n : undefined;\n // forward the operation before queueing reactions\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\" /* TriggerOpTypes.CLEAR */, undefined, undefined, 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\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\" /* TrackOpTypes.ITERATE */, ITERATE_KEY);\n return target.forEach((value, key) => {\n // important: make sure the callback is\n // 1. invoked with the reactive map as `this` and 3rd arg\n // 2. the value received should be a corresponding reactive/readonly.\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\" /* ReactiveFlags.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 &&\n track(rawTarget, \"iterate\" /* TrackOpTypes.ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\n // return a wrapped iterator which returns observed versions of the\n // values emitted from the real iterator\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done\n ? { value, done }\n : {\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(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\n }\n return type === \"delete\" /* TriggerOpTypes.DELETE */ ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations = {\n get(key) {\n return get$1(this, key);\n },\n get size() {\n return size(this);\n },\n has: has$1,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations = {\n get(key) {\n return get$1(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has: has$1,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations = {\n get(key) {\n return get$1(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has$1.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\" /* TriggerOpTypes.ADD */),\n set: createReadonlyMethod(\"set\" /* TriggerOpTypes.SET */),\n delete: createReadonlyMethod(\"delete\" /* TriggerOpTypes.DELETE */),\n clear: createReadonlyMethod(\"clear\" /* TriggerOpTypes.CLEAR */),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations = {\n get(key) {\n return get$1(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has$1.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\" /* TriggerOpTypes.ADD */),\n set: createReadonlyMethod(\"set\" /* TriggerOpTypes.SET */),\n delete: createReadonlyMethod(\"delete\" /* TriggerOpTypes.DELETE */),\n clear: createReadonlyMethod(\"clear\" /* TriggerOpTypes.CLEAR */),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\n iteratorMethods.forEach(method => {\n mutableInstrumentations[method] = createIterableMethod(method, false, false);\n readonlyInstrumentations[method] = createIterableMethod(method, true, false);\n shallowInstrumentations[method] = createIterableMethod(method, false, true);\n shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\n });\n return [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n ];\n}\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow\n ? isReadonly\n ? shallowReadonlyInstrumentations\n : shallowInstrumentations\n : isReadonly\n ? readonlyInstrumentations\n : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */) {\n return !isReadonly;\n }\n else if (key === \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */) {\n return isReadonly;\n }\n else if (key === \"__v_raw\" /* ReactiveFlags.RAW */) {\n return target;\n }\n return Reflect.get(hasOwn(instrumentations, key) && key in target\n ? instrumentations\n : target, key, receiver);\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, has, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(`Reactive ${type} contains both the raw and reactive ` +\n `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\n `which can lead to inconsistencies. ` +\n `Avoid differentiating between the raw and reactive versions ` +\n `of an object and only use the reactive version if possible.`);\n }\n}\n\nconst reactiveMap = new WeakMap();\nconst shallowReactiveMap = new WeakMap();\nconst readonlyMap = new WeakMap();\nconst shallowReadonlyMap = new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case 'Object':\n case 'Array':\n return 1 /* TargetType.COMMON */;\n case 'Map':\n case 'Set':\n case 'WeakMap':\n case 'WeakSet':\n return 2 /* TargetType.COLLECTION */;\n default:\n return 0 /* TargetType.INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\" /* ReactiveFlags.SKIP */] || !Object.isExtensible(value)\n ? 0 /* TargetType.INVALID */\n : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\n}\n/**\n * Creates a readonly copy of the original object. Note the returned copy is not\n * made reactive, but `readonly` can be called on an already reactive object.\n */\nfunction readonly(target) {\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\n}\nfunction createReactiveObject(target, isReadonly, 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 // target is already a Proxy, return it.\n // exception: calling readonly() on a reactive object\n if (target[\"__v_raw\" /* ReactiveFlags.RAW */] &&\n !(isReadonly && target[\"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */])) {\n return target;\n }\n // target already has corresponding Proxy\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n // only specific value types can be observed.\n const targetType = getTargetType(target);\n if (targetType === 0 /* TargetType.INVALID */) {\n return target;\n }\n const proxy = new Proxy(target, targetType === 2 /* TargetType.COLLECTION */ ? collectionHandlers : baseHandlers);\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value[\"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\" /* ReactiveFlags.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(ref) {\n if (shouldTrack && activeEffect) {\n ref = toRaw(ref);\n if ((process.env.NODE_ENV !== 'production')) {\n trackEffects(ref.dep || (ref.dep = createDep()), {\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n trackEffects(ref.dep || (ref.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref, newVal) {\n ref = toRaw(ref);\n if (ref.dep) {\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(ref.dep, {\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value',\n newValue: newVal\n });\n }\n else {\n triggerEffects(ref.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 = undefined;\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(ref) {\n triggerRefValue(ref, (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\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 }\n else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs)\n ? objectWithRefs\n : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = undefined;\n this.__v_isRef = true;\n const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));\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] = toRef(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 === undefined ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n}\nfunction toRef(object, key, defaultValue) {\n const val = object[key];\n return isRef(val)\n ? val\n : new ObjectRefImpl(object, key, defaultValue);\n}\n\nvar _a;\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = undefined;\n this.__v_isRef = true;\n this[_a] = 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\" /* ReactiveFlags.IS_READONLY */] = isReadonly;\n }\n get value() {\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\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}\n_a = \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */;\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 ? () => {\n console.warn('Write operation failed: computed value is readonly');\n }\n : NOOP;\n }\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\nvar _a$1;\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 = undefined;\n this._dirty = true;\n this.__v_isRef = true;\n this[_a$1] = 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 }\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 // chained upstream computeds are notified synchronously to ensure\n // value invalidation in case of sync access; normal effects are\n // deferred to be triggered in scheduler.\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(true /* computedTrigger */);\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 // the computed ref may get wrapped by other proxies e.g. readonly() #3376\n return toRaw(this)._get();\n }\n}\n_a$1 = \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */;\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, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, EffectScope, markRaw, proxyRefs, 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, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, toNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, hasChanged, remove, isSet, isMap, isPlainObject, invokeArrayFns, isBuiltInDirective, capitalize, isGloballyWhitelisted, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, NO, 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 // avoid props formatting or warn handler tracking deps that might be mutated\n // during patch, leading to infinite recursion.\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(appWarnHandler, instance, 11 /* ErrorCodes.APP_WARN_HANDLER */, [\n msg + args.join(''),\n instance && instance.proxy,\n trace\n .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)\n .join('\\n'),\n trace\n ]);\n }\n else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n /* istanbul ignore if */\n if (trace.length &&\n // avoid spamming console during tests\n !false) {\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 // we can't just use the stack because it will be incomplete during updates\n // that did not start from the root. Re-construct the parent chain using\n // instance parent pointers.\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n }\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}\n/* istanbul ignore next */\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(vnode.component, vnode.type, isRoot)}`;\n const close = `>` + postfix;\n return vnode.props\n ? [open, ...formatProps(vnode.props), close]\n : [open + close];\n}\n/* istanbul ignore next */\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}\n/* istanbul ignore next */\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n }\n else if (typeof value === 'number' ||\n typeof value === 'boolean' ||\n value == null) {\n return raw ? value : [`${key}=${value}`];\n }\n else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n }\n else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n }\n else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\" /* LifecycleHooks.SERVER_PREFETCH */]: 'serverPrefetch hook',\n [\"bc\" /* LifecycleHooks.BEFORE_CREATE */]: 'beforeCreate hook',\n [\"c\" /* LifecycleHooks.CREATED */]: 'created hook',\n [\"bm\" /* LifecycleHooks.BEFORE_MOUNT */]: 'beforeMount hook',\n [\"m\" /* LifecycleHooks.MOUNTED */]: 'mounted hook',\n [\"bu\" /* LifecycleHooks.BEFORE_UPDATE */]: 'beforeUpdate hook',\n [\"u\" /* LifecycleHooks.UPDATED */]: 'updated',\n [\"bum\" /* LifecycleHooks.BEFORE_UNMOUNT */]: 'beforeUnmount hook',\n [\"um\" /* LifecycleHooks.UNMOUNTED */]: 'unmounted hook',\n [\"a\" /* LifecycleHooks.ACTIVATED */]: 'activated hook',\n [\"da\" /* LifecycleHooks.DEACTIVATED */]: 'deactivated hook',\n [\"ec\" /* LifecycleHooks.ERROR_CAPTURED */]: 'errorCaptured hook',\n [\"rtc\" /* LifecycleHooks.RENDER_TRACKED */]: 'renderTracked hook',\n [\"rtg\" /* LifecycleHooks.RENDER_TRIGGERED */]: 'renderTriggered hook',\n [0 /* ErrorCodes.SETUP_FUNCTION */]: 'setup function',\n [1 /* ErrorCodes.RENDER_FUNCTION */]: 'render function',\n [2 /* ErrorCodes.WATCH_GETTER */]: 'watcher getter',\n [3 /* ErrorCodes.WATCH_CALLBACK */]: 'watcher callback',\n [4 /* ErrorCodes.WATCH_CLEANUP */]: 'watcher cleanup function',\n [5 /* ErrorCodes.NATIVE_EVENT_HANDLER */]: 'native event handler',\n [6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */]: 'component event handler',\n [7 /* ErrorCodes.VNODE_HOOK */]: 'vnode hook',\n [8 /* ErrorCodes.DIRECTIVE_HOOK */]: 'directive hook',\n [9 /* ErrorCodes.TRANSITION_HOOK */]: 'transition hook',\n [10 /* ErrorCodes.APP_ERROR_HANDLER */]: 'app errorHandler',\n [11 /* ErrorCodes.APP_WARN_HANDLER */]: 'app warnHandler',\n [12 /* ErrorCodes.FUNCTION_REF */]: 'ref function',\n [13 /* ErrorCodes.ASYNC_COMPONENT_LOADER */]: 'async component loader',\n [14 /* ErrorCodes.SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +\n '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 }\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 // the exposed instance is the render proxy to keep it consistent with 2.x\n const exposedInstance = instance.proxy;\n // in production the hook receives only the error code\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 // app-level handling\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(appErrorHandler, null, 10 /* ErrorCodes.APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);\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 // crash in dev by default so it's more noticeable\n if (throwInDev) {\n throw err;\n }\n else {\n console.error(err);\n }\n }\n else {\n // recover in prod to reduce the impact on end-user\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}\n// #2768\n// Use binary-search to find a suitable position in the queue,\n// so that the queue maintains the increasing order of job's id,\n// which can prevent the job from being skipped and also can avoid repeated patching.\nfunction findInsertionIndex(id) {\n // the start index should be `flushIndex + 1`\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 // the dedupe search uses the startIndex argument of Array.includes()\n // by default the search index includes the current job that is being run\n // so it cannot recursively trigger itself again.\n // if the job is a watch() callback, the search will start with a +1 index to\n // allow it recursively trigger itself - it is the user's responsibility to\n // ensure it doesn't end up in an infinite loop.\n if (!queue.length ||\n !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) {\n if (job.id == null) {\n queue.push(job);\n }\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 ||\n !activePostFlushCbs.includes(cb, cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex)) {\n pendingPostFlushCbs.push(cb);\n }\n }\n else {\n // if cb is an array, it is a component lifecycle hook which can only be\n // triggered by a job, which is already deduped in the main queue, so\n // we can skip duplicate check here to improve perf\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, \n// if currently flushing, skip the current job itself\ni = isFlushing ? flushIndex + 1 : 0) {\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || 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 // #1947 already has active queue, nested flushPostFlushCbs call\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || 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') &&\n 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 || new Map();\n }\n // Sort queue before flush.\n // This ensures that:\n // 1. Components are updated from parent to child. (because parent is always\n // created before the child so its render effect will have smaller\n // priority number)\n // 2. If a component is unmounted during a parent component's update,\n // its update can be skipped.\n queue.sort(comparator);\n // conditional usage of checkRecursiveUpdate must be determined out of\n // try ... catch block since Rollup by default de-optimizes treeshaking\n // inside try-catch. This can leave all warning code unshaked. Although\n // they would get eventually shaken by a minifier like terser, some minifiers\n // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)\n const check = (process.env.NODE_ENV !== 'production')\n ? (job) => checkRecursiveUpdates(seen, job)\n : 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 // console.log(`running:`, job.id)\n callWithErrorHandling(job, null, 14 /* ErrorCodes.SCHEDULER */);\n }\n }\n }\n finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n // some postFlushCb queued jobs!\n // keep flushing until it drains.\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 }\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(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +\n `This means you have a reactive effect that is mutating its own ` +\n `dependencies and thus recursively triggering itself. Possible sources ` +\n `include component template, render function, updated hook or ` +\n `watcher source function.`);\n return true;\n }\n else {\n seen.set(fn, count + 1);\n }\n }\n}\n\n/* eslint-disable no-restricted-globals */\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = new Set();\n// Expose the HMR runtime on the global object\n// This makes it entirely tree-shakable without polluting the exports and makes\n// it easier to be used in toolings like vue-loader\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\n// to be set so that its instances can be registered / removed.\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 = 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: 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 // update initial record (for not-yet-rendered component)\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 // this flag forces child components with slot content to update\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 // update initial def (for not-yet-rendered components)\n updateComponentDef(record.initialDef, newComp);\n // create a snapshot which avoids the set being mutated during updates\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n // 1. Update existing comp definition to match new one\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n // 2. mark definition dirty. This forces the renderer to replace the\n // component on patch.\n hmrDirtyComponents.add(oldComp);\n }\n // 3. invalidate options resolution cache\n instance.appContext.optionsCache.delete(instance.type);\n // 4. actually update\n if (instance.ceReload) {\n // custom element\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n }\n else if (instance.parent) {\n // 4. Force the parent instance to re-render. This will cause all updated\n // components to be unmounted and re-mounted. Queue the update so that we\n // don't end up forcing the same parent to re-render multiple times.\n queueJob(instance.parent.update);\n }\n else if (instance.appContext.reload) {\n // root instance mounted via createApp() has a reload method\n instance.appContext.reload();\n }\n else if (typeof window !== 'undefined') {\n // root instance inside tree created via raw render(). Force reload.\n window.location.reload();\n }\n else {\n console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\n }\n }\n // 5. make sure to cleanup dirty hmr components after update\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(normalizeClassComponent(instance.type));\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 }\n catch (e) {\n console.error(e);\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\n `Full reload required.`);\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n }\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 }\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' &&\n // some envs mock window but not fully\n window.HTMLElement &&\n // also exclude jsdom\n !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {\n const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n // clear buffer after 3s - the user probably doesn't have devtools installed\n // at all, and keeping the buffer will cause memory leaks (#4738)\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3000);\n }\n else {\n // non-browser env, assume not installed\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit(\"app:init\" /* DevtoolsHooks.APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit(\"app:unmount\" /* DevtoolsHooks.APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* DevtoolsHooks.COMPONENT_ADDED */);\nconst devtoolsComponentUpdated = \n/*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* DevtoolsHooks.COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* DevtoolsHooks.COMPONENT_REMOVED */);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools &&\n typeof devtools.cleanupBuffer === 'function' &&\n // 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(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\n };\n}\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* DevtoolsHooks.PERFORMANCE_START */);\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* DevtoolsHooks.PERFORMANCE_END */);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit(\"component:emit\" /* DevtoolsHooks.COMPONENT_EMIT */, component.appContext.app, component, event, params);\n}\n\nfunction emit$1(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 { emitsOptions, propsOptions: [propsOptions] } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) &&\n !(false )) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(`Component emitted event \"${event}\" but it is neither declared in ` +\n `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(`Invalid event arguments: event validation failed for event \"${event}\".`);\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith('update:');\n // for v-model update:xxx events, apply modifiers on args\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(toNumber);\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(`Event \"${lowerCaseEvent}\" is emitted in component ` +\n `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\n `Note that HTML attributes are case-insensitive and you cannot use ` +\n `v-on to listen to camelCase events when using in-DOM templates. ` +\n `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\n }\n }\n let handlerName;\n let handler = props[(handlerName = toHandlerKey(event))] ||\n // also try camelCase event handler (#2249)\n props[(handlerName = toHandlerKey(camelize(event)))];\n // for v-model update:xxx events, also trigger kebab-case equivalent\n // for props passed via kebab-case\n if (!handler && isModelListener) {\n handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\n }\n if (handler) {\n callWithAsyncErrorHandling(handler, instance, 6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */, args);\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n }\n else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(onceHandler, instance, 6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */, args);\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== undefined) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n // apply mixin/extends props\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw, 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 }\n else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\n// Check if an incoming prop key is a declared emit event listener.\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\n// both considered matched listeners.\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)) ||\n hasOwn(options, hyphenate(key)) ||\n hasOwn(options, key));\n}\n\n/**\n * mark the current rendering instance for asset resolution (e.g.\n * resolveComponent, resolveDirective) during render\n */\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\n/**\n * Note: rendering calls maybe nested. The function returns the parent rendering\n * instance if present, which should be restored after the render is done:\n *\n * ```js\n * const prev = setCurrentRenderingInstance(i)\n * // ...render\n * setCurrentRenderingInstance(prev)\n * ```\n */\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = (instance && instance.type.__scopeId) || null;\n return prev;\n}\n/**\n * Set scope id when creating hoisted vnodes.\n * @private compiler helper\n */\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\n/**\n * Technically we no longer need this after 3.0.8 but we need to keep the same\n * API for backwards compat w/ code generated by compilers.\n * @private\n */\nfunction popScopeId() {\n currentScopeId = null;\n}\n/**\n * Only for backwards compat\n * @private\n */\nconst withScopeId = (_id) => withCtx;\n/**\n * Wrap a slot function to memoize current rendering instance\n * @private compiler helper\n */\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\n) {\n if (!ctx)\n return fn;\n // already normalized\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n // If a user calls a compiled slot inside a template expression (#1745), it\n // can mess up block tracking, so by default we disable block tracking and\n // force bail out when invoking a compiled slot (indicated by the ._d flag).\n // This isn't necessary if rendering a compiled ``, so we flip the\n // ._d flag off when invoking the wrapped fn inside `renderSlot`.\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n }\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 // mark normalized to avoid duplicated wrapping\n renderFnWithContext._n = true;\n // mark this as compiled by default\n // this is used in vnode.ts -> normalizeChildren() to set the slot\n // rendering flag.\n renderFnWithContext._c = true;\n // disable block tracking by default\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\n/**\n * dev only flag to track whether $attrs was used during render.\n * If $attrs was used during render then the warning for failed attrs\n * fallthrough can be suppressed.\n */\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = 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 /* ShapeFlags.STATEFUL_COMPONENT */) {\n // withProxy is a proxy with a different `has` trap only for\n // runtime-compiled render functions using `with` block.\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\n fallthroughAttrs = attrs;\n }\n else {\n // functional\n const render = Component;\n // in dev, mark attrs accessed if optional props (attrs === props)\n if ((process.env.NODE_ENV !== 'production') && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(render.length > 1\n ? render(props, (process.env.NODE_ENV !== 'production')\n ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n }\n : { attrs, slots, emit })\n : render(props, null /* we know it doesn't need it */));\n fallthroughAttrs = Component.props\n ? attrs\n : getFunctionalFallthrough(attrs);\n }\n }\n catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1 /* ErrorCodes.RENDER_FUNCTION */);\n result = createVNode(Comment);\n }\n // attr merging\n // in dev mode, comments are preserved, and it's possible for a template\n // to have comments along side the root element which makes it a fragment\n let root = result;\n let setRoot = undefined;\n if ((process.env.NODE_ENV !== 'production') &&\n result.patchFlag > 0 &&\n result.patchFlag & 2048 /* PatchFlags.DEV_ROOT_FRAGMENT */) {\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 /* ShapeFlags.ELEMENT */ | 6 /* ShapeFlags.COMPONENT */)) {\n if (propsOptions && keys.some(isModelListener)) {\n // If a v-model listener (onUpdate:xxx) has a corresponding declared\n // prop, it indicates this component expects to handle v-model and\n // it should not fallthrough.\n // related: #1543, #1643, #1989\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\n }\n root = cloneVNode(root, fallthroughAttrs);\n }\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 // ignore v-model handlers when they fail to fallthrough\n if (!isModelListener(key)) {\n // remove `on`, lowercase first letter to reflect event casing\n // accurately\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n }\n else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(`Extraneous non-props attributes (` +\n `${extraAttrs.join(', ')}) ` +\n `were passed to component but could not be automatically inherited ` +\n `because component renders fragment or text root nodes.`);\n }\n if (eventAttrs.length) {\n warn(`Extraneous non-emits event listeners (` +\n `${eventAttrs.join(', ')}) ` +\n `were passed to component but could not be automatically inherited ` +\n `because component renders fragment or text root nodes. ` +\n `If the listener is intended to be a component custom event listener only, ` +\n `declare it using the \"emits\" option.`);\n }\n }\n }\n }\n // inherit directives\n if (vnode.dirs) {\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\n warn(`Runtime directive used on component with non-element root node. ` +\n `The directives will not function as intended.`);\n }\n // clone before mutating since the root may be a hoisted vnode\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n // inherit transition data\n if (vnode.transition) {\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\n warn(`Component inside renders non-element root node ` +\n `that cannot be animated.`);\n }\n root.transition = vnode.transition;\n }\n if ((process.env.NODE_ENV !== 'production') && setRoot) {\n setRoot(root);\n }\n else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\n/**\n * dev only\n * In dev mode, template root level comments are rendered, which turns the\n * template into a fragment root, but we need to locate the single element\n * root for attrs and scope id processing.\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, undefined];\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 }\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 // ignore user comment\n if (child.type !== Comment || child.children === 'v-if') {\n if (singleRoot) {\n // has more than 1 non-comment child, return now\n return;\n }\n else {\n singleRoot = child;\n }\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 /* ShapeFlags.COMPONENT */ | 1 /* ShapeFlags.ELEMENT */) ||\n vnode.type === Comment // potential v-if branch switch\n );\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 // Parent component's render function was hot-updated. Since this may have\n // caused the child component's slots content to have changed, we need to\n // force the child to update as well.\n if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n // force child update for runtime directive or transition on component vnode.\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024 /* PatchFlags.DYNAMIC_SLOTS */) {\n // slot content that references values that might have changed,\n // e.g. in a v-for\n return true;\n }\n if (patchFlag & 16 /* PatchFlags.FULL_PROPS */) {\n if (!prevProps) {\n return !!nextProps;\n }\n // presence of this flag indicates props are always non-null\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n else if (patchFlag & 8 /* PatchFlags.PROPS */) {\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] &&\n !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n }\n else {\n // this path is only taken by manually written render functions\n // so presence of any children leads to a forced update\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] &&\n !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\n) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\n// Suspense exposes a component-like API, and is treated like a component\n// in the compiler, but internally it's a special built-in type that hooks\n// directly into the renderer.\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, \n // platform-specific impl passed from renderer\n rendererInternals) {\n if (n1 == null) {\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n else {\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\n// Force-casted public typing for h and TSX props inference\nconst Suspense = (SuspenseImpl\n );\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 { p: patch, o: { createElement } } = rendererInternals;\n const hiddenContainer = createElement('div');\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\n // start mounting the content subtree in an off-dom container\n patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\n // now check if we have encountered any async deps\n if (suspense.deps > 0) {\n // has async\n // invoke @fallback event\n triggerEvent(vnode, 'onPending');\n triggerEvent(vnode, 'onFallback');\n // mount the fallback tree\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds);\n setActiveBranch(suspense, vnode.ssFallback);\n }\n else {\n // Suspense has no async deps. Just resolve.\n suspense.resolve();\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 // same root type but content may have changed.\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n else if (isInFallback) {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n }\n else {\n // toggled before pending tree is resolved\n suspense.pendingId++;\n if (isHydrating) {\n // if toggled before hydration is finished, the current DOM tree is\n // no longer valid. set it as the active branch so it will be unmounted\n // when resolved\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n }\n else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n // increment pending ID. this is used to invalidate async callbacks\n // reset suspense state\n suspense.deps = 0;\n // discard effects from pending branch\n suspense.effects.length = 0;\n // discard previous container\n suspense.hiddenContainer = createElement('div');\n if (isInFallback) {\n // already in fallback state\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n else {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n }\n else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n // toggled \"back\" to current active branch\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n // force resolve\n suspense.resolve(true);\n }\n else {\n // switched to a 3rd branch\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n }\n else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n // root did not change, just normal patch\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newBranch);\n }\n else {\n // root node toggled\n // invoke @pending event\n triggerEvent(n2, 'onPending');\n // mount pending branch in off-dom container\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n // incoming branch has no async deps, resolve now.\n suspense.resolve();\n }\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 }\n else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n /* istanbul ignore if */\n if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\n hasWarned = true;\n // @ts-ignore `console.info` cannot be null error\n console[console.info ? 'info' : 'log'](` is an experimental feature and its API will likely change.`);\n }\n const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\n const timeout = toNumber(vnode.props && vnode.props.timeout);\n const suspense = {\n vnode,\n parent,\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) {\n if ((process.env.NODE_ENV !== 'production')) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(`suspense.resolve() is called without a pending branch.`);\n }\n if (suspense.isUnmounted) {\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\n }\n }\n const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n }\n else if (!resume) {\n const delayEnter = activeBranch &&\n pendingBranch.transition &&\n pendingBranch.transition.mode === 'out-in';\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container, anchor, 0 /* MoveType.ENTER */);\n }\n };\n }\n // this is initial anchor on mount\n let { anchor } = suspense;\n // unmount current active tree\n if (activeBranch) {\n // if the fallback tree was mounted, it may have been moved\n // as part of a parent suspense. get the latest anchor for insertion\n anchor = next(activeBranch);\n unmount(activeBranch, parentComponent, suspense, true);\n }\n if (!delayEnter) {\n // move content from off-dom container to actual container\n move(pendingBranch, container, anchor, 0 /* MoveType.ENTER */);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n // flush buffered effects\n // check if there is a pending parent suspense\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n // found a pending parent suspense, merge buffered post jobs\n // into that parent\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n // no pending parent suspense, flush all jobs\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n // invoke @resolve event\n triggerEvent(vnode, 'onResolve');\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\n // invoke @fallback event\n triggerEvent(vnode, 'onFallback');\n const anchor = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n // mount the fallback tree\n patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\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 current active branch\n unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\n true // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container, anchor, type) {\n suspense.activeBranch &&\n move(suspense.activeBranch, container, anchor, type);\n suspense.container = container;\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\n .asyncDep.catch(err => {\n handleError(err, instance, 0 /* ErrorCodes.SETUP_FUNCTION */);\n })\n .then(asyncSetupResult => {\n // retry when the setup() promise resolves.\n // component may have been unmounted before resolve.\n if (instance.isUnmounted ||\n suspense.isUnmounted ||\n suspense.pendingId !== instance.suspenseId) {\n return;\n }\n // retry from this component\n instance.asyncResolved = true;\n const { vnode } = instance;\n if ((process.env.NODE_ENV !== 'production')) {\n pushWarningContext(vnode);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n // vnode may have been replaced if an update happened before the\n // async dep is resolved.\n vnode.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(instance, vnode, \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), suspense, isSVG, optimized);\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode.el);\n if ((process.env.NODE_ENV !== 'production')) {\n popWarningContext();\n }\n // only decrease deps count if suspense is not already resolved\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\n }\n if (suspense.pendingBranch) {\n unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n /* eslint-disable no-restricted-globals */\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\n // there are two possible scenarios for server-rendered suspense:\n // - success: ssr content should be fully resolved\n // - failure: ssr content should be the fallback branch.\n // however, on the client we don't really know if it has failed or not\n // attempt to hydrate the DOM assuming it has succeeded, but we still\n // need to construct a suspense boundary first\n const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\n if (suspense.deps === 0) {\n suspense.resolve();\n }\n return result;\n /* eslint-enable no-restricted-globals */\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32 /* ShapeFlags.SLOTS_CHILDREN */;\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\n vnode.ssFallback = isSlotChildren\n ? normalizeSuspenseSlot(children.fallback)\n : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n // disableTracking: false\n // allow block tracking for compiled slots\n // (see ./componentRenderContext.ts)\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 }\n else {\n suspense.effects.push(fn);\n }\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 // in case suspense is the root node of a component,\n // recursively update the HOC el\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`provide() can only be used inside setup().`);\n }\n }\n else {\n let provides = currentInstance.provides;\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n // TS doesn't allow symbol as index type\n provides[key] = value;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n const instance = currentInstance || currentRenderingInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n const provides = instance.parent == null\n ? instance.vnode.appContext && instance.vnode.appContext.provides\n : instance.parent.provides;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance.proxy)\n : defaultValue;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`injection \"${String(key)}\" not found.`);\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`inject() can only be used inside setup() or functional components.`);\n }\n}\n\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\n ? Object.assign(Object.assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\n ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nconst INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if ((process.env.NODE_ENV !== 'production') && !isFunction(cb)) {\n warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. ` +\n `Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only ` +\n `supports \\`watch(source, cb, options?) signature.`);\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n if ((process.env.NODE_ENV !== 'production') && !cb) {\n if (immediate !== undefined) {\n warn(`watch() \"immediate\" option is only respected when using the ` +\n `watch(source, callback, options?) signature.`);\n }\n if (deep !== undefined) {\n warn(`watch() \"deep\" option is only respected when using the ` +\n `watch(source, callback, options?) signature.`);\n }\n }\n const warnInvalidSource = (s) => {\n warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +\n `a reactive object, or an array of these types.`);\n };\n const instance = currentInstance;\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 }\n else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n }\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 }\n else if (isReactive(s)) {\n return traverse(s);\n }\n else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2 /* ErrorCodes.WATCH_GETTER */);\n }\n else {\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(s);\n }\n });\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = () => callWithErrorHandling(source, instance, 2 /* ErrorCodes.WATCH_GETTER */);\n }\n else {\n // no cb -> simple effect\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(source, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [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 /* ErrorCodes.WATCH_CLEANUP */);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager or sync flush\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = NOOP;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n if (flush === 'sync') {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n }\n else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource\n ? new Array(source.length).fill(INITIAL_WATCHER_VALUE)\n : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n const newValue = effect.run();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some((v, i) => hasChanged(v, oldValue[i]))\n : hasChanged(newValue, oldValue)) ||\n (false )) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE\n ? undefined\n : (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)\n ? []\n : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n effect.run();\n }\n };\n // important: mark the job as a watcher callback so that scheduler knows\n // it is allowed to self-trigger (#1727)\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === 'sync') {\n scheduler = job; // the scheduler function gets called directly\n }\n else if (flush === 'post') {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n }\n else {\n // default: 'pre'\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 // initial run\n if (cb) {\n if (immediate) {\n job();\n }\n else {\n oldValue = effect.run();\n }\n }\n else if (flush === 'post') {\n queuePostRenderEffect(effect.run.bind(effect), 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}\n// this.$watch\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source)\n ? source.includes('.')\n ? createPathGetter(publicThis, source)\n : () => publicThis[source]\n : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n }\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 }\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\" /* ReactiveFlags.SKIP */]) {\n return value;\n }\n seen = seen || 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 }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n }\n else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\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 useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: 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 BaseTransitionImpl = {\n name: `BaseTransition`,\n props: {\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 },\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 // locate first non-comment child\n for (const c of children) {\n if (c.type !== Comment) {\n if ((process.env.NODE_ENV !== 'production') && hasFound) {\n // warn more than one non-comment child\n warn(' can only be used on a single element or component. ' +\n 'Use for lists.');\n break;\n }\n child = c;\n hasFound = true;\n if (!(process.env.NODE_ENV !== 'production'))\n break;\n }\n }\n }\n // there's no need to track reactivity for these props so use the raw\n // props for a bit better perf\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n // check mode\n if ((process.env.NODE_ENV !== 'production') &&\n mode &&\n mode !== 'in-out' &&\n mode !== 'out-in' &&\n mode !== 'default') {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n // in the case of , we need to\n // compare the type of the kept-alive children.\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\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 === undefined) {\n prevTransitionKey = key;\n }\n else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n // handle mode\n if (oldInnerChild &&\n oldInnerChild.type !== Comment &&\n (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\n // update old tree's hooks in case of dynamic transition\n setTransitionHooks(oldInnerChild, leavingHooks);\n // switching between different views\n if (mode === 'out-in') {\n state.isLeaving = true;\n // return placeholder node and queue update when leave finishes\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n // #6835\n // it also needs to be updated when active is undefined\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n }\n else if (mode === 'in-out' && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n // early removal callback\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = undefined;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\n// export the public type for h/tsx inference\n// also to avoid inline import() in generated d.ts files\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\n// The transition hooks are attached to the vnode as vnode.transition\n// and will be called at appropriate timing in the renderer.\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook &&\n callWithAsyncErrorHandling(hook, instance, 9 /* ErrorCodes.TRANSITION_HOOK */, args);\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every(hook => hook.length <= 1))\n done();\n }\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 }\n else {\n return;\n }\n }\n // for same element (v-show)\n if (el._leaveCb) {\n el._leaveCb(true /* cancelled */);\n }\n // for toggled element with same key (v-if)\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode &&\n isSameVNodeType(vnode, leavingVNode) &&\n leavingVNode.el._leaveCb) {\n // force early removal (not cancelled)\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 }\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 }\n else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = undefined;\n });\n if (hook) {\n callAsyncHook(hook, [el, done]);\n }\n else {\n done();\n }\n },\n leave(el, remove) {\n const key = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(true /* cancelled */);\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 }\n else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = undefined;\n if (leavingVNodesCache[key] === vnode) {\n delete leavingVNodesCache[key];\n }\n });\n leavingVNodesCache[key] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n }\n else {\n done();\n }\n },\n clone(vnode) {\n return resolveTransitionHooks(vnode, props, state, instance);\n }\n };\n return hooks;\n}\n// the placeholder really only handles one special case: KeepAlive\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\n// placeholder with empty content to avoid the KeepAlive instance from being\n// unmounted.\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 ? vnode.children\n ? vnode.children[0]\n : undefined\n : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 /* ShapeFlags.COMPONENT */ && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n }\n else if (vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n }\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 // #5360 inherit parent key in case of