@bigbinary/neeto-editor 1.28.19 → 1.28.21

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/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { isNotEmpty, findBy, noop as noop$2, removeBy, findIndexBy, removeById, slugify } from '@bigbinary/neeto-commons-frontend/pure';
2
- import { pluck, isEmpty as isEmpty$1, isNil, mergeDeepLeft, mergeRight, assoc, concat as concat$3, is, not, prop, fromPairs, last, min as min$1 } from 'ramda';
2
+ import { pluck, isEmpty as isEmpty$1, isNil, mergeDeepLeft, mergeRight, assoc, concat as concat$3, is, not, fromPairs, prop, last } from 'ramda';
3
3
  import * as React$6 from 'react';
4
4
  import React__default, { useContext, useState, useRef as useRef$1, useEffect as useEffect$1, useImperativeHandle, createContext, forwardRef as forwardRef$1, cloneElement, useLayoutEffect, useMemo, useCallback } from 'react';
5
5
  import { renderToString } from 'react-dom/server';
6
6
  import { Toastr, Dropdown as Dropdown$1, Tooltip, Input, Button as Button$1, Typography, Alert, Modal, Spinner, Avatar, Tab, Label } from '@bigbinary/neetoui';
7
- import { LeftAlign, CenterAlign, RightAlign, Delete, Close, MenuVertical, Left, Right, Download, Down, MenuHorizontal, Paragraph as Paragraph$1, TextH1, TextH2, Text as Text$2, ListNumber, ListDot, ImageUpload, Video, Blockquote as Blockquote$1, CodeBlock as CodeBlock$2, Smiley, Minus, MediaVideo, Notes, NeetoChangelog, TextBold, TextItalic, Underline as Underline$1, TextCross, Highlight as Highlight$1, Quote, Code as Code$1, Undo, Redo, Check, Email as Email$1, Customize, Link as Link$1, Settings, File as File$2 } from '@bigbinary/neeto-icons';
7
+ import { LeftAlign, CenterAlign, RightAlign, Delete, Close, MenuVertical, Left, Right, Download, Down, MenuHorizontal, Paragraph as Paragraph$1, TextH1, TextH2, Text as Text$2, ListNumber, ListDot, ImageUpload, Video, Blockquote as Blockquote$1, CodeBlock as CodeBlock$2, Smiley, Minus, MediaVideo, Notes, NeetoChangelog, TextBold, TextItalic, Underline as Underline$1, TextCross, Highlight as Highlight$1, Quote, Code as Code$1, Link as Link$1, Attachment as Attachment$1, Undo, Redo, Check, Email as Email$1, Customize, Settings, File as File$2 } from '@bigbinary/neeto-icons';
8
8
  import axios from 'axios';
9
9
  import { withEventTargetValue } from '@bigbinary/neeto-commons-frontend/utils';
10
10
  import ReactDOM, { flushSync, createPortal } from 'react-dom';
11
- import { useFuncDebounce, useOnClickOutside } from '@bigbinary/neeto-commons-frontend/react-utils';
11
+ import { useOnClickOutside, useFuncDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
12
12
  import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
13
13
  import DynamicVariables from '@bigbinary/neeto-molecules/DynamicVariables';
14
14
  import { FastField } from 'formik';
@@ -6562,6 +6562,15 @@ var isEditorOverlaysActive = function isEditorOverlaysActive() {
6562
6562
  var active = document.querySelector(".ne-media-uploader,.ne-embed-modal,.tippy-content");
6563
6563
  return active;
6564
6564
  };
6565
+ var validateAndFormatUrl = function validateAndFormatUrl(url) {
6566
+ if (!URL_REGEXP.test(url)) {
6567
+ return null;
6568
+ }
6569
+ if (!/^(https?:\/\/)/i.test(url)) {
6570
+ return "https://".concat(url);
6571
+ }
6572
+ return url;
6573
+ };
6565
6574
 
6566
6575
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6567
6576
 
@@ -38208,7 +38217,7 @@ instance.reloadResources;
38208
38217
  instance.use;
38209
38218
  instance.changeLanguage;
38210
38219
  instance.getFixedT;
38211
- var t$7 = instance.t;
38220
+ var t$6 = instance.t;
38212
38221
  instance.exists;
38213
38222
  instance.setDefaultNamespace;
38214
38223
  instance.hasLoadedNamespace;
@@ -38266,7 +38275,7 @@ var voidElements = {
38266
38275
  "wbr": true
38267
38276
  };
38268
38277
 
38269
- var t$6=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n$3(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(voidElements[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return {type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t$6),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--;}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r$2=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i$4=/^\s*$/,s$3=Object.create(null);function a$2(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a$2,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c$3={parse:function(e,t){t||(t={}),t.components||(t.components=s$3);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)});}return e.replace(r$2,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1;}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n$3(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n$3(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i$4.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g});}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a$2("",t)},"")}};
38278
+ var t$5=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n$3(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],(voidElements[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return {type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t$5),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--;}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r$2=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i$4=/^\s*$/,s$3=Object.create(null);function a$2(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a$2,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c$3={parse:function(e,t){t||(t={}),t.components||(t.components=s$3);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)});}return e.replace(r$2,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1;}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n$3(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n$3(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i$4.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g});}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a$2("",t)},"")}};
38270
38279
 
38271
38280
  /**
38272
38281
  * Copyright (C) 2017-present by Andrea Giammarchi - @WebReflection
@@ -38452,7 +38461,7 @@ function hasLoadedNamespace(ns, i18n) {
38452
38461
  });
38453
38462
  }
38454
38463
 
38455
- var _excluded$a = ["format"],
38464
+ var _excluded$9 = ["format"],
38456
38465
  _excluded2 = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
38457
38466
 
38458
38467
  function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
@@ -38518,7 +38527,7 @@ function nodesToString(children, i18nOptions) {
38518
38527
  warn$2("Trans: the passed in value is invalid - seems you passed in a null child.");
38519
38528
  } else if (_typeof$3(child) === 'object') {
38520
38529
  var format = child.format,
38521
- clone = _objectWithoutProperties$1(child, _excluded$a);
38530
+ clone = _objectWithoutProperties$1(child, _excluded$9);
38522
38531
 
38523
38532
  var keys = Object.keys(clone);
38524
38533
 
@@ -38860,7 +38869,10 @@ var common = {
38860
38869
  reset: "Reset",
38861
38870
  auto: "Auto",
38862
38871
  edit: "Edit",
38863
- cancel: "Cancel"
38872
+ cancel: "Cancel",
38873
+ text: "Text:",
38874
+ done: "Done",
38875
+ url: "Url:"
38864
38876
  };
38865
38877
  var attachments = {
38866
38878
  actionsBlocked: "You are not permitted to update or delete attachments",
@@ -38918,6 +38930,7 @@ var placeholders = {
38918
38930
  rows: "Enter rows",
38919
38931
  searchUnsplash: "Search Unsplash",
38920
38932
  url: "Enter URL",
38933
+ enterText: "Enter text",
38921
38934
  writeSomething: "Write something …",
38922
38935
  searchLanguages: "Search languages"
38923
38936
  };
@@ -43143,7 +43156,7 @@ var Uppy_1 = Uppy$1;
43143
43156
 
43144
43157
  var preact = {};
43145
43158
 
43146
- var n$2,l$1,u$2,t$5,i$3,o$1,r$1,f$2={},e$2=[],c$2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$2(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function p$2(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$2(l,f,i,o,null)}function v$2(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$2:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function h$8(n){return n.children}function y$2(n,l){this.props=n,this.context=l;}function d$2(n,l){if(null==l)return n.__?d$2(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?d$2(n):null}function _(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return _(n)}}function k$1(n){(!n.__d&&(n.__d=!0)&&i$3.push(n)&&!x$2.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||setTimeout)(x$2);}function x$2(){for(var n;x$2.__r=i$3.length;)n=i$3.sort(function(n,l){return n.__v.__b-l.__v.__b}),i$3=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s$2({},i)).__v=i.__v+1,I$1(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?d$2(i):o,i.__h),T$1(u,i),i.__e!=o&&_(i)));});}function b$2(n,l,u,t,i,o,r,c,s,a){var p,y,_,k,x,b,m,A=t&&t.__k||e$2,C=A.length;for(u.__k=[],p=0;p<l.length;p++)if(null!=(k=u.__k[p]=null==(k=l[p])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$2(null,k,null,null,k):Array.isArray(k)?v$2(h$8,{children:k},null,null,null):k.__b>0?v$2(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(_=A[p])||_&&k.key==_.key&&k.type===_.type)A[p]=void 0;else for(y=0;y<C;y++){if((_=A[y])&&k.key==_.key&&k.type===_.type){A[y]=void 0;break}_=null;}I$1(n,k,_=_||f$2,i,o,r,c,s,a),x=k.__e,(y=k.ref)&&_.ref!=y&&(m||(m=[]),_.ref&&m.push(_.ref,null,k),m.push(y,k.__c||x,k)),null!=x?(null==b&&(b=x),"function"==typeof k.type&&k.__k===_.__k?k.__d=s=g$2(k,s,n):s=w$2(n,k,_,A,x,s),"function"==typeof u.type&&(u.__d=s)):s&&_.__e==s&&s.parentNode!=n&&(s=d$2(_));}for(u.__e=b,p=C;p--;)null!=A[p]&&("function"==typeof u.type&&null!=A[p].__e&&A[p].__e==u.__d&&(u.__d=d$2(t,p+1)),L$1(A[p],A[p]));if(m)for(p=0;p<m.length;p++)z(m[p],m[++p],m[++p]);}function g$2(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?g$2(t,l,u):w$2(u,t,t,i,t.__e,l));return l}function w$2(n,l,u,t,i,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<t.length;e+=2)if(f==i)break n;n.insertBefore(i,o),r=o;}return void 0!==r?r:i.nextSibling}function m$2(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||C$1(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C$1(n,o,l[o],u[o],t);}function A(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$2.test(l)?u:u+"px";}function C$1(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H$1:$$2,o):n.removeEventListener(l,o?H$1:$$2,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function $$2(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function H$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function I$1(n,u,t,i,o,r,f,e,c){var a,p,v,d,_,k,x,g,w,m,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,e=u.__e=t.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,w=(a=H.contextType)&&i[a.__c],m=a?w?w.props.value:a.__:i,t.__c?x=(p=u.__c=t.__c).__=p.__E:("prototype"in H&&H.prototype.render?u.__c=p=new H(g,m):(u.__c=p=new y$2(g,m),p.constructor=H,p.render=M$1),w&&w.sub(p),p.props=g,p.state||(p.state={}),p.context=m,p.__n=i,v=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=H.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=s$2({},p.__s)),s$2(p.__s,H.getDerivedStateFromProps(g,p.__s))),d=p.props,_=p.state,v)null==H.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,m),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,m)||u.__v===t.__v){p.props=g,p.state=p.__s,u.__v!==t.__v&&(p.__d=!1),p.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,m),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,k);});}if(p.context=m,p.props=g,p.__v=u,p.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)p.state=p.__s,p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context);else do{p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++C<25);p.state=p.__s,null!=p.getChildContext&&(i=s$2(s$2({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(k=p.getSnapshotBeforeUpdate(d,_)),$=null!=a&&a.type===h$8&&null==a.key?a.props.children:a,b$2(n,Array.isArray($)?$:[$],u,t,i,o,r,f,e,c),p.base=u.__e,u.__h=null,p.__h.length&&f.push(p),x&&(p.__E=p.__=null),p.__e=!1;}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,t);}}function T$1(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function j$1(l,u,t,i,o,r,e,c){var s,p,v,h=t.props,y=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(y);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),r=null,c=!1;}if(null===_)h===y||c&&l.data===y||(l.data=y);else {if(r=r&&n$2.call(l.childNodes),p=(h=t.props||f$2).dangerouslySetInnerHTML,v=y.dangerouslySetInnerHTML,!c){if(null!=r)for(h={},k=0;k<l.attributes.length;k++)h[l.attributes[k].name]=l.attributes[k].value;(v||p)&&(v&&(p&&v.__html==p.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(m$2(l,y,h,o,c),v)u.__k=[];else if(k=u.props.children,b$2(l,Array.isArray(k)?k:[k],u,t,i,o&&"foreignObject"!==_,r,e,r?r[0]:t.__k&&d$2(t,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in y&&void 0!==(k=y.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==h.value)&&C$1(l,"value",k,h.value,!1),"checked"in y&&void 0!==(k=y.checked)&&k!==l.checked&&C$1(l,"checked",k,h.checked,!1));}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function L$1(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&L$1(i[o],u,"function"!=typeof n.type);t||null==n.__e||a$1(n.__e),n.__=n.__e=n.__d=void 0;}function M$1(n,l,u){return this.constructor(n,u)}function N$1(u,t,i){var o,r,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I$1(t,u=(!o&&i||t).__k=p$2(h$8,null,[u]),r||f$2,f$2,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n$2.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T$1(e,u);}n$2=e$2.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,t$5=function(n){return null!=n&&void 0===n.constructor},y$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$2({},this.state),"function"==typeof n&&(n=n(s$2({},u),this.props)),n&&s$2(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k$1(this));},y$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k$1(this));},y$2.prototype.render=h$8,i$3=[],x$2.__r=0,r$1=0,preact.Component=y$2,preact.Fragment=h$8,preact.cloneElement=function(l,u,t){var i,o,r,f=s$2({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),v$2(l.type,f,i||l.key,o||l.ref,null)},preact.createContext=function(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k$1);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u},preact.createElement=p$2,preact.createRef=function(){return {current:null}},preact.h=p$2,preact.hydrate=function n(l,u){N$1(l,u,n);},preact.isValidElement=t$5,preact.options=l$1,preact.render=N$1,preact.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u);}):u.push(l)),u};
43159
+ var n$2,l$1,u$2,t$4,i$3,o$1,r$1,f$2={},e$2=[],c$2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$2(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function p$2(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$2(l,f,i,o,null)}function v$2(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$2:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function h$8(n){return n.children}function y$2(n,l){this.props=n,this.context=l;}function d$2(n,l){if(null==l)return n.__?d$2(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?d$2(n):null}function _(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return _(n)}}function k$1(n){(!n.__d&&(n.__d=!0)&&i$3.push(n)&&!x$2.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||setTimeout)(x$2);}function x$2(){for(var n;x$2.__r=i$3.length;)n=i$3.sort(function(n,l){return n.__v.__b-l.__v.__b}),i$3=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s$2({},i)).__v=i.__v+1,I$1(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?d$2(i):o,i.__h),T$1(u,i),i.__e!=o&&_(i)));});}function b$2(n,l,u,t,i,o,r,c,s,a){var p,y,_,k,x,b,m,A=t&&t.__k||e$2,C=A.length;for(u.__k=[],p=0;p<l.length;p++)if(null!=(k=u.__k[p]=null==(k=l[p])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$2(null,k,null,null,k):Array.isArray(k)?v$2(h$8,{children:k},null,null,null):k.__b>0?v$2(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(_=A[p])||_&&k.key==_.key&&k.type===_.type)A[p]=void 0;else for(y=0;y<C;y++){if((_=A[y])&&k.key==_.key&&k.type===_.type){A[y]=void 0;break}_=null;}I$1(n,k,_=_||f$2,i,o,r,c,s,a),x=k.__e,(y=k.ref)&&_.ref!=y&&(m||(m=[]),_.ref&&m.push(_.ref,null,k),m.push(y,k.__c||x,k)),null!=x?(null==b&&(b=x),"function"==typeof k.type&&k.__k===_.__k?k.__d=s=g$2(k,s,n):s=w$2(n,k,_,A,x,s),"function"==typeof u.type&&(u.__d=s)):s&&_.__e==s&&s.parentNode!=n&&(s=d$2(_));}for(u.__e=b,p=C;p--;)null!=A[p]&&("function"==typeof u.type&&null!=A[p].__e&&A[p].__e==u.__d&&(u.__d=d$2(t,p+1)),L$1(A[p],A[p]));if(m)for(p=0;p<m.length;p++)z(m[p],m[++p],m[++p]);}function g$2(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?g$2(t,l,u):w$2(u,t,t,i,t.__e,l));return l}function w$2(n,l,u,t,i,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<t.length;e+=2)if(f==i)break n;n.insertBefore(i,o),r=o;}return void 0!==r?r:i.nextSibling}function m$2(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||C$1(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C$1(n,o,l[o],u[o],t);}function A(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$2.test(l)?u:u+"px";}function C$1(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H$1:$$2,o):n.removeEventListener(l,o?H$1:$$2,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function $$2(n){this.l[n.type+!1](l$1.event?l$1.event(n):n);}function H$1(n){this.l[n.type+!0](l$1.event?l$1.event(n):n);}function I$1(n,u,t,i,o,r,f,e,c){var a,p,v,d,_,k,x,g,w,m,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,e=u.__e=t.__e,u.__h=null,r=[e]),(a=l$1.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,w=(a=H.contextType)&&i[a.__c],m=a?w?w.props.value:a.__:i,t.__c?x=(p=u.__c=t.__c).__=p.__E:("prototype"in H&&H.prototype.render?u.__c=p=new H(g,m):(u.__c=p=new y$2(g,m),p.constructor=H,p.render=M$1),w&&w.sub(p),p.props=g,p.state||(p.state={}),p.context=m,p.__n=i,v=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=H.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=s$2({},p.__s)),s$2(p.__s,H.getDerivedStateFromProps(g,p.__s))),d=p.props,_=p.state,v)null==H.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==H.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,m),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,m)||u.__v===t.__v){p.props=g,p.state=p.__s,u.__v!==t.__v&&(p.__d=!1),p.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,m),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,k);});}if(p.context=m,p.props=g,p.__v=u,p.__P=n,A=l$1.__r,C=0,"prototype"in H&&H.prototype.render)p.state=p.__s,p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context);else do{p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++C<25);p.state=p.__s,null!=p.getChildContext&&(i=s$2(s$2({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(k=p.getSnapshotBeforeUpdate(d,_)),$=null!=a&&a.type===h$8&&null==a.key?a.props.children:a,b$2(n,Array.isArray($)?$:[$],u,t,i,o,r,f,e,c),p.base=u.__e,u.__h=null,p.__h.length&&f.push(p),x&&(p.__E=p.__=null),p.__e=!1;}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c);(a=l$1.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$1.__e(n,u,t);}}function T$1(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function j$1(l,u,t,i,o,r,e,c){var s,p,v,h=t.props,y=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(y);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),r=null,c=!1;}if(null===_)h===y||c&&l.data===y||(l.data=y);else {if(r=r&&n$2.call(l.childNodes),p=(h=t.props||f$2).dangerouslySetInnerHTML,v=y.dangerouslySetInnerHTML,!c){if(null!=r)for(h={},k=0;k<l.attributes.length;k++)h[l.attributes[k].name]=l.attributes[k].value;(v||p)&&(v&&(p&&v.__html==p.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(m$2(l,y,h,o,c),v)u.__k=[];else if(k=u.props.children,b$2(l,Array.isArray(k)?k:[k],u,t,i,o&&"foreignObject"!==_,r,e,r?r[0]:t.__k&&d$2(t,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$1(r[k]);c||("value"in y&&void 0!==(k=y.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==h.value)&&C$1(l,"value",k,h.value,!1),"checked"in y&&void 0!==(k=y.checked)&&k!==l.checked&&C$1(l,"checked",k,h.checked,!1));}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function L$1(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&L$1(i[o],u,"function"!=typeof n.type);t||null==n.__e||a$1(n.__e),n.__=n.__e=n.__d=void 0;}function M$1(n,l,u){return this.constructor(n,u)}function N$1(u,t,i){var o,r,e;l$1.__&&l$1.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I$1(t,u=(!o&&i||t).__k=p$2(h$8,null,[u]),r||f$2,f$2,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n$2.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T$1(e,u);}n$2=e$2.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,t$4=function(n){return null!=n&&void 0===n.constructor},y$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$2({},this.state),"function"==typeof n&&(n=n(s$2({},u),this.props)),n&&s$2(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k$1(this));},y$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k$1(this));},y$2.prototype.render=h$8,i$3=[],x$2.__r=0,r$1=0,preact.Component=y$2,preact.Fragment=h$8,preact.cloneElement=function(l,u,t){var i,o,r,f=s$2({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n$2.call(arguments,2):t),v$2(l.type,f,i||l.key,o||l.ref,null)},preact.createContext=function(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k$1);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u},preact.createElement=p$2,preact.createRef=function(){return {current:null}},preact.h=p$2,preact.hydrate=function n(l,u){N$1(l,u,n);},preact.isValidElement=t$4,preact.options=l$1,preact.render=N$1,preact.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u);}):u.push(l)),u};
43147
43160
 
43148
43161
  function isDOMElement$2(obj) {
43149
43162
  return (obj == null ? void 0 : obj.nodeType) === Node.ELEMENT_NODE;
@@ -50983,18 +50996,18 @@ var buildImageOptions = function buildImageOptions() {
50983
50996
  return [{
50984
50997
  Icon: LeftAlign,
50985
50998
  alignPos: "left",
50986
- optionName: t$7("menu.alignLeft")
50999
+ optionName: t$6("menu.alignLeft")
50987
51000
  }, {
50988
51001
  Icon: CenterAlign,
50989
51002
  alignPos: "center",
50990
- optionName: t$7("menu.alignCenter")
51003
+ optionName: t$6("menu.alignCenter")
50991
51004
  }, {
50992
51005
  Icon: RightAlign,
50993
51006
  alignPos: "right",
50994
- optionName: t$7("menu.alignRight")
51007
+ optionName: t$6("menu.alignRight")
50995
51008
  }, {
50996
51009
  Icon: Delete,
50997
- optionName: t$7("menu.delete")
51010
+ optionName: t$6("menu.delete")
50998
51011
  }];
50999
51012
  };
51000
51013
 
@@ -58283,7 +58296,7 @@ function _extends$1() {
58283
58296
  return _extends$1.apply(this, arguments);
58284
58297
  }
58285
58298
 
58286
- var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t$4=function(r){return "string"==typeof r?r.length>0:"number"==typeof r},n$1=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e$1=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u$1=function(r){return (r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return {r:e$1(r.r,0,255),g:e$1(r.g,0,255),b:e$1(r.b,0,255),a:e$1(r.a)}},o=function(r){return {r:n$1(r.r),g:n$1(r.g),b:n$1(r.b),a:n$1(r.a,3)}},i$2=/^#([0-9a-f]{3,8})$/i,s$1=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h$1=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return {h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b$1=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return {r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g$1=function(r){return {h:u$1(r.h),s:e$1(r.s,0,100),l:e$1(r.l,0,100),a:e$1(r.a)}},d$1=function(r){return {h:n$1(r.h),s:n$1(r.s),l:n$1(r.l),a:n$1(r.a,3)}},f$1=function(r){return b$1((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e;},c$1=function(r){return {h:(t=h$1(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u;},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p$1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v$1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m$1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y$1={string:[[function(r){var t=i$2.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n$1(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n$1(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v$1.exec(r)||m$1.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(t){var n=l.exec(t)||p$1.exec(t);if(!n)return null;var e,u,a=g$1({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f$1(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t$4(n)&&t$4(e)&&t$4(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t$4(n)||!t$4(e)||!t$4(u))return null;var i=g$1({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f$1(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t$4(n)||!t$4(a)||!t$4(o))return null;var h=function(r){return {h:u$1(r.h),s:e$1(r.s,0,100),v:e$1(r.v,0,100),a:e$1(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b$1(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return [e,t[n][1]]}return [null,void 0]},x$1=function(r){return "string"==typeof r?N(r.trim(),y$1.string):"object"==typeof r&&null!==r?N(r,y$1.object):[null,void 0]},M=function(r,t){var n=c$1(r);return {h:n.h,s:e$1(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return (299*r.r+587*r.g+114*r.b)/1e3/255},$$1=function(r,t){var n=c$1(r);return {h:n.h,s:n.s,l:e$1(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x$1(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n$1(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s$1(n$1(255*a)):"","#"+s$1(t)+s$1(e)+s$1(u)+i;var r,t,e,u,a,i;},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u;},r.prototype.toHsl=function(){return d$1(c$1(this.rgba))},r.prototype.toHslString=function(){return r=d$1(c$1(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u;},r.prototype.toHsv=function(){return r=h$1(this.rgba),{h:n$1(r.h),s:n$1(r.s),v:n$1(r.v),a:n$1(r.a,3)};var r;},r.prototype.invert=function(){return w$1({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r;},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w$1(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w$1(M(this.rgba,-r))},r.prototype.grayscale=function(){return w$1(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w$1($$1(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w$1($$1(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return "number"==typeof r?w$1({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n$1(this.rgba.a,3);var t;},r.prototype.hue=function(r){var t=c$1(this.rgba);return "number"==typeof r?w$1({h:r,s:t.s,l:t.l,a:t.a}):n$1(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w$1(r).toHex()},r}(),w$1=function(r){return r instanceof j?r:new j(r)},S$1=[],k=function(r){r.forEach(function(r){S$1.indexOf(r)<0&&(r(j,y$1),S$1.push(r));});};
58299
+ var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t$3=function(r){return "string"==typeof r?r.length>0:"number"==typeof r},n$1=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e$1=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u$1=function(r){return (r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return {r:e$1(r.r,0,255),g:e$1(r.g,0,255),b:e$1(r.b,0,255),a:e$1(r.a)}},o=function(r){return {r:n$1(r.r),g:n$1(r.g),b:n$1(r.b),a:n$1(r.a,3)}},i$2=/^#([0-9a-f]{3,8})$/i,s$1=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h$1=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return {h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b$1=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return {r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g$1=function(r){return {h:u$1(r.h),s:e$1(r.s,0,100),l:e$1(r.l,0,100),a:e$1(r.a)}},d$1=function(r){return {h:n$1(r.h),s:n$1(r.s),l:n$1(r.l),a:n$1(r.a,3)}},f$1=function(r){return b$1((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e;},c$1=function(r){return {h:(t=h$1(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u;},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p$1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v$1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m$1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y$1={string:[[function(r){var t=i$2.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n$1(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n$1(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v$1.exec(r)||m$1.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:a({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(t){var n=l.exec(t)||p$1.exec(t);if(!n)return null;var e,u,a=g$1({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f$1(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t$3(n)&&t$3(e)&&t$3(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t$3(n)||!t$3(e)||!t$3(u))return null;var i=g$1({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f$1(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t$3(n)||!t$3(a)||!t$3(o))return null;var h=function(r){return {h:u$1(r.h),s:e$1(r.s,0,100),v:e$1(r.v,0,100),a:e$1(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b$1(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return [e,t[n][1]]}return [null,void 0]},x$1=function(r){return "string"==typeof r?N(r.trim(),y$1.string):"object"==typeof r&&null!==r?N(r,y$1.object):[null,void 0]},M=function(r,t){var n=c$1(r);return {h:n.h,s:e$1(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return (299*r.r+587*r.g+114*r.b)/1e3/255},$$1=function(r,t){var n=c$1(r);return {h:n.h,s:n.s,l:e$1(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x$1(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n$1(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s$1(n$1(255*a)):"","#"+s$1(t)+s$1(e)+s$1(u)+i;var r,t,e,u,a,i;},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u;},r.prototype.toHsl=function(){return d$1(c$1(this.rgba))},r.prototype.toHslString=function(){return r=d$1(c$1(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u;},r.prototype.toHsv=function(){return r=h$1(this.rgba),{h:n$1(r.h),s:n$1(r.s),v:n$1(r.v),a:n$1(r.a,3)};var r;},r.prototype.invert=function(){return w$1({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r;},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w$1(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w$1(M(this.rgba,-r))},r.prototype.grayscale=function(){return w$1(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w$1($$1(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w$1($$1(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return "number"==typeof r?w$1({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n$1(this.rgba.a,3);var t;},r.prototype.hue=function(r){var t=c$1(this.rgba);return "number"==typeof r?w$1({h:r,s:t.s,l:t.l,a:t.a}):n$1(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w$1(r).toHex()},r}(),w$1=function(r){return r instanceof j?r:new j(r)},S$1=[],k=function(r){r.forEach(function(r){S$1.indexOf(r)<0&&(r(j,y$1),S$1.push(r));});};
58287
58300
 
58288
58301
  function namesPlugin(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return "transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g);}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"]);}
58289
58302
 
@@ -59106,7 +59119,7 @@ var fileDownloadApi = {
59106
59119
  getFile: getFile
59107
59120
  };
59108
59121
 
59109
- var t$3 = instance.t;
59122
+ var t$2 = instance.t;
59110
59123
  var buildUppyConfig = function buildUppyConfig(restrictions) {
59111
59124
  return mergeRight(DEFAULT_UPPY_CONFIG, {
59112
59125
  restrictions: restrictions
@@ -59120,14 +59133,14 @@ var selectFiles = function selectFiles(_ref) {
59120
59133
  if (maxNumberOfFiles) {
59121
59134
  var remainingAttachments = maxNumberOfFiles - previousAttachmentsCount;
59122
59135
  if (remainingAttachments <= 0) {
59123
- Toastr.warning(t$3("attachments.maxNumberOfFiles", {
59136
+ Toastr.warning(t$2("attachments.maxNumberOfFiles", {
59124
59137
  entity: maxNumberOfFiles
59125
59138
  }));
59126
59139
  return [];
59127
59140
  }
59128
59141
  var selectedFiles = Array.from(files).slice(0, remainingAttachments);
59129
59142
  if (selectedFiles.length < files.length) {
59130
- Toastr.warning(t$3("attachments.maxNumberOfFiles", {
59143
+ Toastr.warning(t$2("attachments.maxNumberOfFiles", {
59131
59144
  entity: maxNumberOfFiles
59132
59145
  }));
59133
59146
  }
@@ -59144,7 +59157,7 @@ var handleDrop = function handleDrop(_ref2) {
59144
59157
  var files = uppy.getFiles();
59145
59158
  var totalAttachments = files.length + previousAttachmentsCount;
59146
59159
  if (totalAttachments > maxNumberOfFiles) {
59147
- Toastr.warning(t$3("attachments.maxNumberOfFiles", {
59160
+ Toastr.warning(t$2("attachments.maxNumberOfFiles", {
59148
59161
  entity: maxNumberOfFiles
59149
59162
  }));
59150
59163
  uppy.reset();
@@ -59191,7 +59204,7 @@ var downloadFile = /*#__PURE__*/function () {
59191
59204
  };
