@burger-editor/client 4.0.0-alpha.45 → 4.0.0-alpha.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -4613,11 +4613,11 @@ class BurgerEditorEngine {
4613
4613
  }
4614
4614
  }
4615
4615
 
4616
- const IconAlignBoxCenterStretch = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-align-box-center-stretch\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M3 19v-14a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z\" />\n <path d=\"M11 17h2\" />\n <path d=\"M9 12h6\" />\n <path d=\"M10 7h4\" />\n</svg>";
4616
+ const IconAlignBoxCenterStretch = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-align-box-center-stretch\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M3 19v-14a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2\" />\n <path d=\"M11 17h2\" />\n <path d=\"M9 12h6\" />\n <path d=\"M10 7h4\" />\n</svg>";
4617
4617
 
4618
4618
  const IconBlockquote = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-blockquote\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M6 15h15\" />\n <path d=\"M21 19h-15\" />\n <path d=\"M15 11h6\" />\n <path d=\"M21 7h-6\" />\n <path d=\"M9 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2\" />\n <path d=\"M3 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2\" />\n</svg>";
4619
4619
 
4620
- const IconBold = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-bold\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M7 5h6a3.5 3.5 0 0 1 0 7h-6z\" />\n <path d=\"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7\" />\n</svg>";
4620
+ const IconBold = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-bold\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M7 5h6a3.5 3.5 0 0 1 0 7h-6l0 -7\" />\n <path d=\"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7\" />\n</svg>";
4621
4621
 
4622
4622
  const IconCloud = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-cloud\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M6.657 18c-2.572 0 -4.657 -2.007 -4.657 -4.483c0 -2.475 2.085 -4.482 4.657 -4.482c.393 -1.762 1.794 -3.2 3.675 -3.773c1.88 -.572 3.956 -.193 5.444 1c1.488 1.19 2.162 3.007 1.77 4.769h.99c1.913 0 3.464 1.56 3.464 3.486c0 1.927 -1.551 3.487 -3.465 3.487h-11.878\" />\n</svg>";
4623
4623
 
@@ -4633,7 +4633,7 @@ const IconH4 = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n
4633
4633
 
4634
4634
  const IconH5 = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-h-5\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M17 18h2a2 2 0 1 0 0 -4h-2v-4h4\" />\n <path d=\"M4 6v12\" />\n <path d=\"M12 6v12\" />\n <path d=\"M11 18h2\" />\n <path d=\"M3 18h2\" />\n <path d=\"M4 12h8\" />\n <path d=\"M3 6h2\" />\n <path d=\"M11 6h2\" />\n</svg>";
4635
4635
 
4636
- const IconH6 = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-h-6\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M19 14a2 2 0 1 0 0 4a2 2 0 0 0 0 -4z\" />\n <path d=\"M21 12a2 2 0 1 0 -4 0v4\" />\n <path d=\"M4 6v12\" />\n <path d=\"M12 6v12\" />\n <path d=\"M11 18h2\" />\n <path d=\"M3 18h2\" />\n <path d=\"M4 12h8\" />\n <path d=\"M3 6h2\" />\n <path d=\"M11 6h2\" />\n</svg>";
4636
+ const IconH6 = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-h-6\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M19 14a2 2 0 1 0 0 4a2 2 0 0 0 0 -4\" />\n <path d=\"M21 12a2 2 0 1 0 -4 0v4\" />\n <path d=\"M4 6v12\" />\n <path d=\"M12 6v12\" />\n <path d=\"M11 18h2\" />\n <path d=\"M3 18h2\" />\n <path d=\"M4 12h8\" />\n <path d=\"M3 6h2\" />\n <path d=\"M11 6h2\" />\n</svg>";
4637
4637
 
4638
4638
  const IconItalic = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-italic\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M11 5l6 0\" />\n <path d=\"M7 19l6 0\" />\n <path d=\"M14 5l-4 14\" />\n</svg>";
4639
4639
 
@@ -4643,7 +4643,7 @@ const IconOrderedList = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\
4643
4643
 
