From 231fdb21898f267899358145e0e87fd8bb47bb18 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Sat, 7 Mar 2020 17:45:59 +0800 Subject: [PATCH] - Update: Underscore copy; build files per Rollup/Babel updates - npm: Update devDeps (babel, cypress, linting, mocha, rollup related) --- dist/canvg.js | 224 +++------ dist/extensions/ext-arrows.js | 8 +- dist/extensions/ext-closepath.js | 4 +- dist/extensions/ext-connector.js | 4 +- dist/extensions/ext-eyedropper.js | 4 +- dist/extensions/ext-foreignobject.js | 10 +- dist/extensions/ext-grid.js | 4 +- dist/extensions/ext-helloworld.js | 4 +- dist/extensions/ext-imagelib.js | 8 +- dist/extensions/ext-markers.js | 12 +- dist/extensions/ext-mathjax.js | 8 +- dist/extensions/ext-panning.js | 4 +- dist/extensions/ext-placemark.js | 4 +- dist/extensions/ext-polygon.js | 4 +- dist/extensions/ext-server_moinsave.js | 232 +++------ dist/extensions/ext-server_opensave.js | 248 +++------ dist/extensions/ext-shapes.js | 4 +- dist/extensions/ext-star.js | 4 +- dist/extensions/ext-storage.js | 4 +- dist/extensions/ext-webappfind.js | 4 +- dist/extensions/imagelib/openclipart.js | 38 +- dist/index-es.js | 352 ++++--------- dist/index-es.min.js.map | 2 +- dist/index-umd.js | 352 ++++--------- dist/index-umd.min.js.map | 2 +- dist/jspdf.plugin.svgToPdf.js | 4 +- dist/redirect-on-lacking-support.js | 92 +--- dist/svgcanvas-iife.js | 180 ++----- dist/svgcanvas-iife.min.js.map | 2 +- editor/jspdf/underscore-min.js | 6 +- editor/xdomain-svgedit-config-iife.js | 352 ++++--------- package-lock.json | 636 ++++++++++++++++++------ package.json | 30 +- svgedit-config-iife.js | 352 ++++--------- 34 files changed, 1129 insertions(+), 2069 deletions(-) diff --git a/dist/canvg.js b/dist/canvg.js index bc98c66f..d68ac120 100644 --- a/dist/canvg.js +++ b/dist/canvg.js @@ -441,9 +441,7 @@ var canvg = (function (exports) { * A class to parse color values. */ - var RGBColor = - /*#__PURE__*/ - function () { + var RGBColor = /*#__PURE__*/function () { /** * @param {string} colorString */ @@ -1122,9 +1120,7 @@ var canvg = (function (exports) { mathematical: 'alphabetic' }; - svg.Property = - /*#__PURE__*/ - function () { + svg.Property = /*#__PURE__*/function () { function Property(name, value) { _classCallCheck(this, Property); @@ -1379,9 +1375,7 @@ var canvg = (function (exports) { }); }; - svg.Point = - /*#__PURE__*/ - function () { + svg.Point = /*#__PURE__*/function () { function _class(x, y) { _classCallCheck(this, _class); @@ -1424,9 +1418,7 @@ var canvg = (function (exports) { }; // bounding box - svg.BoundingBox = - /*#__PURE__*/ - function () { + svg.BoundingBox = /*#__PURE__*/function () { function _class2(x1, y1, x2, y2) { _classCallCheck(this, _class2); @@ -1579,9 +1571,7 @@ var canvg = (function (exports) { }(); // transforms - svg.Transform = - /*#__PURE__*/ - function () { + svg.Transform = /*#__PURE__*/function () { function _class3(v) { var _this6 = this; @@ -1665,9 +1655,7 @@ var canvg = (function (exports) { } }; Object.assign(this.Type, { - SkewBase: - /*#__PURE__*/ - function (_this$Type$matrix) { + SkewBase: /*#__PURE__*/function (_this$Type$matrix) { _inherits(SkewBase, _this$Type$matrix); function SkewBase(s) { @@ -1684,9 +1672,7 @@ var canvg = (function (exports) { }(this.Type.matrix) }); Object.assign(this.Type, { - skewX: - /*#__PURE__*/ - function (_this$Type$SkewBase) { + skewX: /*#__PURE__*/function (_this$Type$SkewBase) { _inherits(skewX, _this$Type$SkewBase); function skewX(s) { @@ -1701,9 +1687,7 @@ var canvg = (function (exports) { return skewX; }(this.Type.SkewBase), - skewY: - /*#__PURE__*/ - function (_this$Type$SkewBase2) { + skewY: /*#__PURE__*/function (_this$Type$SkewBase2) { _inherits(skewY, _this$Type$SkewBase2); function skewY(s) { @@ -1802,9 +1786,7 @@ var canvg = (function (exports) { svg.Element = {}; svg.EmptyProperty = new svg.Property('EMPTY', ''); - svg.Element.ElementBase = - /*#__PURE__*/ - function () { + svg.Element.ElementBase = /*#__PURE__*/function () { function _class4(node) { var _this7 = this; @@ -2044,9 +2026,7 @@ var canvg = (function (exports) { return _class4; }(); - svg.Element.RenderedElementBase = - /*#__PURE__*/ - function (_svg$Element$ElementB) { + svg.Element.RenderedElementBase = /*#__PURE__*/function (_svg$Element$ElementB) { _inherits(_class5, _svg$Element$ElementB); function _class5() { @@ -2151,9 +2131,7 @@ var canvg = (function (exports) { return _class5; }(svg.Element.ElementBase); - svg.Element.PathElementBase = - /*#__PURE__*/ - function (_svg$Element$Rendered) { + svg.Element.PathElementBase = /*#__PURE__*/function (_svg$Element$Rendered) { _inherits(_class6, _svg$Element$Rendered); function _class6() { @@ -2222,9 +2200,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // svg element - svg.Element.svg = - /*#__PURE__*/ - function (_svg$Element$Rendered2) { + svg.Element.svg = /*#__PURE__*/function (_svg$Element$Rendered2) { _inherits(_class7, _svg$Element$Rendered2); function _class7() { @@ -2305,9 +2281,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // rect element - svg.Element.rect = - /*#__PURE__*/ - function (_svg$Element$PathElem) { + svg.Element.rect = /*#__PURE__*/function (_svg$Element$PathElem) { _inherits(_class8, _svg$Element$PathElem); function _class8() { @@ -2352,9 +2326,7 @@ var canvg = (function (exports) { }(svg.Element.PathElementBase); // circle element - svg.Element.circle = - /*#__PURE__*/ - function (_svg$Element$PathElem2) { + svg.Element.circle = /*#__PURE__*/function (_svg$Element$PathElem2) { _inherits(_class9, _svg$Element$PathElem2); function _class9() { @@ -2386,9 +2358,7 @@ var canvg = (function (exports) { var KAPPA = 4 * ((Math.sqrt(2) - 1) / 3); - svg.Element.ellipse = - /*#__PURE__*/ - function (_svg$Element$PathElem3) { + svg.Element.ellipse = /*#__PURE__*/function (_svg$Element$PathElem3) { _inherits(_class10, _svg$Element$PathElem3); function _class10() { @@ -2423,9 +2393,7 @@ var canvg = (function (exports) { }(svg.Element.PathElementBase); // line element - svg.Element.line = - /*#__PURE__*/ - function (_svg$Element$PathElem4) { + svg.Element.line = /*#__PURE__*/function (_svg$Element$PathElem4) { _inherits(_class11, _svg$Element$PathElem4); function _class11() { @@ -2465,9 +2433,7 @@ var canvg = (function (exports) { }(svg.Element.PathElementBase); // polyline element - svg.Element.polyline = - /*#__PURE__*/ - function (_svg$Element$PathElem5) { + svg.Element.polyline = /*#__PURE__*/function (_svg$Element$PathElem5) { _inherits(_class12, _svg$Element$PathElem5); function _class12(node) { @@ -2521,9 +2487,7 @@ var canvg = (function (exports) { }(svg.Element.PathElementBase); // polygon element - svg.Element.polygon = - /*#__PURE__*/ - function (_svg$Element$polyline) { + svg.Element.polygon = /*#__PURE__*/function (_svg$Element$polyline) { _inherits(_class13, _svg$Element$polyline); function _class13() { @@ -2550,9 +2514,7 @@ var canvg = (function (exports) { }(svg.Element.polyline); // path element - svg.Element.path = - /*#__PURE__*/ - function (_svg$Element$PathElem6) { + svg.Element.path = /*#__PURE__*/function (_svg$Element$PathElem6) { _inherits(_class14, _svg$Element$PathElem6); function _class14(node) { @@ -2929,9 +2891,7 @@ var canvg = (function (exports) { }(svg.Element.PathElementBase); // pattern element - svg.Element.pattern = - /*#__PURE__*/ - function (_svg$Element$ElementB2) { + svg.Element.pattern = /*#__PURE__*/function (_svg$Element$ElementB2) { _inherits(_class15, _svg$Element$ElementB2); function _class15() { @@ -2980,9 +2940,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // marker element - svg.Element.marker = - /*#__PURE__*/ - function (_svg$Element$ElementB3) { + svg.Element.marker = /*#__PURE__*/function (_svg$Element$ElementB3) { _inherits(_class16, _svg$Element$ElementB3); function _class16() { @@ -3020,9 +2978,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // definitions element - svg.Element.defs = - /*#__PURE__*/ - function (_svg$Element$ElementB4) { + svg.Element.defs = /*#__PURE__*/function (_svg$Element$ElementB4) { _inherits(_class17, _svg$Element$ElementB4); function _class17() { @@ -3041,9 +2997,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // base for gradients - svg.Element.GradientBase = - /*#__PURE__*/ - function (_svg$Element$ElementB5) { + svg.Element.GradientBase = /*#__PURE__*/function (_svg$Element$ElementB5) { _inherits(_class18, _svg$Element$ElementB5); function _class18(node) { @@ -3124,9 +3078,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // linear gradient element - svg.Element.linearGradient = - /*#__PURE__*/ - function (_svg$Element$Gradient) { + svg.Element.linearGradient = /*#__PURE__*/function (_svg$Element$Gradient) { _inherits(_class19, _svg$Element$Gradient); function _class19() { @@ -3161,9 +3113,7 @@ var canvg = (function (exports) { }(svg.Element.GradientBase); // radial gradient element - svg.Element.radialGradient = - /*#__PURE__*/ - function (_svg$Element$Gradient2) { + svg.Element.radialGradient = /*#__PURE__*/function (_svg$Element$Gradient2) { _inherits(_class20, _svg$Element$Gradient2); function _class20() { @@ -3202,9 +3152,7 @@ var canvg = (function (exports) { }(svg.Element.GradientBase); // gradient stop element - svg.Element.stop = - /*#__PURE__*/ - function (_svg$Element$ElementB6) { + svg.Element.stop = /*#__PURE__*/function (_svg$Element$ElementB6) { _inherits(_class21, _svg$Element$ElementB6); function _class21(node) { @@ -3231,9 +3179,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // animation base element - svg.Element.AnimateBase = - /*#__PURE__*/ - function (_svg$Element$ElementB7) { + svg.Element.AnimateBase = /*#__PURE__*/function (_svg$Element$ElementB7) { _inherits(_class22, _svg$Element$ElementB7); function _class22(node) { @@ -3348,9 +3294,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // animate element - svg.Element.animate = - /*#__PURE__*/ - function (_svg$Element$AnimateB) { + svg.Element.animate = /*#__PURE__*/function (_svg$Element$AnimateB) { _inherits(_class23, _svg$Element$AnimateB); function _class23() { @@ -3373,9 +3317,7 @@ var canvg = (function (exports) { }(svg.Element.AnimateBase); // animate color element - svg.Element.animateColor = - /*#__PURE__*/ - function (_svg$Element$AnimateB2) { + svg.Element.animateColor = /*#__PURE__*/function (_svg$Element$AnimateB2) { _inherits(_class24, _svg$Element$AnimateB2); function _class24() { @@ -3407,9 +3349,7 @@ var canvg = (function (exports) { }(svg.Element.AnimateBase); // animate transform element - svg.Element.animateTransform = - /*#__PURE__*/ - function (_svg$Element$animate) { + svg.Element.animateTransform = /*#__PURE__*/function (_svg$Element$animate) { _inherits(_class25, _svg$Element$animate); function _class25() { @@ -3437,9 +3377,7 @@ var canvg = (function (exports) { }(svg.Element.animate); // font element - svg.Element.font = - /*#__PURE__*/ - function (_svg$Element$ElementB8) { + svg.Element.font = /*#__PURE__*/function (_svg$Element$ElementB8) { _inherits(_class26, _svg$Element$ElementB8); function _class26(node) { @@ -3487,9 +3425,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // font-face element - svg.Element.fontface = - /*#__PURE__*/ - function (_svg$Element$ElementB9) { + svg.Element.fontface = /*#__PURE__*/function (_svg$Element$ElementB9) { _inherits(_class27, _svg$Element$ElementB9); function _class27(node) { @@ -3508,9 +3444,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // missing-glyph element - svg.Element.missingglyph = - /*#__PURE__*/ - function (_svg$Element$path) { + svg.Element.missingglyph = /*#__PURE__*/function (_svg$Element$path) { _inherits(_class28, _svg$Element$path); function _class28(node) { @@ -3527,9 +3461,7 @@ var canvg = (function (exports) { }(svg.Element.path); // glyph element - svg.Element.glyph = - /*#__PURE__*/ - function (_svg$Element$path2) { + svg.Element.glyph = /*#__PURE__*/function (_svg$Element$path2) { _inherits(_class29, _svg$Element$path2); function _class29(node) { @@ -3548,9 +3480,7 @@ var canvg = (function (exports) { }(svg.Element.path); // text element - svg.Element.text = - /*#__PURE__*/ - function (_svg$Element$Rendered3) { + svg.Element.text = /*#__PURE__*/function (_svg$Element$Rendered3) { _inherits(_class30, _svg$Element$Rendered3); function _class30(node) { @@ -3646,9 +3576,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // text base - svg.Element.TextElementBase = - /*#__PURE__*/ - function (_svg$Element$Rendered4) { + svg.Element.TextElementBase = /*#__PURE__*/function (_svg$Element$Rendered4) { _inherits(_class31, _svg$Element$Rendered4); function _class31() { @@ -3772,9 +3700,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // tspan - svg.Element.tspan = - /*#__PURE__*/ - function (_svg$Element$TextElem) { + svg.Element.tspan = /*#__PURE__*/function (_svg$Element$TextElem) { _inherits(_class32, _svg$Element$TextElem); function _class32(node) { @@ -3798,9 +3724,7 @@ var canvg = (function (exports) { }(svg.Element.TextElementBase); // tref - svg.Element.tref = - /*#__PURE__*/ - function (_svg$Element$TextElem2) { + svg.Element.tref = /*#__PURE__*/function (_svg$Element$TextElem2) { _inherits(_class33, _svg$Element$TextElem2); function _class33() { @@ -3822,9 +3746,7 @@ var canvg = (function (exports) { }(svg.Element.TextElementBase); // a element - svg.Element.a = - /*#__PURE__*/ - function (_svg$Element$TextElem3) { + svg.Element.a = /*#__PURE__*/function (_svg$Element$TextElem3) { _inherits(_class34, _svg$Element$TextElem3); function _class34(node) { @@ -3884,9 +3806,7 @@ var canvg = (function (exports) { }(svg.Element.TextElementBase); // image element - svg.Element.image = - /*#__PURE__*/ - function (_svg$Element$Rendered5) { + svg.Element.image = /*#__PURE__*/function (_svg$Element$Rendered5) { _inherits(_class35, _svg$Element$Rendered5); function _class35(node) { @@ -3973,9 +3893,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // group element - svg.Element.g = - /*#__PURE__*/ - function (_svg$Element$Rendered6) { + svg.Element.g = /*#__PURE__*/function (_svg$Element$Rendered6) { _inherits(_class36, _svg$Element$Rendered6); function _class36() { @@ -3999,9 +3917,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // symbol element - svg.Element.symbol = - /*#__PURE__*/ - function (_svg$Element$Rendered7) { + svg.Element.symbol = /*#__PURE__*/function (_svg$Element$Rendered7) { _inherits(_class37, _svg$Element$Rendered7); function _class37() { @@ -4020,9 +3936,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // style element - svg.Element.style = - /*#__PURE__*/ - function (_svg$Element$ElementB10) { + svg.Element.style = /*#__PURE__*/function (_svg$Element$ElementB10) { _inherits(_class38, _svg$Element$ElementB10); function _class38(node) { @@ -4100,9 +4014,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // use element - svg.Element.use = - /*#__PURE__*/ - function (_svg$Element$Rendered8) { + svg.Element.use = /*#__PURE__*/function (_svg$Element$Rendered8) { _inherits(_class39, _svg$Element$Rendered8); function _class39(node) { @@ -4172,9 +4084,7 @@ var canvg = (function (exports) { }(svg.Element.RenderedElementBase); // mask element - svg.Element.mask = - /*#__PURE__*/ - function (_svg$Element$ElementB11) { + svg.Element.mask = /*#__PURE__*/function (_svg$Element$ElementB11) { _inherits(_class40, _svg$Element$ElementB11); function _class40() { @@ -4234,9 +4144,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // clip element - svg.Element.clipPath = - /*#__PURE__*/ - function (_svg$Element$ElementB12) { + svg.Element.clipPath = /*#__PURE__*/function (_svg$Element$ElementB12) { _inherits(_class41, _svg$Element$ElementB12); function _class41() { @@ -4276,9 +4184,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // filters - svg.Element.filter = - /*#__PURE__*/ - function (_svg$Element$ElementB13) { + svg.Element.filter = /*#__PURE__*/function (_svg$Element$ElementB13) { _inherits(_class42, _svg$Element$ElementB13); function _class42() { @@ -4330,9 +4236,7 @@ var canvg = (function (exports) { return _class42; }(svg.Element.ElementBase); - svg.Element.feMorphology = - /*#__PURE__*/ - function (_svg$Element$ElementB14) { + svg.Element.feMorphology = /*#__PURE__*/function (_svg$Element$ElementB14) { _inherits(_class43, _svg$Element$ElementB14); function _class43() { @@ -4350,9 +4254,7 @@ var canvg = (function (exports) { return _class43; }(svg.Element.ElementBase); - svg.Element.feComposite = - /*#__PURE__*/ - function (_svg$Element$ElementB15) { + svg.Element.feComposite = /*#__PURE__*/function (_svg$Element$ElementB15) { _inherits(_class44, _svg$Element$ElementB15); function _class44() { @@ -4399,9 +4301,7 @@ var canvg = (function (exports) { img[y * width * 4 + x * 4 + rgba] = val; } - svg.Element.feColorMatrix = - /*#__PURE__*/ - function (_svg$Element$ElementB16) { + svg.Element.feColorMatrix = /*#__PURE__*/function (_svg$Element$ElementB16) { _inherits(_class45, _svg$Element$ElementB16); function _class45(node) { @@ -4476,9 +4376,7 @@ var canvg = (function (exports) { return _class45; }(svg.Element.ElementBase); - svg.Element.feGaussianBlur = - /*#__PURE__*/ - function (_svg$Element$ElementB17) { + svg.Element.feGaussianBlur = /*#__PURE__*/function (_svg$Element$ElementB17) { _inherits(_class46, _svg$Element$ElementB17); function _class46(node) { @@ -4509,9 +4407,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // title element, do nothing - svg.Element.title = - /*#__PURE__*/ - function (_svg$Element$ElementB18) { + svg.Element.title = /*#__PURE__*/function (_svg$Element$ElementB18) { _inherits(_class47, _svg$Element$ElementB18); function _class47(node) { @@ -4524,9 +4420,7 @@ var canvg = (function (exports) { }(svg.Element.ElementBase); // desc element, do nothing - svg.Element.desc = - /*#__PURE__*/ - function (_svg$Element$ElementB19) { + svg.Element.desc = /*#__PURE__*/function (_svg$Element$ElementB19) { _inherits(_class48, _svg$Element$ElementB19); function _class48(node) { @@ -4538,9 +4432,7 @@ var canvg = (function (exports) { return _class48; }(svg.Element.ElementBase); - svg.Element.MISSING = - /*#__PURE__*/ - function (_svg$Element$ElementB20) { + svg.Element.MISSING = /*#__PURE__*/function (_svg$Element$ElementB20) { _inherits(_class49, _svg$Element$ElementB20); function _class49(node) { @@ -4574,12 +4466,8 @@ var canvg = (function (exports) { }; // load from url - svg.load = - /*#__PURE__*/ - function () { - var _ref12 = _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee(ctx, url) { + svg.load = /*#__PURE__*/function () { + var _ref12 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ctx, url) { var dom; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-arrows.js b/dist/extensions/ext-arrows.js index f2705a42..c71602d7 100644 --- a/dist/extensions/ext-arrows.js +++ b/dist/extensions/ext-arrows.js @@ -50,9 +50,7 @@ var svgEditorExtension_arrows = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee2() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { var strings, svgEditor, svgCanvas, addElem, nonce, $, prefix, selElems, arrowprefix, randomizeIds, setArrowNonce, unsetArrowNonce, pathdata, getLinked, showPanel, resetMarker, addMarker, setArrow, colorChanged, contextTools; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { @@ -329,9 +327,7 @@ var svgEditorExtension_arrows = (function () { addLangData: function addLangData(_ref) { var lang = _ref.lang, importLocale = _ref.importLocale; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var _ref2, langList; return regeneratorRuntime.wrap(function _callee$(_context) { diff --git a/dist/extensions/ext-closepath.js b/dist/extensions/ext-closepath.js index 1c7dc48b..81d58af9 100644 --- a/dist/extensions/ext-closepath.js +++ b/dist/extensions/ext-closepath.js @@ -54,9 +54,7 @@ var svgEditorExtension_closepath = (function () { var importLocale = _ref.importLocale, $ = _ref.$; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var strings, svgEditor, selElems, updateButton, showPanel, toggleClosed, buttons; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-connector.js b/dist/extensions/ext-connector.js index b78fb4be..eeeba231 100644 --- a/dist/extensions/ext-connector.js +++ b/dist/extensions/ext-connector.js @@ -52,9 +52,7 @@ var svgEditorExtension_connector = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var svgEditor, svgCanvas, getElem, $, svgroot, importLocale, addElem, selManager, connSel, elData, strings, startX, startY, curLine, startElem, endElem, seNs, svgcontent, started, connections, selElems, getBBintersect, getOffset, showPanel, setPoint, updateLine, findConnectors, updateConnectors, init, buttons; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-eyedropper.js b/dist/extensions/ext-eyedropper.js index 292313f8..68d29013 100644 --- a/dist/extensions/ext-eyedropper.js +++ b/dist/extensions/ext-eyedropper.js @@ -50,9 +50,7 @@ var svgEditorExtension_eyedropper = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var strings, svgEditor, $, ChangeElementCommand, svgCanvas, addToHistory, currentStyle, getStyle, buttons; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-foreignobject.js b/dist/extensions/ext-foreignobject.js index 930eab1b..9467085b 100644 --- a/dist/extensions/ext-foreignobject.js +++ b/dist/extensions/ext-foreignobject.js @@ -50,9 +50,7 @@ var svgEditorExtension_foreignobject = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee2() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { var svgEditor, $, text2xml, NS, importLocale, svgCanvas, svgdoc, strings, properlySourceSizeTextArea, showPanel, toggleSourceButtons, selElems, started, newFO, editingforeign, setForeignString, showForeignEditor, setAttr, buttons, contextTools; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { @@ -220,11 +218,7 @@ var svgEditorExtension_foreignobject = (function () { // Create source save/cancel buttons /* const save = */ - $('#tool_source_save').clone().hide().attr('id', 'foreign_save').unbind().appendTo('#tool_source_back').click( - /*#__PURE__*/ - _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + $('#tool_source_save').clone().hide().attr('id', 'foreign_save').unbind().appendTo('#tool_source_back').click( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var ok; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-grid.js b/dist/extensions/ext-grid.js index c9744b38..0e79889c 100644 --- a/dist/extensions/ext-grid.js +++ b/dist/extensions/ext-grid.js @@ -54,9 +54,7 @@ var svgEditorExtension_grid = (function () { NS = _ref.NS, getTypeMap = _ref.getTypeMap, importLocale = _ref.importLocale; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var strings, svgEditor, svgCanvas, svgdoc, assignAttributes, hcanvas, canvBG, units, intervals, showGrid, canvasGrid, gridDefs, gridPattern, gridimg, gridBox, updateGrid, gridUpdate, buttons; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-helloworld.js b/dist/extensions/ext-helloworld.js index 6b490d2b..97fbd820 100644 --- a/dist/extensions/ext-helloworld.js +++ b/dist/extensions/ext-helloworld.js @@ -100,9 +100,7 @@ var svgEditorExtension_helloworld = (function () { var $ = _ref.$, importLocale = _ref.importLocale; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var strings, svgEditor, svgCanvas; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-imagelib.js b/dist/extensions/ext-imagelib.js index 0458b88f..07d0f15f 100644 --- a/dist/extensions/ext-imagelib.js +++ b/dist/extensions/ext-imagelib.js @@ -70,9 +70,7 @@ var svgEditorExtension_imagelib = (function () { decode64 = _ref.decode64, importLocale = _ref.importLocale, dropXMLInternalSubset = _ref.dropXMLInternalSubset; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee2() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { var imagelibStrings, modularVersion, svgEditor, uiStrings, svgCanvas, extIconsPath, allowedImageLibOrigins, closeBrowser, importImage, pending, mode, multiArr, transferStopped, preview, submit, onMessage, _onMessage, toggleMulti, showBrowser, buttons; return regeneratorRuntime.wrap(function _callee2$(_context2) { @@ -194,9 +192,7 @@ var svgEditorExtension_imagelib = (function () { }; _onMessage = function _ref9() { - _onMessage = _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee(_ref5) { + _onMessage = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(_ref5) { var origin, response, id, type, hasName, hasHref, char1, secondpos, entry, curMeta, svgStr, imgStr, name, message, pre, src, title, xml, ok; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-markers.js b/dist/extensions/ext-markers.js index 641c1746..0dd8f79f 100644 --- a/dist/extensions/ext-markers.js +++ b/dist/extensions/ext-markers.js @@ -72,9 +72,7 @@ var svgEditorExtension_markers = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee3() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { var strings, svgEditor, $, svgCanvas, addElem, mtypes, markerPrefix, idPrefix, markerTypes, getLinked, setIcon, selElems, showPanel, addMarker, convertline, setMarker, colorChanged, updateReferences, triggerTextEntry, showTextPrompt, _showTextPrompt, setArrowFromButton, _setArrowFromButton, getTitle, buildButtonList, contextTools; return regeneratorRuntime.wrap(function _callee3$(_context3) { @@ -141,9 +139,7 @@ var svgEditorExtension_markers = (function () { }; _setArrowFromButton = function _ref14() { - _setArrowFromButton = _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee2(ev) { + _setArrowFromButton = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(ev) { var parts, pos, val; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { @@ -185,9 +181,7 @@ var svgEditorExtension_markers = (function () { }; _showTextPrompt = function _ref12() { - _showTextPrompt = _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee(pos) { + _showTextPrompt = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(pos) { var def, txt; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-mathjax.js b/dist/extensions/ext-mathjax.js index b48b2ecd..356e2164 100644 --- a/dist/extensions/ext-mathjax.js +++ b/dist/extensions/ext-mathjax.js @@ -108,9 +108,7 @@ var svgEditorExtension_mathjax = (function () { var $ = _ref.$, importLocale = _ref.importLocale; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee2() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { var strings, svgEditor, svgCanvas, mathjaxSrcSecure, uiStrings, math, locationX, locationY, mathjaxLoaded, saveMath, buttons; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { @@ -226,9 +224,7 @@ var svgEditorExtension_mathjax = (function () { icon: svgEditor.curConfig.extIconsPath + 'mathjax.png', events: { click: function click() { - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { diff --git a/dist/extensions/ext-panning.js b/dist/extensions/ext-panning.js index 5d807797..1d0f3b34 100644 --- a/dist/extensions/ext-panning.js +++ b/dist/extensions/ext-panning.js @@ -55,9 +55,7 @@ var svgEditorExtension_panning = (function () { var _this = this; var importLocale = _ref.importLocale; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var strings, svgEditor, svgCanvas, buttons; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-placemark.js b/dist/extensions/ext-placemark.js index 2d0701e4..88b33520 100644 --- a/dist/extensions/ext-placemark.js +++ b/dist/extensions/ext-placemark.js @@ -91,9 +91,7 @@ var svgEditorExtension_placemark = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var svgEditor, svgCanvas, addElem, $, importLocale, selElems, started, newPM, strings, markerTypes, showPanel, getLinked, updateText, updateFont, addMarker, setMarker, colorChanged, updateReferences, setArrowFromButton, getTitle, addMarkerButtons, buttons, contextTools; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-polygon.js b/dist/extensions/ext-polygon.js index 14c436d5..db055412 100644 --- a/dist/extensions/ext-polygon.js +++ b/dist/extensions/ext-polygon.js @@ -49,9 +49,7 @@ var svgEditorExtension_polygon = (function () { init: function init(S) { var _this = this; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { var svgEditor, svgCanvas, $, importLocale, editingitex, strings, selElems, started, newFO, showPanel, setAttr, cot, sec, buttons, contextTools; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { diff --git a/dist/extensions/ext-server_moinsave.js b/dist/extensions/ext-server_moinsave.js index bf86a25e..dd9ad5ea 100644 --- a/dist/extensions/ext-server_moinsave.js +++ b/dist/extensions/ext-server_moinsave.js @@ -441,9 +441,7 @@ var svgEditorExtension_server_moinsave = (function () { * A class to parse color values. */ - var RGBColor = - /*#__PURE__*/ - function () { + var RGBColor = /*#__PURE__*/function () { /** * @param {string} colorString */ @@ -1122,9 +1120,7 @@ var svgEditorExtension_server_moinsave = (function () { mathematical: 'alphabetic' }; - svg.Property = - /*#__PURE__*/ - function () { + svg.Property = /*#__PURE__*/function () { function Property(name, value) { _classCallCheck(this, Property); @@ -1379,9 +1375,7 @@ var svgEditorExtension_server_moinsave = (function () { }); }; - svg.Point = - /*#__PURE__*/ - function () { + svg.Point = /*#__PURE__*/function () { function _class(x, y) { _classCallCheck(this, _class); @@ -1424,9 +1418,7 @@ var svgEditorExtension_server_moinsave = (function () { }; // bounding box - svg.BoundingBox = - /*#__PURE__*/ - function () { + svg.BoundingBox = /*#__PURE__*/function () { function _class2(x1, y1, x2, y2) { _classCallCheck(this, _class2); @@ -1579,9 +1571,7 @@ var svgEditorExtension_server_moinsave = (function () { }(); // transforms - svg.Transform = - /*#__PURE__*/ - function () { + svg.Transform = /*#__PURE__*/function () { function _class3(v) { var _this6 = this; @@ -1665,9 +1655,7 @@ var svgEditorExtension_server_moinsave = (function () { } }; Object.assign(this.Type, { - SkewBase: - /*#__PURE__*/ - function (_this$Type$matrix) { + SkewBase: /*#__PURE__*/function (_this$Type$matrix) { _inherits(SkewBase, _this$Type$matrix); function SkewBase(s) { @@ -1684,9 +1672,7 @@ var svgEditorExtension_server_moinsave = (function () { }(this.Type.matrix) }); Object.assign(this.Type, { - skewX: - /*#__PURE__*/ - function (_this$Type$SkewBase) { + skewX: /*#__PURE__*/function (_this$Type$SkewBase) { _inherits(skewX, _this$Type$SkewBase); function skewX(s) { @@ -1701,9 +1687,7 @@ var svgEditorExtension_server_moinsave = (function () { return skewX; }(this.Type.SkewBase), - skewY: - /*#__PURE__*/ - function (_this$Type$SkewBase2) { + skewY: /*#__PURE__*/function (_this$Type$SkewBase2) { _inherits(skewY, _this$Type$SkewBase2); function skewY(s) { @@ -1802,9 +1786,7 @@ var svgEditorExtension_server_moinsave = (function () { svg.Element = {}; svg.EmptyProperty = new svg.Property('EMPTY', ''); - svg.Element.ElementBase = - /*#__PURE__*/ - function () { + svg.Element.ElementBase = /*#__PURE__*/function () { function _class4(node) { var _this7 = this; @@ -2044,9 +2026,7 @@ var svgEditorExtension_server_moinsave = (function () { return _class4; }(); - svg.Element.RenderedElementBase = - /*#__PURE__*/ - function (_svg$Element$ElementB) { + svg.Element.RenderedElementBase = /*#__PURE__*/function (_svg$Element$ElementB) { _inherits(_class5, _svg$Element$ElementB); function _class5() { @@ -2151,9 +2131,7 @@ var svgEditorExtension_server_moinsave = (function () { return _class5; }(svg.Element.ElementBase); - svg.Element.PathElementBase = - /*#__PURE__*/ - function (_svg$Element$Rendered) { + svg.Element.PathElementBase = /*#__PURE__*/function (_svg$Element$Rendered) { _inherits(_class6, _svg$Element$Rendered); function _class6() { @@ -2222,9 +2200,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // svg element - svg.Element.svg = - /*#__PURE__*/ - function (_svg$Element$Rendered2) { + svg.Element.svg = /*#__PURE__*/function (_svg$Element$Rendered2) { _inherits(_class7, _svg$Element$Rendered2); function _class7() { @@ -2305,9 +2281,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // rect element - svg.Element.rect = - /*#__PURE__*/ - function (_svg$Element$PathElem) { + svg.Element.rect = /*#__PURE__*/function (_svg$Element$PathElem) { _inherits(_class8, _svg$Element$PathElem); function _class8() { @@ -2352,9 +2326,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.PathElementBase); // circle element - svg.Element.circle = - /*#__PURE__*/ - function (_svg$Element$PathElem2) { + svg.Element.circle = /*#__PURE__*/function (_svg$Element$PathElem2) { _inherits(_class9, _svg$Element$PathElem2); function _class9() { @@ -2386,9 +2358,7 @@ var svgEditorExtension_server_moinsave = (function () { var KAPPA = 4 * ((Math.sqrt(2) - 1) / 3); - svg.Element.ellipse = - /*#__PURE__*/ - function (_svg$Element$PathElem3) { + svg.Element.ellipse = /*#__PURE__*/function (_svg$Element$PathElem3) { _inherits(_class10, _svg$Element$PathElem3); function _class10() { @@ -2423,9 +2393,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.PathElementBase); // line element - svg.Element.line = - /*#__PURE__*/ - function (_svg$Element$PathElem4) { + svg.Element.line = /*#__PURE__*/function (_svg$Element$PathElem4) { _inherits(_class11, _svg$Element$PathElem4); function _class11() { @@ -2465,9 +2433,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.PathElementBase); // polyline element - svg.Element.polyline = - /*#__PURE__*/ - function (_svg$Element$PathElem5) { + svg.Element.polyline = /*#__PURE__*/function (_svg$Element$PathElem5) { _inherits(_class12, _svg$Element$PathElem5); function _class12(node) { @@ -2521,9 +2487,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.PathElementBase); // polygon element - svg.Element.polygon = - /*#__PURE__*/ - function (_svg$Element$polyline) { + svg.Element.polygon = /*#__PURE__*/function (_svg$Element$polyline) { _inherits(_class13, _svg$Element$polyline); function _class13() { @@ -2550,9 +2514,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.polyline); // path element - svg.Element.path = - /*#__PURE__*/ - function (_svg$Element$PathElem6) { + svg.Element.path = /*#__PURE__*/function (_svg$Element$PathElem6) { _inherits(_class14, _svg$Element$PathElem6); function _class14(node) { @@ -2929,9 +2891,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.PathElementBase); // pattern element - svg.Element.pattern = - /*#__PURE__*/ - function (_svg$Element$ElementB2) { + svg.Element.pattern = /*#__PURE__*/function (_svg$Element$ElementB2) { _inherits(_class15, _svg$Element$ElementB2); function _class15() { @@ -2980,9 +2940,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // marker element - svg.Element.marker = - /*#__PURE__*/ - function (_svg$Element$ElementB3) { + svg.Element.marker = /*#__PURE__*/function (_svg$Element$ElementB3) { _inherits(_class16, _svg$Element$ElementB3); function _class16() { @@ -3020,9 +2978,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // definitions element - svg.Element.defs = - /*#__PURE__*/ - function (_svg$Element$ElementB4) { + svg.Element.defs = /*#__PURE__*/function (_svg$Element$ElementB4) { _inherits(_class17, _svg$Element$ElementB4); function _class17() { @@ -3041,9 +2997,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // base for gradients - svg.Element.GradientBase = - /*#__PURE__*/ - function (_svg$Element$ElementB5) { + svg.Element.GradientBase = /*#__PURE__*/function (_svg$Element$ElementB5) { _inherits(_class18, _svg$Element$ElementB5); function _class18(node) { @@ -3124,9 +3078,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // linear gradient element - svg.Element.linearGradient = - /*#__PURE__*/ - function (_svg$Element$Gradient) { + svg.Element.linearGradient = /*#__PURE__*/function (_svg$Element$Gradient) { _inherits(_class19, _svg$Element$Gradient); function _class19() { @@ -3161,9 +3113,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.GradientBase); // radial gradient element - svg.Element.radialGradient = - /*#__PURE__*/ - function (_svg$Element$Gradient2) { + svg.Element.radialGradient = /*#__PURE__*/function (_svg$Element$Gradient2) { _inherits(_class20, _svg$Element$Gradient2); function _class20() { @@ -3202,9 +3152,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.GradientBase); // gradient stop element - svg.Element.stop = - /*#__PURE__*/ - function (_svg$Element$ElementB6) { + svg.Element.stop = /*#__PURE__*/function (_svg$Element$ElementB6) { _inherits(_class21, _svg$Element$ElementB6); function _class21(node) { @@ -3231,9 +3179,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // animation base element - svg.Element.AnimateBase = - /*#__PURE__*/ - function (_svg$Element$ElementB7) { + svg.Element.AnimateBase = /*#__PURE__*/function (_svg$Element$ElementB7) { _inherits(_class22, _svg$Element$ElementB7); function _class22(node) { @@ -3348,9 +3294,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // animate element - svg.Element.animate = - /*#__PURE__*/ - function (_svg$Element$AnimateB) { + svg.Element.animate = /*#__PURE__*/function (_svg$Element$AnimateB) { _inherits(_class23, _svg$Element$AnimateB); function _class23() { @@ -3373,9 +3317,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.AnimateBase); // animate color element - svg.Element.animateColor = - /*#__PURE__*/ - function (_svg$Element$AnimateB2) { + svg.Element.animateColor = /*#__PURE__*/function (_svg$Element$AnimateB2) { _inherits(_class24, _svg$Element$AnimateB2); function _class24() { @@ -3407,9 +3349,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.AnimateBase); // animate transform element - svg.Element.animateTransform = - /*#__PURE__*/ - function (_svg$Element$animate) { + svg.Element.animateTransform = /*#__PURE__*/function (_svg$Element$animate) { _inherits(_class25, _svg$Element$animate); function _class25() { @@ -3437,9 +3377,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.animate); // font element - svg.Element.font = - /*#__PURE__*/ - function (_svg$Element$ElementB8) { + svg.Element.font = /*#__PURE__*/function (_svg$Element$ElementB8) { _inherits(_class26, _svg$Element$ElementB8); function _class26(node) { @@ -3487,9 +3425,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // font-face element - svg.Element.fontface = - /*#__PURE__*/ - function (_svg$Element$ElementB9) { + svg.Element.fontface = /*#__PURE__*/function (_svg$Element$ElementB9) { _inherits(_class27, _svg$Element$ElementB9); function _class27(node) { @@ -3508,9 +3444,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // missing-glyph element - svg.Element.missingglyph = - /*#__PURE__*/ - function (_svg$Element$path) { + svg.Element.missingglyph = /*#__PURE__*/function (_svg$Element$path) { _inherits(_class28, _svg$Element$path); function _class28(node) { @@ -3527,9 +3461,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.path); // glyph element - svg.Element.glyph = - /*#__PURE__*/ - function (_svg$Element$path2) { + svg.Element.glyph = /*#__PURE__*/function (_svg$Element$path2) { _inherits(_class29, _svg$Element$path2); function _class29(node) { @@ -3548,9 +3480,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.path); // text element - svg.Element.text = - /*#__PURE__*/ - function (_svg$Element$Rendered3) { + svg.Element.text = /*#__PURE__*/function (_svg$Element$Rendered3) { _inherits(_class30, _svg$Element$Rendered3); function _class30(node) { @@ -3646,9 +3576,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // text base - svg.Element.TextElementBase = - /*#__PURE__*/ - function (_svg$Element$Rendered4) { + svg.Element.TextElementBase = /*#__PURE__*/function (_svg$Element$Rendered4) { _inherits(_class31, _svg$Element$Rendered4); function _class31() { @@ -3772,9 +3700,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // tspan - svg.Element.tspan = - /*#__PURE__*/ - function (_svg$Element$TextElem) { + svg.Element.tspan = /*#__PURE__*/function (_svg$Element$TextElem) { _inherits(_class32, _svg$Element$TextElem); function _class32(node) { @@ -3798,9 +3724,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.TextElementBase); // tref - svg.Element.tref = - /*#__PURE__*/ - function (_svg$Element$TextElem2) { + svg.Element.tref = /*#__PURE__*/function (_svg$Element$TextElem2) { _inherits(_class33, _svg$Element$TextElem2); function _class33() { @@ -3822,9 +3746,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.TextElementBase); // a element - svg.Element.a = - /*#__PURE__*/ - function (_svg$Element$TextElem3) { + svg.Element.a = /*#__PURE__*/function (_svg$Element$TextElem3) { _inherits(_class34, _svg$Element$TextElem3); function _class34(node) { @@ -3884,9 +3806,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.TextElementBase); // image element - svg.Element.image = - /*#__PURE__*/ - function (_svg$Element$Rendered5) { + svg.Element.image = /*#__PURE__*/function (_svg$Element$Rendered5) { _inherits(_class35, _svg$Element$Rendered5); function _class35(node) { @@ -3973,9 +3893,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // group element - svg.Element.g = - /*#__PURE__*/ - function (_svg$Element$Rendered6) { + svg.Element.g = /*#__PURE__*/function (_svg$Element$Rendered6) { _inherits(_class36, _svg$Element$Rendered6); function _class36() { @@ -3999,9 +3917,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // symbol element - svg.Element.symbol = - /*#__PURE__*/ - function (_svg$Element$Rendered7) { + svg.Element.symbol = /*#__PURE__*/function (_svg$Element$Rendered7) { _inherits(_class37, _svg$Element$Rendered7); function _class37() { @@ -4020,9 +3936,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // style element - svg.Element.style = - /*#__PURE__*/ - function (_svg$Element$ElementB10) { + svg.Element.style = /*#__PURE__*/function (_svg$Element$ElementB10) { _inherits(_class38, _svg$Element$ElementB10); function _class38(node) { @@ -4100,9 +4014,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // use element - svg.Element.use = - /*#__PURE__*/ - function (_svg$Element$Rendered8) { + svg.Element.use = /*#__PURE__*/function (_svg$Element$Rendered8) { _inherits(_class39, _svg$Element$Rendered8); function _class39(node) { @@ -4172,9 +4084,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.RenderedElementBase); // mask element - svg.Element.mask = - /*#__PURE__*/ - function (_svg$Element$ElementB11) { + svg.Element.mask = /*#__PURE__*/function (_svg$Element$ElementB11) { _inherits(_class40, _svg$Element$ElementB11); function _class40() { @@ -4234,9 +4144,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // clip element - svg.Element.clipPath = - /*#__PURE__*/ - function (_svg$Element$ElementB12) { + svg.Element.clipPath = /*#__PURE__*/function (_svg$Element$ElementB12) { _inherits(_class41, _svg$Element$ElementB12); function _class41() { @@ -4276,9 +4184,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // filters - svg.Element.filter = - /*#__PURE__*/ - function (_svg$Element$ElementB13) { + svg.Element.filter = /*#__PURE__*/function (_svg$Element$ElementB13) { _inherits(_class42, _svg$Element$ElementB13); function _class42() { @@ -4330,9 +4236,7 @@ var svgEditorExtension_server_moinsave = (function () { return _class42; }(svg.Element.ElementBase); - svg.Element.feMorphology = - /*#__PURE__*/ - function (_svg$Element$ElementB14) { + svg.Element.feMorphology = /*#__PURE__*/function (_svg$Element$ElementB14) { _inherits(_class43, _svg$Element$ElementB14); function _class43() { @@ -4350,9 +4254,7 @@ var svgEditorExtension_server_moinsave = (function () { return _class43; }(svg.Element.ElementBase); - svg.Element.feComposite = - /*#__PURE__*/ - function (_svg$Element$ElementB15) { + svg.Element.feComposite = /*#__PURE__*/function (_svg$Element$ElementB15) { _inherits(_class44, _svg$Element$ElementB15); function _class44() { @@ -4399,9 +4301,7 @@ var svgEditorExtension_server_moinsave = (function () { img[y * width * 4 + x * 4 + rgba] = val; } - svg.Element.feColorMatrix = - /*#__PURE__*/ - function (_svg$Element$ElementB16) { + svg.Element.feColorMatrix = /*#__PURE__*/function (_svg$Element$ElementB16) { _inherits(_class45, _svg$Element$ElementB16); function _class45(node) { @@ -4476,9 +4376,7 @@ var svgEditorExtension_server_moinsave = (function () { return _class45; }(svg.Element.ElementBase); - svg.Element.feGaussianBlur = - /*#__PURE__*/ - function (_svg$Element$ElementB17) { + svg.Element.feGaussianBlur = /*#__PURE__*/function (_svg$Element$ElementB17) { _inherits(_class46, _svg$Element$ElementB17); function _class46(node) { @@ -4509,9 +4407,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // title element, do nothing - svg.Element.title = - /*#__PURE__*/ - function (_svg$Element$ElementB18) { + svg.Element.title = /*#__PURE__*/function (_svg$Element$ElementB18) { _inherits(_class47, _svg$Element$ElementB18); function _class47(node) { @@ -4524,9 +4420,7 @@ var svgEditorExtension_server_moinsave = (function () { }(svg.Element.ElementBase); // desc element, do nothing - svg.Element.desc = - /*#__PURE__*/ - function (_svg$Element$ElementB19) { + svg.Element.desc = /*#__PURE__*/function (_svg$Element$ElementB19) { _inherits(_class48, _svg$Element$ElementB19); function _class48(node) { @@ -4538,9 +4432,7 @@ var svgEditorExtension_server_moinsave = (function () { return _class48; }(svg.Element.ElementBase); - svg.Element.MISSING = - /*#__PURE__*/ - function (_svg$Element$ElementB20) { + svg.Element.MISSING = /*#__PURE__*/function (_svg$Element$ElementB20) { _inherits(_class49, _svg$Element$ElementB20); function _class49(node) { @@ -4574,12 +4466,8 @@ var svgEditorExtension_server_moinsave = (function () { }; // load from url - svg.load = - /*#__PURE__*/ - function () { - var _ref12 = _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee(ctx, url) { + svg.load = /*#__PURE__*/function () { + var _ref12 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ctx, url) { var dom; return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { @@ -4888,9 +4776,7 @@ var svgEditorExtension_server_moinsave = (function () { var $ = _ref.$, encode64 = _ref.encode64, importLocale = _ref.importLocale; - return _asyncToGenerator( - /*#__PURE__*/ - regeneratorRuntime.mark(function _callee2() { + return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { var strings, svgEditor, svgCanvas, saveSvgAction; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { @@ -4912,9 +4798,7 @@ var svgEditorExtension_server_moinsave = (function () { $("