59192
59205
  }();
59193
59206
 
59194
- var Menu$8 = Dropdown$1.Menu,
59207
+ var Menu$7 = Dropdown$1.Menu,
59195
59208
  MenuItem$3 = Dropdown$1.MenuItem;
59196
59209
  var Attachment = function Attachment(_ref) {
59197
59210
  var _handlers;
@@ -59377,7 +59390,7 @@ var Attachment = function Attachment(_ref) {
59377
59390
  buttonStyle: "text",
59378
59391
  disabled: disabled,
59379
59392
  icon: MenuVertical
59380
- }, /*#__PURE__*/React__default.createElement(Menu$8, null, Object.entries(handlers).map(function (_ref6) {
59393
+ }, /*#__PURE__*/React__default.createElement(Menu$7, null, Object.entries(handlers).map(function (_ref6) {
59381
59394
  var _ref7 = _slicedToArray(_ref6, 2),
59382
59395
  label = _ref7[0],
59383
59396
  handler = _ref7[1];
@@ -82432,7 +82445,7 @@ const CodeBlockLowlight = CodeBlock$1.extend({
82432
82445
 
82433
82446
  var SORTED_LANGUAGE_LIST = lowlight.listLanguages().sort();
82434
82447
 
82435
- var Menu$7 = Dropdown$1.Menu,
82448
+ var Menu$6 = Dropdown$1.Menu,
82436
82449
  MenuItem$2 = Dropdown$1.MenuItem;
82437
82450
  var CodeBlockComponent = function CodeBlockComponent(_ref) {
82438
82451
  var _node$attrs3, _node$content, _node$content$content;
@@ -82485,7 +82498,7 @@ var CodeBlockComponent = function CodeBlockComponent(_ref) {
82485
82498
  e.preventDefault();
82486
82499
  e.stopPropagation();
82487
82500
  }
82488
- }), /*#__PURE__*/React__default.createElement(Menu$7, {
82501
+ }), /*#__PURE__*/React__default.createElement(Menu$6, {
82489
82502
  className: "neeto-editor-codeblock-options__menu"
82490
82503
  }, filteredAndSortedLanguageList.map(function (language) {
82491
82504
  return /*#__PURE__*/React__default.createElement(MenuItem$2.Button, {
@@ -83367,7 +83380,7 @@ var Resizable = /** @class */ (function (_super) {
83367
83380
  return Resizable;
83368
83381
  }(React$6.PureComponent));
83369
83382
 
83370
- var Menu$6 = function Menu(_ref) {
83383
+ var Menu$5 = function Menu(_ref) {
83371
83384
  var align = _ref.align,
83372
83385
  editor = _ref.editor,
83373
83386
  updateAttributes = _ref.updateAttributes,
@@ -83440,7 +83453,7 @@ var EmbedComponent = function EmbedComponent(_ref) {
83440
83453
  })));
83441
83454
  editor.commands.focus();
83442
83455
  }
83443
- }, /*#__PURE__*/React__default.createElement(Menu$6, {
83456
+ }, /*#__PURE__*/React__default.createElement(Menu$5, {
83444
83457
  align: align,
83445
83458
  deleteNode: deleteNode,
83446
83459
  editor: editor,
@@ -86993,11 +87006,23 @@ var ImageComponent = function ImageComponent(_ref) {
86993
87006
  var height = figheight;
86994
87007
  var width = figwidth;
86995
87008
  var caption = figureRef.current ? (_figureRef$current$qu = figureRef.current.querySelector("figcaption>div")) === null || _figureRef$current$qu === void 0 ? void 0 : _figureRef$current$qu.textContent : alt;
87009
+ var handleResizeStop = function handleResizeStop(_event, _direction, ref) {
87010
+ height = ref.offsetHeight;
87011
+ width = ref.offsetWidth;
87012
+ view.dispatch(view.state.tr.setNodeMarkup(getPos(), undefined, mergeRight(node.attrs, {
87013
+ figheight: height,
87014
+ figwidth: width,
87015
+ height: height,
87016
+ width: width
87017
+ })));
87018
+ editor.commands.focus();
87019
+ };
86996
87020
  return /*#__PURE__*/React__default.createElement(NodeViewWrapper, {
86997
- className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
87021
+ className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align),
87022
+ "data-cy": "neeto-editor-image-wrapper"
86998
87023
  }, /*#__PURE__*/React__default.createElement("figure", {
86999
87024
  ref: figureRef
87000
- }, /*#__PURE__*/React__default.createElement(Menu$6, {
87025
+ }, /*#__PURE__*/React__default.createElement(Menu$5, {
87001
87026
  align: align,
87002
87027
  deleteNode: deleteNode,
87003
87028
  editor: editor,
@@ -87009,19 +87034,9 @@ var ImageComponent = function ImageComponent(_ref) {
87009
87034
  height: height,
87010
87035
  width: width
87011
87036
  },
87037
+ onResizeStop: handleResizeStop,
87012
87038
  onResize: function onResize(_event, _direction, ref) {
87013
87039
  return setCaptionWidth(ref.offsetWidth);
87014
- },
87015
- onResizeStop: function onResizeStop(_event, _direction, ref) {
87016
- height = ref.offsetHeight;
87017
- width = ref.offsetWidth;
87018
- view.dispatch(view.state.tr.setNodeMarkup(getPos(), undefined, mergeRight(node.attrs, {
87019
- figheight: height,
87020
- figwidth: width,
87021
- height: height,
87022
- width: width
87023
- })));
87024
- editor.commands.focus();
87025
87040
  }
87026
87041
  }, /*#__PURE__*/React__default.createElement("img", _extends$1({}, node.attrs, {
87027
87042
  alt: caption,
@@ -87039,7 +87054,7 @@ var ImageComponent = function ImageComponent(_ref) {
87039
87054
  })));
87040
87055
  };
87041
87056
 
87042
- var _excluded$9 = ["caption"];
87057
+ var _excluded$8 = ["caption"];
87043
87058
  var upload = /*#__PURE__*/function () {
87044
87059
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(file, url) {
87045
87060
  var _response$data, uploader, response, imageSizeInMB;
@@ -87061,7 +87076,7 @@ var upload = /*#__PURE__*/function () {
87061
87076
  return _context.abrupt("return", ((_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.blob_url) || response.blob_url);
87062
87077
  case 6:
87063
87078
  imageSizeInMB = MAX_IMAGE_SIZE / (1024 * 1024);
87064
- Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
87079
+ Toastr.error(t$6("error.imageSizeIsShouldBeLess", {
87065
87080
  limit: imageSizeInMB
87066
87081
  }));
87067
87082
  return _context.abrupt("return", "");
@@ -87174,7 +87189,7 @@ var ImageExtension = Node$1.create({
87174
87189
  return {
87175
87190
  setFigure: function setFigure(_ref3) {
87176
87191
  var caption = _ref3.caption,
87177
- attrs = _objectWithoutProperties$1(_ref3, _excluded$9);
87192
+ attrs = _objectWithoutProperties$1(_ref3, _excluded$8);
87178
87193
  return function (_ref4) {
87179
87194
  var chain = _ref4.chain;
87180
87195
  return chain().insertContent({
@@ -89372,7 +89387,7 @@ var createMentionSuggestions = function createMentionSuggestions() {
89372
89387
  };
89373
89388
  };
89374
89389
 
89375
- var _excluded$8 = ["suggestion"];
89390
+ var _excluded$7 = ["suggestion"];
89376
89391
  function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
89377
89392
  function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
89378
89393
  var suggestion$1 = {
@@ -89447,7 +89462,7 @@ var Mention = {
89447
89462
  configure: function configure(_ref3) {
89448
89463
  var _ref3$suggestion = _ref3.suggestion,
89449
89464
  suggestionConfig = _ref3$suggestion === void 0 ? {} : _ref3$suggestion,
89450
- otherConfig = _objectWithoutProperties$1(_ref3, _excluded$8);
89465
+ otherConfig = _objectWithoutProperties$1(_ref3, _excluded$7);
89451
89466
  return Mentions$1.configure(_objectSpread$6(_objectSpread$6({}, otherConfig), {}, {
89452
89467
  suggestion: _objectSpread$6(_objectSpread$6({}, suggestion$1), suggestionConfig)
89453
89468
  }));
@@ -89461,7 +89476,7 @@ var Placeholder = Extension.create({
89461
89476
  excludeNodeTypes: ["variable", "codeBlock"],
89462
89477
  emptyEditorClass: "is-editor-empty",
89463
89478
  emptyNodeClass: "is-empty",
89464
- placeholder: t$7("placeholders.writeSomething"),
89479
+ placeholder: t$6("placeholders.writeSomething"),
89465
89480
  showOnlyWhenEditable: true,
89466
89481
  showOnlyCurrent: false,
89467
89482
  includeChildren: false
@@ -89893,7 +89908,7 @@ var index$1 = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
89893
89908
 
89894
89909
  function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
89895
89910
  function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
89896
- var Menu$5 = /*#__PURE__*/function (_React$Component) {
89911
+ var Menu$4 = /*#__PURE__*/function (_React$Component) {
89897
89912
  _inherits$1(Menu, _React$Component);
89898
89913
  var _super = _createSuper$1(Menu);
89899
89914
  function Menu(props) {
@@ -90104,7 +90119,7 @@ var CommandsList = /*#__PURE__*/function (_React$Component) {
90104
90119
  _createClass$1(CommandsList, [{
90105
90120
  key: "render",
90106
90121
  value: function render() {
90107
- return /*#__PURE__*/React__default.createElement(Menu$5, _extends$1({}, this.props, {
90122
+ return /*#__PURE__*/React__default.createElement(Menu$4, _extends$1({}, this.props, {
90108
90123
  activeMenuIndex: this.state.activeMenuIndex,
90109
90124
  items: this.props.items,
90110
90125
  menuIndex: 0,
@@ -90460,7 +90475,7 @@ var SlashCommands = {
90460
90475
  }
90461
90476
  };
90462
90477
 
90463
- var _excluded$7 = ["suggestion"];
90478
+ var _excluded$6 = ["suggestion"];
90464
90479
  function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
90465
90480
  function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
90466
90481
  var SpecialMentionPluginKey = new PluginKey("special-mention");
@@ -90533,7 +90548,7 @@ var SpecialMentions$1 = {
90533
90548
  configure: function configure(_ref3) {
90534
90549
  var _ref3$suggestion = _ref3.suggestion,
90535
90550
  suggestionConfig = _ref3$suggestion === void 0 ? {} : _ref3$suggestion,
90536
- otherConfig = _objectWithoutProperties$1(_ref3, _excluded$7);
90551
+ otherConfig = _objectWithoutProperties$1(_ref3, _excluded$6);
90537
90552
  return SpecialMentions.configure(_objectSpread$4(_objectSpread$4({}, otherConfig), {}, {
90538
90553
  suggestion: _objectSpread$4(_objectSpread$4({}, suggestion), suggestionConfig)
90539
90554
  }));
@@ -93438,7 +93453,7 @@ var VideoComponent = function VideoComponent(_ref) {
93438
93453
  className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
93439
93454
  }, /*#__PURE__*/React__default.createElement("figure", {
93440
93455
  ref: figureRef
93441
- }, /*#__PURE__*/React__default.createElement(Menu$6, {
93456
+ }, /*#__PURE__*/React__default.createElement(Menu$5, {
93442
93457
  align: align,
93443
93458
  deleteNode: deleteNode,
93444
93459
  editor: editor,
@@ -93481,7 +93496,7 @@ var VideoComponent = function VideoComponent(_ref) {
93481
93496
  })));
93482
93497
  };
93483
93498
 
93484
- var _excluded$6 = ["caption"];
93499
+ var _excluded$5 = ["caption"];
93485
93500
  var VideoExtension = Node$1.create({
93486
93501
  name: "video",
93487
93502
  addOptions: function addOptions() {
@@ -93577,7 +93592,7 @@ var VideoExtension = Node$1.create({
93577
93592
  return {
93578
93593
  setVideo: function setVideo(_ref2) {
93579
93594
  var caption = _ref2.caption,
93580
- attrs = _objectWithoutProperties$1(_ref2, _excluded$6);
93595
+ attrs = _objectWithoutProperties$1(_ref2, _excluded$5);
93581
93596
  return function (_ref3) {
93582
93597
  var chain = _ref3.chain;
93583
93598
  return chain().insertContent({
@@ -93725,9 +93740,10 @@ var LinkPopOver = function LinkPopOver(_ref) {
93725
93740
  return editor.chain().focus().extendMarkRange("link").unsetLink().run();
93726
93741
  };
93727
93742
  var handleLink = function handleLink() {
93728
- if (URL_REGEXP.test(urlString)) {
93743
+ var formattedUrl = validateAndFormatUrl(urlString);
93744
+ if (formattedUrl) {
93729
93745
  editor.chain().focus().extendMarkRange("link").setLink({
93730
- href: urlString
93746
+ href: formattedUrl
93731
93747
  }).run();
93732
93748
  setIsEditing(false);
93733
93749
  } else {
@@ -93749,6 +93765,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
93749
93765
  setIsEditing(false);
93750
93766
  setIsLinkActive(false);
93751
93767
  };
93768
+ useOnClickOutside(popOverRef, removePopover);
93752
93769
  useEffect$1(function () {
93753
93770
  window.addEventListener("resize", removePopover);
93754
93771
  window.addEventListener("wheel", removePopover);
@@ -93770,7 +93787,6 @@ var LinkPopOver = function LinkPopOver(_ref) {
93770
93787
  position: "fixed",
93771
93788
  top: popoverPosition.top,
93772
93789
  left: popoverPosition.left,
93773
- zIndex: 999,
93774
93790
  transform: "translateY(52px) translateX(".concat(isEditing ? "8px" : "3px", ")")
93775
93791
  };
93776
93792
  var renderEditingMode = function renderEditingMode() {
@@ -93780,7 +93796,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
93780
93796
  label: t("menu.link"),
93781
93797
  placeholder: t("placeholders.url"),
93782
93798
  style: {
93783
- width: "400px"
93799
+ width: "250px"
93784
93800
  },
93785
93801
  value: urlString,
93786
93802
  onChange: function onChange(_ref3) {
@@ -93830,7 +93846,7 @@ var LinkPopOver = function LinkPopOver(_ref) {
93830
93846
  };
93831
93847
  return /*#__PURE__*/createPortal(isLinkActive ? /*#__PURE__*/React__default.createElement("div", {
93832
93848
  className: "ne-link-popover",
93833
- id: "ne-link-popover",
93849
+ id: "ne-link-view-popover",
93834
93850
  ref: popOverRef,
93835
93851
  style: popoverStyle
93836
93852
  }, isEditing ? renderEditingMode() : renderViewMode()) : null, document.body);
@@ -94017,6 +94033,7 @@ var LocalUploader = function LocalUploader(_ref) {
94017
94033
  uppy: uppy
94018
94034
  }) : /*#__PURE__*/React__default.createElement("div", {
94019
94035
  className: "ne-media-uploader__dnd",
94036
+ "data-cy": "neeto-editor-media-uploader-dnd",
94020
94037
  ref: dropTargetRef,
94021
94038
  onClick: function onClick() {
94022
94039
  var _fileInputRef$current;
@@ -94025,6 +94042,7 @@ var LocalUploader = function LocalUploader(_ref) {
94025
94042
  }, /*#__PURE__*/React__default.createElement("input", {
94026
94043
  multiple: true,
94027
94044
  className: "ne-media-uploader__dnd-input",
94045
+ "data-cy": "neeto-editor-media-uploader-input",
94028
94046
  ref: fileInputRef,
94029
94047
  type: "file",
94030
94048
  accept: isImage ? ALLOWED_IMAGE_TYPES.join(",") : ALLOWED_VIDEO_TYPES.join(","),
@@ -95120,12 +95138,12 @@ var MediaUploader = function MediaUploader(_ref) {
95120
95138
  }))));
95121
95139
  };
95122
95140
 
95123
- var e=[],t$2=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t$2[u]={}),a=t$2[u]&&t$2[u][s]?t$2[u][s]:t$2[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
95141
+ var e=[],t$1=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t$1[u]={}),a=t$1[u]&&t$1[u][s]?t$1[u][s]:t$1[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
95124
95142
 
95125
95143
  var css$1 = ".tippy-box[data-placement^=top]>.tippy-svg-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-svg-arrow:after,.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg{top:16px;transform:rotate(180deg)}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}.tippy-box[data-placement^=left]>.tippy-svg-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-svg-arrow:after,.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg{left:11px;top:calc(50% - 3px);transform:rotate(90deg)}.tippy-box[data-placement^=right]>.tippy-svg-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-svg-arrow:after,.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg{right:11px;top:calc(50% - 3px);transform:rotate(-90deg)}.tippy-svg-arrow{fill:#333;height:16px;text-align:left;text-align:initial;width:16px}.tippy-svg-arrow,.tippy-svg-arrow>svg{position:absolute}";
95126
95144
  n(css$1,{});
95127
95145
 
95128
- var LinkOption$1 = function LinkOption(_ref) {
95146
+ var LinkOption = function LinkOption(_ref) {
95129
95147
  var editor = _ref.editor,
95130
95148
  handleClose = _ref.handleClose,
95131
95149
  handleAnimateInvalidLink = _ref.handleAnimateInvalidLink;
@@ -95190,37 +95208,59 @@ var LinkOption$1 = function LinkOption(_ref) {
95190
95208
  }));
95191
95209
  };
95192
95210
 
95193
- var _excluded$5 = ["size", "color", "strokeWidth"];
95194
- // eslint-disable-next-line import/exports-last
95195
- var FileAttachments = function FileAttachments(_ref) {
95196
- var size = _ref.size,
95197
- color = _ref.color,
95198
- strokeWidth = _ref.strokeWidth,
95199
- other = _objectWithoutProperties$1(_ref, _excluded$5);
95200
- return /*#__PURE__*/React__default.createElement("svg", _extends$1({
95201
- fill: "none",
95202
- height: size,
95203
- viewBox: "0 0 24 24",
95204
- width: size
95205
- }, other), /*#__PURE__*/React__default.createElement("path", {
95206
- d: "M13.8791 8.37527L8.39309 13.8613C7.56709 14.6873 7.56709 16.0273 8.39309 16.8533C9.21909 17.6793 10.5591 17.6793 11.3851 16.8533L18.6171 9.62127C20.1321 8.10627 20.1321 5.65027 18.6171 4.13527C17.1021 2.62027 14.6461 2.62027 13.1311 4.13527L5.89909 11.3673C3.69509 13.5713 3.69509 17.1433 5.89909 19.3473C8.10309 21.5513 11.6751 21.5513 13.8791 19.3473L18.2681 14.9583",
95207
- stroke: color,
95208
- strokeWidth: strokeWidth
95209
- }));
95210
- };
95211
- FileAttachments.defaultProps = {
95212
- color: "currentColor",
95213
- size: 24,
95214
- strokeWidth: "1.5"
95211
+ function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
95212
+ function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
95213
+ var tableActions = function tableActions(_ref) {
95214
+ var editor = _ref.editor;
95215
+ return [{
95216
+ label: t$6("table.insertRow"),
95217
+ command: function command() {
95218
+ return editor.commands.addRowAfter();
95219
+ }
95220
+ }, {
95221
+ label: t$6("table.insertColumn"),
95222
+ command: function command() {
95223
+ return editor.commands.addColumnAfter();
95224
+ }
95225
+ }, {
95226
+ label: t$6("table.deleteRow"),
95227
+ command: function command() {
95228
+ return editor.chain().focus().deleteRow().run();
95229
+ }
95230
+ }, {
95231
+ label: t$6("table.deleteColumn"),
95232
+ command: function command() {
95233
+ return editor.chain().focus().deleteColumn().run();
95234
+ }
95235
+ }, {
95236
+ label: t$6("table.mergeSplit"),
95237
+ command: function command() {
95238
+ return editor.chain().focus().mergeOrSplit().run();
95239
+ }
95240
+ }, {
95241
+ label: t$6("table.toggleHeaderRow"),
95242
+ command: function command() {
95243
+ return editor.chain().focus().toggleHeaderRow().run();
95244
+ }
95245
+ }, {
95246
+ label: t$6("table.toggleHeaderColumn"),
95247
+ command: function command() {
95248
+ return editor.chain().focus().toggleHeaderColumn().run();
95249
+ }
95250
+ }, {
95251
+ label: t$6("table.delete"),
95252
+ command: function command() {
95253
+ return editor.commands.deleteTable();
95254
+ }
95255
+ }];
95215
95256
  };
95216
-
95217
- var t$1 = instance.t;
95218
- var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95219
- var tooltips = _ref.tooltips,
95220
- editor = _ref.editor,
95221
- setMediaUploader = _ref.setMediaUploader,
95222
- handleUploadAttachments = _ref.handleUploadAttachments,
95223
- setIsEmbedModalOpen = _ref.setIsEmbedModalOpen;
95257
+ var createMenuOptions$1 = function createMenuOptions(_ref2) {
95258
+ var tooltips = _ref2.tooltips,
95259
+ editor = _ref2.editor,
95260
+ setMediaUploader = _ref2.setMediaUploader,
95261
+ handleUploadAttachments = _ref2.handleUploadAttachments,
95262
+ setIsEmbedModalOpen = _ref2.setIsEmbedModalOpen,
95263
+ setIsAddLinkActive = _ref2.setIsAddLinkActive;
95224
95264
  return {
95225
95265
  font: [{
95226
95266
  Icon: TextBold,
@@ -95229,7 +95269,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95229
95269
  },
95230
95270
  active: editor.isActive("bold"),
95231
95271
  optionName: "bold",
95232
- tooltip: tooltips.bold || t$1("menu.bold")
95272
+ tooltip: tooltips.bold || t$6("menu.bold")
95233
95273
  }, {
95234
95274
  Icon: TextItalic,
95235
95275
  command: function command() {
@@ -95237,7 +95277,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95237
95277
  },
95238
95278
  active: editor.isActive("italic"),
95239
95279
  optionName: "italic",
95240
- tooltip: tooltips.italic || t$1("menu.italic")
95280
+ tooltip: tooltips.italic || t$6("menu.italic")
95241
95281
  }, {
95242
95282
  Icon: Underline$1,
95243
95283
  command: function command() {
@@ -95245,7 +95285,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95245
95285
  },
95246
95286
  active: editor.isActive("underline"),
95247
95287
  optionName: "underline",
95248
- tooltip: tooltips.underline || t$1("menu.underline")
95288
+ tooltip: tooltips.underline || t$6("menu.underline")
95249
95289
  }, {
95250
95290
  Icon: TextCross,
95251
95291
  command: function command() {
@@ -95253,7 +95293,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95253
95293
  },
95254
95294
  active: editor.isActive("strike"),
95255
95295
  optionName: "strike",
95256
- tooltip: tooltips.strike || t$1("menu.strike")
95296
+ tooltip: tooltips.strike || t$6("menu.strike")
95257
95297
  }, {
95258
95298
  Icon: Highlight$1,
95259
95299
  command: function command() {
@@ -95261,7 +95301,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95261
95301
  },
95262
95302
  active: editor.isActive("highlight"),
95263
95303
  optionName: "highlight",
95264
- tooltip: tooltips.highlight || t$1("menu.highlight")
95304
+ tooltip: tooltips.highlight || t$6("menu.highlight")
95265
95305
  }],
95266
95306
  block: [{
95267
95307
  Icon: Quote,
@@ -95271,7 +95311,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95271
95311
  active: editor.isActive("blockquote"),
95272
95312
  optionName: "block-quote",
95273
95313
  highlight: true,
95274
- tooltip: tooltips.blockQuote || t$1("menu.blockQuote")
95314
+ tooltip: tooltips.blockQuote || t$6("menu.blockQuote")
95275
95315
  }, {
95276
95316
  Icon: Code$1,
95277
95317
  command: function command() {
@@ -95279,7 +95319,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95279
95319
  },
95280
95320
  active: editor.isActive("code"),
95281
95321
  optionName: "code",
95282
- tooltip: tooltips.code || t$1("menu.code")
95322
+ tooltip: tooltips.code || t$6("menu.code")
95283
95323
  }, {
95284
95324
  Icon: CodeBlock$2,
95285
95325
  command: function command() {
@@ -95287,7 +95327,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95287
95327
  },
95288
95328
  active: editor.isActive("codeBlock"),
95289
95329
  optionName: "code-block",
95290
- tooltip: tooltips.codeBlock || t$1("menu.codeBlock")
95330
+ tooltip: tooltips.codeBlock || t$6("menu.codeBlock")
95291
95331
  }],
95292
95332
  list: [{
95293
95333
  Icon: ListDot,
@@ -95297,7 +95337,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95297
95337
  active: editor.isActive("bulletList"),
95298
95338
  optionName: "bullet-list",
95299
95339
  highlight: true,
95300
- tooltip: tooltips.bulletList || t$1("menu.bulletedList")
95340
+ tooltip: tooltips.bulletList || t$6("menu.bulletedList")
95301
95341
  }, {
95302
95342
  Icon: ListNumber,
95303
95343
  command: function command() {
@@ -95306,35 +95346,42 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95306
95346
  active: editor.isActive("orderedList"),
95307
95347
  optionName: "ordered-list",
95308
95348
  highlight: true,
95309
- tooltip: tooltips.orderedList || t$1("menu.orderedList")
95349
+ tooltip: tooltips.orderedList || t$6("menu.orderedList")
95310
95350
  }],
95311
95351
  misc: [{
95312
- Icon: FileAttachments,
95352
+ Icon: Link$1,
95353
+ command: function command() {
95354
+ return setIsAddLinkActive(not);
95355
+ },
95356
+ optionName: "link",
95357
+ tooltip: "Link"
95358
+ }, {
95359
+ Icon: Attachment$1,
95313
95360
  command: handleUploadAttachments,
95314
95361
  active: false,
95315
95362
  optionName: "attachments",
95316
- tooltip: tooltips.attachments || t$1("menu.attachments")
95363
+ tooltip: tooltips.attachments || t$6("menu.attachments")
95317
95364
  }, {
95318
95365
  Icon: ImageUpload,
95319
95366
  command: function command() {
95320
95367
  return setMediaUploader(assoc("image", true));
95321
95368
  },
95322
95369
  optionName: "image-upload",
95323
- tooltip: tooltips.imageUpload || t$1("menu.imageUpload")
95370
+ tooltip: tooltips.imageUpload || t$6("menu.imageUpload")
95324
95371
  }, {
95325
95372
  Icon: Video,
95326
95373
  command: function command() {
95327
95374
  return setMediaUploader(assoc("video", true));
95328
95375
  },
95329
95376
  optionName: "video-upload",
95330
- tooltip: tooltips.videoUpload || t$1("menu.videoUpload")
95377
+ tooltip: tooltips.videoUpload || t$6("menu.videoUpload")
95331
95378
  }, {
95332
95379
  Icon: MediaVideo,
95333
95380
  command: function command() {
95334
95381
  return setIsEmbedModalOpen(true);
95335
95382
  },
95336
95383
  optionName: "video-embed",
95337
- tooltip: tooltips.videoEmbed || t$1("menu.videoEmbed")
95384
+ tooltip: tooltips.videoEmbed || t$6("menu.videoEmbed")
95338
95385
  }],
95339
95386
  right: [{
95340
95387
  Icon: Undo,
@@ -95344,7 +95391,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95344
95391
  active: false,
95345
95392
  disabled: !editor.can().undo(),
95346
95393
  optionName: "undo",
95347
- tooltip: tooltips.undo || t$1("menu.undo")
95394
+ tooltip: tooltips.undo || t$6("menu.undo")
95348
95395
  }, {
95349
95396
  Icon: Redo,
95350
95397
  command: function command() {
@@ -95353,78 +95400,77 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref) {
95353
95400
  active: false,
95354
95401
  disabled: !editor.can().redo(),
95355
95402
  optionName: "redo",
95356
- tooltip: tooltips.redo || t$1("menu.redo")
95403
+ tooltip: tooltips.redo || t$6("menu.redo")
95357
95404
  }]
95358
95405
  };
95359
95406
  };
95360
- var FONT_SIZE_OPTIONS = [{
95361
- label: "Heading 1",
95362
- value: 1,
95363
- key: "h1"
95364
- }, {
95365
- label: "Heading 2",
95366
- value: 2,
95367
- key: "h2"
95368
- }, {
95369
- label: "Heading 3",
95370
- value: 3,
95371
- key: "h3"
95372
- }, {
95373
- label: "Heading 4",
95374
- value: 4,
95375
- key: "h4"
95376
- }, {
95377
- label: "Heading 5",
95378
- value: 5,
95379
- key: "h5"
95380
- }, {
95381
- label: "Paragraph",
95382
- value: 0,
95383
- key: "body2"
95384
- }];
95385
- var TABLE_ACTIONS = function TABLE_ACTIONS(_ref2) {
95386
- var editor = _ref2.editor;
95387
- return [{
95388
- label: t$1("table.insertRow"),
95389
- command: function command() {
95390
- return editor.commands.addRowAfter();
95391
- }
95392
- }, {
95393
- label: t$1("table.insertColumn"),
95394
- command: function command() {
95395
- return editor.commands.addColumnAfter();
95396
- }
95397
- }, {
95398
- label: t$1("table.deleteRow"),
95399
- command: function command() {
95400
- return editor.chain().focus().deleteRow().run();
95401
- }
95402
- }, {
95403
- label: t$1("table.deleteColumn"),
95404
- command: function command() {
95405
- return editor.chain().focus().deleteColumn().run();
95406
- }
95407
- }, {
95408
- label: t$1("table.mergeSplit"),
95409
- command: function command() {
95410
- return editor.chain().focus().mergeOrSplit().run();
95411
- }
95412
- }, {
95413
- label: t$1("table.toggleHeaderRow"),
95414
- command: function command() {
95415
- return editor.chain().focus().toggleHeaderRow().run();
95416
- }
95417
- }, {
95418
- label: t$1("table.toggleHeaderColumn"),
95419
- command: function command() {
95420
- return editor.chain().focus().toggleHeaderColumn().run();
95421
- }
95422
- }, {
95423
- label: t$1("table.delete"),
95424
- command: function command() {
95425
- return editor.commands.deleteTable();
95426
- }
95427
- }];
95407
+ var buildMenuOptions$1 = function buildMenuOptions(_ref3) {
95408
+ var tooltips = _ref3.tooltips,
95409
+ editor = _ref3.editor,
95410
+ options = _ref3.options,
95411
+ setMediaUploader = _ref3.setMediaUploader,
95412
+ handleUploadAttachments = _ref3.handleUploadAttachments,
95413
+ setIsEmbedModalOpen = _ref3.setIsEmbedModalOpen,
95414
+ setIsAddLinkActive = _ref3.setIsAddLinkActive;
95415
+ var menuOptions = createMenuOptions$1({
95416
+ tooltips: tooltips,
95417
+ editor: editor,
95418
+ setMediaUploader: setMediaUploader,
95419
+ handleUploadAttachments: handleUploadAttachments,
95420
+ setIsEmbedModalOpen: setIsEmbedModalOpen,
95421
+ setIsAddLinkActive: setIsAddLinkActive
95422
+ });
95423
+ return fromPairs(["font", "block", "list", "misc", "right"].map(function (option) {
95424
+ return [option, menuOptions[option].filter(function (item) {
95425
+ return options.includes(item.optionName);
95426
+ })];
95427
+ }));
95428
+ };
95429
+ var renderOptionButton$1 = function renderOptionButton(_ref4) {
95430
+ var Icon = _ref4.Icon,
95431
+ command = _ref4.command,
95432
+ active = _ref4.active,
95433
+ optionName = _ref4.optionName,
95434
+ highlight = _ref4.highlight,
95435
+ disabled = _ref4.disabled,
95436
+ tooltip = _ref4.tooltip;
95437
+ return /*#__PURE__*/React__default.createElement(Button$1, _extends$1({
95438
+ className: "neeto-editor-fixed-menu__item",
95439
+ "data-cy": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
95440
+ disabled: disabled,
95441
+ icon: Icon,
95442
+ key: optionName,
95443
+ style: active ? "secondary" : "text",
95444
+ tabIndex: "-1",
95445
+ tooltipProps: {
95446
+ content: tooltip,
95447
+ position: "bottom"
95448
+ },
95449
+ onClick: command
95450
+ }, generateFocusProps(highlight)));
95451
+ };
95452
+ var buildOptionsFromAddonCommands = function buildOptionsFromAddonCommands(_ref5) {
95453
+ var editor = _ref5.editor,
95454
+ commands = _ref5.commands;
95455
+ var to = editor.state.selection.to;
95456
+ return commands.map(function (option) {
95457
+ var _option$active;
95458
+ return _objectSpread$1(_objectSpread$1({}, option), {}, {
95459
+ active: (_option$active = option.active) === null || _option$active === void 0 ? void 0 : _option$active.call(option, {
95460
+ editor: editor
95461
+ }),
95462
+ command: function command() {
95463
+ var _option$command;
95464
+ return (_option$command = option.command) === null || _option$command === void 0 ? void 0 : _option$command.call(option, {
95465
+ editor: editor,
95466
+ range: {
95467
+ from: to,
95468
+ to: to
95469
+ }
95470
+ });
95471
+ }
95472
+ });
95473
+ });
95428
95474
  };
95429
95475
 
95430
95476
  var TableOption$1 = function TableOption(_ref) {
@@ -95482,7 +95528,7 @@ var TableOption$1 = function TableOption(_ref) {
95482
95528
  onClick: handleClose
95483
95529
  }))) : /*#__PURE__*/React__default.createElement(Menu, {
95484
95530
  className: "neeto-editor-bubble-menu__table-options"
95485
- }, TABLE_ACTIONS({
95531
+ }, tableActions({
95486
95532
  editor: editor
95487
95533
  }).map(function (_ref2) {
95488
95534
  var label = _ref2.label,
@@ -95552,7 +95598,7 @@ var getNodeType = function getNodeType(options) {
95552
95598
  var _options$find;
95553
95599
  return ((_options$find = options.find(prop("active"))) === null || _options$find === void 0 ? void 0 : _options$find.optionName) || "Text";
95554
95600
  };
95555
- var renderOptionButton$1 = function renderOptionButton(_ref3) {
95601
+ var renderOptionButton = function renderOptionButton(_ref3) {
95556
95602
  var tooltip = _ref3.tooltip,
95557
95603
  Icon = _ref3.Icon,
95558
95604
  command = _ref3.command,
@@ -95738,75 +95784,6 @@ var TextColorOption = function TextColorOption(_ref) {
95738
95784
  }))));
95739
95785
  };
95740
95786
 
95741
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
95742
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
95743
- var buildMenuOptions$1 = function buildMenuOptions(_ref) {
95744
- var tooltips = _ref.tooltips,
95745
- editor = _ref.editor,
95746
- options = _ref.options,
95747
- setMediaUploader = _ref.setMediaUploader,
95748
- handleUploadAttachments = _ref.handleUploadAttachments,
95749
- setIsEmbedModalOpen = _ref.setIsEmbedModalOpen;
95750
- var menuOptions = MENU_OPTIONS$1({
95751
- tooltips: tooltips,
95752
- editor: editor,
95753
- setMediaUploader: setMediaUploader,
95754
- handleUploadAttachments: handleUploadAttachments,
95755
- setIsEmbedModalOpen: setIsEmbedModalOpen
95756
- });
95757
- return fromPairs(["font", "block", "list", "misc", "right"].map(function (option) {
95758
- return [option, menuOptions[option].filter(function (item) {
95759
- return options.includes(item.optionName);
95760
- })];
95761
- }));
95762
- };
95763
- var renderOptionButton = function renderOptionButton(_ref2) {
95764
- var Icon = _ref2.Icon,
95765
- command = _ref2.command,
95766
- active = _ref2.active,
95767
- optionName = _ref2.optionName,
95768
- highlight = _ref2.highlight,
95769
- disabled = _ref2.disabled,
95770
- tooltip = _ref2.tooltip;
95771
- return /*#__PURE__*/React__default.createElement(Button$1, _extends$1({
95772
- className: "neeto-editor-fixed-menu__item",
95773
- "data-cy": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
95774
- disabled: disabled,
95775
- icon: Icon,
95776
- key: optionName,
95777
- style: active ? "secondary" : "text",
95778
- tabIndex: "-1",
95779
- tooltipProps: {
95780
- content: tooltip,
95781
- position: "bottom"
95782
- },
95783
- onClick: command
95784
- }, generateFocusProps(highlight)));
95785
- };
95786
- var buildOptionsFromAddonCommands = function buildOptionsFromAddonCommands(_ref3) {
95787
- var editor = _ref3.editor,
95788
- commands = _ref3.commands;
95789
- var to = editor.state.selection.to;
95790
- return commands.map(function (option) {
95791
- var _option$active;
95792
- return _objectSpread$1(_objectSpread$1({}, option), {}, {
95793
- active: (_option$active = option.active) === null || _option$active === void 0 ? void 0 : _option$active.call(option, {
95794
- editor: editor
95795
- }),
95796
- command: function command() {
95797
- var _option$command;
95798
- return (_option$command = option.command) === null || _option$command === void 0 ? void 0 : _option$command.call(option, {
95799
- editor: editor,
95800
- range: {
95801
- from: to,
95802
- to: to
95803
- }
95804
- });
95805
- }
95806
- });
95807
- });
95808
- };
95809
-
95810
95787
  var Options = function Options(_ref) {
95811
95788
  var editor = _ref.editor,
95812
95789
  options = _ref.options,
@@ -95853,7 +95830,7 @@ var Options = function Options(_ref) {
95853
95830
  }, 1000);
95854
95831
  };
95855
95832
  if (isLinkOptionActive) {
95856
- return /*#__PURE__*/React__default.createElement(LinkOption$1, {
95833
+ return /*#__PURE__*/React__default.createElement(LinkOption, {
95857
95834
  editor: editor,
95858
95835
  handleAnimateInvalidLink: handleAnimateInvalidLink,
95859
95836
  handleClose: function handleClose() {
@@ -95881,7 +95858,7 @@ var Options = function Options(_ref) {
95881
95858
  key: optionName,
95882
95859
  onClick: command
95883
95860
  }, optionName);
95884
- }))), fontStyleOptions.map(renderOptionButton$1), blockStyleOptions.map(renderOptionButton$1), isTextColorOptionActive && /*#__PURE__*/React__default.createElement(TextColorOption, {
95861
+ }))), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), isTextColorOptionActive && /*#__PURE__*/React__default.createElement(TextColorOption, {
95885
95862
  editor: editor,
95886
95863
  tooltipContent: tooltips.textColor || t("menu.textColor")
95887
95864
  }), isEmojiActive && /*#__PURE__*/React__default.createElement(EmojiOption, {
@@ -95889,7 +95866,7 @@ var Options = function Options(_ref) {
95889
95866
  isActive: isEmojiPickerActive,
95890
95867
  setActive: setIsEmojiPickerActive,
95891
95868
  tooltipContent: tooltips.emoji || t("menu.emoji")
95892
- }), listStyleOptions.map(renderOptionButton$1), isLinkActive && renderOptionButton$1({
95869
+ }), listStyleOptions.map(renderOptionButton), isLinkActive && renderOptionButton({
95893
95870
  Icon: Link$1,
95894
95871
  command: function command() {
95895
95872
  return setIsLinkOptionActive(true);
@@ -95898,7 +95875,7 @@ var Options = function Options(_ref) {
95898
95875
  optionName: "link",
95899
95876
  highlight: false,
95900
95877
  tooltip: tooltips.link || t("menu.link")
95901
- }), isTableActive && renderOptionButton$1({
95878
+ }), isTableActive && renderOptionButton({
95902
95879
  Icon: NeetoChangelog,
95903
95880
  command: function command() {
95904
95881
  return setIsTableOptionActive(true);
@@ -95981,7 +95958,33 @@ var Bubble = function Bubble(_ref) {
95981
95958
  }, children)));
95982
95959
  };
95983
95960
 
95984
- var Menu$4 = Dropdown$1.Menu,
95961
+ var FONT_SIZE_OPTIONS = [{
95962
+ label: "Heading 1",
95963
+ value: 1,
95964
+ key: "h1"
95965
+ }, {
95966
+ label: "Heading 2",
95967
+ value: 2,
95968
+ key: "h2"
95969
+ }, {
95970
+ label: "Heading 3",
95971
+ value: 3,
95972
+ key: "h3"
95973
+ }, {
95974
+ label: "Heading 4",
95975
+ value: 4,
95976
+ key: "h4"
95977
+ }, {
95978
+ label: "Heading 5",
95979
+ value: 5,
95980
+ key: "h5"
95981
+ }, {
95982
+ label: "Paragraph",
95983
+ value: 0,
95984
+ key: "body2"
95985
+ }];
95986
+
95987
+ var Menu$3 = Dropdown$1.Menu,
95985
95988
  MenuItem = Dropdown$1.MenuItem;
95986
95989
  var FontSizeOption = function FontSizeOption(_ref) {
95987
95990
  var editor = _ref.editor,
@@ -96021,7 +96024,7 @@ var FontSizeOption = function FontSizeOption(_ref) {
96021
96024
  size: "small",
96022
96025
  className: "neeto-editor-fixed-menu__item neeto-editor-font-size__wrapper"
96023
96026
  }
96024
- }, /*#__PURE__*/React__default.createElement(Menu$4, {
96027
+ }, /*#__PURE__*/React__default.createElement(Menu$3, {
96025
96028
  onKeyDown: function onKeyDown(event) {
96026
96029
  var _editor$commands;
96027
96030
  return event.key === "Escape" && ((_editor$commands = editor.commands) === null || _editor$commands === void 0 ? void 0 : _editor$commands.focus());
@@ -96042,122 +96045,179 @@ var FontSizeOption = function FontSizeOption(_ref) {
96042
96045
  })));
96043
96046
  };
96044
96047
 
96045
- var Menu$3 = Dropdown$1.Menu;
96046
- var LinkOption = function LinkOption(_ref) {
96047
- var editor = _ref.editor,
96048
- tooltipContent = _ref.tooltipContent,
96049
- menuRef = _ref.menuRef;
96050
- var _useState = useState(""),
96048
+ var LinkAddPopOver = function LinkAddPopOver(_ref) {
96049
+ var isAddLinkActive = _ref.isAddLinkActive,
96050
+ setIsAddLinkActive = _ref.setIsAddLinkActive,
96051
+ editor = _ref.editor;
96052
+ var _editor$state$selecti = editor.state.selection,
96053
+ from = _editor$state$selecti.from,
96054
+ to = _editor$state$selecti.to;
96055
+ var text = editor.state.doc.textBetween(from, to, "");
96056
+ var _useState = useState(text),
96051
96057
  _useState2 = _slicedToArray(_useState, 2),
96052
- error = _useState2[0],
96053
- setError = _useState2[1];
96058
+ linkText = _useState2[0],
96059
+ setLinkText = _useState2[1];
96054
96060
  var _useState3 = useState(""),
96055
96061
  _useState4 = _slicedToArray(_useState3, 2),
96056
- urlString = _useState4[0],
96057
- setUrlString = _useState4[1];
96058
- var _useState5 = useState(false),
96062
+ linkUrl = _useState4[0],
96063
+ setLinkUrl = _useState4[1];
96064
+ var _useState5 = useState(""),
96059
96065
  _useState6 = _slicedToArray(_useState5, 2),
96060
- isOpen = _useState6[0],
96061
- setIsOpen = _useState6[1];
96066
+ error = _useState6[0],
96067
+ setError = _useState6[1];
96068
+ var _useState7 = useState({
96069
+ top: 0,
96070
+ left: 0
96071
+ }),
96072
+ _useState8 = _slicedToArray(_useState7, 2),
96073
+ popoverPosition = _useState8[0],
96074
+ setPopoverPosition = _useState8[1];
96075
+ var _useState9 = useState({
96076
+ top: 0,
96077
+ left: 0
96078
+ }),
96079
+ _useState10 = _slicedToArray(_useState9, 2),
96080
+ arrowPosition = _useState10[0],
96081
+ setArrowPosition = _useState10[1];
96082
+ var popOverRef = useRef$1(null);
96062
96083
  var _useTranslation = useTranslation(),
96063
96084
  t = _useTranslation.t;
96064
- var linkOptionRef = useRef$1(null);
96065
- var isActive = editor.isActive("link");
96066
- var handleDropDownClick = function handleDropDownClick() {
96067
- setUrlString(editor.getAttributes("link").href);
96068
- setIsOpen(function (open) {
96069
- return !open;
96070
- });
96071
- };
96072
- var handleClose = function handleClose() {
96073
- setIsOpen(false);
96074
- setUrlString("");
96075
- setError("");
96076
- };
96077
- var handleKeyDown = function handleKeyDown(event) {
96078
- if (event.key === "Escape") {
96079
- handleClose();
96080
- } else if (event.key === "Enter") {
96081
- handleLink();
96082
- }
96085
+ var isLinkTextPresent = !isNilOrEmpty(linkText);
96086
+ var isLinlUrlPresent = !isNilOrEmpty(linkUrl);
96087
+ var isSubmitDisabled = !isLinkTextPresent || !isLinlUrlPresent;
96088
+ var popoverStyle = {
96089
+ display: "block",
96090
+ position: "fixed",
96091
+ top: popoverPosition.top,
96092
+ left: popoverPosition.left,
96093
+ transform: "translateY(52px) translateX(8px)"
96083
96094
  };
96084
- var handleLink = function handleLink() {
96085
- if (URL_REGEXP.test(urlString)) {
96086
- editor.chain().focus().extendMarkRange("link").setLink({
96087
- href: urlString
96088
- }).run();
96089
- handleClose();
96090
- } else {
96095
+ var handleAddLink = function handleAddLink() {
96096
+ var _editor$view = editor.view,
96097
+ state = _editor$view.state,
96098
+ dispatch = _editor$view.dispatch;
96099
+ var _state$selection = state.selection,
96100
+ from = _state$selection.from,
96101
+ to = _state$selection.to;
96102
+ var formattedUrl = validateAndFormatUrl(linkUrl);
96103
+ if (!URL_REGEXP.test(formattedUrl)) {
96091
96104
  setError(t("error.invalidUrl"));
96105
+ return;
96092
96106
  }
96107
+ var attrs = {
96108
+ href: formattedUrl
96109
+ };
96110
+ var linkMark = state.schema.marks.link.create(attrs);
96111
+ var linkTextWithMark = state.schema.text(linkText, [linkMark]);
96112
+ var tr = state.tr.replaceWith(from, to, linkTextWithMark);
96113
+ dispatch(tr);
96114
+ removePopover();
96093
96115
  };
96094
- var handleUnlink = function handleUnlink() {
96095
- editor.chain().focus().extendMarkRange("link").unsetLink().run();
96096
- setUrlString("");
96097
- handleClose();
96116
+ var removePopover = function removePopover() {
96117
+ editor.view.focus();
96118
+ setIsAddLinkActive(false);
96098
96119
  };
96099
- var handleWidthChange = function handleWidthChange() {
96100
- var _menuRef$current, _linkOptionRef$curren;
96101
- if (!linkOptionRef.current) return;
96102
- linkOptionRef.current.style.width = "auto";
96103
- linkOptionRef.current.style.width = "".concat(min$1(550, min$1(((_menuRef$current = menuRef.current) === null || _menuRef$current === void 0 ? void 0 : _menuRef$current.offsetWidth) * 0.5, (_linkOptionRef$curren = linkOptionRef.current) === null || _linkOptionRef$curren === void 0 ? void 0 : _linkOptionRef$curren.scrollWidth)), "px");
96120
+ var handleKeyDown = function handleKeyDown(e) {
96121
+ e.stopPropagation();
96122
+ if (e.key === "Enter") {
96123
+ e.preventDefault();
96124
+ handleAddLink();
96125
+ } else if (e.key === "Escape") {
96126
+ removePopover();
96127
+ }
96104
96128
  };
96105
- useEffect$1(function () {
96106
- editor.commands.setHighlightInternal("#ACCEF7");
96107
- if (!isOpen) {
96108
- editor.commands.unsetHighlightInternal();
96109
- editor.commands.removeEmptyTextStyle();
96129
+ var updatePopoverPosition = function updatePopoverPosition() {
96130
+ if (popOverRef.current) {
96131
+ var _popOverRef$current;
96132
+ var newPos = editor.view.coordsAtPos(editor.view.state.selection.$to.pos);
96133
+ setArrowPosition({
96134
+ top: "".concat(newPos.top + 20, "px"),
96135
+ left: "".concat(newPos.left - 10, "px")
96136
+ });
96137
+ var popoverRect = (_popOverRef$current = popOverRef.current) === null || _popOverRef$current === void 0 ? void 0 : _popOverRef$current.getBoundingClientRect();
96138
+ var screenWidth = window.innerWidth;
96139
+ var screenHeight = window.innerHeight;
96140
+ var maxLeft = screenWidth - popoverRect.width;
96141
+ var maxTop = screenHeight - popoverRect.height - 50;
96142
+ var adjustedLeft = newPos !== null && newPos !== void 0 && newPos.left ? Math.min(newPos.left - 50, maxLeft) : 0;
96143
+ var adjustedTop = newPos !== null && newPos !== void 0 && newPos.top ? Math.min(newPos.top - 22, maxTop) : 0;
96144
+ setPopoverPosition({
96145
+ top: "".concat(adjustedTop, "px"),
96146
+ left: "".concat(adjustedLeft, "px")
96147
+ });
96110
96148
  }
96111
- }, [isOpen, editor]);
96149
+ };
96150
+ useOnClickOutside(popOverRef, removePopover);
96112
96151
  useEffect$1(function () {
96113
- isOpen && handleWidthChange();
96114
- }, [linkOptionRef.current]);
96115
- return /*#__PURE__*/React__default.createElement(Dropdown$1, {
96116
- buttonStyle: isOpen || isActive ? "secondary" : "text",
96117
- closeOnSelect: false,
96118
- "data-cy": "neeto-editor-fixed-menu-link-option",
96119
- icon: Link$1,
96120
- isOpen: isOpen,
96121
- position: "bottom",
96122
- buttonProps: {
96123
- tabIndex: -1,
96124
- tooltipProps: {
96125
- content: tooltipContent,
96126
- position: "bottom"
96127
- },
96128
- className: "neeto-editor-fixed-menu__item"
96152
+ if (editor && isAddLinkActive) {
96153
+ updatePopoverPosition();
96154
+ }
96155
+ window.addEventListener("resize", removePopover);
96156
+ window.addEventListener("wheel", removePopover);
96157
+ return function () {
96158
+ window.removeEventListener("resize", removePopover);
96159
+ window.removeEventListener("wheel", removePopover);
96160
+ };
96161
+ }, []);
96162
+ return isAddLinkActive ? /*#__PURE__*/createPortal( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
96163
+ className: "ne-link-arrow",
96164
+ style: {
96165
+ top: arrowPosition.top,
96166
+ left: arrowPosition.left
96167
+ }
96168
+ }), /*#__PURE__*/React__default.createElement("div", {
96169
+ className: "ne-link-popover",
96170
+ id: "ne-link-add-popover",
96171
+ ref: popOverRef,
96172
+ style: popoverStyle
96173
+ }, /*#__PURE__*/React__default.createElement(Input, {
96174
+ required: true,
96175
+ autoFocus: !isLinkTextPresent,
96176
+ label: t("common.text"),
96177
+ placeholder: t("placeholders.enterText"),
96178
+ size: "small",
96179
+ style: {
96180
+ width: "250px"
96181
+ },
96182
+ value: linkText,
96183
+ onChange: function onChange(_ref2) {
96184
+ var value = _ref2.target.value;
96185
+ return setLinkText(value);
96129
96186
  },
96130
- onClick: handleDropDownClick,
96131
- onClose: handleClose
96132
- }, /*#__PURE__*/React__default.createElement(Menu$3, {
96133
- className: "neeto-editor-link__item",
96134
96187
  onKeyDown: handleKeyDown
96135
- }, /*#__PURE__*/React__default.createElement(Input, {
96136
- autoFocus: true,
96137
- "data-cy": "neeto-editor-fixed-menu-link-option-input",
96188
+ }), /*#__PURE__*/React__default.createElement(Input, {
96189
+ required: true,
96190
+ autoFocus: isLinkTextPresent,
96191
+ className: "ne-link-popover__url-input",
96192
+ label: t("common.url"),
96193
+ size: "small",
96138
96194
  error: error,
96139
- name: "url",
96140
96195
  placeholder: t("placeholders.url"),
96141
- ref: linkOptionRef,
96142
- value: urlString,
96196
+ style: {
96197
+ width: "250px"
96198
+ },
96199
+ value: linkUrl,
96200
+ onChange: function onChange(_ref3) {
96201
+ var value = _ref3.target.value;
96202
+ return setLinkUrl(value);
96203
+ },
96143
96204
  onFocus: function onFocus() {
96144
96205
  return setError("");
96145
96206
  },
96146
- onChange: function onChange(_ref2) {
96147
- var value = _ref2.target.value;
96148
- setUrlString(value);
96149
- handleWidthChange();
96150
- }
96207
+ onKeyDown: handleKeyDown
96208
+ }), /*#__PURE__*/React__default.createElement("div", {
96209
+ className: "ne-link-popover__edit-prompt-buttons"
96210
+ }, /*#__PURE__*/React__default.createElement(Button$1, {
96211
+ disabled: isSubmitDisabled,
96212
+ label: t("common.done"),
96213
+ size: "small",
96214
+ onClick: handleAddLink
96151
96215
  }), /*#__PURE__*/React__default.createElement(Button$1, {
96152
- "data-cy": "neeto-editor-fixed-menu-link-option-link-button",
96153
- label: t("menu.link"),
96154
- onClick: handleLink
96155
- }), isActive && /*#__PURE__*/React__default.createElement(Button$1, {
96156
- "data-cy": "neeto-editor-fixed-menu-link-option-unlink-button",
96157
- label: t("common.unlink"),
96216
+ label: t("common.cancel"),
96217
+ size: "small",
96158
96218
  style: "text",
96159
- onClick: handleUnlink
96160
- })));
96219
+ onClick: removePopover
96220
+ })))), document.body) : null;
96161
96221
  };
96162
96222
 
96163
96223
  var Menu$2 = Dropdown$1.Menu;
@@ -96181,7 +96241,7 @@ var TableActions = function TableActions(_ref) {
96181
96241
  }
96182
96242
  }, /*#__PURE__*/React__default.createElement(Menu$2, {
96183
96243
  className: "neeto-editor-table__options-menu"
96184
- }, TABLE_ACTIONS({
96244
+ }, tableActions({
96185
96245
  editor: editor
96186
96246
  }).map(function (_ref2) {
96187
96247
  var label = _ref2.label,
@@ -96309,6 +96369,10 @@ var Fixed = function Fixed(_ref) {
96309
96369
  _useState6 = _slicedToArray(_useState5, 2),
96310
96370
  isEmbedModalOpen = _useState6[0],
96311
96371
  setIsEmbedModalOpen = _useState6[1];
96372
+ var _useState7 = useState(false),
96373
+ _useState8 = _slicedToArray(_useState7, 2),
96374
+ isAddLinkActive = _useState8[0],
96375
+ setIsAddLinkActive = _useState8[1];
96312
96376
  var menuRef = useRef$1(null);
96313
96377
  var _useTranslation = useTranslation(),
96314
96378
  t = _useTranslation.t;
@@ -96351,7 +96415,8 @@ var Fixed = function Fixed(_ref) {
96351
96415
  options: options,
96352
96416
  setMediaUploader: setMediaUploader,
96353
96417
  handleUploadAttachments: handleUploadAttachments,
96354
- setIsEmbedModalOpen: setIsEmbedModalOpen
96418
+ setIsEmbedModalOpen: setIsEmbedModalOpen,
96419
+ setIsAddLinkActive: setIsAddLinkActive
96355
96420
  }),
96356
96421
  fontStyleOptions = _buildMenuOptions.font,
96357
96422
  blockStyleOptions = _buildMenuOptions.block,
@@ -96363,7 +96428,6 @@ var Fixed = function Fixed(_ref) {
96363
96428
  });
96364
96429
  var isFontSizeActive = isNotEmpty(fontSizeOptions);
96365
96430
  var isEmojiActive = options.includes(EDITOR_OPTIONS.EMOJI);
96366
- var isLinkActive = options.includes(EDITOR_OPTIONS.LINK);
96367
96431
  var isTableActive = options.includes(EDITOR_OPTIONS.TABLE);
96368
96432
  var isTextColorOptionActive = options.includes(EDITOR_OPTIONS.TEXT_COLOR);
96369
96433
  var isEmbedOptionActive = options.includes(EDITOR_OPTIONS.VIDEO_EMBED);
@@ -96387,6 +96451,7 @@ var Fixed = function Fixed(_ref) {
96387
96451
  }, className, className))
96388
96452
  }, /*#__PURE__*/React__default.createElement("div", {
96389
96453
  className: "neeto-editor-fixed-menu__wrapper",
96454
+ "data-cy": "neeto-editor-fixed-menu-wrapper",
96390
96455
  ref: menuRef
96391
96456
  }, isFontSizeActive && /*#__PURE__*/React__default.createElement(FontSizeOption, {
96392
96457
  editor: editor,
@@ -96395,7 +96460,7 @@ var Fixed = function Fixed(_ref) {
96395
96460
  className: "vertical-divider"
96396
96461
  }), /*#__PURE__*/React__default.createElement("div", {
96397
96462
  className: "neeto-editor-fixed-menu__wrapper__button-group"
96398
- }, fontStyleOptions.map(renderOptionButton), /*#__PURE__*/React__default.createElement(TableActions, {
96463
+ }, fontStyleOptions.map(renderOptionButton$1), /*#__PURE__*/React__default.createElement(TableActions, {
96399
96464
  editor: editor,
96400
96465
  tooltipContent: tooltips.table || t("menu.table")
96401
96466
  })), isNotEmpty(fontStyleOptions) && /*#__PURE__*/React__default.createElement("div", {
@@ -96406,22 +96471,18 @@ var Fixed = function Fixed(_ref) {
96406
96471
  })
96407
96472
  }, /*#__PURE__*/React__default.createElement("div", {
96408
96473
  className: "neeto-editor-fixed-menu__wrapper__button-group"
96409
- }, listStyleOptions.map(renderOptionButton)), isNotEmpty(listStyleOptions) && /*#__PURE__*/React__default.createElement("div", {
96474
+ }, listStyleOptions.map(renderOptionButton$1)), isNotEmpty(listStyleOptions) && /*#__PURE__*/React__default.createElement("div", {
96410
96475
  className: "vertical-divider"
96411
96476
  }), /*#__PURE__*/React__default.createElement("div", {
96412
96477
  className: "neeto-editor-fixed-menu__wrapper__button-group"
96413
- }, blockStyleOptions.map(renderOptionButton)), isNotEmpty(blockStyleOptions) && /*#__PURE__*/React__default.createElement("div", {
96478
+ }, blockStyleOptions.map(renderOptionButton$1)), isNotEmpty(blockStyleOptions) && /*#__PURE__*/React__default.createElement("div", {
96414
96479
  className: "vertical-divider"
96415
96480
  }), /*#__PURE__*/React__default.createElement("div", {
96416
96481
  className: "neeto-editor-fixed-menu__wrapper__button-group"
96417
- }, isLinkActive && /*#__PURE__*/React__default.createElement(LinkOption, {
96418
- editor: editor,
96419
- menuRef: menuRef,
96420
- tooltipContent: tooltips.link || t("menu.link")
96421
- }), isTableActive && /*#__PURE__*/React__default.createElement(TableOption, {
96482
+ }, isTableActive && /*#__PURE__*/React__default.createElement(TableOption, {
96422
96483
  editor: editor,
96423
96484
  tooltipContent: tooltips.table || t("menu.table")
96424
- }), miscOptions.map(renderOptionButton), isTextColorOptionActive && /*#__PURE__*/React__default.createElement(TextColorOption, {
96485
+ }), miscOptions.map(renderOptionButton$1), isTextColorOptionActive && /*#__PURE__*/React__default.createElement(TextColorOption, {
96425
96486
  editor: editor,
96426
96487
  tooltipContent: tooltips.textColor || t("menu.textColor")
96427
96488
  }), isEmojiActive && /*#__PURE__*/React__default.createElement(EmojiOption, {
@@ -96447,9 +96508,9 @@ var Fixed = function Fixed(_ref) {
96447
96508
  editor: editor,
96448
96509
  mentions: mentions,
96449
96510
  tooltipContent: tooltips.mention || t("menu.mention")
96450
- }), addonCommandOptions.map(renderOptionButton)), isNotEmpty(rightOptions) && /*#__PURE__*/React__default.createElement("div", {
96511
+ }), addonCommandOptions.map(renderOptionButton$1)), isNotEmpty(rightOptions) && /*#__PURE__*/React__default.createElement("div", {
96451
96512
  className: "neeto-editor-fixed-menu__right-options"
96452
- }, rightOptions.map(renderOptionButton)), children), isMenuCollapsible && /*#__PURE__*/React__default.createElement(Button$1, {
96513
+ }, rightOptions.map(renderOptionButton$1)), children), isMenuCollapsible && /*#__PURE__*/React__default.createElement(Button$1, {
96453
96514
  className: "neeto-editor-fixed-menu__item",
96454
96515
  "data-cy": "neeto-editor-fixed-menu-arrow",
96455
96516
  icon: isMenuExpanded ? Left : Right,
@@ -96475,7 +96536,11 @@ var Fixed = function Fixed(_ref) {
96475
96536
  }
96476
96537
  },
96477
96538
  onVariableClick: handleVariableClick
96478
- })));
96539
+ })), isAddLinkActive && /*#__PURE__*/React__default.createElement(LinkAddPopOver, {
96540
+ editor: editor,
96541
+ isAddLinkActive: isAddLinkActive,
96542
+ setIsAddLinkActive: setIsAddLinkActive
96543
+ }));
96479
96544
  };
96480
96545
 
96481
96546
  var _excluded$4 = ["icon", "onClick", "disabled", "className", "tooltipProps"];
@@ -96643,7 +96708,7 @@ var Option = function Option(_ref) {
96643
96708
  };
96644
96709
 
96645
96710
  var t = instance.t;
96646
- var MENU_OPTIONS = function MENU_OPTIONS(_ref) {
96711
+ var createMenuOptions = function createMenuOptions(_ref) {
96647
96712
  var editor = _ref.editor,
96648
96713
  tooltips = _ref.tooltips,
96649
96714
  setMediaUploader = _ref.setMediaUploader,
@@ -96793,17 +96858,16 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref) {
96793
96858
  tooltip: tooltips.redo || t("menu.redo")
96794
96859
  }];
96795
96860
  };
96796
-
96797
- var buildMenuOptions = function buildMenuOptions(_ref) {
96798
- var tooltips = _ref.tooltips,
96799
- editor = _ref.editor,
96800
- options = _ref.options,
96801
- setMediaUploader = _ref.setMediaUploader,
96802
- handleUploadAttachments = _ref.handleUploadAttachments,
96803
- isEmojiPickerActive = _ref.isEmojiPickerActive,
96804
- setIsEmojiPickerActive = _ref.setIsEmojiPickerActive,
96805
- setIsEmbedModalOpen = _ref.setIsEmbedModalOpen;
96806
- var menuOptions = MENU_OPTIONS({
96861
+ var buildMenuOptions = function buildMenuOptions(_ref2) {
96862
+ var tooltips = _ref2.tooltips,
96863
+ editor = _ref2.editor,
96864
+ options = _ref2.options,
96865
+ setMediaUploader = _ref2.setMediaUploader,
96866
+ handleUploadAttachments = _ref2.handleUploadAttachments,
96867
+ isEmojiPickerActive = _ref2.isEmojiPickerActive,
96868
+ setIsEmojiPickerActive = _ref2.setIsEmojiPickerActive,
96869
+ setIsEmbedModalOpen = _ref2.setIsEmbedModalOpen;
96870
+ var menuOptions = createMenuOptions({
96807
96871
  editor: editor,
96808
96872
  tooltips: tooltips,
96809
96873
  setMediaUploader: setMediaUploader,
@@ -98914,7 +98978,7 @@ var EditorContent = function EditorContent(_ref) {
98914
98978
  };
98915
98979
  var index = /*#__PURE__*/React__default.memo(EditorContent);
98916
98980
 
98917
- var css = "@charset \"UTF-8\";@import url(\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css\");@keyframes shake{0%{transform:translateX(0)}10%{transform:translateX(-4px)}20%{transform:translateX(4px)}30%{transform:translateX(-4px)}40%{transform:translateX(4px)}50%{transform:translateX(-4px)}60%{transform:translateX(4px)}70%{transform:translateX(-4px)}80%{transform:translateX(4px)}90%{transform:translateX(-4px)}to{transform:translateX(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.neeto-editor-slash-commands__wrapper{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;max-height:384px;max-width:100%;overflow-y:auto;padding:12px;width:256px}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;gap:12px;justify-content:flex-start;padding:8px 12px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active,.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal)}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p{color:rgb(var(--neeto-ui-gray-300));font-size:var(--neeto-ui-text-xs)}.neeto-editor-mentions__wrapper{max-height:256px;min-width:208px;overflow-y:auto;padding:8px;width:auto}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;font-size:var(--neeto-ui-text-xs);gap:8px;justify-content:flex-start;padding:8px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item.active,.neeto-editor-mentions__wrapper .neeto-editor-mentions__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.ProseMirror.slash-active p.is-empty:last-child:before{content:url(\"data:image/svg+xml;base64,PHN2ZyB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1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");height:0;pointer-events:none;position:absolute;top:-2px;z-index:-1}.neeto-editor{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-black));max-width:100%!important;padding:16px;white-space:pre-wrap}.neeto-editor:focus{outline:none}.neeto-editor a{pointer-events:none}.neeto-editor [data-variable]{color:rgb(var(--neeto-ui-gray-600));padding:4px 6px}.neeto-editor .ProseMirror-separator{display:none}.neeto-editor.fixed-menu-active{border:thin solid rgb(var(--neeto-ui-gray-300));border-top:none;border-top-left-radius:0;border-top-right-radius:0}.neeto-editor.attachments-active{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.neeto-editor .is-empty{position:relative}.neeto-editor.placeholder-active .is-editor-empty:first-child:before{color:#ced4da;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.neeto-editor hr{margin:8px 0}.neeto-editor .ProseMirror-selectednode{outline:3px solid rgb(var(--neeto-ui-pastel-blue))}.neeto-editor .has-focus{background:var(--focus-background-color);transition:background-color .2s ease}.neeto-editor [data-variable]{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:inline-flex;line-height:1;padding:4px}.neeto-editor-character-count{color:rgb(var(--neeto-ui-gray-600));font-size:12px;padding:4px;text-align:right}.neeto-editor-error{border-color:rgb(var(--neeto-ui-error-500));border-radius:var(--neeto-ui-rounded);border-width:1px;color:rgb(var(--neeto-ui-error-500))}.neeto-editor-error:focus-within{border-color:rgb(var(--neeto-ui-error-600))}.ne_variable-tag{border-radius:6px!important}.neeto-editor,.neeto-editor-content{-moz-tab-size:2;-o-tab-size:2;tab-size:2;white-space:pre-wrap;word-break:break-word}.neeto-editor h1,.neeto-editor h2,.neeto-editor h3,.neeto-editor h4,.neeto-editor h5,.neeto-editor h6,.neeto-editor-content h1,.neeto-editor-content h2,.neeto-editor-content h3,.neeto-editor-content h4,.neeto-editor-content h5,.neeto-editor-content h6{color:rgb(var(--neeto-ui-black))}.neeto-editor h1 strong,.neeto-editor h2 strong,.neeto-editor h3 strong,.neeto-editor h4 strong,.neeto-editor h5 strong,.neeto-editor h6 strong,.neeto-editor-content h1 strong,.neeto-editor-content h2 strong,.neeto-editor-content h3 strong,.neeto-editor-content h4 strong,.neeto-editor-content h5 strong,.neeto-editor-content h6 strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor h1,.neeto-editor-content h1{margin:2rem 0 .25rem}.neeto-editor h2,.neeto-editor-content h2{margin:1.5rem 0 .25rem}.neeto-editor h3,.neeto-editor-content h3{margin:1rem 0 .25rem}.neeto-editor h4,.neeto-editor-content h4{margin:.875rem 0 .25rem}.neeto-editor h5,.neeto-editor-content h5{margin:.75rem 0 .25rem}.neeto-editor h6,.neeto-editor-content h6{margin:.5rem 0 .25rem}.neeto-editor p,.neeto-editor-content p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor p:empty:after,.neeto-editor-content p:empty:after{content:\" \"}.neeto-editor p:last-child,.neeto-editor-content p:last-child{margin-bottom:0}.neeto-editor p strong,.neeto-editor-content p strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor div,.neeto-editor-content div{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);font-family:SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;font-size:14px;padding:.2em .4em}.neeto-editor pre,.neeto-editor-content pre{background-color:#f7f6f3;border-radius:var(--neeto-ui-rounded-sm);font-size:14px;line-height:1.5;margin-bottom:16px;margin-top:16px;overflow-x:auto;padding:34px 16px 32px 32px;position:relative}.neeto-editor pre .neeto-editor-codeblock-options,.neeto-editor-content pre .neeto-editor-codeblock-options{align-items:center;display:flex;gap:4px;position:absolute;right:4px;top:4px}.neeto-editor pre .neeto-editor-codeblock-options__menu,.neeto-editor-content pre .neeto-editor-codeblock-options__menu{display:flex;flex-direction:column;gap:4px}.neeto-editor pre .neeto-editor-codeblock-options__input,.neeto-editor-content pre .neeto-editor-codeblock-options__input{margin:4px}.neeto-editor pre>code,.neeto-editor-content pre>code{background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;padding:0;white-space:pre-wrap}.neeto-editor blockquote,.neeto-editor-content blockquote{border-left-color:#e5e7eb;border-left-width:4px;color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin:8px 0;padding-left:12px;quotes:\"“\" \"”\" \"‘\" \"’\"}.neeto-editor blockquote>p:after,.neeto-editor blockquote>p:before,.neeto-editor-content blockquote>p:after,.neeto-editor-content blockquote>p:before{content:\"\"!important}.neeto-editor ol,.neeto-editor ul,.neeto-editor-content ol,.neeto-editor-content ul{list-style:revert;margin-bottom:1em;padding-left:28px}.neeto-editor ol li:before,.neeto-editor ul li:before,.neeto-editor-content ol li:before,.neeto-editor-content ul li:before{background-color:rgb(var(--neeto-ui-black))}.neeto-editor a[href],.neeto-editor-content a[href]{color:rgb(var(--neeto-ui-primary-800));font-weight:500}.neeto-editor .neeto-editor__video-wrapper,.neeto-editor-content .neeto-editor__video-wrapper{display:flex;margin:16px 0}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;padding:4px}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe{height:100%;width:100%}.neeto-editor .neeto-editor__video--left,.neeto-editor-content .neeto-editor__video--left{justify-content:flex-start}.neeto-editor .neeto-editor__video--right,.neeto-editor-content .neeto-editor__video--right{justify-content:flex-end}.neeto-editor .neeto-editor__video--center,.neeto-editor-content .neeto-editor__video--center{justify-content:center}.neeto-editor mark,.neeto-editor-content mark{border-radius:var(--neeto-ui-rounded-sm);padding:0 4px}.neeto-editor [data-type=mention],.neeto-editor [data-type=special-mention],.neeto-editor-content [data-type=mention],.neeto-editor-content [data-type=special-mention]{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor table,.neeto-editor-content table{border:1px solid rgba(var(--neeto-ui-gray-300));border-collapse:separate;border-radius:var(--neeto-ui-rounded-sm);border-spacing:0;min-width:300px;overflow:hidden;table-layout:fixed}.neeto-editor table td,.neeto-editor table th,.neeto-editor-content table td,.neeto-editor-content table th{border-left:1px solid rgba(var(--neeto-ui-gray-300));border-top:1px solid rgba(var(--neeto-ui-gray-300));padding:8px 12px;position:relative}.neeto-editor table td:first-child,.neeto-editor table th:first-child,.neeto-editor-content table td:first-child,.neeto-editor-content table th:first-child{border-left:none}.neeto-editor table th,.neeto-editor-content table th{background:rgb(var(--neeto-ui-gray-100));border-top:none}.neeto-editor table td,.neeto-editor-content table td{background:rgb(var(--neeto-ui-white))}.neeto-editor-content--hidden{display:none}.neeto-editor__image-wrapper{color:inherit!important;display:flex;font-weight:400!important;margin:16px 0;text-decoration:none}.neeto-editor__image-wrapper figure{display:inline-block;max-width:100%;overflow:hidden;position:relative}.neeto-editor__image-wrapper .neeto-editor__image{display:inline-block}.neeto-editor__image-wrapper .neeto-editor__image img,.neeto-editor__image-wrapper .neeto-editor__image video{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;height:auto;padding:4px;width:100%}.neeto-editor__image-wrapper .neeto-editor__image-placeholder{align-items:center;border:1px solid;border-radius:8px;display:flex;height:200px;justify-content:center;width:400px}.neeto-editor__image-wrapper figcaption div{color:rgb(var(--neeto-ui-gray-600));font-size:14px;font-weight:var(--neeto-ui-font-normal);line-height:1.4;text-align:center}.neeto-editor__image-wrapper figcaption div a{display:inline-block;margin:0;text-align:center}.neeto-editor__image-wrapper figcaption.is-empty div:before{color:rgb(var(--neeto-ui-gray-500));content:\"Add a caption\";inset:0;position:absolute}.neeto-editor__image--left{justify-content:flex-start}.neeto-editor__image--center{justify-content:center}.neeto-editor__image--right{justify-content:flex-end}.neeto-editor-fixed-menu{background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-300));border-bottom:none;border-radius:var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0 0;position:relative}.neeto-editor-fixed-menu--independant{border-bottom:thin solid rgb(var(--neeto-ui-gray-300));border-radius:0;border-radius:initial}.neeto-editor-fixed-menu__item{border-radius:var(--neeto-ui-rounded-sm)!important}.neeto-editor-fixed-menu .vertical-divider{border-left:1px solid rgb(var(--neeto-ui-gray-300));height:24px;margin:0 11.5px;opacity:.5}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item{min-width:-moz-fit-content;min-width:fit-content;padding:2px}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-black));height:20px!important;width:20px!important}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu__wrapper{align-items:center;display:flex;justify-content:flex-start;overflow:auto;padding:4px;width:100%}.neeto-editor-fixed-menu__wrapper--collapsible{align-items:center;display:flex;flex-grow:1}.neeto-editor-fixed-menu__wrapper--collapsible--fade button.neeto-editor-fixed-menu__item{animation:fade-in .3s ease-in}.neeto-editor-fixed-menu__wrapper__button-group{display:flex;gap:4px}.neeto-editor-fixed-menu__variables{bottom:-24px;position:absolute;right:8px;z-index:10}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item{background-color:rgb(var(--neeto-ui-gray-700));border-radius:var(--neeto-ui-rounded-sm);padding:4px}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item.active,.neeto-editor-fixed-menu__variables .neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-600))}.neeto-editor-fixed-menu__right-options{display:flex;gap:8px;justify-self:flex-end;margin-left:auto}.neeto-editor-fixed-menu__emoji-dropdown{max-height:none!important}.neeto-editor-fixed-menu__separator{display:flex;height:28px;width:32px}.neeto-editor-fixed-menu__separator span{width:100%}.neeto-editor-fixed-menu__separator span:first-child{border-right:1px solid rgb(var(--neeto-ui-gray-200))}.neeto-editor-text-color-option__options-group{align-items:center;display:flex;gap:8px;margin:8px 4px}.neeto-editor-text-color-option__options-group__input{max-width:130px}.neeto-editor-text-color-option__options-group__reset-button{align-self:center}.neeto-editor-menu__item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;justify-content:center;padding:8px;transition:var(--neeto-ui-transition)}.neeto-editor-menu__item p{color:rgb(var(--neeto-ui-gray-600));font-size:var(--neeto-ui-text-xs);line-height:1;white-space:nowrap}.neeto-editor-menu__item.active,.neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-menu__item:focus,.neeto-editor-menu__item:focus-visible{outline:rgb(var(--neeto-ui-gray-300)) auto 1px}.neeto-editor-menu__item input[type=color]{height:0;visibility:hidden;width:0}.neeto-editor-menu__item:disabled{background-color:rgb(var(--neeto-ui-gray-100));opacity:.5}.neeto-editor-link__item{align-items:flex-start;justify-content:flex-start}.neeto-editor-link__item,.neeto-editor-table__item{display:flex!important;flex-direction:row;gap:8px;padding:8px!important}.neeto-editor-table__item input{max-width:60px!important}.neeto-editor-table__options-menu{display:flex;flex-direction:column;gap:8px;max-height:150px!important;overflow:scroll;padding:8px!important}.neeto-editor-font-size__wrapper{font-weight:var(--neeto-ui-font-normal)!important;gap:15px!important}.neeto-editor-bubble-menu{align-items:center;background:rgb(var(--neeto-ui-gray-800));border-radius:var(--neeto-ui-rounded);display:flex;flex-direction:row;gap:1px;justify-content:flex-start;padding:0 4px;position:relative}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text{color:rgb(var(--neeto-ui-gray-200));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text.active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:hover{background-color:rgb(var(--neeto-ui-gray-600))!important;color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu button.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-gray-400));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn{color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn.active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:hover{background-color:rgb(var(--neeto-ui-gray-600))!important}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link{align-items:center;display:flex;gap:8px;justify-content:space-between;padding:6px;width:256px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input{background-color:transparent;line-height:20px;outline:none;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only{min-height:0;opacity:.8;padding:0}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover{opacity:1}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table{align-items:center;display:flex;gap:6px;justify-content:space-between;max-width:256px;padding:4px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input{background-color:rgba(var(--neeto-ui-gray-400),.2);height:24px;line-height:20px;outline:none;width:60px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__buttons{align-items:center;display:flex;gap:4px;justify-content:space-between}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table-options{align-items:center;display:flex;flex-direction:column;gap:2px;max-height:100px;overflow:scroll}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target{align-items:center;display:flex;font-size:var(--neeto-ui-text-xs);gap:4px;line-height:var(--neeto-ui-leading-normal);white-space:nowrap}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown{align-items:flex-start;display:flex;flex-direction:column}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item{font-size:var(--neeto-ui-text-xs);padding:8px 12px;text-align:left;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child{border-bottom-left-radius:var(--neeto-ui-rounded);border-bottom-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu-animate-shake{animation:shake 1s linear infinite alternate both}.neeto-editor__image-menu .neeto-ui-dropdown__popup{display:flex;min-width:0;min-width:auto}.neeto-editor__image-menu .neeto-ui-dropdown__popup .neeto-ui-btn .neeto-ui-btn__icon{height:18px!important;width:18px!important}.neeto-editor__image-menu-btn{padding:2px!important;position:absolute!important;right:4px;top:4px;z-index:1}.ne-media-uploader{display:flex;flex-direction:column;min-height:184px}.ne-media-uploader .ne-tab__wrapper .ne-tab{min-width:88px}.ne-media-uploader .ne-media-uploader__content{display:flex;flex-grow:1;padding:16px}.ne-media-uploader .ne-media-uploader__dnd{align-items:center;border:1px dashed rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded);box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;gap:2px;justify-content:center;width:100%}.ne-media-uploader .ne-media-uploader__dnd-icon{color:rgb(var(--neeto-ui-primary-600));margin-bottom:6px}.ne-media-uploader .ne-media-uploader__dnd-input{display:none}.ne-media-uploader .ne-media-uploader__dnd:hover{background-color:rgb(var(--neeto-ui-gray-100));cursor:pointer}.ne-media-uploader .ne-media-uploader__dnd.uppy-is-drag-over{background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));color:rgb(var(--neeto-ui-gray-600))}.ne-media-uploader .ne-media-uploader__wrapper{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media{align-self:start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;flex-direction:column;flex-grow:1;height:58px;justify-content:space-between;margin-bottom:auto;margin-top:auto;padding:4px 8px;width:220px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info{align-items:center;display:flex;gap:4px;justify-content:space-between}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info p{display:block;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress{align-self:flex-end;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-full);overflow:hidden;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress-bar{align-items:center;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-primary-100));display:flex;font-size:12px;font-weight:500px;height:12px;justify-content:center;line-height:1;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper{width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container{max-height:50vh;overflow-x:hidden;overflow-y:auto}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-search{margin-bottom:16px;padding:0 8px}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery{right:-8px;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__loader{display:flex;justify-content:center}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item{float:left;padding-bottom:16px;padding-right:16px;width:33.3%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder{position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);height:100%;position:absolute;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img{animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1) 1s both;border-radius:var(--neeto-ui-rounded);cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a{bottom:8px;color:rgb(var(--neeto-ui-white));font-size:12px;font-weight:var(--neeto-ui-font-normal);left:8px;line-height:1;margin:auto;opacity:0;position:absolute;text-transform:capitalize;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover{text-decoration:underline}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a{opacity:1}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text{color:rgb(var(--neeto-ui-gray-700));font-size:var(--neeto-ui-text-xs);margin-top:12px;text-align:center}.neeto-editor-url-form__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:center;padding:0 24px}.neeto-editor-url-form__wrapper .neeto-ui-input__wrapper{flex-grow:0;margin-bottom:16px;width:100%}.neeto-editor-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols}.emoji-mart.emoji-mart-light{border:none;color:rgb(var(--neeto-ui-gray-800));font-size:14px}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor{color:rgb(var(--neeto-ui-gray-500))}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg{margin:auto}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar{background-color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected{color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-search input{border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span{padding-top:8px}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span{cursor:pointer}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-scroll{height:264px;padding-bottom:0}.neeto-editor-emoji-suggestion{align-items:center;display:flex;flex-direction:row;font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;gap:2px;justify-content:flex-start;padding:4px}.neeto-editor-emoji-suggestion p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs)}.neeto-editor-emoji-suggestion span{font-size:10px;height:16px!important;width:16px!important}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item{border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;font-size:var(--neeto-ui-text-2xl);line-height:1;padding:6px;transition:var(--neeto-ui-transition)}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected,.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-table{display:relative;margin:8px 0 0;width:-moz-fit-content;width:fit-content}.neeto-editor-table table td p,.neeto-editor-table table th p{margin:0}.neeto-editor-table table .column-resize-handle{background-color:rgb(var(--neeto-ui-gray-300));bottom:0;position:absolute;right:-2px;top:0;width:4px}.neeto-editor-table table .selectedCell:after{background:rgba(var(--neeto-ui-primary-500),.1);content:\"\";inset:0;position:absolute}.neeto-editor-table__wrapper{display:flex;gap:4px}.neeto-editor-table__add-column,.neeto-editor-table__add-row{align-items:center;background:rgba(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;display:flex;justify-content:center;transition:var(--neeto-ui-transition);visibility:hidden}.neeto-editor-table__add-column p,.neeto-editor-table__add-row p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs);line-height:12px}.neeto-editor-table__add-column:hover,.neeto-editor-table__add-row:hover{background:rgba(var(--neeto-ui-gray-300))}.neeto-editor-table:hover .neeto-editor-table__add-column,.neeto-editor-table:hover .neeto-editor-table__add-row{visibility:visible}.neeto-editor-table__add-row{height:16px;margin:4px 20px 4px 0}.neeto-editor-table__add-column{flex-direction:column;width:16px}.ProseMirror.resize-cursor{cursor:col-resize}.ne-link-popover{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#333;padding:10px 16px;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility 0s .3s;z-index:999}.ne-link-popover__option-button{margin:0 4px}.ne-link-popover__edit-prompt-buttons{display:flex;gap:8px;margin-top:8px}.ne-link-popover a{color:rgb(var(--neeto-ui-primary-800));float:left;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-link-popover:after,.ne-link-popover:before{border-style:solid;bottom:100%;content:\"\";left:50%;margin-left:-5px;position:absolute}.ne-link-popover:before{border-color:#fff transparent transparent;border-width:5px}.ne-link-popover:after{border-color:rgba(0,0,0,.2) transparent transparent;border-width:6px}.ne-attachments{display:flex;flex-direction:column;gap:8px}.ne-attachments__items{display:flex;flex-wrap:wrap;gap:8px}.ne-attachments__preview{align-items:center;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;justify-content:space-between;padding:4px 2px 4px 8px;width:256px}.ne-attachments__preview-wrapper{display:flex;gap:8px;width:88%}.ne-attachments__preview-wrapper__icon{height:auto;width:15px}.ne-attachments__preview-wrapper p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:92%}.ne-attachments__preview-wrapper:hover{cursor:pointer}.ne-attachments__preview__progress{display:flex;justify-content:space-between;opacity:.5;width:76%}.ne-attachments__preview__progress p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.ne-attachments__preview__progress p:nth-child(2){width:-moz-fit-content;width:fit-content}.ne-attachments__preview__progress-icon{height:auto;width:15px}.ne-attachments__preview:hover{box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-400))}.ne-attachments input[type=file]{display:none}.ne-attachments-preview{display:flex;flex-direction:column;gap:8px;height:75vh!important;max-height:576px!important;max-width:1152px!important;width:75vw!important}.ne-attachments-preview__header{border-bottom:1px solid rgb(var(--neeto-ui-gray-200));margin-bottom:8px}.ne-attachments-preview__body{align-items:center;display:flex;flex-grow:1;justify-content:center;min-height:10px;padding-bottom:8px!important;position:relative;width:100%}.ne-attachments-preview__body-download{color:rgb(var(--neeto-ui-primary-800));cursor:pointer}.ne-attachments-preview__body img{max-height:100%;max-width:100%}.ne-attachments-preview__body video{height:100%;width:100%}.ne-attachments-preview__body iframe{height:100%;padding:0 8px;width:100%}.ne-attachments-preview__body-left,.ne-attachments-preview__body-right{position:absolute!important;top:50%;transform:translateY(-50%);z-index:1}.ne-attachments-preview__body-left:hover,.ne-attachments-preview__body-right:hover{background-color:rgba(var(--neeto-ui-gray-100),.4)!important;cursor:pointer}.ne-attachments-preview__body-left{left:24px}.ne-attachments-preview__body-right{right:24px}.ne-attachments-preview__footer{align-items:center;display:flex;justify-content:space-around;padding-bottom:24px!important}.ne-attachments--integrated{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:0 0 var(--neeto-ui-rounded) var(--neeto-ui-rounded);border-top:none;padding:0 6px}.ne-attachments__wrapper{position:relative}.ne-attachments__wrapper.uppy-is-drag-over:after{align-items:center;background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));border-radius:5px;color:rgb(var(--neeto-ui-gray-600));content:\"Drop the file here\";display:flex;font-size:1.2rem;font-weight:700;inset:7px;justify-content:center;position:absolute}.ProseMirror{height:100%;overflow-y:auto;white-space:break-spaces}.ProseMirror:focus{outline:none}";
98981
+ var css = "@charset \"UTF-8\";@import url(\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css\");@keyframes shake{0%{transform:translateX(0)}10%{transform:translateX(-4px)}20%{transform:translateX(4px)}30%{transform:translateX(-4px)}40%{transform:translateX(4px)}50%{transform:translateX(-4px)}60%{transform:translateX(4px)}70%{transform:translateX(-4px)}80%{transform:translateX(4px)}90%{transform:translateX(-4px)}to{transform:translateX(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.neeto-editor-slash-commands__wrapper{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;max-height:384px;max-width:100%;overflow-y:auto;padding:12px;width:256px}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;gap:12px;justify-content:flex-start;padding:8px 12px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active,.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal)}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p{color:rgb(var(--neeto-ui-gray-300));font-size:var(--neeto-ui-text-xs)}.neeto-editor-mentions__wrapper{max-height:256px;min-width:208px;overflow-y:auto;padding:8px;width:auto}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;font-size:var(--neeto-ui-text-xs);gap:8px;justify-content:flex-start;padding:8px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.neeto-editor-mentions__wrapper .neeto-editor-mentions__item.active,.neeto-editor-mentions__wrapper .neeto-editor-mentions__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.ProseMirror.slash-active p.is-empty:last-child:before{content:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjgyMSAxNWgxLjIzVjYuMjQzaDMuMThWNS4xMzZILjY0MnYxLjEwN0gzLjgyVjE1Wm01LjkgMi41ODRjMS4zMDUgMCAxLjkxNC0uNDc5IDIuNTIyLTIuMTMzbDIuODc4LTcuODJoLTEuMjVsLTIuMDE4IDYuMDYzaC0uMTA5TDkuNzIxIDcuNjMxSDguNDQ5bDIuNzI4IDcuMzc2LS4xMzcuNDM3Yy0uMjY3Ljg0OC0uNjc3IDEuMTU2LTEuMzUzIDEuMTU2LS4xNjUgMC0uMzUtLjAwNy0uNDkzLS4wMzV2Ljk3OGMuMTY0LjAyNy4zNy4wNDEuNTI3LjA0MVptNi45NzItLjEyM2gxLjE5di0zLjYyM2guMTFjLjQwMi43ODYgMS4yODQgMS4yOTIgMi4yOTYgMS4yOTIgMS44NzMgMCAzLjA5L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uNDg1LTIuMjk3IDEuMzA2aC0uMTFWNy42M2gtMS4xODl2OS44M1ptMy4zMjItMy4zODRjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LTIuNzU1IDEuMzQ3IDAgMi4xNDcgMS4wMzkgMi4xNDcgMi43NTV2LjAxM2MwIDEuNzE2LS44IDIuNzU1LTIuMTQ3IDIuNzU1Wm04LjIzMSAxLjA1M2MxLjczNiAwIDIuNzg5LS45ODUgMy4wNDItMS45ODJsLjAxMy0uMDU1aC0xLjE4OWwtLjAyNy4wNjFjLS4xOTkuNDQ1LS44MTQuOTE2LTEuODEyLjkxNi0xLjMxMiAwLTIuMTUzLS44ODgtMi4xODctMi40MTNoNS4zMDR2LS40NjVjMC0yLjItMS4yMTctMy42OTEtMy4yMi0zLjY5MS0yLjAwMiAwLTMuMzAxIDEuNTU5LTMuMzAxIDMuODM1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");height:0;pointer-events:none;position:absolute;top:-2px;z-index:-1}.neeto-editor{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-black));max-width:100%!important;padding:16px;white-space:pre-wrap}.neeto-editor:focus{outline:none}.neeto-editor a{pointer-events:none}.neeto-editor [data-variable]{color:rgb(var(--neeto-ui-gray-600));padding:4px 6px}.neeto-editor .ProseMirror-separator{display:none}.neeto-editor.fixed-menu-active{border:thin solid rgb(var(--neeto-ui-gray-300));border-top:none;border-top-left-radius:0;border-top-right-radius:0}.neeto-editor.attachments-active{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.neeto-editor .is-empty{position:relative}.neeto-editor.placeholder-active .is-editor-empty:first-child:before{color:#ced4da;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.neeto-editor hr{margin:8px 0}.neeto-editor .ProseMirror-selectednode{outline:3px solid rgb(var(--neeto-ui-pastel-blue))}.neeto-editor .has-focus{background:var(--focus-background-color);transition:background-color .2s ease}.neeto-editor [data-variable]{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:inline-flex;line-height:1;padding:4px}.neeto-editor-character-count{color:rgb(var(--neeto-ui-gray-600));font-size:12px;padding:4px;text-align:right}.neeto-editor-error{border-color:rgb(var(--neeto-ui-error-500));border-radius:var(--neeto-ui-rounded);border-width:1px;color:rgb(var(--neeto-ui-error-500))}.neeto-editor-error:focus-within{border-color:rgb(var(--neeto-ui-error-600))}.ne_variable-tag{border-radius:6px!important}.neeto-editor,.neeto-editor-content{-moz-tab-size:2;-o-tab-size:2;tab-size:2;white-space:pre-wrap;word-break:break-word}.neeto-editor h1,.neeto-editor h2,.neeto-editor h3,.neeto-editor h4,.neeto-editor h5,.neeto-editor h6,.neeto-editor-content h1,.neeto-editor-content h2,.neeto-editor-content h3,.neeto-editor-content h4,.neeto-editor-content h5,.neeto-editor-content h6{color:rgb(var(--neeto-ui-black))}.neeto-editor h1 strong,.neeto-editor h2 strong,.neeto-editor h3 strong,.neeto-editor h4 strong,.neeto-editor h5 strong,.neeto-editor h6 strong,.neeto-editor-content h1 strong,.neeto-editor-content h2 strong,.neeto-editor-content h3 strong,.neeto-editor-content h4 strong,.neeto-editor-content h5 strong,.neeto-editor-content h6 strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor h1,.neeto-editor-content h1{margin:2rem 0 .25rem}.neeto-editor h2,.neeto-editor-content h2{margin:1.5rem 0 .25rem}.neeto-editor h3,.neeto-editor-content h3{margin:1rem 0 .25rem}.neeto-editor h4,.neeto-editor-content h4{margin:.875rem 0 .25rem}.neeto-editor h5,.neeto-editor-content h5{margin:.75rem 0 .25rem}.neeto-editor h6,.neeto-editor-content h6{margin:.5rem 0 .25rem}.neeto-editor p,.neeto-editor-content p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor p:empty:after,.neeto-editor-content p:empty:after{content:\" \"}.neeto-editor p:last-child,.neeto-editor-content p:last-child{margin-bottom:0}.neeto-editor p strong,.neeto-editor-content p strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor div,.neeto-editor-content div{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);font-family:SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;font-size:14px;padding:.2em .4em}.neeto-editor pre,.neeto-editor-content pre{background-color:#f7f6f3;border-radius:var(--neeto-ui-rounded-sm);font-size:14px;line-height:1.5;margin-bottom:16px;margin-top:16px;overflow-x:auto;padding:34px 16px 32px 32px;position:relative}.neeto-editor pre .neeto-editor-codeblock-options,.neeto-editor-content pre .neeto-editor-codeblock-options{align-items:center;display:flex;gap:4px;position:absolute;right:4px;top:4px}.neeto-editor pre .neeto-editor-codeblock-options__menu,.neeto-editor-content pre .neeto-editor-codeblock-options__menu{display:flex;flex-direction:column;gap:4px}.neeto-editor pre .neeto-editor-codeblock-options__input,.neeto-editor-content pre .neeto-editor-codeblock-options__input{margin:4px}.neeto-editor pre>code,.neeto-editor-content pre>code{background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;padding:0;white-space:pre-wrap}.neeto-editor blockquote,.neeto-editor-content blockquote{border-left-color:#e5e7eb;border-left-width:4px;color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin:8px 0;padding-left:12px;quotes:\"“\" \"”\" \"‘\" \"’\"}.neeto-editor blockquote>p:after,.neeto-editor blockquote>p:before,.neeto-editor-content blockquote>p:after,.neeto-editor-content blockquote>p:before{content:\"\"!important}.neeto-editor ol,.neeto-editor ul,.neeto-editor-content ol,.neeto-editor-content ul{list-style:revert;margin-bottom:1em;padding-left:28px}.neeto-editor ol li:before,.neeto-editor ul li:before,.neeto-editor-content ol li:before,.neeto-editor-content ul li:before{background-color:rgb(var(--neeto-ui-black))}.neeto-editor a[href],.neeto-editor-content a[href]{color:rgb(var(--neeto-ui-primary-800));font-weight:500}.neeto-editor .neeto-editor__video-wrapper,.neeto-editor-content .neeto-editor__video-wrapper{display:flex;margin:16px 0}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;padding:4px}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe{height:100%;width:100%}.neeto-editor .neeto-editor__video--left,.neeto-editor-content .neeto-editor__video--left{justify-content:flex-start}.neeto-editor .neeto-editor__video--right,.neeto-editor-content .neeto-editor__video--right{justify-content:flex-end}.neeto-editor .neeto-editor__video--center,.neeto-editor-content .neeto-editor__video--center{justify-content:center}.neeto-editor mark,.neeto-editor-content mark{border-radius:var(--neeto-ui-rounded-sm);padding:0 4px}.neeto-editor [data-type=mention],.neeto-editor [data-type=special-mention],.neeto-editor-content [data-type=mention],.neeto-editor-content [data-type=special-mention]{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor table,.neeto-editor-content table{border:1px solid rgba(var(--neeto-ui-gray-300));border-collapse:separate;border-radius:var(--neeto-ui-rounded-sm);border-spacing:0;min-width:300px;overflow:hidden;table-layout:fixed}.neeto-editor table td,.neeto-editor table th,.neeto-editor-content table td,.neeto-editor-content table th{border-left:1px solid rgba(var(--neeto-ui-gray-300));border-top:1px solid rgba(var(--neeto-ui-gray-300));padding:8px 12px;position:relative}.neeto-editor table td:first-child,.neeto-editor table th:first-child,.neeto-editor-content table td:first-child,.neeto-editor-content table th:first-child{border-left:none}.neeto-editor table th,.neeto-editor-content table th{background:rgb(var(--neeto-ui-gray-100));border-top:none}.neeto-editor table td,.neeto-editor-content table td{background:rgb(var(--neeto-ui-white))}.neeto-editor-content--hidden{display:none}.neeto-editor__image-wrapper{color:inherit!important;display:flex;font-weight:400!important;margin:16px 0;text-decoration:none}.neeto-editor__image-wrapper figure{display:inline-block;max-width:100%;overflow:hidden;position:relative}.neeto-editor__image-wrapper .neeto-editor__image{display:inline-block}.neeto-editor__image-wrapper .neeto-editor__image img,.neeto-editor__image-wrapper .neeto-editor__image video{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;height:auto;padding:4px;width:100%}.neeto-editor__image-wrapper .neeto-editor__image-placeholder{align-items:center;border:1px solid;border-radius:8px;display:flex;height:200px;justify-content:center;width:400px}.neeto-editor__image-wrapper figcaption div{color:rgb(var(--neeto-ui-gray-600));font-size:14px;font-weight:var(--neeto-ui-font-normal);line-height:1.4;text-align:center}.neeto-editor__image-wrapper figcaption div a{display:inline-block;margin:0;text-align:center}.neeto-editor__image-wrapper figcaption.is-empty div:before{color:rgb(var(--neeto-ui-gray-500));content:\"Add a caption\";inset:0;position:absolute}.neeto-editor__image--left{justify-content:flex-start}.neeto-editor__image--center{justify-content:center}.neeto-editor__image--right{justify-content:flex-end}.neeto-editor-fixed-menu{background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-300));border-bottom:none;border-radius:var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0 0;position:relative}.neeto-editor-fixed-menu--independant{border-bottom:thin solid rgb(var(--neeto-ui-gray-300));border-radius:0;border-radius:initial}.neeto-editor-fixed-menu__item{border-radius:var(--neeto-ui-rounded-sm)!important}.neeto-editor-fixed-menu .vertical-divider{border-left:1px solid rgb(var(--neeto-ui-gray-300));height:24px;margin:0 11.5px;opacity:.5}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item{min-width:-moz-fit-content;min-width:fit-content;padding:2px}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-black));height:20px!important;width:20px!important}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-primary-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-primary-800))}.neeto-editor-fixed-menu__wrapper{align-items:center;display:flex;justify-content:flex-start;overflow:auto;padding:4px;width:100%}.neeto-editor-fixed-menu__wrapper--collapsible{align-items:center;display:flex;flex-grow:1}.neeto-editor-fixed-menu__wrapper--collapsible--fade button.neeto-editor-fixed-menu__item{animation:fade-in .3s ease-in}.neeto-editor-fixed-menu__wrapper__button-group{display:flex;gap:4px}.neeto-editor-fixed-menu__variables{bottom:-24px;position:absolute;right:8px;z-index:10}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item{background-color:rgb(var(--neeto-ui-gray-700));border-radius:var(--neeto-ui-rounded-sm);padding:4px}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item.active,.neeto-editor-fixed-menu__variables .neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-600))}.neeto-editor-fixed-menu__right-options{display:flex;gap:8px;justify-self:flex-end;margin-left:auto}.neeto-editor-fixed-menu__emoji-dropdown{max-height:none!important}.neeto-editor-fixed-menu__separator{display:flex;height:28px;width:32px}.neeto-editor-fixed-menu__separator span{width:100%}.neeto-editor-fixed-menu__separator span:first-child{border-right:1px solid rgb(var(--neeto-ui-gray-200))}.neeto-editor-text-color-option__options-group{align-items:center;display:flex;gap:8px;margin:8px 4px}.neeto-editor-text-color-option__options-group__input{max-width:130px}.neeto-editor-text-color-option__options-group__reset-button{align-self:center}.neeto-editor-menu__item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;justify-content:center;padding:8px;transition:var(--neeto-ui-transition)}.neeto-editor-menu__item p{color:rgb(var(--neeto-ui-gray-600));font-size:var(--neeto-ui-text-xs);line-height:1;white-space:nowrap}.neeto-editor-menu__item.active,.neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-menu__item:focus,.neeto-editor-menu__item:focus-visible{outline:rgb(var(--neeto-ui-gray-300)) auto 1px}.neeto-editor-menu__item input[type=color]{height:0;visibility:hidden;width:0}.neeto-editor-menu__item:disabled{background-color:rgb(var(--neeto-ui-gray-100));opacity:.5}.neeto-editor-link__item{align-items:flex-start;justify-content:flex-start}.neeto-editor-link__item,.neeto-editor-table__item{display:flex!important;flex-direction:row;gap:8px;padding:8px!important}.neeto-editor-table__item input{max-width:60px!important}.neeto-editor-table__options-menu{display:flex;flex-direction:column;gap:8px;max-height:150px!important;overflow:scroll;padding:8px!important}.neeto-editor-font-size__wrapper{font-weight:var(--neeto-ui-font-normal)!important;gap:15px!important}.neeto-editor-bubble-menu{align-items:center;background:rgb(var(--neeto-ui-gray-800));border-radius:var(--neeto-ui-rounded);display:flex;flex-direction:row;gap:1px;justify-content:flex-start;padding:0 4px;position:relative}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text{color:rgb(var(--neeto-ui-gray-200));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu button.neeto-ui-btn--style-text.active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:active,.neeto-editor-bubble-menu button.neeto-ui-btn--style-text:hover{background-color:rgb(var(--neeto-ui-gray-600))!important;color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu button.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-gray-400));min-width:-moz-fit-content;min-width:fit-content}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn{color:rgb(var(--neeto-ui-gray-200))!important}.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn.active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:active,.neeto-editor-bubble-menu .neeto-ui-dropdown__popup-menu-item-btn:hover{background-color:rgb(var(--neeto-ui-gray-600))!important}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link{align-items:center;display:flex;gap:8px;justify-content:space-between;padding:6px;width:256px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input{background-color:transparent;line-height:20px;outline:none;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only{min-height:0;opacity:.8;padding:0}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover{opacity:1}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table{align-items:center;display:flex;gap:6px;justify-content:space-between;max-width:256px;padding:4px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input{background-color:rgba(var(--neeto-ui-gray-400),.2);height:24px;line-height:20px;outline:none;width:60px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__buttons{align-items:center;display:flex;gap:4px;justify-content:space-between}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table-options{align-items:center;display:flex;flex-direction:column;gap:2px;max-height:100px;overflow:scroll}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target{align-items:center;display:flex;font-size:var(--neeto-ui-text-xs);gap:4px;line-height:var(--neeto-ui-leading-normal);white-space:nowrap}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown{align-items:flex-start;display:flex;flex-direction:column}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item{font-size:var(--neeto-ui-text-xs);padding:8px 12px;text-align:left;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child{border-bottom-left-radius:var(--neeto-ui-rounded);border-bottom-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu-animate-shake{animation:shake 1s linear infinite alternate both}.neeto-editor__image-menu .neeto-ui-dropdown__popup{display:flex;min-width:0;min-width:auto}.neeto-editor__image-menu .neeto-ui-dropdown__popup .neeto-ui-btn .neeto-ui-btn__icon{height:18px!important;width:18px!important}.neeto-editor__image-menu-btn{padding:2px!important;position:absolute!important;right:4px;top:4px;z-index:1}.ne-media-uploader{display:flex;flex-direction:column;min-height:184px}.ne-media-uploader .ne-tab__wrapper .ne-tab{min-width:88px}.ne-media-uploader .ne-media-uploader__content{display:flex;flex-grow:1;padding:16px}.ne-media-uploader .ne-media-uploader__dnd{align-items:center;border:1px dashed rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded);box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;gap:2px;justify-content:center;width:100%}.ne-media-uploader .ne-media-uploader__dnd-icon{color:rgb(var(--neeto-ui-primary-600));margin-bottom:6px}.ne-media-uploader .ne-media-uploader__dnd-input{display:none}.ne-media-uploader .ne-media-uploader__dnd:hover{background-color:rgb(var(--neeto-ui-gray-100));cursor:pointer}.ne-media-uploader .ne-media-uploader__dnd.uppy-is-drag-over{background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));color:rgb(var(--neeto-ui-gray-600))}.ne-media-uploader .ne-media-uploader__wrapper{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media{align-self:start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;flex-direction:column;flex-grow:1;height:58px;justify-content:space-between;margin-bottom:auto;margin-top:auto;padding:4px 8px;width:220px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info{align-items:center;display:flex;gap:4px;justify-content:space-between}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info p{display:block;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress{align-self:flex-end;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-full);overflow:hidden;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress-bar{align-items:center;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-primary-100));display:flex;font-size:12px;font-weight:500px;height:12px;justify-content:center;line-height:1;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper{width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container{max-height:50vh;overflow-x:hidden;overflow-y:auto}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-search{margin-bottom:16px;padding:0 8px}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery{right:-8px;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__loader{display:flex;justify-content:center}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item{float:left;padding-bottom:16px;padding-right:16px;width:33.3%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder{position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);height:100%;position:absolute;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img{animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1) 1s both;border-radius:var(--neeto-ui-rounded);cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a{bottom:8px;color:rgb(var(--neeto-ui-white));font-size:12px;font-weight:var(--neeto-ui-font-normal);left:8px;line-height:1;margin:auto;opacity:0;position:absolute;text-transform:capitalize;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover{text-decoration:underline}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a{opacity:1}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text{color:rgb(var(--neeto-ui-gray-700));font-size:var(--neeto-ui-text-xs);margin-top:12px;text-align:center}.neeto-editor-url-form__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:center;padding:0 24px}.neeto-editor-url-form__wrapper .neeto-ui-input__wrapper{flex-grow:0;margin-bottom:16px;width:100%}.neeto-editor-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols}.emoji-mart.emoji-mart-light{border:none;color:rgb(var(--neeto-ui-gray-800));font-size:14px}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor{color:rgb(var(--neeto-ui-gray-500))}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg{margin:auto}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar{background-color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected{color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-search input{border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span{padding-top:8px}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span{cursor:pointer}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-scroll{height:264px;padding-bottom:0}.neeto-editor-emoji-suggestion{align-items:center;display:flex;flex-direction:row;font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;gap:2px;justify-content:flex-start;padding:4px}.neeto-editor-emoji-suggestion p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs)}.neeto-editor-emoji-suggestion span{font-size:10px;height:16px!important;width:16px!important}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item{border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;font-size:var(--neeto-ui-text-2xl);line-height:1;padding:6px;transition:var(--neeto-ui-transition)}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected,.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-table{display:relative;margin:8px 0 0;width:-moz-fit-content;width:fit-content}.neeto-editor-table table td p,.neeto-editor-table table th p{margin:0}.neeto-editor-table table .column-resize-handle{background-color:rgb(var(--neeto-ui-gray-300));bottom:0;position:absolute;right:-2px;top:0;width:4px}.neeto-editor-table table .selectedCell:after{background:rgba(var(--neeto-ui-primary-500),.1);content:\"\";inset:0;position:absolute}.neeto-editor-table__wrapper{display:flex;gap:4px}.neeto-editor-table__add-column,.neeto-editor-table__add-row{align-items:center;background:rgba(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;display:flex;justify-content:center;transition:var(--neeto-ui-transition);visibility:hidden}.neeto-editor-table__add-column p,.neeto-editor-table__add-row p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs);line-height:12px}.neeto-editor-table__add-column:hover,.neeto-editor-table__add-row:hover{background:rgba(var(--neeto-ui-gray-300))}.neeto-editor-table:hover .neeto-editor-table__add-column,.neeto-editor-table:hover .neeto-editor-table__add-row{visibility:visible}.neeto-editor-table__add-row{height:16px;margin:4px 20px 4px 0}.neeto-editor-table__add-column{flex-direction:column;width:16px}.ProseMirror.resize-cursor{cursor:col-resize}.ne-link-popover{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#333;padding:10px 16px;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility 0s .3s;z-index:99999}.ne-link-popover__url-input{margin:8px 0}.ne-link-popover__option-button{margin:0 4px}.ne-link-popover__edit-prompt-buttons{display:flex;gap:8px;margin-top:8px}.ne-link-popover a{color:rgb(var(--neeto-ui-primary-800));float:left;margin-right:8px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-link-arrow{border:6px solid transparent;border-top-color:rgba(0,0,0,.2);content:\"\";left:0;position:absolute;top:0;z-index:99999}.ne-attachments{display:flex;flex-direction:column;gap:8px}.ne-attachments__items{display:flex;flex-wrap:wrap;gap:8px}.ne-attachments__preview{align-items:center;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;justify-content:space-between;padding:4px 2px 4px 8px;width:256px}.ne-attachments__preview-wrapper{display:flex;gap:8px;width:88%}.ne-attachments__preview-wrapper__icon{height:auto;width:15px}.ne-attachments__preview-wrapper p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:92%}.ne-attachments__preview-wrapper:hover{cursor:pointer}.ne-attachments__preview__progress{display:flex;justify-content:space-between;opacity:.5;width:76%}.ne-attachments__preview__progress p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.ne-attachments__preview__progress p:nth-child(2){width:-moz-fit-content;width:fit-content}.ne-attachments__preview__progress-icon{height:auto;width:15px}.ne-attachments__preview:hover{box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-400))}.ne-attachments input[type=file]{display:none}.ne-attachments-preview{display:flex;flex-direction:column;gap:8px;height:75vh!important;max-height:576px!important;max-width:1152px!important;width:75vw!important}.ne-attachments-preview__header{border-bottom:1px solid rgb(var(--neeto-ui-gray-200));margin-bottom:8px}.ne-attachments-preview__body{align-items:center;display:flex;flex-grow:1;justify-content:center;min-height:10px;padding-bottom:8px!important;position:relative;width:100%}.ne-attachments-preview__body-download{color:rgb(var(--neeto-ui-primary-800));cursor:pointer}.ne-attachments-preview__body img{max-height:100%;max-width:100%}.ne-attachments-preview__body video{height:100%;width:100%}.ne-attachments-preview__body iframe{height:100%;padding:0 8px;width:100%}.ne-attachments-preview__body-left,.ne-attachments-preview__body-right{position:absolute!important;top:50%;transform:translateY(-50%);z-index:1}.ne-attachments-preview__body-left:hover,.ne-attachments-preview__body-right:hover{background-color:rgba(var(--neeto-ui-gray-100),.4)!important;cursor:pointer}.ne-attachments-preview__body-left{left:24px}.ne-attachments-preview__body-right{right:24px}.ne-attachments-preview__footer{align-items:center;display:flex;justify-content:space-around;padding-bottom:24px!important}.ne-attachments--integrated{background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:0 0 var(--neeto-ui-rounded) var(--neeto-ui-rounded);border-top:none;padding:0 6px}.ne-attachments__wrapper{position:relative}.ne-attachments__wrapper.uppy-is-drag-over:after{align-items:center;background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));border-radius:5px;color:rgb(var(--neeto-ui-gray-600));content:\"Drop the file here\";display:flex;font-size:1.2rem;font-weight:700;inset:7px;justify-content:center;position:absolute}.ProseMirror{height:100%;overflow-y:auto;white-space:break-spaces}.ProseMirror:focus{outline:none}";
98918
98982
  n(css,{});
98919
98983
 
98920
98984
  initializeI18n({