4644
4644
  const IconBulletList = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-list\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M9 6l11 0\" />\n <path d=\"M9 12l11 0\" />\n <path d=\"M9 18l11 0\" />\n <path d=\"M5 6l0 .01\" />\n <path d=\"M5 12l0 .01\" />\n <path d=\"M5 18l0 .01\" />\n</svg>";
4645
4645
 
4646
- const IconNotes = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-notes\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M5 3m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z\" />\n <path d=\"M9 7l6 0\" />\n <path d=\"M9 11l6 0\" />\n <path d=\"M9 15l4 0\" />\n</svg>";
4646
+ const IconNotes = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-notes\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M5 5a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -14\" />\n <path d=\"M9 7l6 0\" />\n <path d=\"M9 11l6 0\" />\n <path d=\"M9 15l4 0\" />\n</svg>";
4647
4647
 
4648
4648
  const IconStrikethrough = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"icon icon-tabler icons-tabler-outline icon-tabler-strikethrough\"\n>\n <path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/>\n <path d=\"M5 12l14 0\" />\n <path d=\"M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5\" />\n</svg>";
4649
4649
 
@@ -21591,6 +21591,35 @@ var ExtensionManager = class {
21591
21591
  })
21592
21592
  );
21593
21593
  }
21594
+ /**
21595
+ * Get the composed dispatchTransaction function from all extensions.
21596
+ * @param baseDispatch The base dispatch function (e.g. from the editor or user props)
21597
+ * @returns A composed dispatch function
21598
+ */
21599
+ dispatchTransaction(baseDispatch) {
21600
+ const { editor } = this;
21601
+ const extensions = sortExtensions([...this.extensions].reverse());
21602
+ return extensions.reduceRight((next, extension) => {
21603
+ const context = {
21604
+ name: extension.name,
21605
+ options: extension.options,
21606
+ storage: this.editor.extensionStorage[extension.name],
21607
+ editor,
21608
+ type: getSchemaTypeByName(extension.name, this.schema)
21609
+ };
21610
+ const dispatchTransaction = getExtensionField(
21611
+ extension,
21612
+ "dispatchTransaction",
21613
+ context
21614
+ );
21615
+ if (!dispatchTransaction) {
21616
+ return next;
21617
+ }
21618
+ return (transaction) => {
21619
+ dispatchTransaction.call(context, { transaction, next });
21620
+ };
21621
+ }, baseDispatch);
21622
+ }
21594
21623
  get markViews() {
21595
21624
  const { editor } = this;
21596
21625
  const { markExtensions } = splitExtensions(this.extensions);
@@ -22425,7 +22454,8 @@ var Editor = class extends EventEmitter {
22425
22454
  },
22426
22455
  onPaste: () => null,
22427
22456
  onDrop: () => null,
22428
- onDelete: () => null
22457
+ onDelete: () => null,
22458
+ enableExtensionDispatchTransaction: true
22429
22459
  };
22430
22460
  this.isCapturingTransaction = false;
22431
22461
  this.capturedTransaction = null;
@@ -22749,15 +22779,17 @@ var Editor = class extends EventEmitter {
22749
22779
  * Creates a ProseMirror view.
22750
22780
  */
22751
22781
  createView(element) {
22752
- var _a;
22782
+ const { editorProps, enableExtensionDispatchTransaction } = this.options;
22783
+ const baseDispatch = editorProps.dispatchTransaction || this.dispatchTransaction.bind(this);
22784
+ const dispatch = enableExtensionDispatchTransaction ? this.extensionManager.dispatchTransaction(baseDispatch) : baseDispatch;
22753
22785
  this.editorView = new EditorView(element, {
22754
- ...this.options.editorProps,
22786
+ ...editorProps,
22755
22787
  attributes: {
22756
22788
  // add `role="textbox"` to the editor element
22757
22789
  role: "textbox",
22758
- ...(_a = this.options.editorProps) == null ? void 0 : _a.attributes
22790
+ ...editorProps == null ? void 0 : editorProps.attributes
22759
22791
  },
22760
- dispatchTransaction: this.dispatchTransaction.bind(this),
22792
+ dispatchTransaction: dispatch,
22761
22793
  state: this.editorState,
22762
22794
  markViews: this.extensionManager.markViews,
22763
22795
  nodeViews: this.extensionManager.nodeViews
@@ -41421,7 +41453,7 @@ function Arrow_big_down_line($$anchor, $$props) {
41421
41453
  "path",
41422
41454
 
41423
41455
  {
41424
- "d": "M15 12h3.586a1 1 0 0 1 .707 1.707l-6.586 6.586a1 1 0 0 1 -1.414 0l-6.586 -6.586a1 1 0 0 1 .707 -1.707h3.586v-6h6v6z"
41456
+ "d": "M15 12h3.586a1 1 0 0 1 .707 1.707l-6.586 6.586a1 1 0 0 1 -1.414 0l-6.586 -6.586a1 1 0 0 1 .707 -1.707h3.586v-6h6v6"
41425
41457
  }
41426
41458
  ],
41427
41459
 
@@ -41453,7 +41485,7 @@ function Arrow_big_up_line($$anchor, $$props) {
41453
41485
  "path",
41454
41486
 
41455
41487
  {
41456
- "d": "M9 12h-3.586a1 1 0 0 1 -.707 -1.707l6.586 -6.586a1 1 0 0 1 1.414 0l6.586 6.586a1 1 0 0 1 -.707 1.707h-3.586v6h-6v-6z"
41488
+ "d": "M9 12h-3.586a1 1 0 0 1 -.707 -1.707l6.586 -6.586a1 1 0 0 1 1.414 0l6.586 6.586a1 1 0 0 1 -.707 1.707h-3.586v6h-6v-6"
41457
41489
  }
41458
41490
  ],
41459
41491
 
@@ -41493,7 +41525,7 @@ function Clipboard_plus($$anchor, $$props) {
41493
41525
  "path",
41494
41526
 
41495
41527
  {
41496
- "d": "M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"
41528
+ "d": "M9 5a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2"
41497
41529
  }
41498
41530
  ],
41499
41531
 
@@ -41526,7 +41558,7 @@ function Layout_grid_add($$anchor, $$props) {
41526
41558
  "path",
41527
41559
 
41528
41560
  {
41529
- "d": "M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"
41561
+ "d": "M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4"
41530
41562
  }
41531
41563
  ],
41532
41564
 
@@ -41534,7 +41566,7 @@ function Layout_grid_add($$anchor, $$props) {
41534
41566
  "path",
41535
41567
 
41536
41568
  {
41537
- "d": "M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"
41569
+ "d": "M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4"
41538
41570
  }
41539
41571
  ],
41540
41572
 
@@ -41542,7 +41574,7 @@ function Layout_grid_add($$anchor, $$props) {
41542
41574
  "path",
41543
41575
 
41544
41576
  {
41545
- "d": "M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"
41577
+ "d": "M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4"
41546
41578
  }
41547
41579
  ],
41548
41580
 
@@ -41574,7 +41606,7 @@ function Layout_grid_remove($$anchor, $$props) {
41574
41606
  "path",
41575
41607
 
41576
41608
  {
41577
- "d": "M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4z"
41609
+ "d": "M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4"
41578
41610
  }
41579
41611
  ],
41580
41612
 
@@ -41582,7 +41614,7 @@ function Layout_grid_remove($$anchor, $$props) {
41582
41614
  "path",
41583
41615
 
41584
41616
  {
41585
- "d": "M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4z"
41617
+ "d": "M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4"
41586
41618
  }
41587
41619
  ],
41588
41620
 
@@ -41590,7 +41622,7 @@ function Layout_grid_remove($$anchor, $$props) {
41590
41622
  "path",
41591
41623
 
41592
41624
  {
41593
- "d": "M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4z"
41625
+ "d": "M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4"
41594
41626
  }
41595
41627
  ],
41596
41628
 
@@ -41622,7 +41654,7 @@ function Row_insert_bottom($$anchor, $$props) {
41622
41654
  "path",
41623
41655
 
41624
41656
  {
41625
- "d": "M20 6v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1z"
41657
+ "d": "M20 6v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1"
41626
41658
  }
41627
41659
  ],
41628
41660
 
@@ -41655,7 +41687,7 @@ function Row_insert_top($$anchor, $$props) {
41655
41687
  "path",
41656
41688
 
41657
41689
  {
41658
- "d": "M4 18v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1z"
41690
+ "d": "M4 18v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1"
41659
41691
  }
41660
41692
  ],
41661
41693
 
@@ -41688,7 +41720,7 @@ function Settings($$anchor, $$props) {
41688
41720
  "path",
41689
41721
 
41690
41722
  {
41691
- "d": "M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"
41723
+ "d": "M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065"
41692
41724
  }
41693
41725
  ],
41694
41726
 
@@ -42666,7 +42698,7 @@ function File($$anchor, $$props) {
42666
42698
  "path",
42667
42699
 
42668
42700
  {
42669
- "d": "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"
42701
+ "d": "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2"
42670
42702
  }
42671
42703
  ]
42672
42704
  ];
@@ -42697,7 +42729,7 @@ function File_type_doc($$anchor, $$props) {
42697
42729
 
42698
42730
  [
42699
42731
  "path",
42700
- { "d": "M5 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z" }
42732
+ { "d": "M5 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1" }
42701
42733
  ],
42702
42734
 
42703
42735
  [
@@ -42709,7 +42741,7 @@ function File_type_doc($$anchor, $$props) {
42709
42741
  "path",
42710
42742
 
42711
42743
  {
42712
- "d": "M12.5 15a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1 -3 0v-3a1.5 1.5 0 0 1 1.5 -1.5z"
42744
+ "d": "M12.5 15a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1 -3 0v-3a1.5 1.5 0 0 1 1.5 -1.5"
42713
42745
  }
42714
42746
  ]
42715
42747
  ];
@@ -42743,7 +42775,7 @@ function File_type_pdf($$anchor, $$props) {
42743
42775
 
42744
42776
  [
42745
42777
  "path",
42746
- { "d": "M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z" }
42778
+ { "d": "M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1" }
42747
42779
  ]
42748
42780
  ];
42749
42781
 
@@ -42839,7 +42871,7 @@ function Headphones($$anchor, $$props) {
42839
42871
  "path",
42840
42872
 
42841
42873
  {
42842
- "d": "M4 13m0 2a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2z"
42874
+ "d": "M4 15a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2l0 -3"
42843
42875
  }
42844
42876
  ],
42845
42877
 
@@ -42847,7 +42879,7 @@ function Headphones($$anchor, $$props) {
42847
42879
  "path",
42848
42880
 
42849
42881
  {
42850
- "d": "M15 13m0 2a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2z"
42882
+ "d": "M15 15a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2l0 -3"
42851
42883
  }
42852
42884
  ],
42853
42885
 
@@ -42879,7 +42911,7 @@ function Video($$anchor, $$props) {
42879
42911
  "path",
42880
42912
 
42881
42913
  {
42882
- "d": "M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"
42914
+ "d": "M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4"
42883
42915
  }
42884
42916
  ],
42885
42917
 
@@ -42887,7 +42919,7 @@ function Video($$anchor, $$props) {
42887
42919
  "path",
42888
42920
 
42889
42921
  {
42890
- "d": "M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"
42922
+ "d": "M3 8a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l0 -8"
42891
42923
  }
42892
42924
  ]
42893
42925
  ];
@@ -44109,7 +44141,7 @@ function parseConfig(config) {
44109
44141
  }
44110
44142
  }
44111
44143
 
44112
- const version = "4.0.0-alpha.44";
44144
+ const version = "4.0.0-alpha.45";
44113
44145
  function attachDraftSwitcher(engine) {
44114
44146
  if (engine.hasDraft()) {
44115
44147
  const container = document.createElement("div");