")].join("")}]}}var p=function(t){function n(){return l}function a(e){return e(t)}var o=e(t),l={fold:function(e,n){return n(t)},isSome:r,isNone:i,getOr:o,getOrThunk:o,getOrDie:o,getOrNull:o,getOrUndefined:o,or:n,orThunk:n,map:function(e){return p(e(t))},each:function(e){e(t)},bind:a,exists:a,forall:a,filter:function(e){return e(t)?l:s},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};return l},d={some:p,none:n,from:function(e){return null==e?s:p(e)}},y=Array.prototype.indexOf,g=Object.keys,b=Object.hasOwnProperty,f=function(e,t){return b.call(e,t)},k=tinymce.util.Tools.resolve("tinymce.Env"),v=[{shortcuts:["Meta + B"],action:"Bold"},{shortcuts:["Meta + I"],action:"Italic"},{shortcuts:["Meta + U"],action:"Underline"},{shortcuts:["Meta + A"],action:"Select all"},{shortcuts:["Meta + Y","Meta + Shift + Z"],action:"Redo"},{shortcuts:["Meta + Z"],action:"Undo"},{shortcuts:["Access + 1"],action:"Heading 1"},{shortcuts:["Access + 2"],action:"Heading 2"},{shortcuts:["Access + 3"],action:"Heading 3"},{shortcuts:["Access + 4"],action:"Heading 4"},{shortcuts:["Access + 5"],action:"Heading 5"},{shortcuts:["Access + 6"],action:"Heading 6"},{shortcuts:["Access + 7"],action:"Paragraph"},{shortcuts:["Access + 8"],action:"Div"},{shortcuts:["Access + 9"],action:"Address"},{shortcuts:["Alt + 0"],action:"Open help dialog"},{shortcuts:["Alt + F9"],action:"Focus to menubar"},{shortcuts:["Alt + F10"],action:"Focus to toolbar"},{shortcuts:["Alt + F11"],action:"Focus to element path"},{shortcuts:["Ctrl + F9"],action:"Focus to contextual toolbar"},{shortcuts:["Shift + Enter"],action:"Open popup menu for split buttons"},{shortcuts:["Meta + K"],action:"Insert link (if link plugin activated)"},{shortcuts:["Meta + S"],action:"Save (if save plugin activated)"},{shortcuts:["Meta + F"],action:"Find (if searchreplace plugin activated)"},{shortcuts:["Meta + Shift + F"],action:"Switch to or from fullscreen mode"}],w=tinymce.util.Tools.resolve("tinymce.util.I18n"),A=c([{key:"advlist",name:"Advanced List"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"bbcode",name:"BBCode"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullpage",name:"Full Page"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"hr",name:"Horizontal Rule"},{key:"image",name:"Image"},{key:"imagetools",name:"Image Tools"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"legacyoutput",name:"Legacy Output"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"noneditable",name:"Noneditable"},{key:"pagebreak",name:"Page Break"},{key:"paste",name:"Paste"},{key:"preview",name:"Preview"},{key:"print",name:"Print"},{key:"quickbars",name:"Quick Toolbars"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"spellchecker",name:"Spell Checker"},{key:"tabfocus",name:"Tab Focus"},{key:"table",name:"Table"},{key:"template",name:"Template"},{key:"textcolor",name:"Text Color"},{key:"textpattern",name:"Text Pattern"},{key:"toc",name:"Table of Contents"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"},{key:"a11ychecker",name:"Accessibility Checker",type:"premium"},{key:"advcode",name:"Advanced Code Editor",type:"premium"},{key:"advtable",name:"Advanced Tables",type:"premium"},{key:"autocorrect",name:"Autocorrect",type:"premium"},{key:"casechange",name:"Case Change",type:"premium"},{key:"checklist",name:"Checklist",type:"premium"},{key:"export",name:"Export",type:"premium"},{key:"mediaembed",name:"Enhanced Media Embed",type:"premium"},{key:"formatpainter",name:"Format Painter",type:"premium"},{key:"linkchecker",name:"Link Checker",type:"premium"},{key:"mentions",name:"Mentions",type:"premium"},{key:"pageembed",name:"Page Embed",type:"premium"},{key:"permanentpen",name:"Permanent Pen",type:"premium"},{key:"powerpaste",name:"PowerPaste",type:"premium"},{key:"rtc",name:"Real-Time Collaboration",type:"premium"},{key:"tinymcespellchecker",name:"Spell Checker Pro",type:"premium"},{key:"tinycomments",name:"Tiny Comments",type:"premium",slug:"comments"},{key:"tinydrive",name:"Tiny Drive",type:"premium"}],(function(e){return o(o({},e),{type:e.type||"opensource",slug:e.slug||e.key})})),x=tinymce.util.Tools.resolve("tinymce.EditorManager");a.add("help",(function(e){var t,n,a,i=(t={},{get:function(){return t},set:function(e){t=e}}),r={addTab:function(e){var t=n.get();t[e.name]=e,n.set(t)}},s=function(e,t){return function(){var n,a,i,r,s,l,u,p,y,b,k,A=(n=e,a=t,u={name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:c(v,(function(e){var t=c(e.shortcuts,m).join(" or ");return[e.action,t]}))}]},p={name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:"
Editor UI keyboard navigation
\n\n
Activating keyboard navigation
\n\n
The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:
\n
\n
Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)
\n
Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)
\n
Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)
\n
\n\n
Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline.
\n\n
Moving between UI sections
\n\n
When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:
\n
\n
the menubar
\n
each group of the toolbar
\n
the sidebar
\n
the element path in the footer
\n
the wordcount toggle button in the footer
\n
the branding link in the footer
\n
the editor resize handle in the footer
\n
\n\n
Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.
\n\n
Moving within UI sections
\n\n
Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:
\n
\n
moving between menus in the menubar
\n
moving between buttons in a toolbar group
\n
moving between items in the element path
\n
\n\n
In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group.
\n\n
Executing buttons
\n\n
To execute a button, navigate the selection to the desired button and hit space or enter.
\n\n
Opening, navigating and closing menus
\n\n
When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.
\n\n
To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.
\n\n
Context toolbars and menus
\n\n
To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).
\n\n
Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.
\n\n
Dialog navigation
\n\n
There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.
\n\n
When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.
\n\n
When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab’s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.
\")].join(\"\")}]}}function l(d,y){return function(){var e,t,n,a,o,i,r,s,l,c,u,m=(e=d,t=y,r={name:\"shortcuts\",title:\"Handy Shortcuts\",items:[{type:\"table\",header:[\"Action\",\"Shortcut\"],cells:b(x,function(e){var t=b(e.shortcuts,f).join(\" or \");return[e.action,t]})}]},s={name:\"keyboardnav\",title:\"Keyboard Navigation\",items:[{type:\"htmlpanel\",presets:\"document\",html:\"
Editor UI keyboard navigation
\\n\\n
Activating keyboard navigation
\\n\\n
The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:
\\n
\\n
Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)
\\n
Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)
\\n
Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)
\\n
\\n\\n
Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline.
\\n\\n
Moving between UI sections
\\n\\n
When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:
\\n
\\n
the menubar
\\n
each group of the toolbar
\\n
the sidebar
\\n
the element path in the footer
\\n
the wordcount toggle button in the footer
\\n
the branding link in the footer
\\n
the editor resize handle in the footer
\\n
\\n\\n
Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.
\\n\\n
Moving within UI sections
\\n\\n
Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:
\\n
\\n
moving between menus in the menubar
\\n
moving between buttons in a toolbar group
\\n
moving between items in the element path
\\n
\\n\\n
In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group.
\\n\\n
Executing buttons
\\n\\n
To execute a button, navigate the selection to the desired button and hit space or enter.
\\n\\n
Opening, navigating and closing menus
\\n\\n
When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.
\\n\\n
To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.
\\n\\n
Context toolbars and menus
\\n\\n
To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).
\\n\\n
Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.
\\n\\n
Dialog navigation
\\n\\n
There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.
\\n\\n
When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.
\\n\\n
When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab\\u2019s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.
\",presets:\"document\"}]}})(),u={[o.name]:o,[s.name]:s,[l.name]:l,[c.name]:c,...t.get()};return m.from(r(e)).fold((()=>(e=>{const t=g(e),n=t.indexOf(\"versions\");return-1!==n&&(t.splice(n,1),t.push(\"versions\")),{tabs:e,names:t}})(u)),(e=>((e,t)=>{const a={},r=y(e,(e=>{var r;if(i(e))return v(t,e)&&(a[e]=t[e]),e;{const t=null!==(r=e.name)&&void 0!==r?r:n(\"tab-name\");return a[t]=e,t}}));return{tabs:a,names:r}})(e,u)))})(e,t,a).then((({tabs:t,names:n})=>{const a={type:\"tabpanel\",tabs:(e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t{return v(n=t,a=e)?m.from(n[a]):m.none();var n,a})))};e.windowManager.open({title:\"Help\",size:\"medium\",body:a,buttons:[{type:\"cancel\",name:\"close\",text:\"Close\",primary:!0}],initialData:{}})}))};e.add(\"help\",((e,t)=>{const a=(e=>{let t={};return{get:()=>t,set:e=>{t=e}}})(),r=(e=>({addTab:t=>{var a;const r=null!==(a=t.name)&&void 0!==a?a:n(\"tab-name\"),o=e.get();o[r]=t,e.set(o)}}))(a);(e=>{(0,e.options.register)(\"help_tabs\",{processor:\"array\"})})(e);const o=P(e,a,t);return((e,t)=>{e.ui.registry.addButton(\"help\",{icon:\"help\",tooltip:\"Help\",onAction:t}),e.ui.registry.addMenuItem(\"help\",{text:\"Help\",icon:\"help\",shortcut:\"Alt+0\",onAction:t})})(e,o),((e,t)=>{e.addCommand(\"mceHelp\",t)})(e,o),e.shortcuts.add(\"Alt+0\",\"Open help dialog\",\"mceHelp\"),((e,t)=>{e.on(\"init\",(()=>{C(t)}))})(e,t),r}))}();"],"names":["e","tinymce","util","Tools","resolve","t","n","Date","getTime","a","Math","floor","random","String","options","get","r","o","i","Array","isArray","prototype","isPrototypeOf","constructor","name","s","undefined","c","m","this","tag","value","some","none","singletonNone","fold","isSome","isNone","map","bind","exists","forall","filter","getOr","or","getOrThunk","orThunk","getOrDie","Error","from","getOrNull","getOrUndefined","each","toArray","toString","u","slice","p","indexOf","y","length","h","push","d","call","sort","g","Object","keys","k","hasOwnProperty","v","b","f","A","load","C","getCode","catch","w","S","os","isMacOS","isiOS","alt","ctrl","shift","meta","access","split","toLowerCase","trim","join","replace","M","shortcuts","action","x","key","type","slug","_","url","plugins","getMetadata","l","html","presets","localeCompare","translate","title","items","O","P","header","cells","async","majorVersion","minorVersion","splice","tabs","names","then","windowManager","open","size","body","buttons","text","primary","initialData","add","set","addTab","register","processor","ui","registry","addButton","icon","tooltip","onAction","addMenuItem","shortcut","addCommand","on"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38006.63f54f20efa4aa57ead5.min.js b/src/plone/staticresources/static/bundle-plone/chunks/38006.63f54f20efa4aa57ead5.min.js
deleted file mode 100644
index fe1c2d9a6..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/38006.63f54f20efa4aa57ead5.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[38006],{38006:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},n=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),a="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),o="January February March April May June July August September October November December".split(" "),u=function(e,t){if((e=""+e).length'+n+"")}else e.insertContent(c(e,t))},l=tinymce.util.Tools.resolve("tinymce.util.Tools"),m=function(e){var r,a,i=n(e),o=(r=function(e){var r=n(e);return r.length>0?r[0]:t(e)}(e),a=r,{get:function(){return a},set:function(e){a=e}}),u=function(t){return e.execCommand("mceInsertDate",!1,t)};e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===o.get()},fetch:function(t){t(l.map(i,(function(t){return{type:"choiceitem",text:c(e,t),value:t}})))},onAction:function(e){u(o.get())},onItemAction:function(e,t){o.set(t),u(t)}});var s=function(e){return function(){o.set(e),u(e)}};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return l.map(i,(function(t){return{type:"menuitem",text:c(e,t),onAction:s(t)}}))}})};e.add("insertdatetime",(function(e){!function(e){e.addCommand("mceInsertDate",(function(t,n){s(e,null!=n?n:function(e){return e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d"))}(e))})),e.addCommand("mceInsertTime",(function(n,r){s(e,null!=r?r:t(e))}))}(e),m(e)}))}()}}]);
-//# sourceMappingURL=38006.63f54f20efa4aa57ead5.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38006.63f54f20efa4aa57ead5.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/38006.63f54f20efa4aa57ead5.min.js.map
deleted file mode 100644
index 59d19f9c6..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/38006.63f54f20efa4aa57ead5.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/38006.63f54f20efa4aa57ead5.min.js","mappings":"qHAQC,WACG,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAKtCC,EAAgB,SAAUC,GAC5B,OAAOA,EAAOC,SAAS,4BAA6BD,EAAOE,UAAU,YACvE,EACIC,EAAa,SAAUH,GACzB,OAAOA,EAAOC,SAAS,yBAA0B,CAC/C,WACA,WACA,cACA,MAEJ,EASIG,EAAY,kCAAkCC,MAAM,KACpDC,EAAW,kEAAkED,MAAM,KACnFE,EAAc,kDAAkDF,MAAM,KACtEG,EAAa,wFAAwFH,MAAM,KAC3GI,EAAW,SAAUC,EAAOC,GAE9B,IADAD,EAAQ,GAAKA,GACHE,OAASD,EACjB,IAAK,IAAIE,EAAI,EAAGA,EAAIF,EAAMD,EAAME,OAAQC,IACtCH,EAAQ,IAAMA,EAGlB,OAAOA,CACT,EACII,EAAc,SAAUd,EAAQe,EAAKC,GAoBvC,YAnBa,IAATA,IACFA,EAAO,IAAIC,MAiBbF,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,EAAMA,EAAIG,QAAQ,KAAM,aACdA,QAAQ,KAAM,gBACdA,QAAQ,KAAM,GAAKF,EAAKG,gBACxBD,QAAQ,KAAM,GAAKF,EAAKI,YACxBF,QAAQ,KAAMT,EAASO,EAAKK,WAAa,EAAG,KAC5CH,QAAQ,KAAMT,EAASO,EAAKM,UAAW,KACvCJ,QAAQ,KAAM,GAAKT,EAASO,EAAKO,WAAY,KAC7CL,QAAQ,KAAM,GAAKT,EAASO,EAAKQ,aAAc,KAC/CN,QAAQ,KAAM,GAAKT,EAASO,EAAKS,aAAc,KAC/CP,QAAQ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GACpF,IACAA,EAAO2E,WAAW,iBAAiB,SAAUC,EAAKlE,GAChDiB,EAAe3B,EAAQU,QAAqCA,EAAQX,EAAcC,GACpF,GACF,CAsEI8E,CAAW9E,GACXiD,EAASjD,EACX,GAKN,CA7KA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var getDateFormat = function (editor) {\n return editor.getParam('insertdatetime_dateformat', editor.translate('%Y-%m-%d'));\n };\n var getTimeFormat = function (editor) {\n return editor.getParam('insertdatetime_timeformat', editor.translate('%H:%M:%S'));\n };\n var getFormats = function (editor) {\n return editor.getParam('insertdatetime_formats', [\n '%H:%M:%S',\n '%Y-%m-%d',\n '%I:%M:%S %p',\n '%D'\n ]);\n };\n var getDefaultDateTime = function (editor) {\n var formats = getFormats(editor);\n return formats.length > 0 ? formats[0] : getTimeFormat(editor);\n };\n var shouldInsertTimeElement = function (editor) {\n return editor.getParam('insertdatetime_element', false);\n };\n\n var daysShort = 'Sun Mon Tue Wed Thu Fri Sat Sun'.split(' ');\n var daysLong = 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday'.split(' ');\n var monthsShort = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ');\n var monthsLong = 'January February March April May June July August September October November December'.split(' ');\n var addZeros = function (value, len) {\n value = '' + value;\n if (value.length < len) {\n for (var i = 0; i < len - value.length; i++) {\n value = '0' + value;\n }\n }\n return value;\n };\n var getDateTime = function (editor, fmt, date) {\n if (date === void 0) {\n date = new Date();\n }\n fmt = fmt.replace('%D', '%m/%d/%Y');\n fmt = fmt.replace('%r', '%I:%M:%S %p');\n fmt = fmt.replace('%Y', '' + date.getFullYear());\n fmt = fmt.replace('%y', '' + date.getYear());\n fmt = fmt.replace('%m', addZeros(date.getMonth() + 1, 2));\n fmt = fmt.replace('%d', addZeros(date.getDate(), 2));\n fmt = fmt.replace('%H', '' + addZeros(date.getHours(), 2));\n fmt = fmt.replace('%M', '' + addZeros(date.getMinutes(), 2));\n fmt = fmt.replace('%S', '' + addZeros(date.getSeconds(), 2));\n fmt = fmt.replace('%I', '' + ((date.getHours() + 11) % 12 + 1));\n fmt = fmt.replace('%p', '' + (date.getHours() < 12 ? 'AM' : 'PM'));\n fmt = fmt.replace('%B', '' + editor.translate(monthsLong[date.getMonth()]));\n fmt = fmt.replace('%b', '' + editor.translate(monthsShort[date.getMonth()]));\n fmt = fmt.replace('%A', '' + editor.translate(daysLong[date.getDay()]));\n fmt = fmt.replace('%a', '' + editor.translate(daysShort[date.getDay()]));\n fmt = fmt.replace('%%', '%');\n return fmt;\n };\n var updateElement = function (editor, timeElm, computerTime, userTime) {\n var newTimeElm = editor.dom.create('time', { datetime: computerTime }, userTime);\n timeElm.parentNode.insertBefore(newTimeElm, timeElm);\n editor.dom.remove(timeElm);\n editor.selection.select(newTimeElm, true);\n editor.selection.collapse(false);\n };\n var insertDateTime = function (editor, format) {\n if (shouldInsertTimeElement(editor)) {\n var userTime = getDateTime(editor, format);\n var computerTime = void 0;\n if (/%[HMSIp]/.test(format)) {\n computerTime = getDateTime(editor, '%Y-%m-%dT%H:%M');\n } else {\n computerTime = getDateTime(editor, '%Y-%m-%d');\n }\n var timeElm = editor.dom.getParent(editor.selection.getStart(), 'time');\n if (timeElm) {\n updateElement(editor, timeElm, computerTime, userTime);\n } else {\n editor.insertContent('');\n }\n } else {\n editor.insertContent(getDateTime(editor, format));\n }\n };\n\n var register$1 = function (editor) {\n editor.addCommand('mceInsertDate', function (_ui, value) {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getDateFormat(editor));\n });\n editor.addCommand('mceInsertTime', function (_ui, value) {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getTimeFormat(editor));\n });\n };\n\n var Cell = function (initial) {\n var value = initial;\n var get = function () {\n return value;\n };\n var set = function (v) {\n value = v;\n };\n return {\n get: get,\n set: set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var register = function (editor) {\n var formats = getFormats(editor);\n var defaultFormat = Cell(getDefaultDateTime(editor));\n var insertDateTime = function (format) {\n return editor.execCommand('mceInsertDate', false, format);\n };\n editor.ui.registry.addSplitButton('insertdatetime', {\n icon: 'insert-time',\n tooltip: 'Insert date/time',\n select: function (value) {\n return value === defaultFormat.get();\n },\n fetch: function (done) {\n done(global.map(formats, function (format) {\n return {\n type: 'choiceitem',\n text: getDateTime(editor, format),\n value: format\n };\n }));\n },\n onAction: function (_api) {\n insertDateTime(defaultFormat.get());\n },\n onItemAction: function (_api, value) {\n defaultFormat.set(value);\n insertDateTime(value);\n }\n });\n var makeMenuItemHandler = function (format) {\n return function () {\n defaultFormat.set(format);\n insertDateTime(format);\n };\n };\n editor.ui.registry.addNestedMenuItem('insertdatetime', {\n icon: 'insert-time',\n text: 'Date/time',\n getSubmenuItems: function () {\n return global.map(formats, function (format) {\n return {\n type: 'menuitem',\n text: getDateTime(editor, format),\n onAction: makeMenuItemHandler(format)\n };\n });\n }\n });\n };\n\n function Plugin () {\n global$1.add('insertdatetime', function (editor) {\n register$1(editor);\n register(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global$1","tinymce","util","Tools","resolve","getTimeFormat","editor","getParam","translate","getFormats","daysShort","split","daysLong","monthsShort","monthsLong","addZeros","value","len","length","i","getDateTime","fmt","date","Date","replace","getFullYear","getYear","getMonth","getDate","getHours","getMinutes","getSeconds","getDay","insertDateTime","format","shouldInsertTimeElement","userTime","computerTime","test","timeElm","dom","getParent","selection","getStart","newTimeElm","create","datetime","parentNode","insertBefore","remove","select","collapse","updateElement","insertContent","global","register","initial","formats","defaultFormat","getDefaultDateTime","get","set","v","execCommand","ui","registry","addSplitButton","icon","tooltip","fetch","done","map","type","text","onAction","_api","onItemAction","makeMenuItemHandler","addNestedMenuItem","getSubmenuItems","add","addCommand","_ui","getDateFormat","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38006.b2427a8202afceb65ee0.min.js b/src/plone/staticresources/static/bundle-plone/chunks/38006.b2427a8202afceb65ee0.min.js
new file mode 100644
index 000000000..1136f5a38
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/38006.b2427a8202afceb65ee0.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[38006],{38006:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("insertdatetime_dateformat"),a=t("insertdatetime_timeformat"),r=t("insertdatetime_formats"),s=t("insertdatetime_element"),i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),c="January February March April May June July August September October November December".split(" "),m=(e,t)=>{if((e=""+e).lengtht=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",m(n.getMonth()+1,2))).replace("%d",m(n.getDate(),2))).replace("%H",""+m(n.getHours(),2))).replace("%M",""+m(n.getMinutes(),2))).replace("%S",""+m(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(c[n.getMonth()]))).replace("%b",""+e.translate(l[n.getMonth()]))).replace("%A",""+e.translate(o[n.getDay()]))).replace("%a",""+e.translate(i[n.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)){const n=d(e,t);let a;a=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,n,a)=>{const r=e.dom.create("time",{datetime:n},a);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,a,n):e.insertContent('")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",n),n(),()=>{e.off("NodeChange",n)}},y=e=>{const t=r(e),n=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:a(e)})(e)),s=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===n.get(),fetch:n=>{n(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{s(n.get())},onItemAction:(e,t)=>{n.set(t),s(t)},onSetup:g(e)});const i=e=>()=>{n.set(e),s(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:i(t)}))),onSetup:g(e)})};e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,a)=>{u(e,null!=a?a:n(e))})),e.addCommand("mceInsertTime",((t,n)=>{u(e,null!=n?n:a(e))}))})(e),y(e)}))}()}}]);
+//# sourceMappingURL=38006.b2427a8202afceb65ee0.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38006.b2427a8202afceb65ee0.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/38006.b2427a8202afceb65ee0.min.js.map
new file mode 100644
index 000000000..ff6288ca5
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/38006.b2427a8202afceb65ee0.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/38006.b2427a8202afceb65ee0.min.js","mappings":"qHAIA,WACI,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAAMC,EAASC,GAAQC,GAAUA,EAAOC,QAAQC,IAAIH,GAyB9CI,EAAgBL,EAAO,6BACvBM,EAAgBN,EAAO,6BACvBO,EAAaP,EAAO,0BACpBQ,EAA0BR,EAAO,0BAMjCS,EAAY,kCAAkCC,MAAM,KACpDC,EAAW,kEAAkED,MAAM,KACnFE,EAAc,kDAAkDF,MAAM,KACtEG,EAAa,wFAAwFH,MAAM,KAC3GI,EAAW,CAACC,EAAOC,KAEvB,IADAD,EAAQ,GAAKA,GACHE,OAASD,EACjB,IAAK,IAAIE,EAAI,EAAGA,EAAIF,EAAMD,EAAME,OAAQC,IACtCH,EAAQ,IAAMA,EAGlB,OAAOA,CAAK,EAERI,EAAc,CAACjB,EAAQkB,EAAKC,EAAO,IAAIC,OAgB3CF,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,EAAMA,EAAIG,QAAQ,KAAM,aACdA,QAAQ,KAAM,gBACdA,QAAQ,KAAM,GAAKF,EAAKG,gBACxBD,QAAQ,KAAM,GAAKF,EAAKI,YACxBF,QAAQ,KAAMT,EAASO,EAAKK,WAAa,EAAG,KAC5CH,QAAQ,KAAMT,EAASO,EAAKM,UAAW,KACvCJ,QAAQ,KAAM,GAAKT,EAASO,EAAKO,WAAY,KAC7CL,QAAQ,KAAM,GAAKT,EAASO,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AW,SACXC,QAASrF,EAAO6B,UAAU,cAE5BsD,EAAe,4BAA6B,CAC1CC,UAAW,SACXC,QAASrF,EAAO6B,UAAU,cAE5BsD,EAAe,yBAA0B,CACvCC,UAAW,WACXC,QAAS,CACP,WACA,WACA,cACA,QAGJF,EAAe,yBAA0B,CACvCC,UAAW,UACXC,SAAS,GACT,EAkJAC,CAAWtF,GA7EIA,KACjBA,EAAOuF,WAAW,iBAAiB,CAACC,EAAK3E,KACvCkB,EAAe/B,EAAQa,QAAqCA,EAAQV,EAAcH,GAAQ,IAE5FA,EAAOuF,WAAW,iBAAiB,CAACC,EAAK3E,KACvCkB,EAAe/B,EAAQa,QAAqCA,EAAQT,EAAcJ,GAAQ,GAC1F,EAwEAyF,CAAWzF,GACXwD,EAASxD,EAAO,GAMvB,CAtLD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const option = name => editor => editor.options.get(name);\n const register$2 = editor => {\n const registerOption = editor.options.register;\n registerOption('insertdatetime_dateformat', {\n processor: 'string',\n default: editor.translate('%Y-%m-%d')\n });\n registerOption('insertdatetime_timeformat', {\n processor: 'string',\n default: editor.translate('%H:%M:%S')\n });\n registerOption('insertdatetime_formats', {\n processor: 'string[]',\n default: [\n '%H:%M:%S',\n '%Y-%m-%d',\n '%I:%M:%S %p',\n '%D'\n ]\n });\n registerOption('insertdatetime_element', {\n processor: 'boolean',\n default: false\n });\n };\n const getDateFormat = option('insertdatetime_dateformat');\n const getTimeFormat = option('insertdatetime_timeformat');\n const getFormats = option('insertdatetime_formats');\n const shouldInsertTimeElement = option('insertdatetime_element');\n const getDefaultDateTime = editor => {\n const formats = getFormats(editor);\n return formats.length > 0 ? formats[0] : getTimeFormat(editor);\n };\n\n const daysShort = 'Sun Mon Tue Wed Thu Fri Sat Sun'.split(' ');\n const daysLong = 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday'.split(' ');\n const monthsShort = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ');\n const monthsLong = 'January February March April May June July August September October November December'.split(' ');\n const addZeros = (value, len) => {\n value = '' + value;\n if (value.length < len) {\n for (let i = 0; i < len - value.length; i++) {\n value = '0' + value;\n }\n }\n return value;\n };\n const getDateTime = (editor, fmt, date = new Date()) => {\n fmt = fmt.replace('%D', '%m/%d/%Y');\n fmt = fmt.replace('%r', '%I:%M:%S %p');\n fmt = fmt.replace('%Y', '' + date.getFullYear());\n fmt = fmt.replace('%y', '' + date.getYear());\n fmt = fmt.replace('%m', addZeros(date.getMonth() + 1, 2));\n fmt = fmt.replace('%d', addZeros(date.getDate(), 2));\n fmt = fmt.replace('%H', '' + addZeros(date.getHours(), 2));\n fmt = fmt.replace('%M', '' + addZeros(date.getMinutes(), 2));\n fmt = fmt.replace('%S', '' + addZeros(date.getSeconds(), 2));\n fmt = fmt.replace('%I', '' + ((date.getHours() + 11) % 12 + 1));\n fmt = fmt.replace('%p', '' + (date.getHours() < 12 ? 'AM' : 'PM'));\n fmt = fmt.replace('%B', '' + editor.translate(monthsLong[date.getMonth()]));\n fmt = fmt.replace('%b', '' + editor.translate(monthsShort[date.getMonth()]));\n fmt = fmt.replace('%A', '' + editor.translate(daysLong[date.getDay()]));\n fmt = fmt.replace('%a', '' + editor.translate(daysShort[date.getDay()]));\n fmt = fmt.replace('%%', '%');\n return fmt;\n };\n const updateElement = (editor, timeElm, computerTime, userTime) => {\n const newTimeElm = editor.dom.create('time', { datetime: computerTime }, userTime);\n editor.dom.replace(newTimeElm, timeElm);\n editor.selection.select(newTimeElm, true);\n editor.selection.collapse(false);\n };\n const insertDateTime = (editor, format) => {\n if (shouldInsertTimeElement(editor)) {\n const userTime = getDateTime(editor, format);\n let computerTime;\n if (/%[HMSIp]/.test(format)) {\n computerTime = getDateTime(editor, '%Y-%m-%dT%H:%M');\n } else {\n computerTime = getDateTime(editor, '%Y-%m-%d');\n }\n const timeElm = editor.dom.getParent(editor.selection.getStart(), 'time');\n if (timeElm) {\n updateElement(editor, timeElm, computerTime, userTime);\n } else {\n editor.insertContent('');\n }\n } else {\n editor.insertContent(getDateTime(editor, format));\n }\n };\n\n const register$1 = editor => {\n editor.addCommand('mceInsertDate', (_ui, value) => {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getDateFormat(editor));\n });\n editor.addCommand('mceInsertTime', (_ui, value) => {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getTimeFormat(editor));\n });\n };\n\n const Cell = initial => {\n let value = initial;\n const get = () => {\n return value;\n };\n const set = v => {\n value = v;\n };\n return {\n get,\n set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const onSetupEditable = editor => api => {\n const nodeChanged = () => {\n api.setEnabled(editor.selection.isEditable());\n };\n editor.on('NodeChange', nodeChanged);\n nodeChanged();\n return () => {\n editor.off('NodeChange', nodeChanged);\n };\n };\n const register = editor => {\n const formats = getFormats(editor);\n const defaultFormat = Cell(getDefaultDateTime(editor));\n const insertDateTime = format => editor.execCommand('mceInsertDate', false, format);\n editor.ui.registry.addSplitButton('insertdatetime', {\n icon: 'insert-time',\n tooltip: 'Insert date/time',\n select: value => value === defaultFormat.get(),\n fetch: done => {\n done(global.map(formats, format => ({\n type: 'choiceitem',\n text: getDateTime(editor, format),\n value: format\n })));\n },\n onAction: _api => {\n insertDateTime(defaultFormat.get());\n },\n onItemAction: (_api, value) => {\n defaultFormat.set(value);\n insertDateTime(value);\n },\n onSetup: onSetupEditable(editor)\n });\n const makeMenuItemHandler = format => () => {\n defaultFormat.set(format);\n insertDateTime(format);\n };\n editor.ui.registry.addNestedMenuItem('insertdatetime', {\n icon: 'insert-time',\n text: 'Date/time',\n getSubmenuItems: () => global.map(formats, format => ({\n type: 'menuitem',\n text: getDateTime(editor, format),\n onAction: makeMenuItemHandler(format)\n })),\n onSetup: onSetupEditable(editor)\n });\n };\n\n var Plugin = () => {\n global$1.add('insertdatetime', editor => {\n register$2(editor);\n register$1(editor);\n register(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$1","tinymce","util","Tools","resolve","option","name","editor","options","get","getDateFormat","getTimeFormat","getFormats","shouldInsertTimeElement","daysShort","split","daysLong","monthsShort","monthsLong","addZeros","value","len","length","i","getDateTime","fmt","date","Date","replace","getFullYear","getYear","getMonth","getDate","getHours","getMinutes","getSeconds","translate","getDay","insertDateTime","format","userTime","computerTime","test","timeElm","dom","getParent","selection","getStart","newTimeElm","create","datetime","select","collapse","updateElement","insertContent","global","onSetupEditable","api","nodeChanged","setEnabled","isEditable","on","off","register","formats","defaultFormat","initial","set","v","Cell","getDefaultDateTime","execCommand","ui","registry","addSplitButton","icon","tooltip","fetch","done","map","type","text","onAction","_api","onItemAction","onSetup","makeMenuItemHandler","addNestedMenuItem","getSubmenuItems","add","registerOption","processor","default","register$2","addCommand","_ui","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38492.e50e535c315750af431a.min.js b/src/plone/staticresources/static/bundle-plone/chunks/38492.e50e535c315750af431a.min.js
deleted file mode 100644
index 42641d9c7..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/38492.e50e535c315750af431a.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[38492],{38492:function(){!function(){"use strict";var n,t,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(n){return function(t){return typeof t===n}},e=function(n){return function(t){return o=typeof(r=t),(null===r?"null":"object"===o&&(Array.prototype.isPrototypeOf(r)||r.constructor&&"Array"===r.constructor.name)?"array":"object"===o&&(String.prototype.isPrototypeOf(r)||r.constructor&&"String"===r.constructor.name)?"string":o)===n;var r,o}}("string"),u=o("boolean"),i=o("function"),c=o("number"),f=function(){},l=function(n){return function(){return n}},a=function(n){return n},m=l(!1),d=l(!0),s=function(){return g},g={fold:function(n,t){return n()},isSome:m,isNone:d,getOr:t=a,getOrThunk:n=function(n){return n()},getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:l(null),getOrUndefined:l(void 0),or:t,orThunk:n,map:s,each:f,bind:s,exists:m,forall:d,filter:function(){return s()},toArray:function(){return[]},toString:l("none()")},h=function(n){var t=l(n),r=function(){return e},o=function(t){return t(n)},e={fold:function(t,r){return r(n)},isSome:d,isNone:m,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:r,orThunk:r,map:function(t){return h(t(n))},each:function(t){t(n)},bind:o,exists:o,forall:o,filter:function(t){return t(n)?e:g},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};return e},v={some:h,none:s,from:function(n){return null==n?g:h(n)}},p=function(n,t){for(var r=0,o=n.length;r1)throw console.error("HTML does not have a single root node",n),new Error("HTML must have a single root node");return y(r.childNodes[0])},fromTag:function(n,t){var r=(t||document).createElement(n);return y(r)},fromText:function(n,t){var r=(t||document).createTextNode(n);return y(r)},fromDom:y,fromPoint:function(n,t,r){return v.from(n.dom.elementFromPoint(t,r)).map(y)}},D=function(n,t){var r=n.dom;if(1!==r.nodeType)return!1;var o=r;if(void 0!==o.matches)return o.matches(t);if(void 0!==o.msMatchesSelector)return o.msMatchesSelector(t);if(void 0!==o.webkitMatchesSelector)return o.webkitMatchesSelector(t);if(void 0!==o.mozMatchesSelector)return o.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")};"undefined"!=typeof window?window:Function("return this;")();var N,T=function(n){return function(t){return function(n){return n.dom.nodeType}(t)===n}},b=T(1),S=T(3),O=T(9),k=T(11),A=function(n){return function(n,t){for(var r=n.length,o=new Array(r),e=0;e0&&(p(r,(function(n){var r=w.fromDom(n),o=z(r),e=function(n,t){return(t?x(n,"ol,ul"):v.some(n)).getOr(n)}(r,o);j(e).each((function(n){if(H(n)!==t?C(e,"dir",t):H(e)!==t&&M(e,"dir"),o){var r=V(e,"li[dir]");p(r,(function(n){return M(n,"dir")}))}}))})),n.nodeChanged())},U=function(n,t){return function(r){var o=function(n){var o=w.fromDom(n.element);r.setActive(H(o)===t)};return n.on("NodeChange",o),function(){return n.off("NodeChange",o)}}};r.add("directionality",(function(n){!function(n){n.addCommand("mceDirectionLTR",(function(){F(n,"ltr")})),n.addCommand("mceDirectionRTL",(function(){F(n,"rtl")}))}(n),function(n){n.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:function(){return n.execCommand("mceDirectionLTR")},onSetup:U(n,"ltr")}),n.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:function(){return n.execCommand("mceDirectionRTL")},onSetup:U(n,"rtl")})}(n)}))}()}}]);
-//# sourceMappingURL=38492.e50e535c315750af431a.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38492.e50e535c315750af431a.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/38492.e50e535c315750af431a.min.js.map
deleted file mode 100644
index 63201f548..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/38492.e50e535c315750af431a.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/38492.e50e535c315750af431a.min.js","mappings":"qHAQC,WACG,aAEA,IAyDMA,EAGAC,EA5DFC,EAASC,QAAQC,KAAKC,MAAMC,QAAQ,yBAmBpCC,EAAe,SAAUC,GAC3B,OAAO,SAAUC,GACf,cAAcA,IAAUD,CAC1B,CACF,EACIE,EAVW,SAAUF,GACvB,OAAO,SAAUC,GACf,OAbEE,SADiBC,EAcLH,IAZN,OAANG,EACK,OACQ,WAAND,IAAmBE,MAAMC,UAAUC,cAAcH,IAAMA,EAAEI,aAAsC,UAAvBJ,EAAEI,YAAYC,MACxF,QACQ,WAANN,IAAmBO,OAAOJ,UAAUC,cAAcH,IAAMA,EAAEI,aAAsC,WAAvBJ,EAAEI,YAAYC,MACzF,SA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ASC,gBAAgB,MAAO,CACxCC,QAAS,gBACTC,KAAM,MACNC,SAAU,WACR,OAAO3B,EAAO4B,YAAY,kBAC5B,EACAC,QAAShB,EAAqBb,EAAQ,QAE1C,CAKI8B,CAAS9B,EACX,GAKN,CA5bA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/directionality/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var typeOf = function (x) {\n var t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {\n return 'array';\n } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {\n return 'string';\n } else {\n return t;\n }\n };\n var isType$1 = function (type) {\n return function (value) {\n return typeOf(value) === type;\n };\n };\n var isSimpleType = function (type) {\n return function (value) {\n return typeof value === type;\n };\n };\n var isString = isType$1('string');\n var isBoolean = isSimpleType('boolean');\n var isNullable = function (a) {\n return a === null || a === undefined;\n };\n var isNonNullable = function (a) {\n return !isNullable(a);\n };\n var isFunction = isSimpleType('function');\n var isNumber = isSimpleType('number');\n\n var noop = function () {\n };\n var compose1 = function (fbc, fab) {\n return function (a) {\n return fbc(fab(a));\n };\n };\n var constant = function (value) {\n return function () {\n return value;\n };\n };\n var identity = function (x) {\n return x;\n };\n var never = constant(false);\n var always = constant(true);\n\n var none = function () {\n return NONE;\n };\n var NONE = function () {\n var call = function (thunk) {\n return thunk();\n };\n var id = identity;\n var me = {\n fold: function (n, _s) {\n return n();\n },\n isSome: never,\n isNone: always,\n getOr: id,\n getOrThunk: call,\n getOrDie: function (msg) {\n throw new Error(msg || 'error: getOrDie called on none.');\n },\n getOrNull: constant(null),\n getOrUndefined: constant(undefined),\n or: id,\n orThunk: call,\n map: none,\n each: noop,\n bind: none,\n exists: never,\n forall: always,\n filter: function () {\n return none();\n },\n toArray: function () {\n return [];\n },\n toString: constant('none()')\n };\n return me;\n }();\n var some = function (a) {\n var constant_a = constant(a);\n var self = function () {\n return me;\n };\n var bind = function (f) {\n return f(a);\n };\n var me = {\n fold: function (n, s) {\n return s(a);\n },\n isSome: always,\n isNone: never,\n getOr: constant_a,\n getOrThunk: constant_a,\n getOrDie: constant_a,\n getOrNull: constant_a,\n getOrUndefined: constant_a,\n or: self,\n orThunk: self,\n map: function (f) {\n return some(f(a));\n },\n each: function (f) {\n f(a);\n },\n bind: bind,\n exists: bind,\n forall: bind,\n filter: function (f) {\n return f(a) ? me : NONE;\n },\n toArray: function () {\n return [a];\n },\n toString: function () {\n return 'some(' + a + ')';\n }\n };\n return me;\n };\n var from = function (value) {\n return value === null || value === undefined ? NONE : some(value);\n };\n var Optional = {\n some: some,\n none: none,\n from: from\n };\n\n var map = function (xs, f) {\n var len = xs.length;\n var r = new Array(len);\n for (var i = 0; i < len; i++) {\n var x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n var each = function (xs, f) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n f(x, i);\n }\n };\n var filter = function (xs, pred) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n\n var DOCUMENT = 9;\n var DOCUMENT_FRAGMENT = 11;\n var ELEMENT = 1;\n var TEXT = 3;\n\n var fromHtml = function (html, scope) {\n var doc = scope || document;\n var div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n console.error('HTML does not have a single root node', html);\n throw new Error('HTML must have a single root node');\n }\n return fromDom(div.childNodes[0]);\n };\n var fromTag = function (tag, scope) {\n var doc = scope || document;\n var node = doc.createElement(tag);\n return fromDom(node);\n };\n var fromText = function (text, scope) {\n var doc = scope || document;\n var node = doc.createTextNode(text);\n return fromDom(node);\n };\n var fromDom = function (node) {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n var fromPoint = function (docElm, x, y) {\n return Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n };\n var SugarElement = {\n fromHtml: fromHtml,\n fromTag: fromTag,\n fromText: fromText,\n fromDom: fromDom,\n fromPoint: fromPoint\n };\n\n var is = function (element, selector) {\n var dom = element.dom;\n if (dom.nodeType !== ELEMENT) {\n return false;\n } else {\n var elem = dom;\n if (elem.matches !== undefined) {\n return elem.matches(selector);\n } else if (elem.msMatchesSelector !== undefined) {\n return elem.msMatchesSelector(selector);\n } else if (elem.webkitMatchesSelector !== undefined) {\n return elem.webkitMatchesSelector(selector);\n } else if (elem.mozMatchesSelector !== undefined) {\n return elem.mozMatchesSelector(selector);\n } else {\n throw new Error('Browser lacks native selectors');\n }\n }\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n var name = function (element) {\n var r = element.dom.nodeName;\n return r.toLowerCase();\n };\n var type = function (element) {\n return element.dom.nodeType;\n };\n var isType = function (t) {\n return function (element) {\n return type(element) === t;\n };\n };\n var isElement = isType(ELEMENT);\n var isText = isType(TEXT);\n var isDocument = isType(DOCUMENT);\n var isDocumentFragment = isType(DOCUMENT_FRAGMENT);\n var isTag = function (tag) {\n return function (e) {\n return isElement(e) && name(e) === tag;\n };\n };\n\n var owner = function (element) {\n return SugarElement.fromDom(element.dom.ownerDocument);\n };\n var documentOrOwner = function (dos) {\n return isDocument(dos) ? dos : owner(dos);\n };\n var parent = function (element) {\n return Optional.from(element.dom.parentNode).map(SugarElement.fromDom);\n };\n var children$2 = function (element) {\n return map(element.dom.childNodes, SugarElement.fromDom);\n };\n\n var rawSet = function (dom, key, value) {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n var set = function (element, key, value) {\n rawSet(element.dom, key, value);\n };\n var remove = function (element, key) {\n element.dom.removeAttribute(key);\n };\n\n var isShadowRoot = function (dos) {\n return isDocumentFragment(dos) && isNonNullable(dos.dom.host);\n };\n var supported = isFunction(Element.prototype.attachShadow) && isFunction(Node.prototype.getRootNode);\n var getRootNode = supported ? function (e) {\n return SugarElement.fromDom(e.dom.getRootNode());\n } : documentOrOwner;\n var getShadowRoot = function (e) {\n var r = getRootNode(e);\n return isShadowRoot(r) ? Optional.some(r) : Optional.none();\n };\n var getShadowHost = function (e) {\n return SugarElement.fromDom(e.dom.host);\n };\n\n var inBody = function (element) {\n var dom = isText(element) ? element.dom.parentNode : element.dom;\n if (dom === undefined || dom === null || dom.ownerDocument === null) {\n return false;\n }\n var doc = dom.ownerDocument;\n return getShadowRoot(SugarElement.fromDom(dom)).fold(function () {\n return doc.body.contains(dom);\n }, compose1(inBody, getShadowHost));\n };\n\n var ancestor$1 = function (scope, predicate, isRoot) {\n var element = scope.dom;\n var stop = isFunction(isRoot) ? isRoot : never;\n while (element.parentNode) {\n element = element.parentNode;\n var el = SugarElement.fromDom(element);\n if (predicate(el)) {\n return Optional.some(el);\n } else if (stop(el)) {\n break;\n }\n }\n return Optional.none();\n };\n\n var ancestor = function (scope, selector, isRoot) {\n return ancestor$1(scope, function (e) {\n return is(e, selector);\n }, isRoot);\n };\n\n var isSupported = function (dom) {\n return dom.style !== undefined && isFunction(dom.style.getPropertyValue);\n };\n\n var get = function (element, property) {\n var dom = element.dom;\n var styles = window.getComputedStyle(dom);\n var r = styles.getPropertyValue(property);\n return r === '' && !inBody(element) ? getUnsafeProperty(dom, property) : r;\n };\n var getUnsafeProperty = function (dom, property) {\n return isSupported(dom) ? dom.style.getPropertyValue(property) : '';\n };\n\n var getDirection = function (element) {\n return get(element, 'direction') === 'rtl' ? 'rtl' : 'ltr';\n };\n\n var children$1 = function (scope, predicate) {\n return filter(children$2(scope), predicate);\n };\n\n var children = function (scope, selector) {\n return children$1(scope, function (e) {\n return is(e, selector);\n });\n };\n\n var getParentElement = function (element) {\n return parent(element).filter(isElement);\n };\n var getNormalizedBlock = function (element, isListItem) {\n var normalizedElement = isListItem ? ancestor(element, 'ol,ul') : Optional.some(element);\n return normalizedElement.getOr(element);\n };\n var isListItem = isTag('li');\n var setDir = function (editor, dir) {\n var selectedBlocks = editor.selection.getSelectedBlocks();\n if (selectedBlocks.length > 0) {\n each(selectedBlocks, function (block) {\n var blockElement = SugarElement.fromDom(block);\n var isBlockElementListItem = isListItem(blockElement);\n var normalizedBlock = getNormalizedBlock(blockElement, isBlockElementListItem);\n var normalizedBlockParent = getParentElement(normalizedBlock);\n normalizedBlockParent.each(function (parent) {\n var parentDirection = getDirection(parent);\n if (parentDirection !== dir) {\n set(normalizedBlock, 'dir', dir);\n } else if (getDirection(normalizedBlock) !== dir) {\n remove(normalizedBlock, 'dir');\n }\n if (isBlockElementListItem) {\n var listItems = children(normalizedBlock, 'li[dir]');\n each(listItems, function (listItem) {\n return remove(listItem, 'dir');\n });\n }\n });\n });\n editor.nodeChanged();\n }\n };\n\n var register$1 = function (editor) {\n editor.addCommand('mceDirectionLTR', function () {\n setDir(editor, 'ltr');\n });\n editor.addCommand('mceDirectionRTL', function () {\n setDir(editor, 'rtl');\n });\n };\n\n var getNodeChangeHandler = function (editor, dir) {\n return function (api) {\n var nodeChangeHandler = function (e) {\n var element = SugarElement.fromDom(e.element);\n api.setActive(getDirection(element) === dir);\n };\n editor.on('NodeChange', nodeChangeHandler);\n return function () {\n return editor.off('NodeChange', nodeChangeHandler);\n };\n };\n };\n var register = function (editor) {\n editor.ui.registry.addToggleButton('ltr', {\n tooltip: 'Left to right',\n icon: 'ltr',\n onAction: function () {\n return editor.execCommand('mceDirectionLTR');\n },\n onSetup: getNodeChangeHandler(editor, 'ltr')\n });\n editor.ui.registry.addToggleButton('rtl', {\n tooltip: 'Right to left',\n icon: 'rtl',\n onAction: function () {\n return editor.execCommand('mceDirectionRTL');\n },\n onSetup: getNodeChangeHandler(editor, 'rtl')\n });\n };\n\n function Plugin () {\n global.add('directionality', function (editor) {\n register$1(editor);\n register(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["call","id","global","tinymce","util","Tools","resolve","isSimpleType","type","value","isString","t","x","Array","prototype","isPrototypeOf","constructor","name","String","isType$1","isBoolean","isFunction","isNumber","noop","constant","identity","never","always","none","NONE","fold","n","_s","isSome","isNone","getOr","getOrThunk","thunk","getOrDie","msg","Error","getOrNull","getOrUndefined","undefined","or","orThunk","map","each","bind","exists","forall","filter","toArray","toString","some","a","constant_a","self","me","f","s","Optional","from","xs","i","len","length","fromDom","node","dom","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","console","error","fromTag","tag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","is","element","selector","nodeType","elem","matches","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","window","Function","isType","isElement","isText","isDocument","isDocumentFragment","children$2","r","set","key","setAttribute","rawSet","remove","removeAttribute","getRootNode","Element","attachShadow","Node","e","dos","ownerDocument","getShadowRoot","host","getShadowHost","inBody","parentNode","fbc","fab","doc","body","contains","ancestor","isRoot","predicate","stop","el","ancestor$1","getUnsafeProperty","property","style","getPropertyValue","isSupported","getDirection","getComputedStyle","get","children","pred","push","children$1","getParentElement","parent","isListItem","nodeName","toLowerCase","setDir","editor","dir","selectedBlocks","selection","getSelectedBlocks","block","blockElement","isBlockElementListItem","normalizedBlock","getNormalizedBlock","listItems","listItem","nodeChanged","getNodeChangeHandler","api","nodeChangeHandler","setActive","on","off","add","addCommand","register$1","ui","registry","addToggleButton","tooltip","icon","onAction","execCommand","onSetup","register"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38492.f5a8dfa3c290f5efd325.min.js b/src/plone/staticresources/static/bundle-plone/chunks/38492.f5a8dfa3c290f5efd325.min.js
new file mode 100644
index 000000000..4bac30112
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/38492.f5a8dfa3c290f5efd325.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[38492],{38492:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>typeof e===t,o=(t=>e=>(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(o=n=t,r=(i=String).prototype,r.isPrototypeOf(o)||(null===(s=n.constructor)||void 0===s?void 0:s.name)===i.name)?"string":e;var o,r;var n,i,s})(e)===t)("string"),r=e("boolean"),n=t=>!(t=>null==t)(t),i=e("function"),s=e("number"),l=(a=!1,()=>a);var a;class u{constructor(t,e){this.tag=t,this.value=e}static some(t){return new u(!0,t)}static none(){return u.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?u.some(t(this.value)):u.none()}bind(t){return this.tag?t(this.value):u.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:u.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return n(t)?u.some(t):u.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}u.singletonNone=new u(!1);const c=(t,e)=>{for(let o=0,r=t.length;o{if(null==t)throw new Error("Node cannot be null or undefined");return{dom:t}},m={fromHtml:(t,e)=>{const o=(e||document).createElement("div");if(o.innerHTML=t,!o.hasChildNodes()||o.childNodes.length>1){const e="HTML does not have a single root node";throw console.error(e,t),new Error(e)}return d(o.childNodes[0])},fromTag:(t,e)=>{const o=(e||document).createElement(t);return d(o)},fromText:(t,e)=>{const o=(e||document).createTextNode(t);return d(o)},fromDom:d,fromPoint:(t,e,o)=>u.from(t.dom.elementFromPoint(e,o)).map(d)},h=(t,e)=>{const o=t.dom;if(1!==o.nodeType)return!1;{const t=o;if(void 0!==t.matches)return t.matches(e);if(void 0!==t.msMatchesSelector)return t.msMatchesSelector(e);if(void 0!==t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(void 0!==t.mozMatchesSelector)return t.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")}};"undefined"!=typeof window?window:Function("return this;")();const g=t=>e=>(t=>t.dom.nodeType)(e)===t,f=g(1),v=g(3),p=g(9),y=g(11),w=t=>((t,e)=>{const o=t.length,r=new Array(o);for(let n=0;n{((t,e,n)=>{if(!(o(n)||r(n)||s(n)))throw console.error("Invalid call to Attribute.set. Key ",e,":: Value ",n,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(e,n+"")})(t.dom,e,n)},N=(t,e)=>{t.dom.removeAttribute(e)},D=i(Element.prototype.attachShadow)&&i(Node.prototype.getRootNode)?t=>m.fromDom(t.dom.getRootNode()):t=>{return p(t)?t:(e=t,m.fromDom(e.dom.ownerDocument));var e},S=t=>{const e=D(t);return y(o=e)&&n(o.dom.host)?u.some(e):u.none();var o},T=t=>m.fromDom(t.dom.host),E=t=>{const e=v(t)?t.dom.parentNode:t.dom;if(null==e||null===e.ownerDocument)return!1;const o=e.ownerDocument;return S(m.fromDom(e)).fold((()=>o.body.contains(e)),(r=E,n=T,t=>r(n(t))));var r,n},C=(t,e,o)=>((t,e,o)=>{let r=t.dom;const n=i(o)?o:l;for(;r.parentNode;){r=r.parentNode;const t=m.fromDom(r);if(e(t))return u.some(t);if(n(t))break}return u.none()})(t,(t=>h(t,e)),o),k=(t,e)=>(t=>void 0!==t.style&&i(t.style.getPropertyValue))(t)?t.style.getPropertyValue(e):"",A=t=>"rtl"===((t,e)=>{const o=t.dom,r=window.getComputedStyle(o).getPropertyValue(e);return""!==r||E(t)?r:k(o,e)})(t,"direction")?"rtl":"ltr",M=(t,e)=>((t,e)=>((t,e)=>{const o=[];for(let r=0,n=t.length;rh(t,e))),L=t=>(t=>u.from(t.dom.parentNode).map(m.fromDom))(t).filter(f),O=(P="li",t=>f(t)&&t.dom.nodeName.toLowerCase()===P);var P;const R=(t,e,o)=>{c(e,(e=>{const r=m.fromDom(e),n=O(r),i=((t,e)=>(e?C(t,"ol,ul"):u.some(t)).getOr(t))(r,n);L(i).each((e=>{t.setStyle(i.dom,"direction",null);if(A(e)===o?N(i,"dir"):b(i,"dir",o),A(i)!==o&&t.setStyle(i.dom,"direction",o),n){const e=M(i,"li[dir],li[style]");c(e,(e=>{N(e,"dir"),t.setStyle(e.dom,"direction",null)}))}}))}))},x=(t,e)=>{t.selection.isEditable()&&(R(t.dom,t.selection.getSelectedBlocks(),e),t.nodeChanged())},B=(t,e)=>o=>{const r=r=>{const n=m.fromDom(r.element);o.setActive(A(n)===e),o.setEnabled(t.selection.isEditable())};return t.on("NodeChange",r),o.setEnabled(t.selection.isEditable()),()=>t.off("NodeChange",r)};t.add("directionality",(t=>{(t=>{t.addCommand("mceDirectionLTR",(()=>{x(t,"ltr")})),t.addCommand("mceDirectionRTL",(()=>{x(t,"rtl")}))})(t),(t=>{t.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>t.execCommand("mceDirectionLTR"),onSetup:B(t,"ltr")}),t.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>t.execCommand("mceDirectionRTL"),onSetup:B(t,"rtl")})})(t)}))}()}}]);
+//# sourceMappingURL=38492.f5a8dfa3c290f5efd325.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/38492.f5a8dfa3c290f5efd325.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/38492.f5a8dfa3c290f5efd325.min.js.map
new file mode 100644
index 000000000..8fc88c48a
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/38492.f5a8dfa3c290f5efd325.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/38492.f5a8dfa3c290f5efd325.min.js","mappings":"qHAIA,WACI,aAEA,IAAIA,EAASC,QAAQC,KAAKC,MAAMC,QAAQ,yBAExC,MAqBMC,EAAeC,GAAQC,UAAgBA,IAAUD,EACjDE,EAFWF,IAAQC,GAZVE,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,IAAuCG,EAdlCC,EAcsBL,EAAeM,GAdlCC,EAcsBC,QAZZC,UAYkCH,EAAMI,cAAcN,KAThD,QAAxBO,EAAKN,EAAEE,mBAAgC,IAAPI,OAAgB,EAASA,EAAGC,QAAUL,EAAYK,MAUpF,SAEAX,EAHwC,IAACG,EAAGE,EAdtC,IAACD,EAAGE,EACfI,CAiBJ,EAEgCE,CAAOf,KAAWD,EAEnCiB,CAAS,UACpBC,EAAYnB,EAAa,WAEzBoB,EAAgBC,IADHA,IAAKA,QACIC,CAAWD,GACjCE,EAAavB,EAAa,YAC1BwB,EAAWxB,EAAa,UAQxByB,GALWvB,GAKM,EAJd,IACEA,GAFMA,MAOjB,MAAMwB,EACJ,WAAAf,CAAYgB,EAAKzB,GACf0B,KAAKD,IAAMA,EACXC,KAAK1B,MAAQA,CACf,CACA,WAAO2B,CAAK3B,GACV,OAAO,IAAIwB,GAAS,EAAMxB,EAC5B,CACA,WAAO4B,GACL,OAAOJ,EAASK,aAClB,CACA,IAAAC,CAAKC,EAAQC,GACX,OAAIN,KAAKD,IACAO,EAAON,KAAK1B,OAEZ+B,GAEX,CACA,MAAAE,GACE,OAAOP,KAAKD,GACd,CACA,MAAAS,GACE,OAAQR,KAAKD,GACf,CACA,GAAAU,CAAIC,GACF,OAAIV,KAAKD,IACAD,E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C,UAAUC,eACnBd,EAAiBY,EAAOjG,IAAKiG,EAAOC,UAAUE,oBAAqBb,GACnEU,EAAOI,cACT,EAYIC,EAAuB,CAACL,EAAQV,IAAQgB,IAC5C,MAAMC,EAAoBtD,IACxB,MAAM5B,EAAUrB,EAAaH,QAAQoD,EAAE5B,SACvCiF,EAAIE,UAAUhC,EAAanD,KAAaiE,GACxCgB,EAAIG,WAAWT,EAAOC,UAAUC,aAAa,EAI/C,OAFAF,EAAOU,GAAG,aAAcH,GACxBD,EAAIG,WAAWT,EAAOC,UAAUC,cACzB,IAAMF,EAAOW,IAAI,aAAcJ,EAAkB,EAkBxDjL,EAAOsL,IAAI,kBAAkBZ,IAnCZA,KACjBA,EAAOa,WAAW,mBAAmB,KACnCd,EAAOC,EAAQ,MAAM,IAEvBA,EAAOa,WAAW,mBAAmB,KACnCd,EAAOC,EAAQ,MAAM,GACrB,EA8BAc,CAAWd,GAjBEA,KACfA,EAAOe,GAAGC,SAASC,gBAAgB,MAAO,CACxCC,QAAS,gBACTC,KAAM,MACNC,SAAU,IAAMpB,EAAOqB,YAAY,mBACnCC,QAASjB,EAAqBL,EAAQ,SAExCA,EAAOe,GAAGC,SAASC,gBAAgB,MAAO,CACxCC,QAAS,gBACTC,KAAM,MACNC,SAAU,IAAMpB,EAAOqB,YAAY,mBACnCC,QAASjB,EAAqBL,EAAQ,QACtC,EAMAuB,CAASvB,EAAO,GAMvB,CAtYD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/directionality/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType$1 = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const isString = isType$1('string');\n const isBoolean = isSimpleType('boolean');\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n const isFunction = isSimpleType('function');\n const isNumber = isSimpleType('number');\n\n const compose1 = (fbc, fab) => a => fbc(fab(a));\n const constant = value => {\n return () => {\n return value;\n };\n };\n const never = constant(false);\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const map = (xs, f) => {\n const len = xs.length;\n const r = new Array(len);\n for (let i = 0; i < len; i++) {\n const x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n const each = (xs, f) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n f(x, i);\n }\n };\n const filter = (xs, pred) => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n\n const DOCUMENT = 9;\n const DOCUMENT_FRAGMENT = 11;\n const ELEMENT = 1;\n const TEXT = 3;\n\n const fromHtml = (html, scope) => {\n const doc = scope || document;\n const div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n const message = 'HTML does not have a single root node';\n console.error(message, html);\n throw new Error(message);\n }\n return fromDom(div.childNodes[0]);\n };\n const fromTag = (tag, scope) => {\n const doc = scope || document;\n const node = doc.createElement(tag);\n return fromDom(node);\n };\n const fromText = (text, scope) => {\n const doc = scope || document;\n const node = doc.createTextNode(text);\n return fromDom(node);\n };\n const fromDom = node => {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n const SugarElement = {\n fromHtml,\n fromTag,\n fromText,\n fromDom,\n fromPoint\n };\n\n const is = (element, selector) => {\n const dom = element.dom;\n if (dom.nodeType !== ELEMENT) {\n return false;\n } else {\n const elem = dom;\n if (elem.matches !== undefined) {\n return elem.matches(selector);\n } else if (elem.msMatchesSelector !== undefined) {\n return elem.msMatchesSelector(selector);\n } else if (elem.webkitMatchesSelector !== undefined) {\n return elem.webkitMatchesSelector(selector);\n } else if (elem.mozMatchesSelector !== undefined) {\n return elem.mozMatchesSelector(selector);\n } else {\n throw new Error('Browser lacks native selectors');\n }\n }\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n const name = element => {\n const r = element.dom.nodeName;\n return r.toLowerCase();\n };\n const type = element => element.dom.nodeType;\n const isType = t => element => type(element) === t;\n const isElement = isType(ELEMENT);\n const isText = isType(TEXT);\n const isDocument = isType(DOCUMENT);\n const isDocumentFragment = isType(DOCUMENT_FRAGMENT);\n const isTag = tag => e => isElement(e) && name(e) === tag;\n\n const owner = element => SugarElement.fromDom(element.dom.ownerDocument);\n const documentOrOwner = dos => isDocument(dos) ? dos : owner(dos);\n const parent = element => Optional.from(element.dom.parentNode).map(SugarElement.fromDom);\n const children$2 = element => map(element.dom.childNodes, SugarElement.fromDom);\n\n const rawSet = (dom, key, value) => {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n const set = (element, key, value) => {\n rawSet(element.dom, key, value);\n };\n const remove = (element, key) => {\n element.dom.removeAttribute(key);\n };\n\n const isShadowRoot = dos => isDocumentFragment(dos) && isNonNullable(dos.dom.host);\n const supported = isFunction(Element.prototype.attachShadow) && isFunction(Node.prototype.getRootNode);\n const getRootNode = supported ? e => SugarElement.fromDom(e.dom.getRootNode()) : documentOrOwner;\n const getShadowRoot = e => {\n const r = getRootNode(e);\n return isShadowRoot(r) ? Optional.some(r) : Optional.none();\n };\n const getShadowHost = e => SugarElement.fromDom(e.dom.host);\n\n const inBody = element => {\n const dom = isText(element) ? element.dom.parentNode : element.dom;\n if (dom === undefined || dom === null || dom.ownerDocument === null) {\n return false;\n }\n const doc = dom.ownerDocument;\n return getShadowRoot(SugarElement.fromDom(dom)).fold(() => doc.body.contains(dom), compose1(inBody, getShadowHost));\n };\n\n const ancestor$1 = (scope, predicate, isRoot) => {\n let element = scope.dom;\n const stop = isFunction(isRoot) ? isRoot : never;\n while (element.parentNode) {\n element = element.parentNode;\n const el = SugarElement.fromDom(element);\n if (predicate(el)) {\n return Optional.some(el);\n } else if (stop(el)) {\n break;\n }\n }\n return Optional.none();\n };\n\n const ancestor = (scope, selector, isRoot) => ancestor$1(scope, e => is(e, selector), isRoot);\n\n const isSupported = dom => dom.style !== undefined && isFunction(dom.style.getPropertyValue);\n\n const get = (element, property) => {\n const dom = element.dom;\n const styles = window.getComputedStyle(dom);\n const r = styles.getPropertyValue(property);\n return r === '' && !inBody(element) ? getUnsafeProperty(dom, property) : r;\n };\n const getUnsafeProperty = (dom, property) => isSupported(dom) ? dom.style.getPropertyValue(property) : '';\n\n const getDirection = element => get(element, 'direction') === 'rtl' ? 'rtl' : 'ltr';\n\n const children$1 = (scope, predicate) => filter(children$2(scope), predicate);\n\n const children = (scope, selector) => children$1(scope, e => is(e, selector));\n\n const getParentElement = element => parent(element).filter(isElement);\n const getNormalizedBlock = (element, isListItem) => {\n const normalizedElement = isListItem ? ancestor(element, 'ol,ul') : Optional.some(element);\n return normalizedElement.getOr(element);\n };\n const isListItem = isTag('li');\n const setDirOnElements = (dom, blocks, dir) => {\n each(blocks, block => {\n const blockElement = SugarElement.fromDom(block);\n const isBlockElementListItem = isListItem(blockElement);\n const normalizedBlock = getNormalizedBlock(blockElement, isBlockElementListItem);\n const normalizedBlockParent = getParentElement(normalizedBlock);\n normalizedBlockParent.each(parent => {\n dom.setStyle(normalizedBlock.dom, 'direction', null);\n const parentDirection = getDirection(parent);\n if (parentDirection === dir) {\n remove(normalizedBlock, 'dir');\n } else {\n set(normalizedBlock, 'dir', dir);\n }\n if (getDirection(normalizedBlock) !== dir) {\n dom.setStyle(normalizedBlock.dom, 'direction', dir);\n }\n if (isBlockElementListItem) {\n const listItems = children(normalizedBlock, 'li[dir],li[style]');\n each(listItems, listItem => {\n remove(listItem, 'dir');\n dom.setStyle(listItem.dom, 'direction', null);\n });\n }\n });\n });\n };\n const setDir = (editor, dir) => {\n if (editor.selection.isEditable()) {\n setDirOnElements(editor.dom, editor.selection.getSelectedBlocks(), dir);\n editor.nodeChanged();\n }\n };\n\n const register$1 = editor => {\n editor.addCommand('mceDirectionLTR', () => {\n setDir(editor, 'ltr');\n });\n editor.addCommand('mceDirectionRTL', () => {\n setDir(editor, 'rtl');\n });\n };\n\n const getNodeChangeHandler = (editor, dir) => api => {\n const nodeChangeHandler = e => {\n const element = SugarElement.fromDom(e.element);\n api.setActive(getDirection(element) === dir);\n api.setEnabled(editor.selection.isEditable());\n };\n editor.on('NodeChange', nodeChangeHandler);\n api.setEnabled(editor.selection.isEditable());\n return () => editor.off('NodeChange', nodeChangeHandler);\n };\n const register = editor => {\n editor.ui.registry.addToggleButton('ltr', {\n tooltip: 'Left to right',\n icon: 'ltr',\n onAction: () => editor.execCommand('mceDirectionLTR'),\n onSetup: getNodeChangeHandler(editor, 'ltr')\n });\n editor.ui.registry.addToggleButton('rtl', {\n tooltip: 'Right to left',\n icon: 'rtl',\n onAction: () => editor.execCommand('mceDirectionRTL'),\n onSetup: getNodeChangeHandler(editor, 'rtl')\n });\n };\n\n var Plugin = () => {\n global.add('directionality', editor => {\n register$1(editor);\n register(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global","tinymce","util","Tools","resolve","isSimpleType","type","value","isString","x","t","Array","isArray","o","v","proto","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isType$1","isBoolean","isNonNullable","a","isNullable","isFunction","isNumber","never","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","xs","f","i","len","length","fromDom","node","dom","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","console","error","fromTag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","is","element","selector","nodeType","elem","undefined","matches","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","window","Function","isType","isElement","isText","isDocument","isDocumentFragment","children$2","r","set","key","setAttribute","rawSet","remove","removeAttribute","getRootNode","Element","attachShadow","Node","e","dos","ownerDocument","getShadowRoot","host","getShadowHost","inBody","parentNode","doc","body","contains","fbc","fab","ancestor","isRoot","stop","el","ancestor$1","getUnsafeProperty","property","style","getPropertyValue","isSupported","getDirection","getComputedStyle","get","children","pred","push","children$1","getParentElement","parent","isListItem","nodeName","toLowerCase","setDirOnElements","blocks","dir","block","blockElement","isBlockElementListItem","normalizedBlock","getNormalizedBlock","setStyle","listItems","listItem","setDir","editor","selection","isEditable","getSelectedBlocks","nodeChanged","getNodeChangeHandler","api","nodeChangeHandler","setActive","setEnabled","on","off","add","addCommand","register$1","ui","registry","addToggleButton","tooltip","icon","onAction","execCommand","onSetup","register"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/39215.6b6cec60a9b32c2fe82c.min.js b/src/plone/staticresources/static/bundle-plone/chunks/39215.6b6cec60a9b32c2fe82c.min.js
new file mode 100644
index 000000000..376d734c3
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/39215.6b6cec60a9b32c2fe82c.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[39215],{39215:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.ko_KR","
키보드 탐색 시작
\n\n
\n
메뉴 모음 포커스 표시
\n
Windows 또는 Linux: Alt+F9
\n
macOS: ⌥F9
\n
도구 모음 포커스 표시
\n
Windows 또는 Linux: Alt+F10
\n
macOS: ⌥F10
\n
푸터 포커스 표시
\n
Windows 또는 Linux: Alt+F11
\n
macOS: ⌥F11
\n
컨텍스트 도구 모음에 포커스 표시
\n
Windows, Linux 또는 macOS: Ctrl+F9\n
\n\n
첫 번째 UI 항목에서 탐색이 시작되며, 이때 첫 번째 항목이 강조 표시되거나 푸터 요소 경로에 있는\n 경우 밑줄 표시됩니다.
\n\n
UI 섹션 간 탐색
\n\n
한 UI 섹션에서 다음 UI 섹션으로 이동하려면 Tab(탭)을 누릅니다.
\n\n
한 UI 섹션에서 이전 UI 섹션으로 돌아가려면 Shift+Tab(시프트+탭)을 누릅니다.
\n\n
이 UI 섹션의 Tab(탭) 순서는 다음과 같습니다.\n\n
\n
메뉴 바
\n
각 도구 모음 그룹
\n
사이드바
\n
푸터의 요소 경로
\n
푸터의 단어 수 토글 버튼
\n
푸터의 브랜딩 링크
\n
푸터의 에디터 크기 변경 핸들
\n\n\n
UI 섹션이 없는 경우 건너뛰기합니다.
\n\n
푸터에 키보드 탐색 포커스가 있고 사이드바는 보이지 않는 경우 Shift+Tab(시프트+탭)을 누르면\n 포커스 표시가 마지막이 아닌 첫 번째 도구 모음 그룹으로 이동합니다.\n\n
UI 섹션 내 탐색
\n\n
한 UI 요소에서 다음 UI 요소로 이동하려면 적절한 화살표 키를 누릅니다.
\n\n
왼쪽과 오른쪽 화살표 키의 용도:
\n\n
\n
메뉴 모음에서 메뉴 항목 사이를 이동합니다.
\n
메뉴에서 하위 메뉴를 엽니다.
\n
도구 모음 그룹에서 버튼 사이를 이동합니다.
\n
푸터의 요소 경로에서 항목 간에 이동합니다.
\n
\n\n
아래와 위 화살표 키의 용도:\n\n
\n
메뉴에서 메뉴 항목 사이를 이동합니다.
\n
도구 모음 팝업 메뉴에서 메뉴 항목 사이를 이동합니다.
\n
\n\n
화살표 키는 포커스 표시 UI 섹션 내에서 순환됩니다.
\n\n
열려 있는 메뉴, 열려 있는 하위 메뉴 또는 열려 있는 팝업 메뉴를 닫으려면 Esc 키를 누릅니다.\n\n
현재 포커스 표시가 특정 UI 섹션 '상단'에 있는 경우 이때도 Esc 키를 누르면\n 키보드 탐색이 완전히 종료됩니다.
\n\n
메뉴 항목 또는 도구 모음 버튼 실행
\n\n
원하는 메뉴 항목 또는 도구 모음 버튼이 강조 표시되어 있을 때 Return(리턴), Enter(엔터),\n 또는 Space bar(스페이스바)를 눌러 해당 항목을 실행합니다.\n\n
탭이 없는 대화 탐색
\n\n
탭이 없는 대화의 경우, 첫 번째 대화형 요소가 포커스 표시된 상태로 대화가 열립니다.
\n\n
대화형 요소들 사이를 이동할 때는 Tab(탭) 또는 Shift+Tab(시프트+탭)을 누릅니다.
\n\n
탭이 있는 대화 탐색
\n\n
탭이 있는 대화의 경우, 탭 메뉴에서 첫 번째 버튼이 포커스 표시된 상태로 대화가 열립니다.
\n\n
이 대화 탭의 대화형 요소들 사이를 이동할 때는 Tab(탭) 또는\n Shift+Tab(시프트+탭)을 누릅니다.
\n\n
다른 대화 탭으로 이동하려면 탭 메뉴를 포커스 표시한 다음 적절한 화살표\n 키를 눌러 사용 가능한 탭들을 지나 원하는 탭으로 이동합니다.
\n")}}]);
+//# sourceMappingURL=39215.6b6cec60a9b32c2fe82c.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/39215.6b6cec60a9b32c2fe82c.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/39215.6b6cec60a9b32c2fe82c.min.js.map
new file mode 100644
index 000000000..5807237e5
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/39215.6b6cec60a9b32c2fe82c.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/39215.6b6cec60a9b32c2fe82c.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,sCACrB,60E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/ko_KR.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.ko_KR',\n'
키보드 탐색 시작
\\n' +\n '\\n' +\n '
\\n' +\n '
메뉴 모음 포커스 표시
\\n' +\n '
Windows 또는 Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
도구 모음 포커스 표시
\\n' +\n '
Windows 또는 Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
푸터 포커스 표시
\\n' +\n '
Windows 또는 Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
컨텍스트 도구 모음에 포커스 표시
\\n' +\n '
Windows, Linux 또는 macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
첫 번째 UI 항목에서 탐색이 시작되며, 이때 첫 번째 항목이 강조 표시되거나 푸터 요소 경로에 있는\\n' +\n ' 경우 밑줄 표시됩니다.
\\n' +\n '\\n' +\n '
UI 섹션 간 탐색
\\n' +\n '\\n' +\n '
한 UI 섹션에서 다음 UI 섹션으로 이동하려면 Tab(탭)을 누릅니다.
\\n' +\n '\\n' +\n '
한 UI 섹션에서 이전 UI 섹션으로 돌아가려면 Shift+Tab(시프트+탭)을 누릅니다.
\\n' +\n '\\n' +\n '
이 UI 섹션의 Tab(탭) 순서는 다음과 같습니다.\\n' +\n '\\n' +\n '
\\n' +\n '
메뉴 바
\\n' +\n '
각 도구 모음 그룹
\\n' +\n '
사이드바
\\n' +\n '
푸터의 요소 경로
\\n' +\n '
푸터의 단어 수 토글 버튼
\\n' +\n '
푸터의 브랜딩 링크
\\n' +\n '
푸터의 에디터 크기 변경 핸들
\\n' +\n '\\n' +\n '\\n' +\n '
UI 섹션이 없는 경우 건너뛰기합니다.
\\n' +\n '\\n' +\n '
푸터에 키보드 탐색 포커스가 있고 사이드바는 보이지 않는 경우 Shift+Tab(시프트+탭)을 누르면\\n' +\n ' 포커스 표시가 마지막이 아닌 첫 번째 도구 모음 그룹으로 이동합니다.\\n' +\n '\\n' +\n '
UI 섹션 내 탐색
\\n' +\n '\\n' +\n '
한 UI 요소에서 다음 UI 요소로 이동하려면 적절한 화살표 키를 누릅니다.
\\n' +\n '\\n' +\n '
왼쪽과 오른쪽 화살표 키의 용도:
\\n' +\n '\\n' +\n '
\\n' +\n '
메뉴 모음에서 메뉴 항목 사이를 이동합니다.
\\n' +\n '
메뉴에서 하위 메뉴를 엽니다.
\\n' +\n '
도구 모음 그룹에서 버튼 사이를 이동합니다.
\\n' +\n '
푸터의 요소 경로에서 항목 간에 이동합니다.
\\n' +\n '
\\n' +\n '\\n' +\n '
아래와 위 화살표 키의 용도:\\n' +\n '\\n' +\n '
\\n' +\n '
메뉴에서 메뉴 항목 사이를 이동합니다.
\\n' +\n '
도구 모음 팝업 메뉴에서 메뉴 항목 사이를 이동합니다.
\\n' +\n '
\\n' +\n '\\n' +\n '
화살표 키는 포커스 표시 UI 섹션 내에서 순환됩니다.
\\n' +\n '\\n' +\n '
열려 있는 메뉴, 열려 있는 하위 메뉴 또는 열려 있는 팝업 메뉴를 닫으려면 Esc 키를 누릅니다.\\n' +\n '\\n' +\n \"
현재 포커스 표시가 특정 UI 섹션 '상단'에 있는 경우 이때도 Esc 키를 누르면\\n\" +\n ' 키보드 탐색이 완전히 종료됩니다.
\\n' +\n '\\n' +\n '
메뉴 항목 또는 도구 모음 버튼 실행
\\n' +\n '\\n' +\n '
원하는 메뉴 항목 또는 도구 모음 버튼이 강조 표시되어 있을 때 Return(리턴), Enter(엔터),\\n' +\n ' 또는 Space bar(스페이스바)를 눌러 해당 항목을 실행합니다.\\n' +\n '\\n' +\n '
탭이 없는 대화 탐색
\\n' +\n '\\n' +\n '
탭이 없는 대화의 경우, 첫 번째 대화형 요소가 포커스 표시된 상태로 대화가 열립니다.
\\n' +\n '\\n' +\n '
대화형 요소들 사이를 이동할 때는 Tab(탭) 또는 Shift+Tab(시프트+탭)을 누릅니다.
\\n' +\n '\\n' +\n '
탭이 있는 대화 탐색
\\n' +\n '\\n' +\n '
탭이 있는 대화의 경우, 탭 메뉴에서 첫 번째 버튼이 포커스 표시된 상태로 대화가 열립니다.
\\n' +\n '\\n' +\n '
이 대화 탭의 대화형 요소들 사이를 이동할 때는 Tab(탭) 또는\\n' +\n ' Shift+Tab(시프트+탭)을 누릅니다.
\\n' +\n '\\n' +\n '
다른 대화 탭으로 이동하려면 탭 메뉴를 포커스 표시한 다음 적절한 화살표\\n' +\n ' 키를 눌러 사용 가능한 탭들을 지나 원하는 탭으로 이동합니다.
"}(t))},f=function(t){var e=c(t),n=t.$("."+e);n.length&&t.undoManager.transact((function(){n.html(d(t))}))},m=function(t){return function(e){var n=function(){return e.setDisabled(t.mode.isReadOnly()||!function(t){return u(t).length>0}(t))};return n(),t.on("LoadContent SetContent change",n),function(){return t.on("LoadContent SetContent change",n)}}},v=function(t){return function(e){return e&&t.dom.is(e,"."+c(t))&&t.getBody().contains(e)}};n.add("toc",(function(t){!function(t){t.addCommand("mceInsertToc",(function(){s(t)})),t.addCommand("mceUpdateToc",(function(){f(t)}))}(t),function(t){var e=function(){return t.execCommand("mceInsertToc")};t.ui.registry.addButton("toc",{icon:"toc",tooltip:"Table of contents",onAction:e,onSetup:m(t)}),t.ui.registry.addButton("tocupdate",{icon:"reload",tooltip:"Update",onAction:function(){return t.execCommand("mceUpdateToc")}}),t.ui.registry.addMenuItem("toc",{icon:"toc",text:"Table of contents",onAction:e,onSetup:m(t)}),t.ui.registry.addContextToolbar("toc",{items:"tocupdate",predicate:v(t),scope:"node",position:"node"})}(t),function(t){var e=t.$,n=c(t);t.on("PreProcess",(function(t){var o=e("."+n,t.node);o.length&&(o.removeAttr("contentEditable"),o.find("[contenteditable]").removeAttr("contentEditable"))})),t.on("SetContent",(function(){var t=e("."+n);t.length&&(t.attr("contentEditable",!1),t.children(":first-child").attr("contentEditable",!0))}))}(t)}))}()}}]);
-//# sourceMappingURL=4625.c700ee204db843ec8c1f.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/4625.c700ee204db843ec8c1f.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/4625.c700ee204db843ec8c1f.min.js.map
deleted file mode 100644
index 077a68a3f..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/4625.c700ee204db843ec8c1f.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/4625.c700ee204db843ec8c1f.min.js","mappings":"6HAMA,EAAQ,M,oBCEP,WACG,aAEA,IAoBuBA,EACj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C,SAAUP,EACVQ,QAASxB,EAAY5D,KAEvBA,EAAO8E,GAAGC,SAASC,UAAU,YAAa,CACxCC,KAAM,SACNC,QAAS,SACTC,SAAU,WACR,OAAOnF,EAAO6E,YAAY,eAC5B,IAEF7E,EAAO8E,GAAGC,SAASM,YAAY,MAAO,CACpCJ,KAAM,MACN7C,KAAM,oBACN+C,SAAUP,EACVQ,QAASxB,EAAY5D,KAEvBA,EAAO8E,GAAGC,SAASO,kBAAkB,MAAO,CAC1CC,MAAO,YACPC,UAAWpB,EAAMpE,GACjByF,MAAO,OACPC,SAAU,QAEd,CAKIC,CAAS3F,GArED,SAAUA,GACpB,IAAIsB,EAAItB,EAAOsB,EAAGX,EAAWZ,EAAYC,GACzCA,EAAOmE,GAAG,cAAc,SAAUyB,GAChC,IAAIzC,EAAU7B,EAAE,IAAMX,EAAUiF,EAAEC,MAC9B1C,EAAQ5B,SACV4B,EAAQ2C,WAAW,mBACnB3C,EAAQ4C,KAAK,qBAAqBD,WAAW,mBAEjD,IACA9F,EAAOmE,GAAG,cAAc,WACtB,IAAIhB,EAAU7B,EAAE,IAAMX,GAClBwC,EAAQ5B,SACV4B,EAAQ6C,KAAK,mBAAmB,GAChC7C,EAAQ8C,SAAS,gBAAgBD,KAAK,mBAAmB,GAE7D,GACF,CAsDIE,CAAMlG,EACR,GAKN,CArOA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/toc/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/toc/plugin.js"],"sourcesContent":["// Exports the \"toc\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/toc')\n// ES2015:\n// import 'tinymce/plugins/toc'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.I18n');\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var getTocClass = function (editor) {\n return editor.getParam('toc_class', 'mce-toc');\n };\n var getTocHeader = function (editor) {\n var tagName = editor.getParam('toc_header', 'h2');\n return /^h[1-6]$/.test(tagName) ? tagName : 'h2';\n };\n var getTocDepth = function (editor) {\n var depth = parseInt(editor.getParam('toc_depth', '3'), 10);\n return depth >= 1 && depth <= 9 ? depth : 3;\n };\n\n var create = function (prefix) {\n var counter = 0;\n return function () {\n var guid = new Date().getTime().toString(32);\n return prefix + guid + (counter++).toString(32);\n };\n };\n\n var tocId = create('mcetoc_');\n var generateSelector = function (depth) {\n var i;\n var selector = [];\n for (i = 1; i <= depth; i++) {\n selector.push('h' + i);\n }\n return selector.join(',');\n };\n var hasHeaders = function (editor) {\n return readHeaders(editor).length > 0;\n };\n var readHeaders = function (editor) {\n var tocClass = getTocClass(editor);\n var headerTag = getTocHeader(editor);\n var selector = generateSelector(getTocDepth(editor));\n var headers = editor.$(selector);\n if (headers.length && /^h[1-9]$/i.test(headerTag)) {\n headers = headers.filter(function (i, el) {\n return !editor.dom.hasClass(el.parentNode, tocClass);\n });\n }\n return global.map(headers, function (h) {\n var id = h.id;\n return {\n id: id ? id : tocId(),\n level: parseInt(h.nodeName.replace(/^H/i, ''), 10),\n title: editor.$.text(h),\n element: h\n };\n });\n };\n var getMinLevel = function (headers) {\n var minLevel = 9;\n for (var i = 0; i < headers.length; i++) {\n if (headers[i].level < minLevel) {\n minLevel = headers[i].level;\n }\n if (minLevel === 1) {\n return minLevel;\n }\n }\n return minLevel;\n };\n var generateTitle = function (tag, title) {\n var openTag = '<' + tag + ' contenteditable=\"true\">';\n var closeTag = '' + tag + '>';\n return openTag + global$2.DOM.encode(title) + closeTag;\n };\n var generateTocHtml = function (editor) {\n var html = generateTocContentHtml(editor);\n return '
' + html + '
';\n };\n var generateTocContentHtml = function (editor) {\n var html = '';\n var headers = readHeaders(editor);\n var prevLevel = getMinLevel(headers) - 1;\n if (!headers.length) {\n return '';\n }\n html += generateTitle(getTocHeader(editor), global$1.translate('Table of Contents'));\n for (var i = 0; i < headers.length; i++) {\n var h = headers[i];\n h.element.id = h.id;\n var nextLevel = headers[i + 1] && headers[i + 1].level;\n if (prevLevel === h.level) {\n html += '
';\n } else {\n for (var ii = prevLevel; ii < h.level; ii++) {\n html += '
';\n }\n }\n html += '' + h.title + '';\n if (nextLevel === h.level || !nextLevel) {\n html += '
';\n if (!nextLevel) {\n html += '
';\n }\n } else {\n for (var ii = h.level; ii > nextLevel; ii--) {\n if (ii === nextLevel + 1) {\n html += '
';\n } else {\n html += '
';\n }\n }\n }\n prevLevel = h.level;\n }\n return html;\n };\n var isEmptyOrOffscreen = function (editor, nodes) {\n return !nodes.length || editor.dom.getParents(nodes[0], '.mce-offscreen-selection').length > 0;\n };\n var insertToc = function (editor) {\n var tocClass = getTocClass(editor);\n var $tocElm = editor.$('.' + tocClass);\n if (isEmptyOrOffscreen(editor, $tocElm)) {\n editor.insertContent(generateTocHtml(editor));\n } else {\n updateToc(editor);\n }\n };\n var updateToc = function (editor) {\n var tocClass = getTocClass(editor);\n var $tocElm = editor.$('.' + tocClass);\n if ($tocElm.length) {\n editor.undoManager.transact(function () {\n $tocElm.html(generateTocContentHtml(editor));\n });\n }\n };\n\n var register$1 = function (editor) {\n editor.addCommand('mceInsertToc', function () {\n insertToc(editor);\n });\n editor.addCommand('mceUpdateToc', function () {\n updateToc(editor);\n });\n };\n\n var setup = function (editor) {\n var $ = editor.$, tocClass = getTocClass(editor);\n editor.on('PreProcess', function (e) {\n var $tocElm = $('.' + tocClass, e.node);\n if ($tocElm.length) {\n $tocElm.removeAttr('contentEditable');\n $tocElm.find('[contenteditable]').removeAttr('contentEditable');\n }\n });\n editor.on('SetContent', function () {\n var $tocElm = $('.' + tocClass);\n if ($tocElm.length) {\n $tocElm.attr('contentEditable', false);\n $tocElm.children(':first-child').attr('contentEditable', true);\n }\n });\n };\n\n var toggleState = function (editor) {\n return function (api) {\n var toggleDisabledState = function () {\n return api.setDisabled(editor.mode.isReadOnly() || !hasHeaders(editor));\n };\n toggleDisabledState();\n editor.on('LoadContent SetContent change', toggleDisabledState);\n return function () {\n return editor.on('LoadContent SetContent change', toggleDisabledState);\n };\n };\n };\n var isToc = function (editor) {\n return function (elm) {\n return elm && editor.dom.is(elm, '.' + getTocClass(editor)) && editor.getBody().contains(elm);\n };\n };\n var register = function (editor) {\n var insertTocAction = function () {\n return editor.execCommand('mceInsertToc');\n };\n editor.ui.registry.addButton('toc', {\n icon: 'toc',\n tooltip: 'Table of contents',\n onAction: insertTocAction,\n onSetup: toggleState(editor)\n });\n editor.ui.registry.addButton('tocupdate', {\n icon: 'reload',\n tooltip: 'Update',\n onAction: function () {\n return editor.execCommand('mceUpdateToc');\n }\n });\n editor.ui.registry.addMenuItem('toc', {\n icon: 'toc',\n text: 'Table of contents',\n onAction: insertTocAction,\n onSetup: toggleState(editor)\n });\n editor.ui.registry.addContextToolbar('toc', {\n items: 'tocupdate',\n predicate: isToc(editor),\n scope: 'node',\n position: 'node'\n });\n };\n\n function Plugin () {\n global$3.add('toc', function (editor) {\n register$1(editor);\n register(editor);\n setup(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["prefix","counter","global$3","tinymce","util","Tools","resolve","global$2","global$1","global","getTocClass","editor","getParam","getTocHeader","tagName","test","tocId","guid","Date","getTime","toString","readHeaders","tocClass","headerTag","selector","depth","i","push","join","generateSelector","parseInt","getTocDepth","headers","$","length","filter","el","dom","hasClass","parentNode","map","h","id","level","nodeName","replace","title","text","element","generateTocContentHtml","tag","closeTag","html","prevLevel","minLevel","getMinLevel","translate","DOM","encode","nextLevel","ii","insertToc","$tocElm","nodes","getParents","isEmptyOrOffscreen","updateToc","insertContent","generateTocHtml","undoManager","transact","toggleState","api","toggleDisabledState","setDisabled","mode","isReadOnly","hasHeaders","on","isToc","elm","is","getBody","contains","add","addCommand","register$1","insertTocAction","execCommand","ui","registry","addButton","icon","tooltip","onAction","onSetup","addMenuItem","addContextToolbar","items","predicate","scope","position","register","e","node","removeAttr","find","attr","children","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/46514.b6cd4017a1304c99f45a.min.js b/src/plone/staticresources/static/bundle-plone/chunks/46514.b6cd4017a1304c99f45a.min.js
new file mode 100644
index 000000000..0e489dc1a
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/46514.b6cd4017a1304c99f45a.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[46514],{46514:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("insertdatetime_dateformat"),a=t("insertdatetime_timeformat"),r=t("insertdatetime_formats"),s=t("insertdatetime_element"),i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),c="January February March April May June July August September October November December".split(" "),m=(e,t)=>{if((e=""+e).length(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",m(n.getMonth()+1,2))).replace("%d",m(n.getDate(),2))).replace("%H",""+m(n.getHours(),2))).replace("%M",""+m(n.getMinutes(),2))).replace("%S",""+m(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(c[n.getMonth()]))).replace("%b",""+e.translate(l[n.getMonth()]))).replace("%A",""+e.translate(o[n.getDay()]))).replace("%a",""+e.translate(i[n.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)){const n=d(e,t);let a;a=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,n,a)=>{const r=e.dom.create("time",{datetime:n},a);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,a,n):e.insertContent('")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",n),n(),()=>{e.off("NodeChange",n)}};e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,a)=>{u(e,null!=a?a:n(e))})),e.addCommand("mceInsertTime",((t,n)=>{u(e,null!=n?n:a(e))}))})(e),(e=>{const t=r(e),n=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:a(e)})(e)),s=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===n.get(),fetch:n=>{n(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{s(n.get())},onItemAction:(e,t)=>{n.set(t),s(t)},onSetup:g(e)});const i=e=>()=>{n.set(e),s(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:i(t)}))),onSetup:g(e)})})(e)}))}()}}]);
+//# sourceMappingURL=46514.b6cd4017a1304c99f45a.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/46514.b6cd4017a1304c99f45a.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/46514.b6cd4017a1304c99f45a.min.js.map
new file mode 100644
index 000000000..49b12f1be
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/46514.b6cd4017a1304c99f45a.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/46514.b6cd4017a1304c99f45a.min.js","mappings":"qHAGC,WAAW,aAAa,IAAIA,EAAEC,QAAQC,KAAKC,MAAMC,QAAQ,yBAAyB,MAAMC,EAAEL,GAAGK,GAAGA,EAAEC,QAAQC,IAAIP,GAAGQ,EAAEH,EAAE,6BAA6BI,EAAEJ,EAAE,6BAA6BK,EAAEL,EAAE,0BAA0BM,EAAEN,EAAE,0BAA0BO,EAAE,kCAAkCC,MAAM,KAAKC,EAAE,kEAAkED,MAAM,KAAKE,EAAE,kDAAkDF,MAAM,KAAKG,EAAE,wFAAwFH,MAAM,KAAKI,EAAE,CAACjB,EAAEK,KAAK,IAAIL,EAAE,GAAGA,GAAGkB,OAAOb,EAAE,IAAI,IAAIG,EAAE,EAAEA,EAAEH,EAAEL,EAAEkB,OAAOV,IAAIR,EAAE,IAAIA,EAAE,OAAOA,GAAGmB,EAAE,CAACnB,EAAEK,EAAEG,EAAE,IAAIY,QAAQf,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,GAAGA,EAAEA,EAAEgB,QAAQ,KAAK,aAAaA,QAAQ,KAAK,gBAAgBA,QAAQ,KAAK,GAAGb,EAAEc,gBAAgBD,QAAQ,KAAK,GAAGb,EAAEe,YAAYF,QAAQ,KAAKJ,EAAET,EAAEgB,WAAW,EAAE,KAAKH,QAAQ,KAAKJ,EAAET,EAAEiB,UAAU,KAAKJ,QAAQ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aAAaC,KAAK5C,EAAEnB,EAAEK,GAAG2D,MAAM3D,MAAK,EAAG4D,SAASjE,IAAIW,EAAEH,EAAED,MAAK,EAAG2D,aAAa,CAAClE,EAAEK,KAAKG,EAAE6C,IAAIhD,GAAGM,EAAEN,EAAC,EAAG8D,QAAQxB,EAAE3C,KAAK,MAAMY,EAAEZ,GAAG,KAAKQ,EAAE6C,IAAIrD,GAAGW,EAAEX,EAAC,EAAGA,EAAEuD,GAAGC,SAASY,kBAAkB,iBAAiB,CAACV,KAAK,cAAcK,KAAK,YAAYM,gBAAgB,IAAI3B,EAAEmB,IAAIxD,GAAGA,IAAG,CAAEyD,KAAK,WAAWC,KAAK5C,EAAEnB,EAAEK,GAAG4D,SAASrD,EAAEP,OAAO8D,QAAQxB,EAAE3C,IAAK,EAAxnB,CAA0nBA,EAAG,GAAE,CAA36F,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/plugin.min.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n!function(){\"use strict\";var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\");const t=e=>t=>t.options.get(e),a=t(\"insertdatetime_dateformat\"),n=t(\"insertdatetime_timeformat\"),r=t(\"insertdatetime_formats\"),s=t(\"insertdatetime_element\"),i=\"Sun Mon Tue Wed Thu Fri Sat Sun\".split(\" \"),o=\"Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday\".split(\" \"),l=\"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec\".split(\" \"),m=\"January February March April May June July August September October November December\".split(\" \"),c=(e,t)=>{if((e=\"\"+e).length(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(\"%D\",\"%m/%d/%Y\")).replace(\"%r\",\"%I:%M:%S %p\")).replace(\"%Y\",\"\"+a.getFullYear())).replace(\"%y\",\"\"+a.getYear())).replace(\"%m\",c(a.getMonth()+1,2))).replace(\"%d\",c(a.getDate(),2))).replace(\"%H\",\"\"+c(a.getHours(),2))).replace(\"%M\",\"\"+c(a.getMinutes(),2))).replace(\"%S\",\"\"+c(a.getSeconds(),2))).replace(\"%I\",\"\"+((a.getHours()+11)%12+1))).replace(\"%p\",a.getHours()<12?\"AM\":\"PM\")).replace(\"%B\",\"\"+e.translate(m[a.getMonth()]))).replace(\"%b\",\"\"+e.translate(l[a.getMonth()]))).replace(\"%A\",\"\"+e.translate(o[a.getDay()]))).replace(\"%a\",\"\"+e.translate(i[a.getDay()]))).replace(\"%%\",\"%\"),u=(e,t)=>{if(s(e)){const a=d(e,t);let n;n=/%[HMSIp]/.test(t)?d(e,\"%Y-%m-%dT%H:%M\"):d(e,\"%Y-%m-%d\");const r=e.dom.getParent(e.selection.getStart(),\"time\");r?((e,t,a,n)=>{const r=e.dom.create(\"time\",{datetime:a},n);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,n,a):e.insertContent('\")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve(\"tinymce.util.Tools\");const g=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on(\"NodeChange\",a),a(),()=>{e.off(\"NodeChange\",a)}};e.add(\"insertdatetime\",(e=>{(e=>{const t=e.options.register;t(\"insertdatetime_dateformat\",{processor:\"string\",default:e.translate(\"%Y-%m-%d\")}),t(\"insertdatetime_timeformat\",{processor:\"string\",default:e.translate(\"%H:%M:%S\")}),t(\"insertdatetime_formats\",{processor:\"string[]\",default:[\"%H:%M:%S\",\"%Y-%m-%d\",\"%I:%M:%S %p\",\"%D\"]}),t(\"insertdatetime_element\",{processor:\"boolean\",default:!1})})(e),(e=>{e.addCommand(\"mceInsertDate\",((t,n)=>{u(e,null!=n?n:a(e))})),e.addCommand(\"mceInsertTime\",((t,a)=>{u(e,null!=a?a:n(e))}))})(e),(e=>{const t=r(e),a=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:n(e)})(e)),s=t=>e.execCommand(\"mceInsertDate\",!1,t);e.ui.registry.addSplitButton(\"insertdatetime\",{icon:\"insert-time\",tooltip:\"Insert date/time\",select:e=>e===a.get(),fetch:a=>{a(p.map(t,(t=>({type:\"choiceitem\",text:d(e,t),value:t}))))},onAction:e=>{s(a.get())},onItemAction:(e,t)=>{a.set(t),s(t)},onSetup:g(e)});const i=e=>()=>{a.set(e),s(e)};e.ui.registry.addNestedMenuItem(\"insertdatetime\",{icon:\"insert-time\",text:\"Date/time\",getSubmenuItems:()=>p.map(t,(t=>({type:\"menuitem\",text:d(e,t),onAction:i(t)}))),onSetup:g(e)})})(e)}))}();"],"names":["e","tinymce","util","Tools","resolve","t","options","get","a","n","r","s","i","split","o","l","m","c","length","d","Date","replace","getFullYear","getYear","getMonth","getDate","getHours","getMinutes","getSeconds","translate","getDay","u","test","dom","getParent","selection","getStart","create","datetime","select","collapse","insertContent","p","g","setEnabled","isEditable","on","off","add","register","processor","default","addCommand","set","execCommand","ui","registry","addSplitButton","icon","tooltip","fetch","map","type","text","value","onAction","onItemAction","onSetup","addNestedMenuItem","getSubmenuItems"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/46514.e4e85c445c047cae6c74.min.js b/src/plone/staticresources/static/bundle-plone/chunks/46514.e4e85c445c047cae6c74.min.js
deleted file mode 100644
index b823dc083..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/46514.e4e85c445c047cae6c74.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[46514],{46514:function(){!function(){"use strict";function e(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))}function t(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])}function n(e,t){if((e=""+e).length'+n+"")):e.insertContent(r(e,t))}var i=tinymce.util.Tools.resolve("tinymce.PluginManager"),o="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),u="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),c="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),s="January February March April May June July August September October November December".split(" "),l=tinymce.util.Tools.resolve("tinymce.util.Tools");i.add("insertdatetime",(function(n){var i,o,u,c,s,m,d,p;function g(e){return o.execCommand("mceInsertDate",!1,e)}(i=n).addCommand("mceInsertDate",(function(e,t){a(i,null!=t?t:i.getParam("insertdatetime_dateformat",i.translate("%Y-%m-%d")))})),i.addCommand("mceInsertTime",(function(t,n){a(i,null!=n?n:e(i))})),d=t(o=n),u=0<(m=t(s=o)).length?m[0]:e(s),c=u,p={get:function(){return c},set:function(e){c=e}},o.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===p.get()},fetch:function(e){e(l.map(d,(function(e){return{type:"choiceitem",text:r(o,e),value:e}})))},onAction:function(e){g(p.get())},onItemAction:function(e,t){p.set(t),g(t)}}),o.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return l.map(d,(function(e){return{type:"menuitem",text:r(o,e),onAction:(t=e,function(){p.set(t),g(t)})};var t}))}})}))}()}}]);
-//# sourceMappingURL=46514.e4e85c445c047cae6c74.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/46514.e4e85c445c047cae6c74.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/46514.e4e85c445c047cae6c74.min.js.map
deleted file mode 100644
index fe7f297d0..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/46514.e4e85c445c047cae6c74.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/46514.e4e85c445c047cae6c74.min.js","mappings":"qHAQC,WAAW,aAAa,SAASA,EAAEC,GAAG,OAAOA,EAAEC,SAAS,4BAA4BD,EAAEE,UAAU,YAAY,CAAC,SAASC,EAAEH,GAAG,OA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AGE,EAAEjB,EAAEuC,EAAE,CAACI,IAAI,WAAW,OAAO1B,CAAC,EAAE2B,IAAI,SAASjD,GAAGsB,EAAEtB,CAAC,GAAGI,EAAE8C,GAAGC,SAASC,eAAe,iBAAiB,CAACC,KAAK,cAAcC,QAAQ,mBAAmBpB,OAAO,SAASlC,GAAG,OAAOA,IAAI4C,EAAEI,KAAK,EAAEO,MAAM,SAASvD,GAAGA,EAAE0C,EAAEc,IAAItC,GAAE,SAASlB,GAAG,MAAM,CAACyD,KAAK,aAAaC,KAAKlD,EAAEJ,EAAEJ,GAAG2D,MAAM3D,EAAE,IAAG,EAAE4D,SAAS,SAAS5D,GAAG6C,EAAED,EAAEI,MAAM,EAAEa,aAAa,SAAS7D,EAAEK,GAAGuC,EAAEK,IAAI5C,GAAGwC,EAAExC,EAAE,IAAID,EAAE8C,GAAGC,SAASW,kBAAkB,iBAAiB,CAACT,KAAK,cAAcK,KAAK,YAAYK,gBAAgB,WAAW,OAAOrB,EAAEc,IAAItC,GAAE,SAASlB,GAAG,MAAM,CAACyD,KAAK,WAAWC,KAAKlD,EAAEJ,EAAEJ,GAAG4D,UAAUvD,EAAEL,EAAE,WAAW4C,EAAEK,IAAI5C,GAAGwC,EAAExC,EAAE,IAAI,IAAIA,CAAC,GAAE,GAAG,GAAE,CAA9pF,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/plugin.min.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n!function(){\"use strict\";function l(e){return e.getParam(\"insertdatetime_timeformat\",e.translate(\"%H:%M:%S\"))}function s(e){return e.getParam(\"insertdatetime_formats\",[\"%H:%M:%S\",\"%Y-%m-%d\",\"%I:%M:%S %p\",\"%D\"])}function r(e,t){if((e=\"\"+e).length'+n+\"\")):e.insertContent(d(e,t))}var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\"),a=\"Sun Mon Tue Wed Thu Fri Sat Sun\".split(\" \"),i=\"Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday\".split(\" \"),o=\"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec\".split(\" \"),u=\"January February March April May June July August September October November December\".split(\" \"),g=tinymce.util.Tools.resolve(\"tinymce.util.Tools\");e.add(\"insertdatetime\",function(e){var n,r,t,a,i,o,u,c;function m(e){return r.execCommand(\"mceInsertDate\",!1,e)}(n=e).addCommand(\"mceInsertDate\",function(e,t){p(n,null!=t?t:n.getParam(\"insertdatetime_dateformat\",n.translate(\"%Y-%m-%d\")))}),n.addCommand(\"mceInsertTime\",function(e,t){p(n,null!=t?t:l(n))}),u=s(r=e),t=0<(o=s(i=r)).length?o[0]:l(i),a=t,c={get:function(){return a},set:function(e){a=e}},r.ui.registry.addSplitButton(\"insertdatetime\",{icon:\"insert-time\",tooltip:\"Insert date/time\",select:function(e){return e===c.get()},fetch:function(e){e(g.map(u,function(e){return{type:\"choiceitem\",text:d(r,e),value:e}}))},onAction:function(e){m(c.get())},onItemAction:function(e,t){c.set(t),m(t)}}),r.ui.registry.addNestedMenuItem(\"insertdatetime\",{icon:\"insert-time\",text:\"Date/time\",getSubmenuItems:function(){return g.map(u,function(e){return{type:\"menuitem\",text:d(r,e),onAction:(t=e,function(){c.set(t),m(t)})};var t})}})})}();"],"names":["l","e","getParam","translate","s","r","t","length","n","d","Date","replace","getFullYear","getYear","getMonth","getDate","getHours","getMinutes","getSeconds","u","o","i","getDay","a","p","test","dom","getParent","selection","getStart","create","datetime","parentNode","insertBefore","remove","select","collapse","insertContent","tinymce","util","Tools","resolve","split","g","add","c","m","execCommand","addCommand","get","set","ui","registry","addSplitButton","icon","tooltip","fetch","map","type","text","value","onAction","onItemAction","addNestedMenuItem","getSubmenuItems"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/48960.af0a05a513b01c2d106e.min.js b/src/plone/staticresources/static/bundle-plone/chunks/48960.af0a05a513b01c2d106e.min.js
deleted file mode 100644
index 2ec00d53c..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/48960.af0a05a513b01c2d106e.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[48960],{48960:function(){!function(){"use strict";function e(e){return/^[(\[{ \u00a0]$/.test(e)}function t(e){return 3===e.nodeType}function n(e){return 1===e.nodeType}function i(e,n){var i;return n<0&&(n=0),!t(e)||(i=e.data.length)=(y="www.").length&&w.substr(0,4)===y?m=v+"://"+m:-1===m.indexOf("@")||/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(m)||(m="mailto:"+m),f=n.selection.getBookmark(),n.selection.setRng(h),n.execCommand("createlink",!1,m),!1!==g&&n.dom.setAttrib(n.selection.getNode(),"target",g),n.selection.moveToBookmark(f),n.nodeChanged())}}var s=tinymce.util.Tools.resolve("tinymce.PluginManager"),f=tinymce.util.Tools.resolve("tinymce.Env"),l=new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i");s.add("autolink",(function(e){var t,n;(t=e).on("keydown",(function(e){if(13===e.keyCode)return a(t,-1)})),f.browser.isIE()?t.on("focus",(function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}})):(t.on("keypress",(function(e){if(41===e.keyCode||93===e.keyCode||125===e.keyCode)return a(t,-1)})),t.on("keyup",(function(e){if(32===e.keyCode)return a(t,0)})))}))}()}}]);
-//# sourceMappingURL=48960.af0a05a513b01c2d106e.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/48960.af0a05a513b01c2d106e.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/48960.af0a05a513b01c2d106e.min.js.map
deleted file mode 100644
index 1f5a621e3..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/48960.af0a05a513b01c2d106e.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/48960.af0a05a513b01c2d106e.min.js","mappings":"qHAQC,WAAW,aAAa,SAASA,EAAEC,GAAG,MAAM,kBAAkBC,KAAKD,EAAE,CAAC,SAASE,EAAEF,GAAG,OAAO,IAAIA,EAAEG,QAAQ,CAAC,SAASC,EAAEJ,GAAG,OAAO,IAAIA,EAAEG,QAAQ,CAAC,SAASE,EAAEL,EAAEM,GAAG,IAAIC,EAAE,OAAOD,EAAE,IAAIA,EAAE,IAAIJ,EAAEF,KAAKO,EAAEP,EAAEQ,KAAKC,QAAQH,IAAIA,EAAEC,GAAGD,CAAC,CAAC,SAASI,EAAEV,EAAEM,EAAEC,IAAIH,EAAEE,IAAIA,EAAEK,gBAAgBX,EAAEY,SAASN,EAAED,EAAEC,EAAEC,IAAIP,EAAEa,eAAeP,EAAE,CAAC,SAASQ,EAAEd,EAAEM,EAAEC,IAAIH,EAAEE,IAAIA,EAAEK,gBAAgBX,EAAEe,OAAOT,EAAED,EAAEC,EAAEC,IAAIP,EAAEgB,YAAYV,EAAE,CAAC,SAASW,EAAEjB,EAAEM,GAAG,IAAIC,EAAEH,EAAEC,EAAEY,EAAEC,EAAEC,EAAEnB,EAAEoB,SAAS,mBAAmBC,GAAGC,EAAEtB,EAAEoB,SAAS,uBAAsB,GAAI,GAAG,OAAOpB,EAAEuB,IAAIC,UAAUxB,EAAEyB,UAAUC,UAAU,WAAW,CAAC,IAAIC,EAAE3B,EAAEyB,U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AG,GAAE,CAAn5E,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autolink/plugin.min.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n!function(){\"use strict\";function k(e){return/^[(\\[{ \\u00a0]$/.test(e)}function w(e){return 3===e.nodeType}function i(e){return 1===e.nodeType}function o(e,t){var n;return t<0&&(t=0),!w(e)||(n=e.data.length)=(h=\"www.\").length&&g.substr(0,0+h.length)===h?c=m+\"://\"+c:-1===c.indexOf(\"@\")||/^([A-Za-z][A-Za-z\\d.+-]*:\\/\\/)|mailto:/.test(c)||(c=\"mailto:\"+c),o=e.selection.getBookmark(),e.selection.setRng(d),e.execCommand(\"createlink\",!1,c),!1!==s&&e.dom.setAttrib(e.selection.getNode(),\"target\",s),e.selection.moveToBookmark(o),e.nodeChanged())}}var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\"),a=tinymce.util.Tools.resolve(\"tinymce.Env\"),A=new RegExp(\"^\"+/(?:[A-Za-z][A-Za-z\\d.+-]{0,14}:\\/\\/(?:[-.~*+=!&;:'%@?^${}(),\\w]+@)?|www\\.|[-;:&=+$,.\\w]+@)[A-Za-z\\d-]+(?:\\.[A-Za-z\\d-]+)*(?::\\d+)?(?:\\/(?:[-.~*+=!;:'%@$(),\\/\\w]*[-~*+=%@$()\\/\\w])?)?(?:\\?(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?/g.source+\"$\",\"i\");e.add(\"autolink\",function(e){var t,n;(t=e).on(\"keydown\",function(e){if(13===e.keyCode)return r(t,-1)}),a.browser.isIE()?t.on(\"focus\",function(){if(!n){n=!0;try{t.execCommand(\"AutoUrlDetect\",!1,!0)}catch(e){}}}):(t.on(\"keypress\",function(e){if(41===e.keyCode||93===e.keyCode||125===e.keyCode)return r(t,-1)}),t.on(\"keyup\",function(e){if(32===e.keyCode)return r(t,0)}))})}();"],"names":["k","e","test","w","nodeType","i","o","t","n","data","length","y","hasChildNodes","setStart","setStartBefore","v","setEnd","setEndAfter","r","a","f","getParam","A","s","dom","getParent","selection","getNode","d","getRng","cloneRange","startOffset","endContainer","previousSibling","firstChild","nextSibling","endOffset","nodeValue","l","toString","u","charAt","c","g","h","C","trim","match","m","substr","indexOf","getBookmark","setRng","execCommand","setAttrib","moveToBookmark","nodeChanged","tinymce","util","Tools","resolve","RegExp","source","add","on","keyCode","browser","isIE"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/48960.d382b7cbc17c29bd9be9.min.js b/src/plone/staticresources/static/bundle-plone/chunks/48960.d382b7cbc17c29bd9be9.min.js
new file mode 100644
index 000000000..7b0cfb935
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/48960.d382b7cbc17c29bd9be9.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[48960],{48960:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),o=t("link_default_target"),r=t("link_default_protocol"),a=t("allow_unsafe_link_target"),s=e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e),l=e=>void 0===e,c=e=>!(e=>null==e)(e),i=Object.hasOwnProperty,d=e=>"\ufeff"===e;var u=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const f=e=>/^[(\[{ \u00a0]$/.test(e),g=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!d(t)&&n(t))return o}return-1},k=(e,t)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:c,selection:d}=e;if(null!==c.getParent(d.getNode(),"a[href]"))return null;const k=d.getRng(),p=u(c,(e=>{return c.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),i.call(t,n))||"false"===c.getContentEditable(e);var t,n})),{container:m,offset:w}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=3===n.nodeType?n.data.length:n.childNodes.length;return{container:n,offset:o}})(k.endContainer,k.endOffset),h=null!==(o=c.getParent(m,c.isBlock))&&void 0!==o?o:c.getRoot(),y=p.backwards(m,w+t,((e,t)=>{const n=e.data,o=g(n,t,(r=f,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),h);if(!y)return null;let v=y.container;const _=p.backwards(y.container,y.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),h),C=c.createRng();_?C.setStart(_.container,_.offset):C.setStart(v,0),C.setEnd(y.container,y.offset);const b=C.toString().replace(/\uFEFF/g,"").match(s);if(b){let t=b[0];return"www.",(A=t).length>=4&&"www."===A.substr(0,4)?t=r(e)+"://"+t:((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!l(o)||r+t.length<=o)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t),{rng:C,url:t}}var A;return null},p=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:c}=t,i=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:c};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,c),e.dispatch("ExecCommand",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,"target",t),"_blank"!==t||a(e)||n.setAttrib(o,"rel","noopener")}}r.moveToBookmark(i),e.nodeChanged()},m=e=>{const t=k(e,-1);c(t)&&p(e,t)},w=m;e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),(e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=k(e,0);c(t)&&p(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?m(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&w(e)}))})(e)}))}()}}]);
+//# sourceMappingURL=48960.d382b7cbc17c29bd9be9.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/48960.d382b7cbc17c29bd9be9.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/48960.d382b7cbc17c29bd9be9.min.js.map
new file mode 100644
index 000000000..e4b121406
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/48960.d382b7cbc17c29bd9be9.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/48960.d382b7cbc17c29bd9be9.min.js","mappings":"qHAGC,WAAW,aAAa,IAAIA,EAAEC,QAAQC,KAAKC,MAAMC,QAAQ,yBAAyB,MAAMC,EAAEL,GAAGK,GAAGA,EAAEC,QAAQC,IAAIP,GAAGQ,EAAEH,EAAE,oBAAoBI,EAAEJ,EAAE,uBAAuBK,EAAEL,EAAE,yBAAyBM,EAAEN,EAAE,4BAA4BO,EAAYZ,GAAG,WAAW,CAACA,IAAI,MAAMK,SAASL,EAAE,OAA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,sQAAsQC,OAAO,IAAI,OAAOvF,EAAE,sBAAsB,CAACoF,UAAU,WAAWpF,EAAE,wBAAwB,CAACoF,UAAU,SAASC,QAAQ,SAAU,EAAte,CAAwe1F,GAAG,CAACA,IAAIA,EAAE6F,GAAG,WAAWxF,IAAI,KAAKA,EAAEyF,SAASzF,EAAE4E,sBAAsB,CAACjF,IAAI,MAAMK,EAAE2B,EAAEhC,EAAE,GAAGsB,EAAEjB,IAAImC,EAAExC,EAAEK,EAAG,EAAjC,CAAmCL,EAAG,IAAGA,EAAE6F,GAAG,SAASxF,IAAI,KAAKA,EAAEyF,QAAQ/C,EAAE/C,IAAI,KAAKK,EAAEyF,SAASzF,EAAE0F,UAAU,MAAM1F,EAAEyF,UAAU7C,EAAEjD,EAAG,GAAG,EAAvM,CAAyMA,EAAG,GAAE,CAAxnG,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autolink/plugin.min.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n!function(){\"use strict\";var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\");const t=e=>t=>t.options.get(e),n=t(\"autolink_pattern\"),o=t(\"link_default_target\"),r=t(\"link_default_protocol\"),a=t(\"allow_unsafe_link_target\"),s=(\"string\",e=>\"string\"===(e=>{const t=typeof e;return null===e?\"null\":\"object\"===t&&Array.isArray(e)?\"array\":\"object\"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?\"string\":t;var n,o,r,a})(e));const l=(void 0,e=>undefined===e);const i=e=>!(e=>null==e)(e),c=Object.hasOwnProperty,d=e=>\"\\ufeff\"===e;var u=tinymce.util.Tools.resolve(\"tinymce.dom.TextSeeker\");const f=e=>/^[(\\[{ \\u00a0]$/.test(e),g=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!d(t)&&n(t))return o}return-1},m=(e,t)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:i,selection:d}=e;if(null!==i.getParent(d.getNode(),\"a[href]\"))return null;const m=d.getRng(),k=u(i,(e=>{return i.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),c.call(t,n))||\"false\"===i.getContentEditable(e);var t,n})),{container:p,offset:y}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=3===n.nodeType?n.data.length:n.childNodes.length;return{container:n,offset:o}})(m.endContainer,m.endOffset),w=null!==(o=i.getParent(p,i.isBlock))&&void 0!==o?o:i.getRoot(),h=k.backwards(p,y+t,((e,t)=>{const n=e.data,o=g(n,t,(r=f,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),w);if(!h)return null;let v=h.container;const _=k.backwards(h.container,h.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),w),A=i.createRng();_?A.setStart(_.container,_.offset):A.setStart(v,0),A.setEnd(h.container,h.offset);const C=A.toString().replace(/\\uFEFF/g,\"\").match(s);if(C){let t=C[0];return $=\"www.\",(b=t).length>=4&&b.substr(0,4)===$?t=r(e)+\"://\"+t:((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!l(o)||r+t.length<=o)})(t,\"@\")&&!(e=>/^([A-Za-z][A-Za-z\\d.+-]*:\\/\\/)|mailto:/.test(e))(t)&&(t=\"mailto:\"+t),{rng:A,url:t}}var b,$;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:i}=t,c=r.getBookmark();r.setRng(l);const d=\"createlink\",u={command:d,ui:!1,value:i};if(!e.dispatch(\"BeforeExecCommand\",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,i),e.dispatch(\"ExecCommand\",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,\"target\",t),\"_blank\"!==t||a(e)||n.setAttrib(o,\"rel\",\"noopener\")}}r.moveToBookmark(c),e.nodeChanged()},p=e=>{const t=m(e,-1);i(t)&&k(e,t)},y=p;e.add(\"autolink\",(e=>{(e=>{const t=e.options.register;t(\"autolink_pattern\",{processor:\"regexp\",default:new RegExp(\"^\"+/(?:[A-Za-z][A-Za-z\\d.+-]{0,14}:\\/\\/(?:[-.~*+=!&;:'%@?^${}(),\\w]+@)?|www\\.|[-;:&=+$,.\\w]+@)[A-Za-z\\d-]+(?:\\.[A-Za-z\\d-]+)*(?::\\d+)?(?:\\/(?:[-.~*+=!;:'%@$(),\\/\\w]*[-~*+=%@$()\\/\\w])?)?(?:\\?(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?/g.source+\"$\",\"i\")}),t(\"link_default_target\",{processor:\"string\"}),t(\"link_default_protocol\",{processor:\"string\",default:\"https\"})})(e),(e=>{e.on(\"keydown\",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=m(e,0);i(t)&&k(e,t)})(e)})),e.on(\"keyup\",(t=>{32===t.keyCode?p(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&y(e)}))})(e)}))}();"],"names":["e","tinymce","util","Tools","resolve","t","options","get","n","o","r","a","s","Array","isArray","String","prototype","isPrototypeOf","constructor","name","l","undefined","i","c","Object","hasOwnProperty","d","u","f","test","g","charAt","m","schema","getVoidElements","dom","selection","getParent","getNode","getRng","k","isBlock","nodeName","toLowerCase","call","getContentEditable","container","p","offset","y","nodeType","childNodes","data","length","endContainer","endOffset","w","getRoot","h","backwards","v","_","A","createRng","setStart","setEnd","C","toString","replace","match","b","substr","indexOf","rng","url","getBookmark","setRng","command","ui","value","dispatch","isDefaultPrevented","getDoc","execCommand","setAttrib","moveToBookmark","nodeChanged","add","register","processor","default","RegExp","source","on","keyCode","shiftKey"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/49212.33742c38bfed9fbd4a9b.min.js b/src/plone/staticresources/static/bundle-plone/chunks/49212.33742c38bfed9fbd4a9b.min.js
new file mode 100644
index 000000000..dd085c592
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/49212.33742c38bfed9fbd4a9b.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[49212],{49212:function(){!function(){"use strict";var s=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(s,e,t)=>{s.dom.toggleClass(s.getBody(),"mce-visualblocks"),t.set(!t.get()),((s,e)=>{s.dispatch("VisualBlocks",{state:e})})(s,t.get())},t=(o="visualblocks_default_state",s=>s.options.get(o));var o;const l=(s,e)=>t=>{t.setActive(e.get());const o=s=>t.setActive(s.state);return s.on("VisualBlocks",o),()=>s.off("VisualBlocks",o)};s.add("visualblocks",((s,o)=>{(s=>{(0,s.options.register)("visualblocks_default_state",{processor:"boolean",default:!1})})(s);const c=(s=>{let e=s;return{get:()=>e,set:s=>{e=s}}})(!1);((s,t,o)=>{s.addCommand("mceVisualBlocks",(()=>{e(s,0,o)}))})(s,0,c),((s,e)=>{const t=()=>s.execCommand("mceVisualBlocks");s.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:t,onSetup:l(s,e)}),s.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:t,onSetup:l(s,e)})})(s,c),((s,o,l)=>{s.on("PreviewFormats AfterPreviewFormats",(e=>{l.get()&&s.dom.toggleClass(s.getBody(),"mce-visualblocks","afterpreviewformats"===e.type)})),s.on("init",(()=>{t(s)&&e(s,0,l)}))})(s,0,c)}))}()}}]);
+//# sourceMappingURL=49212.33742c38bfed9fbd4a9b.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/49212.33742c38bfed9fbd4a9b.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/49212.33742c38bfed9fbd4a9b.min.js.map
new file mode 100644
index 000000000..7ca384740
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/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EAAQE,KAErCF,EAAOmC,GAAGC,SAASK,kBAAkB,eAAgB,CACnDC,KAAM,cACNJ,KAAM,eACNL,WACAO,QAAS1B,EAAkBd,EAAQE,IACnC,EAQAqB,CAASvB,EAAQE,GAxCP,EAACF,EAAQC,EAAWC,KAChCF,EAAOmB,GAAG,sCAAsCD,IAC1ChB,EAAaK,OACfP,EAAOG,IAAIC,YAAYJ,EAAOK,UAAW,mBAA+B,wBAAXa,EAAEyB,KACjE,IAEF3C,EAAOmB,GAAG,QAAQ,KACZR,EAAmBX,IACrBD,EAAmBC,EAAQC,EAAWC,EACxC,GACA,EA+BA0C,CAAM5C,EAAQC,EAAWC,EAAa,GAM7C,CA7FD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/visualblocks/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n const Cell = initial => {\n let value = initial;\n const get = () => {\n return value;\n };\n const set = v => {\n value = v;\n };\n return {\n get,\n set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const fireVisualBlocks = (editor, state) => {\n editor.dispatch('VisualBlocks', { state });\n };\n\n const toggleVisualBlocks = (editor, pluginUrl, enabledState) => {\n const dom = editor.dom;\n dom.toggleClass(editor.getBody(), 'mce-visualblocks');\n enabledState.set(!enabledState.get());\n fireVisualBlocks(editor, enabledState.get());\n };\n\n const register$2 = (editor, pluginUrl, enabledState) => {\n editor.addCommand('mceVisualBlocks', () => {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n });\n };\n\n const option = name => editor => editor.options.get(name);\n const register$1 = editor => {\n const registerOption = editor.options.register;\n registerOption('visualblocks_default_state', {\n processor: 'boolean',\n default: false\n });\n };\n const isEnabledByDefault = option('visualblocks_default_state');\n\n const setup = (editor, pluginUrl, enabledState) => {\n editor.on('PreviewFormats AfterPreviewFormats', e => {\n if (enabledState.get()) {\n editor.dom.toggleClass(editor.getBody(), 'mce-visualblocks', e.type === 'afterpreviewformats');\n }\n });\n editor.on('init', () => {\n if (isEnabledByDefault(editor)) {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n }\n });\n };\n\n const toggleActiveState = (editor, enabledState) => api => {\n api.setActive(enabledState.get());\n const editorEventCallback = e => api.setActive(e.state);\n editor.on('VisualBlocks', editorEventCallback);\n return () => editor.off('VisualBlocks', editorEventCallback);\n };\n const register = (editor, enabledState) => {\n const onAction = () => editor.execCommand('mceVisualBlocks');\n editor.ui.registry.addToggleButton('visualblocks', {\n icon: 'visualblocks',\n tooltip: 'Show blocks',\n onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n editor.ui.registry.addToggleMenuItem('visualblocks', {\n text: 'Show blocks',\n icon: 'visualblocks',\n onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n };\n\n var Plugin = () => {\n global.add('visualblocks', (editor, pluginUrl) => {\n register$1(editor);\n const enabledState = Cell(false);\n register$2(editor, pluginUrl, enabledState);\n register(editor, enabledState);\n setup(editor, pluginUrl, enabledState);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global","tinymce","util","Tools","resolve","toggleVisualBlocks","editor","pluginUrl","enabledState","dom","toggleClass","getBody","set","get","state","dispatch","fireVisualBlocks","isEnabledByDefault","name","options","toggleActiveState","api","setActive","editorEventCallback","e","on","off","add","registerOption","register","processor","default","register$1","initial","value","v","Cell","addCommand","register$2","onAction","execCommand","ui","registry","addToggleButton","icon","tooltip","onSetup","addToggleMenuItem","text","type","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/49212.e09fba3d519b264b7f8a.min.js b/src/plone/staticresources/static/bundle-plone/chunks/49212.e09fba3d519b264b7f8a.min.js
deleted file mode 100644
index 6355f786c..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/49212.e09fba3d519b264b7f8a.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[49212],{49212:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(t,o,n){t.dom.toggleClass(t.getBody(),"mce-visualblocks"),n.set(!n.get()),function(t,o){t.fire("VisualBlocks",{state:o})}(t,n.get())},n=function(t,o){return function(n){n.setActive(o.get());var e=function(t){return n.setActive(t.state)};return t.on("VisualBlocks",e),function(){return t.off("VisualBlocks",e)}}};t.add("visualblocks",(function(t,e){var s,i=(s=!1,{get:function(){return s},set:function(t){s=t}});!function(t,n,e){t.addCommand("mceVisualBlocks",(function(){o(t,0,e)}))}(t,0,i),function(t,o){var e=function(){return t.execCommand("mceVisualBlocks")};t.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:e,onSetup:n(t,o)}),t.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:e,onSetup:n(t,o)})}(t,i),function(t,n,e){t.on("PreviewFormats AfterPreviewFormats",(function(o){e.get()&&t.dom.toggleClass(t.getBody(),"mce-visualblocks","afterpreviewformats"===o.type)})),t.on("init",(function(){(function(t){return t.getParam("visualblocks_default_state",!1,"boolean")})(t)&&o(t,0,e)}))}(t,0,i)}))}()}}]);
-//# sourceMappingURL=49212.e09fba3d519b264b7f8a.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/49212.e09fba3d519b264b7f8a.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/49212.e09fba3d519b264b7f8a.min.js.map
deleted file mode 100644
index 45fd2bdae..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/49212.e09fba3d519b264b7f8a.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/49212.e09fba3d519b264b7f8a.min.js","mappings":"qHAQC,WACG,aAEA,IAcIA,EAASC,QAAQC,KAAKC,MAAMC,QAAQ,yBAMpCC,EAAqB,SAAUC,EAAQC,EAAWC,GAC1CF,EAAOG,IACbC,YAAYJ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C,OAAOA,EAAOmC,SAAS,8BAA8B,EAAO,UAC9D,EASQC,CAAmBpC,IACrBD,EAAmBC,EAAQC,EAAWC,EAE1C,GACF,CAqCImC,CAAMrC,EAAQC,EAAWC,EAC3B,GAKN,CA9FA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/visualblocks/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var Cell = function (initial) {\n var value = initial;\n var get = function () {\n return value;\n };\n var set = function (v) {\n value = v;\n };\n return {\n get: get,\n set: set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var fireVisualBlocks = function (editor, state) {\n editor.fire('VisualBlocks', { state: state });\n };\n\n var toggleVisualBlocks = function (editor, pluginUrl, enabledState) {\n var dom = editor.dom;\n dom.toggleClass(editor.getBody(), 'mce-visualblocks');\n enabledState.set(!enabledState.get());\n fireVisualBlocks(editor, enabledState.get());\n };\n\n var register$1 = function (editor, pluginUrl, enabledState) {\n editor.addCommand('mceVisualBlocks', function () {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n });\n };\n\n var isEnabledByDefault = function (editor) {\n return editor.getParam('visualblocks_default_state', false, 'boolean');\n };\n\n var setup = function (editor, pluginUrl, enabledState) {\n editor.on('PreviewFormats AfterPreviewFormats', function (e) {\n if (enabledState.get()) {\n editor.dom.toggleClass(editor.getBody(), 'mce-visualblocks', e.type === 'afterpreviewformats');\n }\n });\n editor.on('init', function () {\n if (isEnabledByDefault(editor)) {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n }\n });\n };\n\n var toggleActiveState = function (editor, enabledState) {\n return function (api) {\n api.setActive(enabledState.get());\n var editorEventCallback = function (e) {\n return api.setActive(e.state);\n };\n editor.on('VisualBlocks', editorEventCallback);\n return function () {\n return editor.off('VisualBlocks', editorEventCallback);\n };\n };\n };\n var register = function (editor, enabledState) {\n var onAction = function () {\n return editor.execCommand('mceVisualBlocks');\n };\n editor.ui.registry.addToggleButton('visualblocks', {\n icon: 'visualblocks',\n tooltip: 'Show blocks',\n onAction: onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n editor.ui.registry.addToggleMenuItem('visualblocks', {\n text: 'Show blocks',\n icon: 'visualblocks',\n onAction: onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n };\n\n function Plugin () {\n global.add('visualblocks', function (editor, pluginUrl) {\n var enabledState = Cell(false);\n register$1(editor, pluginUrl, enabledState);\n register(editor, enabledState);\n setup(editor, pluginUrl, enabledState);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global","tinymce","util","Tools","resolve","toggleVisualBlocks","editor","pluginUrl","enabledState","dom","toggleClass","getBody","set","get","state","fire","fireVisualBlocks","toggleActiveState","api","setActive","editorEventCallback","e","on","off","add","value","v","addCommand","register$1","onAction","execCommand","ui","registry","addToggleButton","icon","tooltip","onSetup","addToggleMenuItem","text","register","type","getParam","isEnabledByDefault","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/49235.32b1b88a9ad54183a8ad.min.js b/src/plone/staticresources/static/bundle-plone/chunks/49235.32b1b88a9ad54183a8ad.min.js
deleted file mode 100644
index c7ceb30ef..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/49235.32b1b88a9ad54183a8ad.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[49235],{49235:function(){!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("textcolor",(function(){}))}()}}]);
-//# sourceMappingURL=49235.32b1b88a9ad54183a8ad.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/49235.32b1b88a9ad54183a8ad.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/49235.32b1b88a9ad54183a8ad.min.js.map
deleted file mode 100644
index 39da854dc..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/49235.32b1b88a9ad54183a8ad.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/49235.32b1b88a9ad54183a8ad.min.js","mappings":"qHAQC,WACG,aAEaA,QAAQC,KAAKC,MAAMC,QAAQ,yBAG/BC,IAAI,aAAa,WACxB,GAKN,CAZA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/textcolor/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n function Plugin () {\n global.add('textcolor', function () {\n });\n }\n\n Plugin();\n\n}());\n"],"names":["tinymce","util","Tools","resolve","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/50397.eac0438919bb5af09015.min.js b/src/plone/staticresources/static/bundle-plone/chunks/50397.eac0438919bb5af09015.min.js
deleted file mode 100644
index 63ca8a757..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/50397.eac0438919bb5af09015.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[50397,52738],{50397:function(t,n,r){r(52738)},52738:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(){return n=Object.assign||function(t){for(var n,r=1,e=arguments.length;r-1;var r,e},O=function(t,n){for(var r=t.length,e=new Array(r),o=0;o=0;r--)n(t[r],r)}(t,(function(t,e){r=n(r,t,e)})),r},x=function(t,n){return function(t,n,r){for(var e=0,o=t.length;e=0&&nn.start.length?-1:1},(e=y.call(n,0)).sort(r),e;var n,r,e},U=function(t){var n=function(n){return D.error({message:n,pattern:t})},r=function(r,e,o){if(void 0!==t.format){var a=void 0;if(f(t.format)){if(!R(t.format,i))return n(r+" pattern has non-string items in the `format` array");a=t.format}else{if(!i(t.format))return n(r+" pattern has non-string `format` parameter");a=[t.format]}return D.value(e(a))}return void 0!==t.cmd?i(t.cmd)?D.value(o(t.cmd,t.value)):n(r+" pattern has non-string `cmd` parameter"):n(r+" pattern is missing both `format` and `cmd` parameters")};if(!u(t))return n("Raw pattern is not an object");if(!i(t.start))return n("Raw pattern is missing `start` parameter");if(void 0!==t.end){if(!i(t.end))return n("Inline pattern has non-string `end` parameter");if(0===t.start.length&&0===t.end.length)return n("Inline pattern has empty `start` and `end` parameters");var e=t.start,o=t.end;return 0===o.length&&(o=e,e=""),r("Inline",(function(t){return{type:"inline-format",start:e,end:o,format:t}}),(function(t,n){return{type:"inline-command",start:e,end:o,cmd:t,value:n}}))}return void 0!==t.replacement?i(t.replacement)?0===t.start.length?n("Replacement pattern has empty `start` parameter"):D.value({type:"inline-command",start:"",end:t.start,cmd:"mceInsertContent",value:t.replacement}):n("Replacement pattern has non-string `replacement` parameter"):0===t.start.length?n("Block pattern has empty `start` parameter"):r("Block",(function(n){return{type:"block-format",start:t.start,format:n[0]}}),(function(n,r){return{type:"block-command",start:t.start,cmd:n,value:r}}))},L=function(t){return"block-command"===t.type?{start:t.start,cmd:t.cmd,value:t.value}:"block-format"===t.type?{start:t.start,format:t.format}:"inline-command"===t.type?"mceInsertContent"===t.cmd&&""===t.start?{start:t.end,replacement:t.value}:{start:t.start,end:t.end,cmd:t.cmd,value:t.value}:"inline-format"===t.type?{start:t.start,end:t.end,format:1===t.format.length?t.format[0]:t.format}:void 0},V=function(t){return{inlinePatterns:C(t,I),blockPatterns:_(C(t,j))}},W="undefined"!=typeof window?window:Function("return this;")(),q=function(){for(var t=[],n=0;n=0)return v.some(Q(t,n));var e=z(et);return v.from(e.backwards(t,n,ot(t),r)).map((function(t){return Q(t.container,t.container.data.length)}))},it=function(t,n,r){if(!Y(t))return v.none();var e=t.textContent;if(n>=0&&n<=e.length)return v.some(Q(t,n));var o=z(et);return v.from(o.backwards(t,n,ot(t),r)).bind((function(t){var e=t.container.data;return it(t.container,n+e.length,r)}))},ut=function(t,n,r){if(!Y(t))return v.none();var e=t.textContent;if(n<=e.length)return v.some(Q(t,n));var o=z(et);return v.from(o.forwards(t,n,ot(t),r)).bind((function(t){return ut(t.container,n-e.length,r)}))},ft=function(t,n,r,e,o){var a=z(t,function(t){return function(n){return t.isBlock(n)||b(["BR","IMG","HR","INPUT"],n.nodeName)||"false"===t.getContentEditable(n)}}(t));return v.from(a.backwards(n,r,e,o))},ct=function(t,n,r){if(Y(n)&&(r<0||r>n.data.length))return[];for(var e=[r],o=n;o!==t&&o.parentNode;){for(var a=o.parentNode,i=0;it.data.length)?v.none():v.some({node:t,offset:i})}))},dt=function(t,n){return lt(t,n.start).bind((function(r){var e=r.node,o=r.offset;return lt(t,n.end).map((function(t){var n=t.node,r=t.offset,a=document.createRange();return a.setStart(e,o),a.setEnd(n,r),a}))}))},mt=function(t,n,r){(function(t,n,r){if(Y(t)&&n>=t.length)return v.some(Q(t,n));var e=z(et);return v.from(e.forwards(t,n,ot(t),r)).map((function(t){return Q(t.container,0)}))})(n,0,n).each((function(e){var o=e.container;ut(o,r.start.length,n).each((function(r){var e=t.createRng();e.setStart(o,0),e.setEnd(r.container,r.offset),$(t,e,(function(t){return t===n}))}))}))},gt=function(t,n){var r=t.dom,e=t.selection.getRng();return rt(t,e).filter((function(n){var e=G(t),o=""===e&&r.is(n,"body")||r.is(n,e);return null!==n&&o})).bind((function(t){var e=t.textContent,o=function(t,n){var r=n.replace(" "," ");return x(t,(function(t){return 0===n.indexOf(t.start)||0===r.indexOf(t.start)}))}(n,e);return o.map((function(n){return K.trim(e).length===n.start.length?[]:[{pattern:n,range:st(r.getRoot(),t,0,t,0)}]}))})).getOr([])},pt=function(t,n){if(0!==n.length){var r=t.selection.getBookmark();w(n,(function(n){return function(t,n){var r=t.dom,e=n.pattern,o=dt(r.getRoot(),n.range).getOrDie("Unable to resolve path range");return rt(t,o).each((function(n){"block-format"===e.type?tt(e.format,t.formatter)&&t.undoManager.transact((function(){mt(t.dom,n,e),t.formatter.apply(e.format)})):"block-command"===e.type&&t.undoManager.transact((function(){mt(t.dom,n,e),t.execCommand(e.cmd,!1,e.value)}))})),!0}(t,n)})),t.selection.moveToBookmark(r)}},ht=0,vt=function(t,n){return t.create("span",{"data-mce-type":"bookmark",id:n})},yt=function(t,n){var r=t.createRng();return r.setStartAfter(n.start),r.setEndBefore(n.end),r},kt=function(t,n,r){var e=dt(t.getRoot(),r).getOrDie("Unable to resolve path range"),o=e.startContainer,a=e.endContainer,i=0===e.endOffset?a:a.splitText(e.endOffset),u=0===e.startOffset?o:o.splitText(e.startOffset);return{prefix:n,end:i.parentNode.insertBefore(vt(t,n+"-end"),i),start:u.parentNode.insertBefore(vt(t,n+"-start"),u)}},bt=function(t,n,r){Z(t,t.get(n.prefix+"-end"),r),Z(t,t.get(n.prefix+"-start"),r)},Ot=function(t,n,r,e){var o,a=n.start;return ft(t,e.container,e.offset,(o=a,function(t,n){var r=t.data.substring(0,n),e=r.lastIndexOf(o.charAt(o.length-1)),a=r.lastIndexOf(o);return-1!==a?a+o.length:-1!==e?e+1:-1}),r).bind((function(e){if(e.offset>=a.length){var o=t.createRng();return o.setStart(e.container,e.offset-a.length),o.setEnd(e.container,e.offset),v.some(o)}var i=e.offset-a.length;return it(e.container,i,r).map((function(n){var r=t.createRng();return r.setStart(n.container,n.offset),r.setEnd(e.container,e.offset),r})).filter((function(t){return t.toString()===a})).orThunk((function(){return Ot(t,n,r,Q(e.container,0))}))}))},wt=function(t,n,r){var e=t.dom,o=e.getRoot(),a=r.pattern,i=r.position.container,u=r.position.offset;return it(i,u-r.pattern.end.length,n).bind((function(f){var c=st(o,f.container,f.offset,i,u);if(nt(a))return v.some({matches:[{pattern:a,startRng:c,endRng:c}],position:f});var s=Ct(t,r.remainingPatterns,f.container,f.offset,n),l=s.getOr({matches:[],position:f}),d=l.position,m=function(t,n,r,e,o,a){if(void 0===a&&(a=!1),0===n.start.length&&!a){var i=t.createRng();return i.setStart(r,e),i.setEnd(r,e),v.some(i)}return at(r,e,o).bind((function(r){return Ot(t,n,o,r).bind((function(t){if(a){if(t.endContainer===r.container&&t.endOffset===r.offset)return v.none();if(0===r.offset&&t.endContainer.textContent.length===t.endOffset)return v.none()}return v.some(t)}))}))}(e,a,d.container,d.offset,n,s.isNone());return m.map((function(t){var n=function(t,n){return st(t,n.startContainer,n.startOffset,n.endContainer,n.endOffset)}(o,t);return{matches:l.matches.concat([{pattern:a,startRng:n,endRng:c}]),position:Q(t.startContainer,t.startOffset)}}))}))},Ct=function(t,n,r,e,o){var a=t.dom;return at(r,e,a.getRoot()).bind((function(i){var u=a.createRng();u.setStart(o,0),u.setEnd(r,e);for(var f,c,s=u.toString(),l=0;l=n.length&&t.substr(r,r+n.length)===n}(f,c,f.length-c.length)){var m=n.slice();m.splice(l,1);var g=wt(t,o,{pattern:d,remainingPatterns:m,position:i});if(g.isSome())return g}}return v.none()}))},Et=function(t,n,r){t.selection.setRng(r),"inline-format"===n.type?w(n.format,(function(n){t.formatter.apply(n)})):t.execCommand(n.cmd,!1,n.value)},xt=function(t,r){var e,o,a=(e="mce_textpattern",o=(new Date).getTime(),e+"_"+Math.floor(1e9*Math.random())+ ++ht+String(o)),i=E(r,(function(r,e){var o=kt(t,a+"_end"+r.length,e.endRng);return r.concat([n(n({},e),{endMarker:o})])}),[]);return E(i,(function(r,e){var o=i.length-r.length-1,u=nt(e.pattern)?e.endMarker:kt(t,a+"_start"+o,e.startRng);return r.concat([n(n({},e),{startMarker:u})])}),[])},Rt=function(t,n,r){var e=t.selection.getRng();return!1===e.collapsed?[]:rt(t,e).bind((function(o){var a=e.startOffset-(r?1:0);return Ct(t,n,e.startContainer,a,o)})).fold((function(){return[]}),(function(t){return t.matches}))},Tt=function(t,n){if(0!==n.length){var r=t.dom,e=t.selection.getBookmark(),o=xt(r,n);w(o,(function(n){var e=r.getParent(n.startMarker.start,r.isBlock),o=function(t){return t===e};nt(n.pattern)?function(t,n,r,e){var o=yt(t.dom,r);$(t.dom,o,e),Et(t,n,o)}(t,n.pattern,n.endMarker,o):function(t,n,r,e,o){var a=t.dom,i=yt(a,e),u=yt(a,r);$(a,u,o),$(a,i,o);var f={prefix:r.prefix,start:r.end,end:e.start},c=yt(a,f);Et(t,n,c)}(t,n.pattern,n.startMarker,n.endMarker,o),bt(r,n.endMarker,o),bt(r,n.startMarker,o)})),t.selection.moveToBookmark(e)}},Pt=function(t,n){var r=Rt(t,n.inlinePatterns,!0);r.length>0&&t.undoManager.transact((function(){Tt(t,r)}))},Nt=function(t,n,r){for(var e=0;e0||r.length>0)&&(t.undoManager.add(),t.undoManager.extra((function(){t.execCommand("mceInsertNewLine")}),(function(){t.insertContent("\ufeff"),Tt(t,r),pt(t,e);var n=t.selection.getRng(),o=at(n.startContainer,n.startOffset,t.dom.getRoot());t.execCommand("mceInsertNewLine"),o.each((function(n){var r=n.container;"\ufeff"===r.data.charAt(n.offset-1)&&(r.deleteData(n.offset-1,1),Z(t.dom,r.parentNode,(function(n){return n===t.dom.getRoot()})))}))})),!0)}(t,n.get())&&r.preventDefault()}),!0),t.on("keyup",(function(r){Nt(e,r,(function(t,n){return t===n.keyCode&&!1===J.modifierPressed(n)}))&&Pt(t,n.get())})),t.on("keypress",(function(e){Nt(r,e,(function(t,n){return t.charCodeAt(0)===n.charCode}))&&H.setEditorTimeout(t,(function(){Pt(t,n.get())}))}))};t.add("textpattern",(function(t){var n=function(t){var n=t;return{get:function(){return n},set:function(t){n=t}}}(function(t){var n=t.getParam("textpattern_patterns",F,"array");if(!f(n))return q("The setting textpattern_patterns should be an array"),{inlinePatterns:[],blockPatterns:[]};var r=M(O(n,U));return w(r.errors,(function(t){return q(t.message,t.pattern)})),V(r.values)}(t));return St(t,n),function(t){return{setPatterns:function(n){var r=M(O(n,U));if(r.errors.length>0){var e=r.errors[0];throw new Error(e.message+":\n"+JSON.stringify(e.pattern,null,2))}t.set(V(r.values))},getPatterns:function(){return r(r([],O(t.get().inlinePatterns,L),!0),O(t.get().blockPatterns,L),!0)}}}(n)}))}()}}]);
-//# sourceMappingURL=50397.eac0438919bb5af09015.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/50397.eac0438919bb5af09015.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/50397.eac0438919bb5af09015.min.js.map
deleted file mode 100644
index 8d1e4baf4..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/50397.eac0438919bb5af09015.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/50397.eac0438919bb5af09015.min.js","mappings":"+HAMA,EAAQ,M,oBCEP,WACG,aAEA,IAcIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAEtCC,EAAW,WAUb,OATAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC5C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE9C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GAERJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAC1CN,EAAEM,GAAKL,EAAEK,IAEf,OAAON,CACT,EACOH,EAASa,MAAMC,KAAMP,UAC9B,EACA,SAASQ,EAAcC,EAAIC,EAAMC,GAC/B,GAAIA,GAA6B,IAArBX,UAAUC,OACpB,IAAK,IAA4BW,EAAxBd,EAAI,EAAGe,EAAIH,EAAKT,OAAYH,EAAIe,EAAGf,KACtCc,GAAQd,KAAKY,IACVE,IACHA,EAAKE,MAAMX,UAAUY,MAAMV,KAAKK,EAAM,EAAGZ,IAC3Cc,EAAGd,GAAKY,EAAKZ,IAGnB,OAAOW,EAAGO,OAAOJ,GAAME,MAAMX,UAAUY,MAAMV,KAAK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F,EAAK2U,EAAW/Q,QAAQ,SAAUG,GAChC,OAAOc,EAAMd,EAAIW,QAASX,EAAIkB,QAChC,IACOuB,EAAiBmO,EAAW9Q,OACrC,CAonB6B+Q,CAAc5N,IAEvC,OADAmM,GAAMnM,EAAQoM,GArtBR,SAAUA,GAYlB,MAAO,CACLyB,YAZgB,SAAUC,GAC1B,IAAIH,EAAajR,EAAU3D,EAAI+U,EAAapP,IAC5C,GAAIiP,EAAW/Q,OAAO/G,OAAS,EAAG,CAChC,IAAI0G,EAAaoR,EAAW/Q,OAAO,GACnC,MAAM,IAAInE,MAAM8D,EAAWmB,QAAU,MAAQqQ,KAAKC,UAAUzR,EAAW0B,QAAS,KAAM,GACxF,CACAmO,EAAcoB,IAAIhO,EAAiBmO,EAAW9Q,QAChD,EAMEoR,YALgB,WAChB,OAAO7X,EAAcA,EAAc,GAAI2C,EAAIqT,EAAcjK,MAAM1C,eAAgBF,IAAqB,GAAOxG,EAAIqT,EAAcjK,MAAMzC,cAAeH,IAAqB,EACzK,EAKF,CAssBW4C,CAAIiK,EACb,GAKN,CAr1CA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/textpattern/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/textpattern/plugin.js"],"sourcesContent":["// Exports the \"textpattern\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/textpattern')\n// ES2015:\n// import 'tinymce/plugins/textpattern'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var Cell = function (initial) {\n var value = initial;\n var get = function () {\n return value;\n };\n var set = function (v) {\n value = v;\n };\n return {\n get: get,\n set: set\n };\n };\n\n var global$5 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s)\n if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };\n function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2)\n for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar)\n ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n }\n\n var typeOf = function (x) {\n var t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {\n return 'array';\n } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {\n return 'string';\n } else {\n return t;\n }\n };\n var isType = function (type) {\n return function (value) {\n return typeOf(value) === type;\n };\n };\n var isString = isType('string');\n var isObject = isType('object');\n var isArray = isType('array');\n\n var noop = function () {\n };\n var constant = function (value) {\n return function () {\n return value;\n };\n };\n var identity = function (x) {\n return x;\n };\n var die = function (msg) {\n return function () {\n throw new Error(msg);\n };\n };\n var never = constant(false);\n var always = constant(true);\n\n var none = function () {\n return NONE;\n };\n var NONE = function () {\n var call = function (thunk) {\n return thunk();\n };\n var id = identity;\n var me = {\n fold: function (n, _s) {\n return n();\n },\n isSome: never,\n isNone: always,\n getOr: id,\n getOrThunk: call,\n getOrDie: function (msg) {\n throw new Error(msg || 'error: getOrDie called on none.');\n },\n getOrNull: constant(null),\n getOrUndefined: constant(undefined),\n or: id,\n orThunk: call,\n map: none,\n each: noop,\n bind: none,\n exists: never,\n forall: always,\n filter: function () {\n return none();\n },\n toArray: function () {\n return [];\n },\n toString: constant('none()')\n };\n return me;\n }();\n var some = function (a) {\n var constant_a = constant(a);\n var self = function () {\n return me;\n };\n var bind = function (f) {\n return f(a);\n };\n var me = {\n fold: function (n, s) {\n return s(a);\n },\n isSome: always,\n isNone: never,\n getOr: constant_a,\n getOrThunk: constant_a,\n getOrDie: constant_a,\n getOrNull: constant_a,\n getOrUndefined: constant_a,\n or: self,\n orThunk: self,\n map: function (f) {\n return some(f(a));\n },\n each: function (f) {\n f(a);\n },\n bind: bind,\n exists: bind,\n forall: bind,\n filter: function (f) {\n return f(a) ? me : NONE;\n },\n toArray: function () {\n return [a];\n },\n toString: function () {\n return 'some(' + a + ')';\n }\n };\n return me;\n };\n var from = function (value) {\n return value === null || value === undefined ? NONE : some(value);\n };\n var Optional = {\n some: some,\n none: none,\n from: from\n };\n\n var nativeSlice = Array.prototype.slice;\n var nativeIndexOf = Array.prototype.indexOf;\n var rawIndexOf = function (ts, t) {\n return nativeIndexOf.call(ts, t);\n };\n var contains = function (xs, x) {\n return rawIndexOf(xs, x) > -1;\n };\n var map = function (xs, f) {\n var len = xs.length;\n var r = new Array(len);\n for (var i = 0; i < len; i++) {\n var x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n var each = function (xs, f) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n f(x, i);\n }\n };\n var eachr = function (xs, f) {\n for (var i = xs.length - 1; i >= 0; i--) {\n var x = xs[i];\n f(x, i);\n }\n };\n var filter = function (xs, pred) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n var foldr = function (xs, f, acc) {\n eachr(xs, function (x, i) {\n acc = f(acc, x, i);\n });\n return acc;\n };\n var foldl = function (xs, f, acc) {\n each(xs, function (x, i) {\n acc = f(acc, x, i);\n });\n return acc;\n };\n var findUntil = function (xs, pred, until) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n var find = function (xs, pred) {\n return findUntil(xs, pred, never);\n };\n var forall = function (xs, pred) {\n for (var i = 0, len = xs.length; i < len; ++i) {\n var x = xs[i];\n if (pred(x, i) !== true) {\n return false;\n }\n }\n return true;\n };\n var sort = function (xs, comparator) {\n var copy = nativeSlice.call(xs, 0);\n copy.sort(comparator);\n return copy;\n };\n var get$1 = function (xs, i) {\n return i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n };\n var head = function (xs) {\n return get$1(xs, 0);\n };\n\n var keys = Object.keys;\n var hasOwnProperty = Object.hasOwnProperty;\n var has = function (obj, key) {\n return hasOwnProperty.call(obj, key);\n };\n\n var generate$1 = function (cases) {\n if (!isArray(cases)) {\n throw new Error('cases must be an array');\n }\n if (cases.length === 0) {\n throw new Error('there must be at least one case');\n }\n var constructors = [];\n var adt = {};\n each(cases, function (acase, count) {\n var keys$1 = keys(acase);\n if (keys$1.length !== 1) {\n throw new Error('one and only one name per case');\n }\n var key = keys$1[0];\n var value = acase[key];\n if (adt[key] !== undefined) {\n throw new Error('duplicate key detected:' + key);\n } else if (key === 'cata') {\n throw new Error('cannot have a case named cata (sorry)');\n } else if (!isArray(value)) {\n throw new Error('case arguments must be an array');\n }\n constructors.push(key);\n adt[key] = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var argLength = args.length;\n if (argLength !== value.length) {\n throw new Error('Wrong number of arguments to case ' + key + '. Expected ' + value.length + ' (' + value + '), got ' + argLength);\n }\n var match = function (branches) {\n var branchKeys = keys(branches);\n if (constructors.length !== branchKeys.length) {\n throw new Error('Wrong number of arguments to match. Expected: ' + constructors.join(',') + '\\nActual: ' + branchKeys.join(','));\n }\n var allReqd = forall(constructors, function (reqKey) {\n return contains(branchKeys, reqKey);\n });\n if (!allReqd) {\n throw new Error('Not all branches were specified when using match. Specified: ' + branchKeys.join(', ') + '\\nRequired: ' + constructors.join(', '));\n }\n return branches[key].apply(null, args);\n };\n return {\n fold: function () {\n var foldArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n foldArgs[_i] = arguments[_i];\n }\n if (foldArgs.length !== cases.length) {\n throw new Error('Wrong number of arguments to fold. Expected ' + cases.length + ', got ' + foldArgs.length);\n }\n var target = foldArgs[count];\n return target.apply(null, args);\n },\n match: match,\n log: function (label) {\n console.log(label, {\n constructors: constructors,\n constructor: key,\n params: args\n });\n }\n };\n };\n });\n return adt;\n };\n var Adt = { generate: generate$1 };\n\n Adt.generate([\n {\n bothErrors: [\n 'error1',\n 'error2'\n ]\n },\n {\n firstError: [\n 'error1',\n 'value2'\n ]\n },\n {\n secondError: [\n 'value1',\n 'error2'\n ]\n },\n {\n bothValues: [\n 'value1',\n 'value2'\n ]\n }\n ]);\n var partition = function (results) {\n var errors = [];\n var values = [];\n each(results, function (result) {\n result.fold(function (err) {\n errors.push(err);\n }, function (value) {\n values.push(value);\n });\n });\n return {\n errors: errors,\n values: values\n };\n };\n\n var value = function (o) {\n var or = function (_opt) {\n return value(o);\n };\n var orThunk = function (_f) {\n return value(o);\n };\n var map = function (f) {\n return value(f(o));\n };\n var mapError = function (_f) {\n return value(o);\n };\n var each = function (f) {\n f(o);\n };\n var bind = function (f) {\n return f(o);\n };\n var fold = function (_, onValue) {\n return onValue(o);\n };\n var exists = function (f) {\n return f(o);\n };\n var forall = function (f) {\n return f(o);\n };\n var toOptional = function () {\n return Optional.some(o);\n };\n return {\n isValue: always,\n isError: never,\n getOr: constant(o),\n getOrThunk: constant(o),\n getOrDie: constant(o),\n or: or,\n orThunk: orThunk,\n fold: fold,\n map: map,\n mapError: mapError,\n each: each,\n bind: bind,\n exists: exists,\n forall: forall,\n toOptional: toOptional\n };\n };\n var error$1 = function (message) {\n var getOrThunk = function (f) {\n return f();\n };\n var getOrDie = function () {\n return die(String(message))();\n };\n var or = identity;\n var orThunk = function (f) {\n return f();\n };\n var map = function (_f) {\n return error$1(message);\n };\n var mapError = function (f) {\n return error$1(f(message));\n };\n var bind = function (_f) {\n return error$1(message);\n };\n var fold = function (onError, _) {\n return onError(message);\n };\n return {\n isValue: never,\n isError: always,\n getOr: identity,\n getOrThunk: getOrThunk,\n getOrDie: getOrDie,\n or: or,\n orThunk: orThunk,\n fold: fold,\n map: map,\n mapError: mapError,\n each: noop,\n bind: bind,\n exists: never,\n forall: always,\n toOptional: Optional.none\n };\n };\n var fromOption = function (opt, err) {\n return opt.fold(function () {\n return error$1(err);\n }, value);\n };\n var Result = {\n value: value,\n error: error$1,\n fromOption: fromOption\n };\n\n var isInlinePattern = function (pattern) {\n return pattern.type === 'inline-command' || pattern.type === 'inline-format';\n };\n var isBlockPattern = function (pattern) {\n return pattern.type === 'block-command' || pattern.type === 'block-format';\n };\n var sortPatterns = function (patterns) {\n return sort(patterns, function (a, b) {\n if (a.start.length === b.start.length) {\n return 0;\n }\n return a.start.length > b.start.length ? -1 : 1;\n });\n };\n var normalizePattern = function (pattern) {\n var err = function (message) {\n return Result.error({\n message: message,\n pattern: pattern\n });\n };\n var formatOrCmd = function (name, onFormat, onCommand) {\n if (pattern.format !== undefined) {\n var formats = void 0;\n if (isArray(pattern.format)) {\n if (!forall(pattern.format, isString)) {\n return err(name + ' pattern has non-string items in the `format` array');\n }\n formats = pattern.format;\n } else if (isString(pattern.format)) {\n formats = [pattern.format];\n } else {\n return err(name + ' pattern has non-string `format` parameter');\n }\n return Result.value(onFormat(formats));\n } else if (pattern.cmd !== undefined) {\n if (!isString(pattern.cmd)) {\n return err(name + ' pattern has non-string `cmd` parameter');\n }\n return Result.value(onCommand(pattern.cmd, pattern.value));\n } else {\n return err(name + ' pattern is missing both `format` and `cmd` parameters');\n }\n };\n if (!isObject(pattern)) {\n return err('Raw pattern is not an object');\n }\n if (!isString(pattern.start)) {\n return err('Raw pattern is missing `start` parameter');\n }\n if (pattern.end !== undefined) {\n if (!isString(pattern.end)) {\n return err('Inline pattern has non-string `end` parameter');\n }\n if (pattern.start.length === 0 && pattern.end.length === 0) {\n return err('Inline pattern has empty `start` and `end` parameters');\n }\n var start_1 = pattern.start;\n var end_1 = pattern.end;\n if (end_1.length === 0) {\n end_1 = start_1;\n start_1 = '';\n }\n return formatOrCmd('Inline', function (format) {\n return {\n type: 'inline-format',\n start: start_1,\n end: end_1,\n format: format\n };\n }, function (cmd, value) {\n return {\n type: 'inline-command',\n start: start_1,\n end: end_1,\n cmd: cmd,\n value: value\n };\n });\n } else if (pattern.replacement !== undefined) {\n if (!isString(pattern.replacement)) {\n return err('Replacement pattern has non-string `replacement` parameter');\n }\n if (pattern.start.length === 0) {\n return err('Replacement pattern has empty `start` parameter');\n }\n return Result.value({\n type: 'inline-command',\n start: '',\n end: pattern.start,\n cmd: 'mceInsertContent',\n value: pattern.replacement\n });\n } else {\n if (pattern.start.length === 0) {\n return err('Block pattern has empty `start` parameter');\n }\n return formatOrCmd('Block', function (formats) {\n return {\n type: 'block-format',\n start: pattern.start,\n format: formats[0]\n };\n }, function (command, commandValue) {\n return {\n type: 'block-command',\n start: pattern.start,\n cmd: command,\n value: commandValue\n };\n });\n }\n };\n var denormalizePattern = function (pattern) {\n if (pattern.type === 'block-command') {\n return {\n start: pattern.start,\n cmd: pattern.cmd,\n value: pattern.value\n };\n } else if (pattern.type === 'block-format') {\n return {\n start: pattern.start,\n format: pattern.format\n };\n } else if (pattern.type === 'inline-command') {\n if (pattern.cmd === 'mceInsertContent' && pattern.start === '') {\n return {\n start: pattern.end,\n replacement: pattern.value\n };\n } else {\n return {\n start: pattern.start,\n end: pattern.end,\n cmd: pattern.cmd,\n value: pattern.value\n };\n }\n } else if (pattern.type === 'inline-format') {\n return {\n start: pattern.start,\n end: pattern.end,\n format: pattern.format.length === 1 ? pattern.format[0] : pattern.format\n };\n }\n };\n var createPatternSet = function (patterns) {\n return {\n inlinePatterns: filter(patterns, isInlinePattern),\n blockPatterns: sortPatterns(filter(patterns, isBlockPattern))\n };\n };\n\n var get = function (patternsState) {\n var setPatterns = function (newPatterns) {\n var normalized = partition(map(newPatterns, normalizePattern));\n if (normalized.errors.length > 0) {\n var firstError = normalized.errors[0];\n throw new Error(firstError.message + ':\\n' + JSON.stringify(firstError.pattern, null, 2));\n }\n patternsState.set(createPatternSet(normalized.values));\n };\n var getPatterns = function () {\n return __spreadArray(__spreadArray([], map(patternsState.get().inlinePatterns, denormalizePattern), true), map(patternsState.get().blockPatterns, denormalizePattern), true);\n };\n return {\n setPatterns: setPatterns,\n getPatterns: getPatterns\n };\n };\n\n var Global = typeof window !== 'undefined' ? window : Function('return this;')();\n\n var error = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var console = Global.console;\n if (console) {\n if (console.error) {\n console.error.apply(console, args);\n } else {\n console.log.apply(console, args);\n }\n }\n };\n var defaultPatterns = [\n {\n start: '*',\n end: '*',\n format: 'italic'\n },\n {\n start: '**',\n end: '**',\n format: 'bold'\n },\n {\n start: '#',\n format: 'h1'\n },\n {\n start: '##',\n format: 'h2'\n },\n {\n start: '###',\n format: 'h3'\n },\n {\n start: '####',\n format: 'h4'\n },\n {\n start: '#####',\n format: 'h5'\n },\n {\n start: '######',\n format: 'h6'\n },\n {\n start: '1. ',\n cmd: 'InsertOrderedList'\n },\n {\n start: '* ',\n cmd: 'InsertUnorderedList'\n },\n {\n start: '- ',\n cmd: 'InsertUnorderedList'\n }\n ];\n var getPatternSet = function (editor) {\n var patterns = editor.getParam('textpattern_patterns', defaultPatterns, 'array');\n if (!isArray(patterns)) {\n error('The setting textpattern_patterns should be an array');\n return {\n inlinePatterns: [],\n blockPatterns: []\n };\n }\n var normalized = partition(map(patterns, normalizePattern));\n each(normalized.errors, function (err) {\n return error(err.message, err.pattern);\n });\n return createPatternSet(normalized.values);\n };\n var getForcedRootBlock = function (editor) {\n var block = editor.getParam('forced_root_block', 'p');\n if (block === false) {\n return '';\n } else if (block === true) {\n return 'p';\n } else {\n return block;\n }\n };\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.VK');\n\n var zeroWidth = '\\uFEFF';\n var nbsp = '\\xA0';\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global = tinymce.util.Tools.resolve('tinymce.dom.TextSeeker');\n\n var point = function (container, offset) {\n return {\n container: container,\n offset: offset\n };\n };\n\n var isText = function (node) {\n return node.nodeType === Node.TEXT_NODE;\n };\n var cleanEmptyNodes = function (dom, node, isRoot) {\n if (node && dom.isEmpty(node) && !isRoot(node)) {\n var parent_1 = node.parentNode;\n dom.remove(node);\n cleanEmptyNodes(dom, parent_1, isRoot);\n }\n };\n var deleteRng = function (dom, rng, isRoot, clean) {\n if (clean === void 0) {\n clean = true;\n }\n var startParent = rng.startContainer.parentNode;\n var endParent = rng.endContainer.parentNode;\n rng.deleteContents();\n if (clean && !isRoot(rng.startContainer)) {\n if (isText(rng.startContainer) && rng.startContainer.data.length === 0) {\n dom.remove(rng.startContainer);\n }\n if (isText(rng.endContainer) && rng.endContainer.data.length === 0) {\n dom.remove(rng.endContainer);\n }\n cleanEmptyNodes(dom, startParent, isRoot);\n if (startParent !== endParent) {\n cleanEmptyNodes(dom, endParent, isRoot);\n }\n }\n };\n var isBlockFormatName = function (name, formatter) {\n var formatSet = formatter.get(name);\n return isArray(formatSet) && head(formatSet).exists(function (format) {\n return has(format, 'block');\n });\n };\n var isReplacementPattern = function (pattern) {\n return pattern.start.length === 0;\n };\n var getParentBlock = function (editor, rng) {\n var parentBlockOpt = Optional.from(editor.dom.getParent(rng.startContainer, editor.dom.isBlock));\n if (getForcedRootBlock(editor) === '') {\n return parentBlockOpt.orThunk(function () {\n return Optional.some(editor.getBody());\n });\n } else {\n return parentBlockOpt;\n }\n };\n\n var DOM = global$1.DOM;\n var alwaysNext = function (startNode) {\n return function (node) {\n return startNode === node ? -1 : 0;\n };\n };\n var isBoundary = function (dom) {\n return function (node) {\n return dom.isBlock(node) || contains([\n 'BR',\n 'IMG',\n 'HR',\n 'INPUT'\n ], node.nodeName) || dom.getContentEditable(node) === 'false';\n };\n };\n var textBefore = function (node, offset, rootNode) {\n if (isText(node) && offset >= 0) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.backwards(node, offset, alwaysNext(node), rootNode)).map(function (prev) {\n return point(prev.container, prev.container.data.length);\n });\n }\n };\n var textAfter = function (node, offset, rootNode) {\n if (isText(node) && offset >= node.length) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.forwards(node, offset, alwaysNext(node), rootNode)).map(function (prev) {\n return point(prev.container, 0);\n });\n }\n };\n var scanLeft = function (node, offset, rootNode) {\n if (!isText(node)) {\n return Optional.none();\n }\n var text = node.textContent;\n if (offset >= 0 && offset <= text.length) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.backwards(node, offset, alwaysNext(node), rootNode)).bind(function (prev) {\n var prevText = prev.container.data;\n return scanLeft(prev.container, offset + prevText.length, rootNode);\n });\n }\n };\n var scanRight = function (node, offset, rootNode) {\n if (!isText(node)) {\n return Optional.none();\n }\n var text = node.textContent;\n if (offset <= text.length) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.forwards(node, offset, alwaysNext(node), rootNode)).bind(function (next) {\n return scanRight(next.container, offset - text.length, rootNode);\n });\n }\n };\n var repeatLeft = function (dom, node, offset, process, rootNode) {\n var search = global(dom, isBoundary(dom));\n return Optional.from(search.backwards(node, offset, process, rootNode));\n };\n\n var generatePath = function (root, node, offset) {\n if (isText(node) && (offset < 0 || offset > node.data.length)) {\n return [];\n }\n var p = [offset];\n var current = node;\n while (current !== root && current.parentNode) {\n var parent_1 = current.parentNode;\n for (var i = 0; i < parent_1.childNodes.length; i++) {\n if (parent_1.childNodes[i] === current) {\n p.push(i);\n break;\n }\n }\n current = parent_1;\n }\n return current === root ? p.reverse() : [];\n };\n var generatePathRange = function (root, startNode, startOffset, endNode, endOffset) {\n var start = generatePath(root, startNode, startOffset);\n var end = generatePath(root, endNode, endOffset);\n return {\n start: start,\n end: end\n };\n };\n var resolvePath = function (root, path) {\n var nodePath = path.slice();\n var offset = nodePath.pop();\n var resolvedNode = foldl(nodePath, function (optNode, index) {\n return optNode.bind(function (node) {\n return Optional.from(node.childNodes[index]);\n });\n }, Optional.some(root));\n return resolvedNode.bind(function (node) {\n if (isText(node) && (offset < 0 || offset > node.data.length)) {\n return Optional.none();\n } else {\n return Optional.some({\n node: node,\n offset: offset\n });\n }\n });\n };\n var resolvePathRange = function (root, range) {\n return resolvePath(root, range.start).bind(function (_a) {\n var startNode = _a.node, startOffset = _a.offset;\n return resolvePath(root, range.end).map(function (_a) {\n var endNode = _a.node, endOffset = _a.offset;\n var rng = document.createRange();\n rng.setStart(startNode, startOffset);\n rng.setEnd(endNode, endOffset);\n return rng;\n });\n });\n };\n var generatePathRangeFromRange = function (root, range) {\n return generatePathRange(root, range.startContainer, range.startOffset, range.endContainer, range.endOffset);\n };\n\n var stripPattern = function (dom, block, pattern) {\n var firstTextNode = textAfter(block, 0, block);\n firstTextNode.each(function (spot) {\n var node = spot.container;\n scanRight(node, pattern.start.length, block).each(function (end) {\n var rng = dom.createRng();\n rng.setStart(node, 0);\n rng.setEnd(end.container, end.offset);\n deleteRng(dom, rng, function (e) {\n return e === block;\n });\n });\n });\n };\n var applyPattern$1 = function (editor, match) {\n var dom = editor.dom;\n var pattern = match.pattern;\n var rng = resolvePathRange(dom.getRoot(), match.range).getOrDie('Unable to resolve path range');\n getParentBlock(editor, rng).each(function (block) {\n if (pattern.type === 'block-format') {\n if (isBlockFormatName(pattern.format, editor.formatter)) {\n editor.undoManager.transact(function () {\n stripPattern(editor.dom, block, pattern);\n editor.formatter.apply(pattern.format);\n });\n }\n } else if (pattern.type === 'block-command') {\n editor.undoManager.transact(function () {\n stripPattern(editor.dom, block, pattern);\n editor.execCommand(pattern.cmd, false, pattern.value);\n });\n }\n });\n return true;\n };\n var findPattern$1 = function (patterns, text) {\n var nuText = text.replace(nbsp, ' ');\n return find(patterns, function (pattern) {\n return text.indexOf(pattern.start) === 0 || nuText.indexOf(pattern.start) === 0;\n });\n };\n var findPatterns$1 = function (editor, patterns) {\n var dom = editor.dom;\n var rng = editor.selection.getRng();\n return getParentBlock(editor, rng).filter(function (block) {\n var forcedRootBlock = getForcedRootBlock(editor);\n var matchesForcedRootBlock = forcedRootBlock === '' && dom.is(block, 'body') || dom.is(block, forcedRootBlock);\n return block !== null && matchesForcedRootBlock;\n }).bind(function (block) {\n var blockText = block.textContent;\n var matchedPattern = findPattern$1(patterns, blockText);\n return matchedPattern.map(function (pattern) {\n if (global$2.trim(blockText).length === pattern.start.length) {\n return [];\n }\n return [{\n pattern: pattern,\n range: generatePathRange(dom.getRoot(), block, 0, block, 0)\n }];\n });\n }).getOr([]);\n };\n var applyMatches$1 = function (editor, matches) {\n if (matches.length === 0) {\n return;\n }\n var bookmark = editor.selection.getBookmark();\n each(matches, function (match) {\n return applyPattern$1(editor, match);\n });\n editor.selection.moveToBookmark(bookmark);\n };\n\n var unique = 0;\n var generate = function (prefix) {\n var date = new Date();\n var time = date.getTime();\n var random = Math.floor(Math.random() * 1000000000);\n unique++;\n return prefix + '_' + random + unique + String(time);\n };\n\n var checkRange = function (str, substr, start) {\n return substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;\n };\n var endsWith = function (str, suffix) {\n return checkRange(str, suffix, str.length - suffix.length);\n };\n\n var newMarker = function (dom, id) {\n return dom.create('span', {\n 'data-mce-type': 'bookmark',\n id: id\n });\n };\n var rangeFromMarker = function (dom, marker) {\n var rng = dom.createRng();\n rng.setStartAfter(marker.start);\n rng.setEndBefore(marker.end);\n return rng;\n };\n var createMarker = function (dom, markerPrefix, pathRange) {\n var rng = resolvePathRange(dom.getRoot(), pathRange).getOrDie('Unable to resolve path range');\n var startNode = rng.startContainer;\n var endNode = rng.endContainer;\n var textEnd = rng.endOffset === 0 ? endNode : endNode.splitText(rng.endOffset);\n var textStart = rng.startOffset === 0 ? startNode : startNode.splitText(rng.startOffset);\n return {\n prefix: markerPrefix,\n end: textEnd.parentNode.insertBefore(newMarker(dom, markerPrefix + '-end'), textEnd),\n start: textStart.parentNode.insertBefore(newMarker(dom, markerPrefix + '-start'), textStart)\n };\n };\n var removeMarker = function (dom, marker, isRoot) {\n cleanEmptyNodes(dom, dom.get(marker.prefix + '-end'), isRoot);\n cleanEmptyNodes(dom, dom.get(marker.prefix + '-start'), isRoot);\n };\n\n var matchesPattern = function (dom, block, patternContent) {\n return function (element, offset) {\n var text = element.data;\n var searchText = text.substring(0, offset);\n var startEndIndex = searchText.lastIndexOf(patternContent.charAt(patternContent.length - 1));\n var startIndex = searchText.lastIndexOf(patternContent);\n if (startIndex !== -1) {\n return startIndex + patternContent.length;\n } else if (startEndIndex !== -1) {\n return startEndIndex + 1;\n } else {\n return -1;\n }\n };\n };\n var findPatternStartFromSpot = function (dom, pattern, block, spot) {\n var startPattern = pattern.start;\n var startSpot = repeatLeft(dom, spot.container, spot.offset, matchesPattern(dom, block, startPattern), block);\n return startSpot.bind(function (spot) {\n if (spot.offset >= startPattern.length) {\n var rng = dom.createRng();\n rng.setStart(spot.container, spot.offset - startPattern.length);\n rng.setEnd(spot.container, spot.offset);\n return Optional.some(rng);\n } else {\n var offset = spot.offset - startPattern.length;\n return scanLeft(spot.container, offset, block).map(function (nextSpot) {\n var rng = dom.createRng();\n rng.setStart(nextSpot.container, nextSpot.offset);\n rng.setEnd(spot.container, spot.offset);\n return rng;\n }).filter(function (rng) {\n return rng.toString() === startPattern;\n }).orThunk(function () {\n return findPatternStartFromSpot(dom, pattern, block, point(spot.container, 0));\n });\n }\n });\n };\n var findPatternStart = function (dom, pattern, node, offset, block, requireGap) {\n if (requireGap === void 0) {\n requireGap = false;\n }\n if (pattern.start.length === 0 && !requireGap) {\n var rng = dom.createRng();\n rng.setStart(node, offset);\n rng.setEnd(node, offset);\n return Optional.some(rng);\n }\n return textBefore(node, offset, block).bind(function (spot) {\n var start = findPatternStartFromSpot(dom, pattern, block, spot);\n return start.bind(function (startRange) {\n if (requireGap) {\n if (startRange.endContainer === spot.container && startRange.endOffset === spot.offset) {\n return Optional.none();\n } else if (spot.offset === 0 && startRange.endContainer.textContent.length === startRange.endOffset) {\n return Optional.none();\n }\n }\n return Optional.some(startRange);\n });\n });\n };\n var findPattern = function (editor, block, details) {\n var dom = editor.dom;\n var root = dom.getRoot();\n var pattern = details.pattern;\n var endNode = details.position.container;\n var endOffset = details.position.offset;\n return scanLeft(endNode, endOffset - details.pattern.end.length, block).bind(function (spot) {\n var endPathRng = generatePathRange(root, spot.container, spot.offset, endNode, endOffset);\n if (isReplacementPattern(pattern)) {\n return Optional.some({\n matches: [{\n pattern: pattern,\n startRng: endPathRng,\n endRng: endPathRng\n }],\n position: spot\n });\n } else {\n var resultsOpt = findPatternsRec(editor, details.remainingPatterns, spot.container, spot.offset, block);\n var results_1 = resultsOpt.getOr({\n matches: [],\n position: spot\n });\n var pos = results_1.position;\n var start = findPatternStart(dom, pattern, pos.container, pos.offset, block, resultsOpt.isNone());\n return start.map(function (startRng) {\n var startPathRng = generatePathRangeFromRange(root, startRng);\n return {\n matches: results_1.matches.concat([{\n pattern: pattern,\n startRng: startPathRng,\n endRng: endPathRng\n }]),\n position: point(startRng.startContainer, startRng.startOffset)\n };\n });\n }\n });\n };\n var findPatternsRec = function (editor, patterns, node, offset, block) {\n var dom = editor.dom;\n return textBefore(node, offset, dom.getRoot()).bind(function (endSpot) {\n var rng = dom.createRng();\n rng.setStart(block, 0);\n rng.setEnd(node, offset);\n var text = rng.toString();\n for (var i = 0; i < patterns.length; i++) {\n var pattern = patterns[i];\n if (!endsWith(text, pattern.end)) {\n continue;\n }\n var patternsWithoutCurrent = patterns.slice();\n patternsWithoutCurrent.splice(i, 1);\n var result = findPattern(editor, block, {\n pattern: pattern,\n remainingPatterns: patternsWithoutCurrent,\n position: endSpot\n });\n if (result.isSome()) {\n return result;\n }\n }\n return Optional.none();\n });\n };\n var applyPattern = function (editor, pattern, patternRange) {\n editor.selection.setRng(patternRange);\n if (pattern.type === 'inline-format') {\n each(pattern.format, function (format) {\n editor.formatter.apply(format);\n });\n } else {\n editor.execCommand(pattern.cmd, false, pattern.value);\n }\n };\n var applyReplacementPattern = function (editor, pattern, marker, isRoot) {\n var markerRange = rangeFromMarker(editor.dom, marker);\n deleteRng(editor.dom, markerRange, isRoot);\n applyPattern(editor, pattern, markerRange);\n };\n var applyPatternWithContent = function (editor, pattern, startMarker, endMarker, isRoot) {\n var dom = editor.dom;\n var markerEndRange = rangeFromMarker(dom, endMarker);\n var markerStartRange = rangeFromMarker(dom, startMarker);\n deleteRng(dom, markerStartRange, isRoot);\n deleteRng(dom, markerEndRange, isRoot);\n var patternMarker = {\n prefix: startMarker.prefix,\n start: startMarker.end,\n end: endMarker.start\n };\n var patternRange = rangeFromMarker(dom, patternMarker);\n applyPattern(editor, pattern, patternRange);\n };\n var addMarkers = function (dom, matches) {\n var markerPrefix = generate('mce_textpattern');\n var matchesWithEnds = foldr(matches, function (acc, match) {\n var endMarker = createMarker(dom, markerPrefix + ('_end' + acc.length), match.endRng);\n return acc.concat([__assign(__assign({}, match), { endMarker: endMarker })]);\n }, []);\n return foldr(matchesWithEnds, function (acc, match) {\n var idx = matchesWithEnds.length - acc.length - 1;\n var startMarker = isReplacementPattern(match.pattern) ? match.endMarker : createMarker(dom, markerPrefix + ('_start' + idx), match.startRng);\n return acc.concat([__assign(__assign({}, match), { startMarker: startMarker })]);\n }, []);\n };\n var findPatterns = function (editor, patterns, space) {\n var rng = editor.selection.getRng();\n if (rng.collapsed === false) {\n return [];\n }\n return getParentBlock(editor, rng).bind(function (block) {\n var offset = rng.startOffset - (space ? 1 : 0);\n return findPatternsRec(editor, patterns, rng.startContainer, offset, block);\n }).fold(function () {\n return [];\n }, function (result) {\n return result.matches;\n });\n };\n var applyMatches = function (editor, matches) {\n if (matches.length === 0) {\n return;\n }\n var dom = editor.dom;\n var bookmark = editor.selection.getBookmark();\n var matchesWithMarkers = addMarkers(dom, matches);\n each(matchesWithMarkers, function (match) {\n var block = dom.getParent(match.startMarker.start, dom.isBlock);\n var isRoot = function (node) {\n return node === block;\n };\n if (isReplacementPattern(match.pattern)) {\n applyReplacementPattern(editor, match.pattern, match.endMarker, isRoot);\n } else {\n applyPatternWithContent(editor, match.pattern, match.startMarker, match.endMarker, isRoot);\n }\n removeMarker(dom, match.endMarker, isRoot);\n removeMarker(dom, match.startMarker, isRoot);\n });\n editor.selection.moveToBookmark(bookmark);\n };\n\n var handleEnter = function (editor, patternSet) {\n if (!editor.selection.isCollapsed()) {\n return false;\n }\n var inlineMatches = findPatterns(editor, patternSet.inlinePatterns, false);\n var blockMatches = findPatterns$1(editor, patternSet.blockPatterns);\n if (blockMatches.length > 0 || inlineMatches.length > 0) {\n editor.undoManager.add();\n editor.undoManager.extra(function () {\n editor.execCommand('mceInsertNewLine');\n }, function () {\n editor.insertContent(zeroWidth);\n applyMatches(editor, inlineMatches);\n applyMatches$1(editor, blockMatches);\n var range = editor.selection.getRng();\n var spot = textBefore(range.startContainer, range.startOffset, editor.dom.getRoot());\n editor.execCommand('mceInsertNewLine');\n spot.each(function (s) {\n var node = s.container;\n if (node.data.charAt(s.offset - 1) === zeroWidth) {\n node.deleteData(s.offset - 1, 1);\n cleanEmptyNodes(editor.dom, node.parentNode, function (e) {\n return e === editor.dom.getRoot();\n });\n }\n });\n });\n return true;\n }\n return false;\n };\n var handleInlineKey = function (editor, patternSet) {\n var inlineMatches = findPatterns(editor, patternSet.inlinePatterns, true);\n if (inlineMatches.length > 0) {\n editor.undoManager.transact(function () {\n applyMatches(editor, inlineMatches);\n });\n }\n };\n var checkKeyEvent = function (codes, event, predicate) {\n for (var i = 0; i < codes.length; i++) {\n if (predicate(codes[i], event)) {\n return true;\n }\n }\n return false;\n };\n var checkKeyCode = function (codes, event) {\n return checkKeyEvent(codes, event, function (code, event) {\n return code === event.keyCode && global$3.modifierPressed(event) === false;\n });\n };\n var checkCharCode = function (chars, event) {\n return checkKeyEvent(chars, event, function (chr, event) {\n return chr.charCodeAt(0) === event.charCode;\n });\n };\n\n var setup = function (editor, patternsState) {\n var charCodes = [\n ',',\n '.',\n ';',\n ':',\n '!',\n '?'\n ];\n var keyCodes = [32];\n editor.on('keydown', function (e) {\n if (e.keyCode === 13 && !global$3.modifierPressed(e)) {\n if (handleEnter(editor, patternsState.get())) {\n e.preventDefault();\n }\n }\n }, true);\n editor.on('keyup', function (e) {\n if (checkKeyCode(keyCodes, e)) {\n handleInlineKey(editor, patternsState.get());\n }\n });\n editor.on('keypress', function (e) {\n if (checkCharCode(charCodes, e)) {\n global$4.setEditorTimeout(editor, function () {\n handleInlineKey(editor, patternsState.get());\n });\n }\n });\n };\n\n function Plugin () {\n global$5.add('textpattern', function (editor) {\n var patternsState = Cell(getPatternSet(editor));\n setup(editor, patternsState);\n return get(patternsState);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global$5","tinymce","util","Tools","resolve","__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__spreadArray","to","from","pack","ar","l","Array","slice","concat","id","isType","type","value","x","isPrototypeOf","constructor","name","String","isString","isObject","isArray","noop","constant","identity","never","always","none","NONE","fold","_s","isSome","isNone","getOr","getOrThunk","thunk","getOrDie","msg","Error","getOrNull","getOrUndefined","undefined","or","orThunk","map","each","bind","exists","forall","filter","toArray","toString","some","a","constant_a","self","me","f","Optional","nativeSlice","nativeIndexOf","indexOf","contains","xs","ts","len","r","pred","push","foldr","acc","eachr","find","until","findUntil","head","get$1","keys","Adt","cases","constructors","adt","acase","count","keys$1","key","args","_i","argLength","foldArgs","match","branches","branchKeys","join","reqKey","log","label","console","params","bothErrors","firstError","secondError","bothValues","partition","results","errors","values","result","err","o","isValue","isError","_opt","_f","_","onValue","mapError","toOptional","error$1","message","onError","Result","error","fromOption","opt","isInlinePattern","pattern","isBlockPattern","sortPatterns","patterns","comparator","b","start","copy","sort","normalizePattern","formatOrCmd","onFormat","onCommand","format","formats","cmd","end","start_1","end_1","replacement","command","commandValue","denormalizePattern","createPatternSet","inlinePatterns","blockPatterns","Global","window","Function","defaultPatterns","getForcedRootBlock","editor","block","getParam","global$4","global$3","global$2","global$1","global","point","container","offset","isText","node","nodeType","Node","TEXT_NODE","cleanEmptyNodes","dom","isRoot","isEmpty","parent_1","parentNode","remove","deleteRng","rng","clean","startParent","startContainer","endParent","endContainer","deleteContents","data","isBlockFormatName","formatter","formatSet","get","obj","isReplacementPattern","getParentBlock","parentBlockOpt","getParent","isBlock","getBody","DOM","alwaysNext","startNode","textBefore","rootNode","textSeeker","backwards","prev","scanLeft","text","textContent","prevText","scanRight","forwards","next","repeatLeft","process","search","nodeName","getContentEditable","isBoundary","generatePath","root","current","childNodes","reverse","generatePathRange","startOffset","endNode","endOffset","resolvePath","path","nodePath","pop","optNode","index","resolvePathRange","range","_a","document","createRange","setStart","setEnd","stripPattern","textAfter","spot","createRng","e","findPatterns$1","selection","getRng","forcedRootBlock","matchesForcedRootBlock","is","blockText","matchedPattern","nuText","replace","findPattern$1","trim","getRoot","applyMatches$1","matches","bookmark","getBookmark","undoManager","transact","execCommand","applyPattern$1","moveToBookmark","unique","newMarker","create","rangeFromMarker","marker","setStartAfter","setEndBefore","createMarker","markerPrefix","pathRange","textEnd","splitText","textStart","prefix","insertBefore","removeMarker","findPatternStartFromSpot","patternContent","startPattern","element","searchText","substring","startEndIndex","lastIndexOf","charAt","startIndex","nextSpot","findPattern","details","position","endPathRng","startRng","endRng","resultsOpt","findPatternsRec","remainingPatterns","results_1","pos","requireGap","startRange","findPatternStart","startPathRng","generatePathRangeFromRange","endSpot","str","suffix","substr","checkRange","patternsWithoutCurrent","splice","applyPattern","patternRange","setRng","addMarkers","time","Date","getTime","Math","floor","random","matchesWithEnds","endMarker","idx","startMarker","findPatterns","space","collapsed","applyMatches","matchesWithMarkers","markerRange","applyReplacementPattern","markerEndRange","markerStartRange","patternMarker","applyPatternWithContent","handleInlineKey","patternSet","inlineMatches","checkKeyEvent","codes","event","predicate","setup","patternsState","charCodes","keyCodes","on","keyCode","modifierPressed","isCollapsed","blockMatches","add","extra","insertContent","deleteData","handleEnter","preventDefault","code","chr","charCodeAt","charCode","setEditorTimeout","initial","set","v","Cell","normalized","getPatternSet","setPatterns","newPatterns","JSON","stringify","getPatterns"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/52738.b1c037827fe25ee69419.min.js b/src/plone/staticresources/static/bundle-plone/chunks/52738.b1c037827fe25ee69419.min.js
deleted file mode 100644
index 9d296e973..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/52738.b1c037827fe25ee69419.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[52738],{52738:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(){return n=Object.assign||function(t){for(var n,r=1,e=arguments.length;r-1;var r,e},O=function(t,n){for(var r=t.length,e=new Array(r),o=0;o=0;r--)n(t[r],r)}(t,(function(t,e){r=n(r,t,e)})),r},x=function(t,n){return function(t,n,r){for(var e=0,o=t.length;e=0&&nn.start.length?-1:1},(e=y.call(n,0)).sort(r),e;var n,r,e},U=function(t){var n=function(n){return D.error({message:n,pattern:t})},r=function(r,e,o){if(void 0!==t.format){var a=void 0;if(f(t.format)){if(!R(t.format,i))return n(r+" pattern has non-string items in the `format` array");a=t.format}else{if(!i(t.format))return n(r+" pattern has non-string `format` parameter");a=[t.format]}return D.value(e(a))}return void 0!==t.cmd?i(t.cmd)?D.value(o(t.cmd,t.value)):n(r+" pattern has non-string `cmd` parameter"):n(r+" pattern is missing both `format` and `cmd` parameters")};if(!u(t))return n("Raw pattern is not an object");if(!i(t.start))return n("Raw pattern is missing `start` parameter");if(void 0!==t.end){if(!i(t.end))return n("Inline pattern has non-string `end` parameter");if(0===t.start.length&&0===t.end.length)return n("Inline pattern has empty `start` and `end` parameters");var e=t.start,o=t.end;return 0===o.length&&(o=e,e=""),r("Inline",(function(t){return{type:"inline-format",start:e,end:o,format:t}}),(function(t,n){return{type:"inline-command",start:e,end:o,cmd:t,value:n}}))}return void 0!==t.replacement?i(t.replacement)?0===t.start.length?n("Replacement pattern has empty `start` parameter"):D.value({type:"inline-command",start:"",end:t.start,cmd:"mceInsertContent",value:t.replacement}):n("Replacement pattern has non-string `replacement` parameter"):0===t.start.length?n("Block pattern has empty `start` parameter"):r("Block",(function(n){return{type:"block-format",start:t.start,format:n[0]}}),(function(n,r){return{type:"block-command",start:t.start,cmd:n,value:r}}))},L=function(t){return"block-command"===t.type?{start:t.start,cmd:t.cmd,value:t.value}:"block-format"===t.type?{start:t.start,format:t.format}:"inline-command"===t.type?"mceInsertContent"===t.cmd&&""===t.start?{start:t.end,replacement:t.value}:{start:t.start,end:t.end,cmd:t.cmd,value:t.value}:"inline-format"===t.type?{start:t.start,end:t.end,format:1===t.format.length?t.format[0]:t.format}:void 0},V=function(t){return{inlinePatterns:C(t,I),blockPatterns:_(C(t,j))}},W="undefined"!=typeof window?window:Function("return this;")(),q=function(){for(var t=[],n=0;n=0)return v.some(Q(t,n));var e=z(et);return v.from(e.backwards(t,n,ot(t),r)).map((function(t){return Q(t.container,t.container.data.length)}))},it=function(t,n,r){if(!Y(t))return v.none();var e=t.textContent;if(n>=0&&n<=e.length)return v.some(Q(t,n));var o=z(et);return v.from(o.backwards(t,n,ot(t),r)).bind((function(t){var e=t.container.data;return it(t.container,n+e.length,r)}))},ut=function(t,n,r){if(!Y(t))return v.none();var e=t.textContent;if(n<=e.length)return v.some(Q(t,n));var o=z(et);return v.from(o.forwards(t,n,ot(t),r)).bind((function(t){return ut(t.container,n-e.length,r)}))},ft=function(t,n,r,e,o){var a=z(t,function(t){return function(n){return t.isBlock(n)||b(["BR","IMG","HR","INPUT"],n.nodeName)||"false"===t.getContentEditable(n)}}(t));return v.from(a.backwards(n,r,e,o))},ct=function(t,n,r){if(Y(n)&&(r<0||r>n.data.length))return[];for(var e=[r],o=n;o!==t&&o.parentNode;){for(var a=o.parentNode,i=0;it.data.length)?v.none():v.some({node:t,offset:i})}))},dt=function(t,n){return lt(t,n.start).bind((function(r){var e=r.node,o=r.offset;return lt(t,n.end).map((function(t){var n=t.node,r=t.offset,a=document.createRange();return a.setStart(e,o),a.setEnd(n,r),a}))}))},mt=function(t,n,r){(function(t,n,r){if(Y(t)&&n>=t.length)return v.some(Q(t,n));var e=z(et);return v.from(e.forwards(t,n,ot(t),r)).map((function(t){return Q(t.container,0)}))})(n,0,n).each((function(e){var o=e.container;ut(o,r.start.length,n).each((function(r){var e=t.createRng();e.setStart(o,0),e.setEnd(r.container,r.offset),$(t,e,(function(t){return t===n}))}))}))},gt=function(t,n){var r=t.dom,e=t.selection.getRng();return rt(t,e).filter((function(n){var e=G(t),o=""===e&&r.is(n,"body")||r.is(n,e);return null!==n&&o})).bind((function(t){var e=t.textContent,o=function(t,n){var r=n.replace(" "," ");return x(t,(function(t){return 0===n.indexOf(t.start)||0===r.indexOf(t.start)}))}(n,e);return o.map((function(n){return K.trim(e).length===n.start.length?[]:[{pattern:n,range:st(r.getRoot(),t,0,t,0)}]}))})).getOr([])},pt=function(t,n){if(0!==n.length){var r=t.selection.getBookmark();w(n,(function(n){return function(t,n){var r=t.dom,e=n.pattern,o=dt(r.getRoot(),n.range).getOrDie("Unable to resolve path range");return rt(t,o).each((function(n){"block-format"===e.type?tt(e.format,t.formatter)&&t.undoManager.transact((function(){mt(t.dom,n,e),t.formatter.apply(e.format)})):"block-command"===e.type&&t.undoManager.transact((function(){mt(t.dom,n,e),t.execCommand(e.cmd,!1,e.value)}))})),!0}(t,n)})),t.selection.moveToBookmark(r)}},ht=0,vt=function(t,n){return t.create("span",{"data-mce-type":"bookmark",id:n})},yt=function(t,n){var r=t.createRng();return r.setStartAfter(n.start),r.setEndBefore(n.end),r},kt=function(t,n,r){var e=dt(t.getRoot(),r).getOrDie("Unable to resolve path range"),o=e.startContainer,a=e.endContainer,i=0===e.endOffset?a:a.splitText(e.endOffset),u=0===e.startOffset?o:o.splitText(e.startOffset);return{prefix:n,end:i.parentNode.insertBefore(vt(t,n+"-end"),i),start:u.parentNode.insertBefore(vt(t,n+"-start"),u)}},bt=function(t,n,r){Z(t,t.get(n.prefix+"-end"),r),Z(t,t.get(n.prefix+"-start"),r)},Ot=function(t,n,r,e){var o,a=n.start;return ft(t,e.container,e.offset,(o=a,function(t,n){var r=t.data.substring(0,n),e=r.lastIndexOf(o.charAt(o.length-1)),a=r.lastIndexOf(o);return-1!==a?a+o.length:-1!==e?e+1:-1}),r).bind((function(e){if(e.offset>=a.length){var o=t.createRng();return o.setStart(e.container,e.offset-a.length),o.setEnd(e.container,e.offset),v.some(o)}var i=e.offset-a.length;return it(e.container,i,r).map((function(n){var r=t.createRng();return r.setStart(n.container,n.offset),r.setEnd(e.container,e.offset),r})).filter((function(t){return t.toString()===a})).orThunk((function(){return Ot(t,n,r,Q(e.container,0))}))}))},wt=function(t,n,r){var e=t.dom,o=e.getRoot(),a=r.pattern,i=r.position.container,u=r.position.offset;return it(i,u-r.pattern.end.length,n).bind((function(f){var c=st(o,f.container,f.offset,i,u);if(nt(a))return v.some({matches:[{pattern:a,startRng:c,endRng:c}],position:f});var s=Ct(t,r.remainingPatterns,f.container,f.offset,n),l=s.getOr({matches:[],position:f}),d=l.position,m=function(t,n,r,e,o,a){if(void 0===a&&(a=!1),0===n.start.length&&!a){var i=t.createRng();return i.setStart(r,e),i.setEnd(r,e),v.some(i)}return at(r,e,o).bind((function(r){return Ot(t,n,o,r).bind((function(t){if(a){if(t.endContainer===r.container&&t.endOffset===r.offset)return v.none();if(0===r.offset&&t.endContainer.textContent.length===t.endOffset)return v.none()}return v.some(t)}))}))}(e,a,d.container,d.offset,n,s.isNone());return m.map((function(t){var n=function(t,n){return st(t,n.startContainer,n.startOffset,n.endContainer,n.endOffset)}(o,t);return{matches:l.matches.concat([{pattern:a,startRng:n,endRng:c}]),position:Q(t.startContainer,t.startOffset)}}))}))},Ct=function(t,n,r,e,o){var a=t.dom;return at(r,e,a.getRoot()).bind((function(i){var u=a.createRng();u.setStart(o,0),u.setEnd(r,e);for(var f,c,s=u.toString(),l=0;l=n.length&&t.substr(r,r+n.length)===n}(f,c,f.length-c.length)){var m=n.slice();m.splice(l,1);var g=wt(t,o,{pattern:d,remainingPatterns:m,position:i});if(g.isSome())return g}}return v.none()}))},Et=function(t,n,r){t.selection.setRng(r),"inline-format"===n.type?w(n.format,(function(n){t.formatter.apply(n)})):t.execCommand(n.cmd,!1,n.value)},xt=function(t,r){var e,o,a=(e="mce_textpattern",o=(new Date).getTime(),e+"_"+Math.floor(1e9*Math.random())+ ++ht+String(o)),i=E(r,(function(r,e){var o=kt(t,a+"_end"+r.length,e.endRng);return r.concat([n(n({},e),{endMarker:o})])}),[]);return E(i,(function(r,e){var o=i.length-r.length-1,u=nt(e.pattern)?e.endMarker:kt(t,a+"_start"+o,e.startRng);return r.concat([n(n({},e),{startMarker:u})])}),[])},Rt=function(t,n,r){var e=t.selection.getRng();return!1===e.collapsed?[]:rt(t,e).bind((function(o){var a=e.startOffset-(r?1:0);return Ct(t,n,e.startContainer,a,o)})).fold((function(){return[]}),(function(t){return t.matches}))},Tt=function(t,n){if(0!==n.length){var r=t.dom,e=t.selection.getBookmark(),o=xt(r,n);w(o,(function(n){var e=r.getParent(n.startMarker.start,r.isBlock),o=function(t){return t===e};nt(n.pattern)?function(t,n,r,e){var o=yt(t.dom,r);$(t.dom,o,e),Et(t,n,o)}(t,n.pattern,n.endMarker,o):function(t,n,r,e,o){var a=t.dom,i=yt(a,e),u=yt(a,r);$(a,u,o),$(a,i,o);var f={prefix:r.prefix,start:r.end,end:e.start},c=yt(a,f);Et(t,n,c)}(t,n.pattern,n.startMarker,n.endMarker,o),bt(r,n.endMarker,o),bt(r,n.startMarker,o)})),t.selection.moveToBookmark(e)}},Pt=function(t,n){var r=Rt(t,n.inlinePatterns,!0);r.length>0&&t.undoManager.transact((function(){Tt(t,r)}))},Nt=function(t,n,r){for(var e=0;e0||r.length>0)&&(t.undoManager.add(),t.undoManager.extra((function(){t.execCommand("mceInsertNewLine")}),(function(){t.insertContent("\ufeff"),Tt(t,r),pt(t,e);var n=t.selection.getRng(),o=at(n.startContainer,n.startOffset,t.dom.getRoot());t.execCommand("mceInsertNewLine"),o.each((function(n){var r=n.container;"\ufeff"===r.data.charAt(n.offset-1)&&(r.deleteData(n.offset-1,1),Z(t.dom,r.parentNode,(function(n){return n===t.dom.getRoot()})))}))})),!0)}(t,n.get())&&r.preventDefault()}),!0),t.on("keyup",(function(r){Nt(e,r,(function(t,n){return t===n.keyCode&&!1===J.modifierPressed(n)}))&&Pt(t,n.get())})),t.on("keypress",(function(e){Nt(r,e,(function(t,n){return t.charCodeAt(0)===n.charCode}))&&H.setEditorTimeout(t,(function(){Pt(t,n.get())}))}))};t.add("textpattern",(function(t){var n=function(t){var n=t;return{get:function(){return n},set:function(t){n=t}}}(function(t){var n=t.getParam("textpattern_patterns",F,"array");if(!f(n))return q("The setting textpattern_patterns should be an array"),{inlinePatterns:[],blockPatterns:[]};var r=M(O(n,U));return w(r.errors,(function(t){return q(t.message,t.pattern)})),V(r.values)}(t));return St(t,n),function(t){return{setPatterns:function(n){var r=M(O(n,U));if(r.errors.length>0){var e=r.errors[0];throw new Error(e.message+":\n"+JSON.stringify(e.pattern,null,2))}t.set(V(r.values))},getPatterns:function(){return r(r([],O(t.get().inlinePatterns,L),!0),O(t.get().blockPatterns,L),!0)}}}(n)}))}()}}]);
-//# sourceMappingURL=52738.b1c037827fe25ee69419.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/52738.b1c037827fe25ee69419.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/52738.b1c037827fe25ee69419.min.js.map
deleted file mode 100644
index d74444d5c..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/52738.b1c037827fe25ee69419.min.js.map
+++ /d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AW9Q,QAChD,EAMEoR,YALgB,WAChB,OAAO7X,EAAcA,EAAc,GAAI2C,EAAIqT,EAAcjK,MAAM1C,eAAgBF,IAAqB,GAAOxG,EAAIqT,EAAcjK,MAAMzC,cAAeH,IAAqB,EACzK,EAKF,CAssBW4C,CAAIiK,EACb,GAKN,CAr1CA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/textpattern/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var Cell = function (initial) {\n var value = initial;\n var get = function () {\n return value;\n };\n var set = function (v) {\n value = v;\n };\n return {\n get: get,\n set: set\n };\n };\n\n var global$5 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s)\n if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };\n function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2)\n for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar)\n ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n }\n\n var typeOf = function (x) {\n var t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {\n return 'array';\n } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {\n return 'string';\n } else {\n return t;\n }\n };\n var isType = function (type) {\n return function (value) {\n return typeOf(value) === type;\n };\n };\n var isString = isType('string');\n var isObject = isType('object');\n var isArray = isType('array');\n\n var noop = function () {\n };\n var constant = function (value) {\n return function () {\n return value;\n };\n };\n var identity = function (x) {\n return x;\n };\n var die = function (msg) {\n return function () {\n throw new Error(msg);\n };\n };\n var never = constant(false);\n var always = constant(true);\n\n var none = function () {\n return NONE;\n };\n var NONE = function () {\n var call = function (thunk) {\n return thunk();\n };\n var id = identity;\n var me = {\n fold: function (n, _s) {\n return n();\n },\n isSome: never,\n isNone: always,\n getOr: id,\n getOrThunk: call,\n getOrDie: function (msg) {\n throw new Error(msg || 'error: getOrDie called on none.');\n },\n getOrNull: constant(null),\n getOrUndefined: constant(undefined),\n or: id,\n orThunk: call,\n map: none,\n each: noop,\n bind: none,\n exists: never,\n forall: always,\n filter: function () {\n return none();\n },\n toArray: function () {\n return [];\n },\n toString: constant('none()')\n };\n return me;\n }();\n var some = function (a) {\n var constant_a = constant(a);\n var self = function () {\n return me;\n };\n var bind = function (f) {\n return f(a);\n };\n var me = {\n fold: function (n, s) {\n return s(a);\n },\n isSome: always,\n isNone: never,\n getOr: constant_a,\n getOrThunk: constant_a,\n getOrDie: constant_a,\n getOrNull: constant_a,\n getOrUndefined: constant_a,\n or: self,\n orThunk: self,\n map: function (f) {\n return some(f(a));\n },\n each: function (f) {\n f(a);\n },\n bind: bind,\n exists: bind,\n forall: bind,\n filter: function (f) {\n return f(a) ? me : NONE;\n },\n toArray: function () {\n return [a];\n },\n toString: function () {\n return 'some(' + a + ')';\n }\n };\n return me;\n };\n var from = function (value) {\n return value === null || value === undefined ? NONE : some(value);\n };\n var Optional = {\n some: some,\n none: none,\n from: from\n };\n\n var nativeSlice = Array.prototype.slice;\n var nativeIndexOf = Array.prototype.indexOf;\n var rawIndexOf = function (ts, t) {\n return nativeIndexOf.call(ts, t);\n };\n var contains = function (xs, x) {\n return rawIndexOf(xs, x) > -1;\n };\n var map = function (xs, f) {\n var len = xs.length;\n var r = new Array(len);\n for (var i = 0; i < len; i++) {\n var x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n var each = function (xs, f) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n f(x, i);\n }\n };\n var eachr = function (xs, f) {\n for (var i = xs.length - 1; i >= 0; i--) {\n var x = xs[i];\n f(x, i);\n }\n };\n var filter = function (xs, pred) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n var foldr = function (xs, f, acc) {\n eachr(xs, function (x, i) {\n acc = f(acc, x, i);\n });\n return acc;\n };\n var foldl = function (xs, f, acc) {\n each(xs, function (x, i) {\n acc = f(acc, x, i);\n });\n return acc;\n };\n var findUntil = function (xs, pred, until) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n var find = function (xs, pred) {\n return findUntil(xs, pred, never);\n };\n var forall = function (xs, pred) {\n for (var i = 0, len = xs.length; i < len; ++i) {\n var x = xs[i];\n if (pred(x, i) !== true) {\n return false;\n }\n }\n return true;\n };\n var sort = function (xs, comparator) {\n var copy = nativeSlice.call(xs, 0);\n copy.sort(comparator);\n return copy;\n };\n var get$1 = function (xs, i) {\n return i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n };\n var head = function (xs) {\n return get$1(xs, 0);\n };\n\n var keys = Object.keys;\n var hasOwnProperty = Object.hasOwnProperty;\n var has = function (obj, key) {\n return hasOwnProperty.call(obj, key);\n };\n\n var generate$1 = function (cases) {\n if (!isArray(cases)) {\n throw new Error('cases must be an array');\n }\n if (cases.length === 0) {\n throw new Error('there must be at least one case');\n }\n var constructors = [];\n var adt = {};\n each(cases, function (acase, count) {\n var keys$1 = keys(acase);\n if (keys$1.length !== 1) {\n throw new Error('one and only one name per case');\n }\n var key = keys$1[0];\n var value = acase[key];\n if (adt[key] !== undefined) {\n throw new Error('duplicate key detected:' + key);\n } else if (key === 'cata') {\n throw new Error('cannot have a case named cata (sorry)');\n } else if (!isArray(value)) {\n throw new Error('case arguments must be an array');\n }\n constructors.push(key);\n adt[key] = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var argLength = args.length;\n if (argLength !== value.length) {\n throw new Error('Wrong number of arguments to case ' + key + '. Expected ' + value.length + ' (' + value + '), got ' + argLength);\n }\n var match = function (branches) {\n var branchKeys = keys(branches);\n if (constructors.length !== branchKeys.length) {\n throw new Error('Wrong number of arguments to match. Expected: ' + constructors.join(',') + '\\nActual: ' + branchKeys.join(','));\n }\n var allReqd = forall(constructors, function (reqKey) {\n return contains(branchKeys, reqKey);\n });\n if (!allReqd) {\n throw new Error('Not all branches were specified when using match. Specified: ' + branchKeys.join(', ') + '\\nRequired: ' + constructors.join(', '));\n }\n return branches[key].apply(null, args);\n };\n return {\n fold: function () {\n var foldArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n foldArgs[_i] = arguments[_i];\n }\n if (foldArgs.length !== cases.length) {\n throw new Error('Wrong number of arguments to fold. Expected ' + cases.length + ', got ' + foldArgs.length);\n }\n var target = foldArgs[count];\n return target.apply(null, args);\n },\n match: match,\n log: function (label) {\n console.log(label, {\n constructors: constructors,\n constructor: key,\n params: args\n });\n }\n };\n };\n });\n return adt;\n };\n var Adt = { generate: generate$1 };\n\n Adt.generate([\n {\n bothErrors: [\n 'error1',\n 'error2'\n ]\n },\n {\n firstError: [\n 'error1',\n 'value2'\n ]\n },\n {\n secondError: [\n 'value1',\n 'error2'\n ]\n },\n {\n bothValues: [\n 'value1',\n 'value2'\n ]\n }\n ]);\n var partition = function (results) {\n var errors = [];\n var values = [];\n each(results, function (result) {\n result.fold(function (err) {\n errors.push(err);\n }, function (value) {\n values.push(value);\n });\n });\n return {\n errors: errors,\n values: values\n };\n };\n\n var value = function (o) {\n var or = function (_opt) {\n return value(o);\n };\n var orThunk = function (_f) {\n return value(o);\n };\n var map = function (f) {\n return value(f(o));\n };\n var mapError = function (_f) {\n return value(o);\n };\n var each = function (f) {\n f(o);\n };\n var bind = function (f) {\n return f(o);\n };\n var fold = function (_, onValue) {\n return onValue(o);\n };\n var exists = function (f) {\n return f(o);\n };\n var forall = function (f) {\n return f(o);\n };\n var toOptional = function () {\n return Optional.some(o);\n };\n return {\n isValue: always,\n isError: never,\n getOr: constant(o),\n getOrThunk: constant(o),\n getOrDie: constant(o),\n or: or,\n orThunk: orThunk,\n fold: fold,\n map: map,\n mapError: mapError,\n each: each,\n bind: bind,\n exists: exists,\n forall: forall,\n toOptional: toOptional\n };\n };\n var error$1 = function (message) {\n var getOrThunk = function (f) {\n return f();\n };\n var getOrDie = function () {\n return die(String(message))();\n };\n var or = identity;\n var orThunk = function (f) {\n return f();\n };\n var map = function (_f) {\n return error$1(message);\n };\n var mapError = function (f) {\n return error$1(f(message));\n };\n var bind = function (_f) {\n return error$1(message);\n };\n var fold = function (onError, _) {\n return onError(message);\n };\n return {\n isValue: never,\n isError: always,\n getOr: identity,\n getOrThunk: getOrThunk,\n getOrDie: getOrDie,\n or: or,\n orThunk: orThunk,\n fold: fold,\n map: map,\n mapError: mapError,\n each: noop,\n bind: bind,\n exists: never,\n forall: always,\n toOptional: Optional.none\n };\n };\n var fromOption = function (opt, err) {\n return opt.fold(function () {\n return error$1(err);\n }, value);\n };\n var Result = {\n value: value,\n error: error$1,\n fromOption: fromOption\n };\n\n var isInlinePattern = function (pattern) {\n return pattern.type === 'inline-command' || pattern.type === 'inline-format';\n };\n var isBlockPattern = function (pattern) {\n return pattern.type === 'block-command' || pattern.type === 'block-format';\n };\n var sortPatterns = function (patterns) {\n return sort(patterns, function (a, b) {\n if (a.start.length === b.start.length) {\n return 0;\n }\n return a.start.length > b.start.length ? -1 : 1;\n });\n };\n var normalizePattern = function (pattern) {\n var err = function (message) {\n return Result.error({\n message: message,\n pattern: pattern\n });\n };\n var formatOrCmd = function (name, onFormat, onCommand) {\n if (pattern.format !== undefined) {\n var formats = void 0;\n if (isArray(pattern.format)) {\n if (!forall(pattern.format, isString)) {\n return err(name + ' pattern has non-string items in the `format` array');\n }\n formats = pattern.format;\n } else if (isString(pattern.format)) {\n formats = [pattern.format];\n } else {\n return err(name + ' pattern has non-string `format` parameter');\n }\n return Result.value(onFormat(formats));\n } else if (pattern.cmd !== undefined) {\n if (!isString(pattern.cmd)) {\n return err(name + ' pattern has non-string `cmd` parameter');\n }\n return Result.value(onCommand(pattern.cmd, pattern.value));\n } else {\n return err(name + ' pattern is missing both `format` and `cmd` parameters');\n }\n };\n if (!isObject(pattern)) {\n return err('Raw pattern is not an object');\n }\n if (!isString(pattern.start)) {\n return err('Raw pattern is missing `start` parameter');\n }\n if (pattern.end !== undefined) {\n if (!isString(pattern.end)) {\n return err('Inline pattern has non-string `end` parameter');\n }\n if (pattern.start.length === 0 && pattern.end.length === 0) {\n return err('Inline pattern has empty `start` and `end` parameters');\n }\n var start_1 = pattern.start;\n var end_1 = pattern.end;\n if (end_1.length === 0) {\n end_1 = start_1;\n start_1 = '';\n }\n return formatOrCmd('Inline', function (format) {\n return {\n type: 'inline-format',\n start: start_1,\n end: end_1,\n format: format\n };\n }, function (cmd, value) {\n return {\n type: 'inline-command',\n start: start_1,\n end: end_1,\n cmd: cmd,\n value: value\n };\n });\n } else if (pattern.replacement !== undefined) {\n if (!isString(pattern.replacement)) {\n return err('Replacement pattern has non-string `replacement` parameter');\n }\n if (pattern.start.length === 0) {\n return err('Replacement pattern has empty `start` parameter');\n }\n return Result.value({\n type: 'inline-command',\n start: '',\n end: pattern.start,\n cmd: 'mceInsertContent',\n value: pattern.replacement\n });\n } else {\n if (pattern.start.length === 0) {\n return err('Block pattern has empty `start` parameter');\n }\n return formatOrCmd('Block', function (formats) {\n return {\n type: 'block-format',\n start: pattern.start,\n format: formats[0]\n };\n }, function (command, commandValue) {\n return {\n type: 'block-command',\n start: pattern.start,\n cmd: command,\n value: commandValue\n };\n });\n }\n };\n var denormalizePattern = function (pattern) {\n if (pattern.type === 'block-command') {\n return {\n start: pattern.start,\n cmd: pattern.cmd,\n value: pattern.value\n };\n } else if (pattern.type === 'block-format') {\n return {\n start: pattern.start,\n format: pattern.format\n };\n } else if (pattern.type === 'inline-command') {\n if (pattern.cmd === 'mceInsertContent' && pattern.start === '') {\n return {\n start: pattern.end,\n replacement: pattern.value\n };\n } else {\n return {\n start: pattern.start,\n end: pattern.end,\n cmd: pattern.cmd,\n value: pattern.value\n };\n }\n } else if (pattern.type === 'inline-format') {\n return {\n start: pattern.start,\n end: pattern.end,\n format: pattern.format.length === 1 ? pattern.format[0] : pattern.format\n };\n }\n };\n var createPatternSet = function (patterns) {\n return {\n inlinePatterns: filter(patterns, isInlinePattern),\n blockPatterns: sortPatterns(filter(patterns, isBlockPattern))\n };\n };\n\n var get = function (patternsState) {\n var setPatterns = function (newPatterns) {\n var normalized = partition(map(newPatterns, normalizePattern));\n if (normalized.errors.length > 0) {\n var firstError = normalized.errors[0];\n throw new Error(firstError.message + ':\\n' + JSON.stringify(firstError.pattern, null, 2));\n }\n patternsState.set(createPatternSet(normalized.values));\n };\n var getPatterns = function () {\n return __spreadArray(__spreadArray([], map(patternsState.get().inlinePatterns, denormalizePattern), true), map(patternsState.get().blockPatterns, denormalizePattern), true);\n };\n return {\n setPatterns: setPatterns,\n getPatterns: getPatterns\n };\n };\n\n var Global = typeof window !== 'undefined' ? window : Function('return this;')();\n\n var error = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var console = Global.console;\n if (console) {\n if (console.error) {\n console.error.apply(console, args);\n } else {\n console.log.apply(console, args);\n }\n }\n };\n var defaultPatterns = [\n {\n start: '*',\n end: '*',\n format: 'italic'\n },\n {\n start: '**',\n end: '**',\n format: 'bold'\n },\n {\n start: '#',\n format: 'h1'\n },\n {\n start: '##',\n format: 'h2'\n },\n {\n start: '###',\n format: 'h3'\n },\n {\n start: '####',\n format: 'h4'\n },\n {\n start: '#####',\n format: 'h5'\n },\n {\n start: '######',\n format: 'h6'\n },\n {\n start: '1. ',\n cmd: 'InsertOrderedList'\n },\n {\n start: '* ',\n cmd: 'InsertUnorderedList'\n },\n {\n start: '- ',\n cmd: 'InsertUnorderedList'\n }\n ];\n var getPatternSet = function (editor) {\n var patterns = editor.getParam('textpattern_patterns', defaultPatterns, 'array');\n if (!isArray(patterns)) {\n error('The setting textpattern_patterns should be an array');\n return {\n inlinePatterns: [],\n blockPatterns: []\n };\n }\n var normalized = partition(map(patterns, normalizePattern));\n each(normalized.errors, function (err) {\n return error(err.message, err.pattern);\n });\n return createPatternSet(normalized.values);\n };\n var getForcedRootBlock = function (editor) {\n var block = editor.getParam('forced_root_block', 'p');\n if (block === false) {\n return '';\n } else if (block === true) {\n return 'p';\n } else {\n return block;\n }\n };\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.VK');\n\n var zeroWidth = '\\uFEFF';\n var nbsp = '\\xA0';\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global = tinymce.util.Tools.resolve('tinymce.dom.TextSeeker');\n\n var point = function (container, offset) {\n return {\n container: container,\n offset: offset\n };\n };\n\n var isText = function (node) {\n return node.nodeType === Node.TEXT_NODE;\n };\n var cleanEmptyNodes = function (dom, node, isRoot) {\n if (node && dom.isEmpty(node) && !isRoot(node)) {\n var parent_1 = node.parentNode;\n dom.remove(node);\n cleanEmptyNodes(dom, parent_1, isRoot);\n }\n };\n var deleteRng = function (dom, rng, isRoot, clean) {\n if (clean === void 0) {\n clean = true;\n }\n var startParent = rng.startContainer.parentNode;\n var endParent = rng.endContainer.parentNode;\n rng.deleteContents();\n if (clean && !isRoot(rng.startContainer)) {\n if (isText(rng.startContainer) && rng.startContainer.data.length === 0) {\n dom.remove(rng.startContainer);\n }\n if (isText(rng.endContainer) && rng.endContainer.data.length === 0) {\n dom.remove(rng.endContainer);\n }\n cleanEmptyNodes(dom, startParent, isRoot);\n if (startParent !== endParent) {\n cleanEmptyNodes(dom, endParent, isRoot);\n }\n }\n };\n var isBlockFormatName = function (name, formatter) {\n var formatSet = formatter.get(name);\n return isArray(formatSet) && head(formatSet).exists(function (format) {\n return has(format, 'block');\n });\n };\n var isReplacementPattern = function (pattern) {\n return pattern.start.length === 0;\n };\n var getParentBlock = function (editor, rng) {\n var parentBlockOpt = Optional.from(editor.dom.getParent(rng.startContainer, editor.dom.isBlock));\n if (getForcedRootBlock(editor) === '') {\n return parentBlockOpt.orThunk(function () {\n return Optional.some(editor.getBody());\n });\n } else {\n return parentBlockOpt;\n }\n };\n\n var DOM = global$1.DOM;\n var alwaysNext = function (startNode) {\n return function (node) {\n return startNode === node ? -1 : 0;\n };\n };\n var isBoundary = function (dom) {\n return function (node) {\n return dom.isBlock(node) || contains([\n 'BR',\n 'IMG',\n 'HR',\n 'INPUT'\n ], node.nodeName) || dom.getContentEditable(node) === 'false';\n };\n };\n var textBefore = function (node, offset, rootNode) {\n if (isText(node) && offset >= 0) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.backwards(node, offset, alwaysNext(node), rootNode)).map(function (prev) {\n return point(prev.container, prev.container.data.length);\n });\n }\n };\n var textAfter = function (node, offset, rootNode) {\n if (isText(node) && offset >= node.length) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.forwards(node, offset, alwaysNext(node), rootNode)).map(function (prev) {\n return point(prev.container, 0);\n });\n }\n };\n var scanLeft = function (node, offset, rootNode) {\n if (!isText(node)) {\n return Optional.none();\n }\n var text = node.textContent;\n if (offset >= 0 && offset <= text.length) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.backwards(node, offset, alwaysNext(node), rootNode)).bind(function (prev) {\n var prevText = prev.container.data;\n return scanLeft(prev.container, offset + prevText.length, rootNode);\n });\n }\n };\n var scanRight = function (node, offset, rootNode) {\n if (!isText(node)) {\n return Optional.none();\n }\n var text = node.textContent;\n if (offset <= text.length) {\n return Optional.some(point(node, offset));\n } else {\n var textSeeker = global(DOM);\n return Optional.from(textSeeker.forwards(node, offset, alwaysNext(node), rootNode)).bind(function (next) {\n return scanRight(next.container, offset - text.length, rootNode);\n });\n }\n };\n var repeatLeft = function (dom, node, offset, process, rootNode) {\n var search = global(dom, isBoundary(dom));\n return Optional.from(search.backwards(node, offset, process, rootNode));\n };\n\n var generatePath = function (root, node, offset) {\n if (isText(node) && (offset < 0 || offset > node.data.length)) {\n return [];\n }\n var p = [offset];\n var current = node;\n while (current !== root && current.parentNode) {\n var parent_1 = current.parentNode;\n for (var i = 0; i < parent_1.childNodes.length; i++) {\n if (parent_1.childNodes[i] === current) {\n p.push(i);\n break;\n }\n }\n current = parent_1;\n }\n return current === root ? p.reverse() : [];\n };\n var generatePathRange = function (root, startNode, startOffset, endNode, endOffset) {\n var start = generatePath(root, startNode, startOffset);\n var end = generatePath(root, endNode, endOffset);\n return {\n start: start,\n end: end\n };\n };\n var resolvePath = function (root, path) {\n var nodePath = path.slice();\n var offset = nodePath.pop();\n var resolvedNode = foldl(nodePath, function (optNode, index) {\n return optNode.bind(function (node) {\n return Optional.from(node.childNodes[index]);\n });\n }, Optional.some(root));\n return resolvedNode.bind(function (node) {\n if (isText(node) && (offset < 0 || offset > node.data.length)) {\n return Optional.none();\n } else {\n return Optional.some({\n node: node,\n offset: offset\n });\n }\n });\n };\n var resolvePathRange = function (root, range) {\n return resolvePath(root, range.start).bind(function (_a) {\n var startNode = _a.node, startOffset = _a.offset;\n return resolvePath(root, range.end).map(function (_a) {\n var endNode = _a.node, endOffset = _a.offset;\n var rng = document.createRange();\n rng.setStart(startNode, startOffset);\n rng.setEnd(endNode, endOffset);\n return rng;\n });\n });\n };\n var generatePathRangeFromRange = function (root, range) {\n return generatePathRange(root, range.startContainer, range.startOffset, range.endContainer, range.endOffset);\n };\n\n var stripPattern = function (dom, block, pattern) {\n var firstTextNode = textAfter(block, 0, block);\n firstTextNode.each(function (spot) {\n var node = spot.container;\n scanRight(node, pattern.start.length, block).each(function (end) {\n var rng = dom.createRng();\n rng.setStart(node, 0);\n rng.setEnd(end.container, end.offset);\n deleteRng(dom, rng, function (e) {\n return e === block;\n });\n });\n });\n };\n var applyPattern$1 = function (editor, match) {\n var dom = editor.dom;\n var pattern = match.pattern;\n var rng = resolvePathRange(dom.getRoot(), match.range).getOrDie('Unable to resolve path range');\n getParentBlock(editor, rng).each(function (block) {\n if (pattern.type === 'block-format') {\n if (isBlockFormatName(pattern.format, editor.formatter)) {\n editor.undoManager.transact(function () {\n stripPattern(editor.dom, block, pattern);\n editor.formatter.apply(pattern.format);\n });\n }\n } else if (pattern.type === 'block-command') {\n editor.undoManager.transact(function () {\n stripPattern(editor.dom, block, pattern);\n editor.execCommand(pattern.cmd, false, pattern.value);\n });\n }\n });\n return true;\n };\n var findPattern$1 = function (patterns, text) {\n var nuText = text.replace(nbsp, ' ');\n return find(patterns, function (pattern) {\n return text.indexOf(pattern.start) === 0 || nuText.indexOf(pattern.start) === 0;\n });\n };\n var findPatterns$1 = function (editor, patterns) {\n var dom = editor.dom;\n var rng = editor.selection.getRng();\n return getParentBlock(editor, rng).filter(function (block) {\n var forcedRootBlock = getForcedRootBlock(editor);\n var matchesForcedRootBlock = forcedRootBlock === '' && dom.is(block, 'body') || dom.is(block, forcedRootBlock);\n return block !== null && matchesForcedRootBlock;\n }).bind(function (block) {\n var blockText = block.textContent;\n var matchedPattern = findPattern$1(patterns, blockText);\n return matchedPattern.map(function (pattern) {\n if (global$2.trim(blockText).length === pattern.start.length) {\n return [];\n }\n return [{\n pattern: pattern,\n range: generatePathRange(dom.getRoot(), block, 0, block, 0)\n }];\n });\n }).getOr([]);\n };\n var applyMatches$1 = function (editor, matches) {\n if (matches.length === 0) {\n return;\n }\n var bookmark = editor.selection.getBookmark();\n each(matches, function (match) {\n return applyPattern$1(editor, match);\n });\n editor.selection.moveToBookmark(bookmark);\n };\n\n var unique = 0;\n var generate = function (prefix) {\n var date = new Date();\n var time = date.getTime();\n var random = Math.floor(Math.random() * 1000000000);\n unique++;\n return prefix + '_' + random + unique + String(time);\n };\n\n var checkRange = function (str, substr, start) {\n return substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;\n };\n var endsWith = function (str, suffix) {\n return checkRange(str, suffix, str.length - suffix.length);\n };\n\n var newMarker = function (dom, id) {\n return dom.create('span', {\n 'data-mce-type': 'bookmark',\n id: id\n });\n };\n var rangeFromMarker = function (dom, marker) {\n var rng = dom.createRng();\n rng.setStartAfter(marker.start);\n rng.setEndBefore(marker.end);\n return rng;\n };\n var createMarker = function (dom, markerPrefix, pathRange) {\n var rng = resolvePathRange(dom.getRoot(), pathRange).getOrDie('Unable to resolve path range');\n var startNode = rng.startContainer;\n var endNode = rng.endContainer;\n var textEnd = rng.endOffset === 0 ? endNode : endNode.splitText(rng.endOffset);\n var textStart = rng.startOffset === 0 ? startNode : startNode.splitText(rng.startOffset);\n return {\n prefix: markerPrefix,\n end: textEnd.parentNode.insertBefore(newMarker(dom, markerPrefix + '-end'), textEnd),\n start: textStart.parentNode.insertBefore(newMarker(dom, markerPrefix + '-start'), textStart)\n };\n };\n var removeMarker = function (dom, marker, isRoot) {\n cleanEmptyNodes(dom, dom.get(marker.prefix + '-end'), isRoot);\n cleanEmptyNodes(dom, dom.get(marker.prefix + '-start'), isRoot);\n };\n\n var matchesPattern = function (dom, block, patternContent) {\n return function (element, offset) {\n var text = element.data;\n var searchText = text.substring(0, offset);\n var startEndIndex = searchText.lastIndexOf(patternContent.charAt(patternContent.length - 1));\n var startIndex = searchText.lastIndexOf(patternContent);\n if (startIndex !== -1) {\n return startIndex + patternContent.length;\n } else if (startEndIndex !== -1) {\n return startEndIndex + 1;\n } else {\n return -1;\n }\n };\n };\n var findPatternStartFromSpot = function (dom, pattern, block, spot) {\n var startPattern = pattern.start;\n var startSpot = repeatLeft(dom, spot.container, spot.offset, matchesPattern(dom, block, startPattern), block);\n return startSpot.bind(function (spot) {\n if (spot.offset >= startPattern.length) {\n var rng = dom.createRng();\n rng.setStart(spot.container, spot.offset - startPattern.length);\n rng.setEnd(spot.container, spot.offset);\n return Optional.some(rng);\n } else {\n var offset = spot.offset - startPattern.length;\n return scanLeft(spot.container, offset, block).map(function (nextSpot) {\n var rng = dom.createRng();\n rng.setStart(nextSpot.container, nextSpot.offset);\n rng.setEnd(spot.container, spot.offset);\n return rng;\n }).filter(function (rng) {\n return rng.toString() === startPattern;\n }).orThunk(function () {\n return findPatternStartFromSpot(dom, pattern, block, point(spot.container, 0));\n });\n }\n });\n };\n var findPatternStart = function (dom, pattern, node, offset, block, requireGap) {\n if (requireGap === void 0) {\n requireGap = false;\n }\n if (pattern.start.length === 0 && !requireGap) {\n var rng = dom.createRng();\n rng.setStart(node, offset);\n rng.setEnd(node, offset);\n return Optional.some(rng);\n }\n return textBefore(node, offset, block).bind(function (spot) {\n var start = findPatternStartFromSpot(dom, pattern, block, spot);\n return start.bind(function (startRange) {\n if (requireGap) {\n if (startRange.endContainer === spot.container && startRange.endOffset === spot.offset) {\n return Optional.none();\n } else if (spot.offset === 0 && startRange.endContainer.textContent.length === startRange.endOffset) {\n return Optional.none();\n }\n }\n return Optional.some(startRange);\n });\n });\n };\n var findPattern = function (editor, block, details) {\n var dom = editor.dom;\n var root = dom.getRoot();\n var pattern = details.pattern;\n var endNode = details.position.container;\n var endOffset = details.position.offset;\n return scanLeft(endNode, endOffset - details.pattern.end.length, block).bind(function (spot) {\n var endPathRng = generatePathRange(root, spot.container, spot.offset, endNode, endOffset);\n if (isReplacementPattern(pattern)) {\n return Optional.some({\n matches: [{\n pattern: pattern,\n startRng: endPathRng,\n endRng: endPathRng\n }],\n position: spot\n });\n } else {\n var resultsOpt = findPatternsRec(editor, details.remainingPatterns, spot.container, spot.offset, block);\n var results_1 = resultsOpt.getOr({\n matches: [],\n position: spot\n });\n var pos = results_1.position;\n var start = findPatternStart(dom, pattern, pos.container, pos.offset, block, resultsOpt.isNone());\n return start.map(function (startRng) {\n var startPathRng = generatePathRangeFromRange(root, startRng);\n return {\n matches: results_1.matches.concat([{\n pattern: pattern,\n startRng: startPathRng,\n endRng: endPathRng\n }]),\n position: point(startRng.startContainer, startRng.startOffset)\n };\n });\n }\n });\n };\n var findPatternsRec = function (editor, patterns, node, offset, block) {\n var dom = editor.dom;\n return textBefore(node, offset, dom.getRoot()).bind(function (endSpot) {\n var rng = dom.createRng();\n rng.setStart(block, 0);\n rng.setEnd(node, offset);\n var text = rng.toString();\n for (var i = 0; i < patterns.length; i++) {\n var pattern = patterns[i];\n if (!endsWith(text, pattern.end)) {\n continue;\n }\n var patternsWithoutCurrent = patterns.slice();\n patternsWithoutCurrent.splice(i, 1);\n var result = findPattern(editor, block, {\n pattern: pattern,\n remainingPatterns: patternsWithoutCurrent,\n position: endSpot\n });\n if (result.isSome()) {\n return result;\n }\n }\n return Optional.none();\n });\n };\n var applyPattern = function (editor, pattern, patternRange) {\n editor.selection.setRng(patternRange);\n if (pattern.type === 'inline-format') {\n each(pattern.format, function (format) {\n editor.formatter.apply(format);\n });\n } else {\n editor.execCommand(pattern.cmd, false, pattern.value);\n }\n };\n var applyReplacementPattern = function (editor, pattern, marker, isRoot) {\n var markerRange = rangeFromMarker(editor.dom, marker);\n deleteRng(editor.dom, markerRange, isRoot);\n applyPattern(editor, pattern, markerRange);\n };\n var applyPatternWithContent = function (editor, pattern, startMarker, endMarker, isRoot) {\n var dom = editor.dom;\n var markerEndRange = rangeFromMarker(dom, endMarker);\n var markerStartRange = rangeFromMarker(dom, startMarker);\n deleteRng(dom, markerStartRange, isRoot);\n deleteRng(dom, markerEndRange, isRoot);\n var patternMarker = {\n prefix: startMarker.prefix,\n start: startMarker.end,\n end: endMarker.start\n };\n var patternRange = rangeFromMarker(dom, patternMarker);\n applyPattern(editor, pattern, patternRange);\n };\n var addMarkers = function (dom, matches) {\n var markerPrefix = generate('mce_textpattern');\n var matchesWithEnds = foldr(matches, function (acc, match) {\n var endMarker = createMarker(dom, markerPrefix + ('_end' + acc.length), match.endRng);\n return acc.concat([__assign(__assign({}, match), { endMarker: endMarker })]);\n }, []);\n return foldr(matchesWithEnds, function (acc, match) {\n var idx = matchesWithEnds.length - acc.length - 1;\n var startMarker = isReplacementPattern(match.pattern) ? match.endMarker : createMarker(dom, markerPrefix + ('_start' + idx), match.startRng);\n return acc.concat([__assign(__assign({}, match), { startMarker: startMarker })]);\n }, []);\n };\n var findPatterns = function (editor, patterns, space) {\n var rng = editor.selection.getRng();\n if (rng.collapsed === false) {\n return [];\n }\n return getParentBlock(editor, rng).bind(function (block) {\n var offset = rng.startOffset - (space ? 1 : 0);\n return findPatternsRec(editor, patterns, rng.startContainer, offset, block);\n }).fold(function () {\n return [];\n }, function (result) {\n return result.matches;\n });\n };\n var applyMatches = function (editor, matches) {\n if (matches.length === 0) {\n return;\n }\n var dom = editor.dom;\n var bookmark = editor.selection.getBookmark();\n var matchesWithMarkers = addMarkers(dom, matches);\n each(matchesWithMarkers, function (match) {\n var block = dom.getParent(match.startMarker.start, dom.isBlock);\n var isRoot = function (node) {\n return node === block;\n };\n if (isReplacementPattern(match.pattern)) {\n applyReplacementPattern(editor, match.pattern, match.endMarker, isRoot);\n } else {\n applyPatternWithContent(editor, match.pattern, match.startMarker, match.endMarker, isRoot);\n }\n removeMarker(dom, match.endMarker, isRoot);\n removeMarker(dom, match.startMarker, isRoot);\n });\n editor.selection.moveToBookmark(bookmark);\n };\n\n var handleEnter = function (editor, patternSet) {\n if (!editor.selection.isCollapsed()) {\n return false;\n }\n var inlineMatches = findPatterns(editor, patternSet.inlinePatterns, false);\n var blockMatches = findPatterns$1(editor, patternSet.blockPatterns);\n if (blockMatches.length > 0 || inlineMatches.length > 0) {\n editor.undoManager.add();\n editor.undoManager.extra(function () {\n editor.execCommand('mceInsertNewLine');\n }, function () {\n editor.insertContent(zeroWidth);\n applyMatches(editor, inlineMatches);\n applyMatches$1(editor, blockMatches);\n var range = editor.selection.getRng();\n var spot = textBefore(range.startContainer, range.startOffset, editor.dom.getRoot());\n editor.execCommand('mceInsertNewLine');\n spot.each(function (s) {\n var node = s.container;\n if (node.data.charAt(s.offset - 1) === zeroWidth) {\n node.deleteData(s.offset - 1, 1);\n cleanEmptyNodes(editor.dom, node.parentNode, function (e) {\n return e === editor.dom.getRoot();\n });\n }\n });\n });\n return true;\n }\n return false;\n };\n var handleInlineKey = function (editor, patternSet) {\n var inlineMatches = findPatterns(editor, patternSet.inlinePatterns, true);\n if (inlineMatches.length > 0) {\n editor.undoManager.transact(function () {\n applyMatches(editor, inlineMatches);\n });\n }\n };\n var checkKeyEvent = function (codes, event, predicate) {\n for (var i = 0; i < codes.length; i++) {\n if (predicate(codes[i], event)) {\n return true;\n }\n }\n return false;\n };\n var checkKeyCode = function (codes, event) {\n return checkKeyEvent(codes, event, function (code, event) {\n return code === event.keyCode && global$3.modifierPressed(event) === false;\n });\n };\n var checkCharCode = function (chars, event) {\n return checkKeyEvent(chars, event, function (chr, event) {\n return chr.charCodeAt(0) === event.charCode;\n });\n };\n\n var setup = function (editor, patternsState) {\n var charCodes = [\n ',',\n '.',\n ';',\n ':',\n '!',\n '?'\n ];\n var keyCodes = [32];\n editor.on('keydown', function (e) {\n if (e.keyCode === 13 && !global$3.modifierPressed(e)) {\n if (handleEnter(editor, patternsState.get())) {\n e.preventDefault();\n }\n }\n }, true);\n editor.on('keyup', function (e) {\n if (checkKeyCode(keyCodes, e)) {\n handleInlineKey(editor, patternsState.get());\n }\n });\n editor.on('keypress', function (e) {\n if (checkCharCode(charCodes, e)) {\n global$4.setEditorTimeout(editor, function () {\n handleInlineKey(editor, patternsState.get());\n });\n }\n });\n };\n\n function Plugin () {\n global$5.add('textpattern', function (editor) {\n var patternsState = Cell(getPatternSet(editor));\n setup(editor, patternsState);\n return get(patternsState);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global$5","tinymce","util","Tools","resolve","__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__spreadArray","to","from","pack","ar","l","Array","slice","concat","id","isType","type","value","x","isPrototypeOf","constructor","name","String","isString","isObject","isArray","noop","constant","identity","never","always","none","NONE","fold","_s","isSome","isNone","getOr","getOrThunk","thunk","getOrDie","msg","Error","getOrNull","getOrUndefined","undefined","or","orThunk","map","each","bind","exists","forall","filter","toArray","toString","some","a","constant_a","self","me","f","Optional","nativeSlice","nativeIndexOf","indexOf","contains","xs","ts","len","r","pred","push","foldr","acc","eachr","find","until","findUntil","head","get$1","keys","Adt","cases","constructors","adt","acase","count","keys$1","key","args","_i","argLength","foldArgs","match","branches","branchKeys","join","reqKey","log","label","console","params","bothErrors","firstError","secondError","bothValues","partition","results","errors","values","result","err","o","isValue","isError","_opt","_f","_","onValue","mapError","toOptional","error$1","message","onError","Result","error","fromOption","opt","isInlinePattern","pattern","isBlockPattern","sortPatterns","patterns","comparator","b","start","copy","sort","normalizePattern","formatOrCmd","onFormat","onCommand","format","formats","cmd","end","start_1","end_1","replacement","command","commandValue","denormalizePattern","createPatternSet","inlinePatterns","blockPatterns","Global","window","Function","defaultPatterns","getForcedRootBlock","editor","block","getParam","global$4","global$3","global$2","global$1","global","point","container","offset","isText","node","nodeType","Node","TEXT_NODE","cleanEmptyNodes","dom","isRoot","isEmpty","parent_1","parentNode","remove","deleteRng","rng","clean","startParent","startContainer","endParent","endContainer","deleteContents","data","isBlockFormatName","formatter","formatSet","get","obj","isReplacementPattern","getParentBlock","parentBlockOpt","getParent","isBlock","getBody","DOM","alwaysNext","startNode","textBefore","rootNode","textSeeker","backwards","prev","scanLeft","text","textContent","prevText","scanRight","forwards","next","repeatLeft","process","search","nodeName","getContentEditable","isBoundary","generatePath","root","current","childNodes","reverse","generatePathRange","startOffset","endNode","endOffset","resolvePath","path","nodePath","pop","optNode","index","resolvePathRange","range","_a","document","createRange","setStart","setEnd","stripPattern","textAfter","spot","createRng","e","findPatterns$1","selection","getRng","forcedRootBlock","matchesForcedRootBlock","is","blockText","matchedPattern","nuText","replace","findPattern$1","trim","getRoot","applyMatches$1","matches","bookmark","getBookmark","undoManager","transact","execCommand","applyPattern$1","moveToBookmark","unique","newMarker","create","rangeFromMarker","marker","setStartAfter","setEndBefore","createMarker","markerPrefix","pathRange","textEnd","splitText","textStart","prefix","insertBefore","removeMarker","findPatternStartFromSpot","patternContent","startPattern","element","searchText","substring","startEndIndex","lastIndexOf","charAt","startIndex","nextSpot","findPattern","details","position","endPathRng","startRng","endRng","resultsOpt","findPatternsRec","remainingPatterns","results_1","pos","requireGap","startRange","findPatternStart","startPathRng","generatePathRangeFromRange","endSpot","str","suffix","substr","checkRange","patternsWithoutCurrent","splice","applyPattern","patternRange","setRng","addMarkers","time","Date","getTime","Math","floor","random","matchesWithEnds","endMarker","idx","startMarker","findPatterns","space","collapsed","applyMatches","matchesWithMarkers","markerRange","applyReplacementPattern","markerEndRange","markerStartRange","patternMarker","applyPatternWithContent","handleInlineKey","patternSet","inlineMatches","checkKeyEvent","codes","event","predicate","setup","patternsState","charCodes","keyCodes","on","keyCode","modifierPressed","isCollapsed","blockMatches","add","extra","insertContent","deleteData","handleEnter","preventDefault","code","chr","charCodeAt","charCode","setEditorTimeout","initial","set","v","Cell","normalized","getPatternSet","setPatterns","newPatterns","JSON","stringify","getPatterns"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/53302.3b6ce6a303cdf2437fd7.min.js b/src/plone/staticresources/static/bundle-plone/chunks/53302.3b6ce6a303cdf2437fd7.min.js
new file mode 100644
index 000000000..1dddf37da
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/53302.3b6ce6a303cdf2437fd7.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[53302],{53302:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>{var i;return!!a(e,t.prototype)||(null===(i=e.constructor)||void 0===i?void 0:i.name)===t.name},i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,o=e=>t=>typeof t===e,r=i("string"),s=i("object"),n=e=>((e,i)=>s(e)&&a(e,i,((e,a)=>t(e)===a)))(e,Object),l=i("array"),c=(m=null,e=>m===e);var m;const d=o("boolean"),g=e=>!(e=>null==e)(e),u=o("function"),p=o("number"),h=()=>{};class b{constructor(e,t){this.tag=e,this.value=t}static some(e){return new b(!0,e)}static none(){return b.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?b.some(e(this.value)):b.none()}bind(e){return this.tag?e(this.value):b.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:b.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return g(e)?b.some(e):b.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}b.singletonNone=new b(!1);const v=Object.keys,y=Object.hasOwnProperty,f=(e,t,a,i)=>{((e,t)=>{const a=v(e);for(let i=0,o=a.length;i{(t(e,o)?a:i)(e,o)}))},w=(e,t)=>y.call(e,t),A=Array.prototype.push,D=e=>{const t=[];for(let a=0,i=e.length;a((e,t)=>t>=0&&t{((e,t,a)=>{if(!(r(a)||d(a)||p(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)},I=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},U={fromHtml:(e,t)=>{const a=(t||document).createElement("div");if(a.innerHTML=e,!a.hasChildNodes()||a.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return I(a.childNodes[0])},fromTag:(e,t)=>{const a=(t||document).createElement(e);return I(a)},fromText:(e,t)=>{const a=(t||document).createTextNode(e);return I(a)},fromDom:I,fromPoint:(e,t,a)=>b.from(e.dom.elementFromPoint(t,a)).map(I)};var x=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),S=tinymce.util.Tools.resolve("tinymce.util.URI");const N=e=>e.length>0,T=e=>t=>t.options.get(e),E=e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;aMath.max(parseInt(e,10),parseInt(t,10)),W=e=>(e&&(e=e.replace(/px$/,"")),e),$=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),V=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),K=(e,t)=>{const a=e.options.get;return S.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},Z=x.DOM,q=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?W(e.style.marginLeft):"",J=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?W(e.style.marginTop):"",Q=e=>e.style.borderWidth?W(e.style.borderWidth):"",X=(e,t)=>{var a;return e.hasAttribute(t)&&null!==(a=e.getAttribute(t))&&void 0!==a?a:""},Y=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,ee=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},te=e=>{Y(e)?(e=>{const t=e.parentNode;g(t)&&(Z.insertAfter(e,t),Z.remove(t))})(e):(e=>{const t=Z.create("figure",{class:"image"});Z.insertAfter(t,e),t.appendChild(e),t.appendChild(Z.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)},ae=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},ie=(e,t)=>(e,a,i)=>{const o=e.style;o[a]?(o[a]=$(i),ae(e,t)):ee(e,a,i)},oe=(e,t)=>e.style[t]?W(e.style[t]):X(e,t),re=(e,t)=>{const a=$(t);e.style.marginLeft=a,e.style.marginRight=a},se=(e,t)=>{const a=$(t);e.style.marginTop=a,e.style.marginBottom=a},ne=(e,t)=>{const a=$(t);e.style.borderWidth=a},le=(e,t)=>{e.style.borderStyle=t},ce=e=>{var t;return null!==(t=e.style.borderStyle)&&void 0!==t?t:""},me=e=>g(e)&&"FIGURE"===e.nodeName,de=e=>0===Z.getAttrib(e,"alt").length&&"presentation"===Z.getAttrib(e,"role"),ge=e=>de(e)?"":X(e,"alt"),ue=(e,t)=>{var a;const i=document.createElement("img");return ee(i,"style",t.style),(q(i)||""!==t.hspace)&&re(i,t.hspace),(J(i)||""!==t.vspace)&&se(i,t.vspace),(Q(i)||""!==t.border)&&ne(i,t.border),(ce(i)||""!==t.borderStyle)&&le(i,t.borderStyle),e(null!==(a=i.getAttribute("style"))&&void 0!==a?a:"")},pe=(e,t)=>({src:X(t,"src"),alt:ge(t),title:X(t,"title"),width:oe(t,"width"),height:oe(t,"height"),class:X(t,"class"),style:e(X(t,"style")),caption:Y(t),hspace:q(t),vspace:J(t),border:Q(t),borderStyle:ce(t),isDecorative:de(t)}),he=(e,t,a,i,o)=>{a[i]!==t[i]&&o(e,i,String(a[i]))},be=(e,t,a)=>{if(a){Z.setAttrib(e,"role","presentation");const t=U.fromDom(e);C(t,"alt","")}else{if(c(t)){const t=U.fromDom(e);i="alt",t.dom.removeAttribute(i)}else{const a=U.fromDom(e);C(a,"alt",t)}"presentation"===Z.getAttrib(e,"role")&&Z.setAttrib(e,"role","")}var i},ve=(e,t)=>(a,i,o)=>{e(a,o),ae(a,t)},ye=(e,t,a)=>{const i=pe(e,a);he(a,i,t,"caption",((e,t,a)=>te(e))),he(a,i,t,"src",ee),he(a,i,t,"title",ee),he(a,i,t,"width",ie(0,e)),he(a,i,t,"height",ie(0,e)),he(a,i,t,"class",ee),he(a,i,t,"style",ve(((e,t)=>ee(e,"style",t)),e)),he(a,i,t,"hspace",ve(re,e)),he(a,i,t,"vspace",ve(se,e)),he(a,i,t,"border",ve(ne,e)),he(a,i,t,"borderStyle",ve(le,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||be(e,a.alt,a.isDecorative)})(a,i,t)},fe=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},we=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||V(t))?null:t},Ae=(e,t)=>{var a;const i=e.dom,o=((e,t)=>{const a={};var i;return f(e,t,(i=a,(e,t)=>{i[t]=e}),h),a})(e.schema.getTextBlockElements(),((t,a)=>!e.schema.isValidChild(a,"figure"))),r=i.getParent(t.parentNode,(e=>{return t=o,a=e.nodeName,w(t,a)&&void 0!==t[a]&&null!==t[a];var t,a}),e.getBody());return r&&null!==(a=i.split(r,t))&&void 0!==a?a:t},De=(e,t)=>{const a=((e,t)=>{const a=document.createElement("img");if(ye(e,{...t,caption:!1},a),be(a,t.alt,t.isDecorative),t.caption){const e=Z.create("figure",{class:"image"});return e.appendChild(a),e.appendChild(Z.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return a})((t=>fe(e,t)),t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),me(i)){const t=Ae(e,i);e.selection.select(t)}else e.selection.select(i)},_e=(e,t)=>{const a=we(e);if(a)if(ye((t=>fe(e,t)),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),me(a.parentNode)){const t=a.parentNode;Ae(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!L(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)},Ce=(e,t)=>{const a=we(e);if(a){const i={...pe((t=>fe(e,t)),a),...t},o=((e,t)=>{const a=t.src;return{...t,src:K(e,a)?a:""}})(e,i);i.src?_e(e,o):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&De(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})},Ie=(Ue=(e,t)=>n(e)&&n(t)?Ie(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;ar(e.value)?e.value:"",Te=(e,t)=>{const a=[];return Se.each(e,(e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=Te(e.menu,t);a.push({text:i,items:o})}else{const o=t(e);a.push({text:i,value:o})}})),a},Ee=(e=Ne)=>t=>t?b.from(t).map((t=>Te(t,e))):b.none(),Le=(e,t)=>((e,t)=>{for(let a=0;a(e=>w(e,"items"))(e)?Le(e.items,t):e.value===t?b.some(e):b.none())),Oe=Ee,ke=e=>Ee(Ne)(e),Me=(e,t)=>e.bind((e=>Le(e,t))),je=e=>({title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}),Pe=e=>{const t=Oe((t=>e.convertURL(t.value||t.url||"","src"))),a=new Promise((a=>{((e,t)=>{const a=B(e);r(a)?fetch(a).then((e=>{e.ok&&e.json().then(t)})):u(a)?a(t):t(a)})(e,(e=>{a(t(e).map((e=>D([[{text:"None",value:""}],e]))))}))})),i=ke(j(e)),o=O(e),s=k(e),n=(e=>N(e.options.get("images_upload_url")))(e),l=(e=>g(e.options.get("images_upload_handler")))(e),c=(e=>{const t=we(e);return t?pe((t=>fe(e,t)),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),m=P(e),d=R(e),p=L(e),h=z(e),v=H(e),y=F(e),f=b.some(M(e)).filter((e=>r(e)&&e.length>0));return a.then((e=>({image:c,imageList:e,classList:i,hasAdvTab:o,hasUploadTab:s,hasUploadUrl:n,hasUploadHandler:l,hasDescription:m,hasImageTitle:d,hasDimensions:p,hasImageCaption:h,prependURL:f,hasAccessibilityOptions:v,automaticUploads:y})))},Re=e=>{const t=e.imageList.map((e=>({name:"images",type:"listbox",label:"Image list",items:e}))),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map((e=>({name:"classes",type:"listbox",label:"Class",items:e})));return D([[{name:"src",type:"urlinput",filetype:"image",label:"Source"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(o=e.classList.isSome()&&e.hasImageCaption,o?{type:"grid",columns:2}:{type:"panel"}),items:D([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var o},ze=e=>({title:"General",name:"general",items:Re(e)}),Be=Re,He=e=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}),Fe=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),Ge=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),We=(e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?b.none():e.prependURL.bind((e=>t.substring(0,e.length)!==e?b.some(e+t):b.none())))(e,a.src.value).each((e=>{t.setData({src:{value:e,meta:a.src.meta}})}))},$e=(e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const o=Ie({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Me(e.classList,a.class).each((e=>{t.classes=e.value})),e.hasImageCaption&&d(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,o,i),t.setData(o)}},Ve=(e,t,a,i)=>{We(t,i),$e(t,i),((e,t,a,i)=>{const o=i.getData(),r=o.src.value,s=o.src.meta||{};s.width||s.height||!t.hasDimensions||(N(r)?e.imageSize(r).then((e=>{a.open&&i.setData({dimensions:e})})).catch((e=>console.error(e))):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),o=Me(e.imageList,i.src.value);t.prevImage=o,a.setData({images:o.map((e=>e.value)).getOr("")})})(t,a,i)},Ke=(e,t,a,i)=>{const o=i.getData();i.block("Uploading image"),_(o.fileinput).fold((()=>{i.unblock()}),(o=>{const r=URL.createObjectURL(o),s=()=>{i.unblock(),URL.revokeObjectURL(r)},n=o=>{i.setData({src:{value:o,meta:{}}}),i.showTab("general"),Ve(e,t,a,i)};var l;(l=o,new Promise(((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{var e;t(null===(e=a.error)||void 0===e?void 0:e.message)},a.readAsDataURL(l)}))).then((a=>{const l=e.createBlobCache(o,r,a);t.automaticUploads?e.uploadImage(l).then((e=>{n(e.url),s()})).catch((t=>{s(),e.alertErr(t)})):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())}))}))},Ze=(e,t,a)=>(i,o)=>{"src"===o.name?Ve(e,t,a,i):"images"===o.name?((e,t,a,i)=>{const o=i.getData(),r=Me(t.imageList,o.images);r.each((e=>{const t=""===o.alt||a.prevImage.map((e=>e.text===o.alt)).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})})),a.prevImage=r,Ve(e,t,a,i)})(e,t,a,i):"alt"===o.name?a.prevAlt=i.getData().alt:"fileinput"===o.name?Ke(e,t,a,i):"isDecorative"===o.name&&i.setEnabled("alt",!i.getData().isDecorative)},qe=e=>()=>{e.open=!1},Je=e=>{if(e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler){return{type:"tabpanel",tabs:D([[ze(e)],e.hasAdvTab?[je(e)]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[He(e)]:[]])}}return{type:"panel",items:Be(e)}},Qe=(e,t,a)=>i=>{const o=Ie(Fe(t.image),i.getData()),r={...o,style:ue(a.normalizeCss,Ge(o,!1))};e.execCommand("mceUpdateImage",!1,Ge(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Xe=e=>t=>K(e,t)?(e=>new Promise((t=>{const a=document.createElement("img"),i=e=>{a.onload=a.onerror=null,a.parentNode&&a.parentNode.removeChild(a),t(e)};a.onload=()=>{const e={width:G(a.width,a.clientWidth),height:G(a.height,a.clientHeight)};i(Promise.resolve(e))},a.onerror=()=>{i(Promise.reject(`Failed to get image dimensions for: ${e}`))};const o=a.style;o.visibility="hidden",o.position="fixed",o.bottom=o.left="0px",o.width=o.height="auto",document.body.appendChild(a),a.src=e})))(e.documentBaseURI.toAbsolute(t)).then((e=>({width:String(e.width),height:String(e.height)}))):Promise.resolve({width:"",height:""}),Ye=e=>(t,a,i)=>{var o;return e.editorUpload.blobCache.create({blob:t,blobUri:a,name:null===(o=t.name)||void 0===o?void 0:o.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]})},et=e=>t=>{e.editorUpload.blobCache.add(t)},tt=e=>t=>{e.windowManager.alert(t)},at=e=>t=>fe(e,t),it=e=>t=>e.dom.parseStyle(t),ot=e=>(t,a)=>e.dom.serializeStyle(t,a),rt=e=>t=>xe(e).upload([t],!1).then((e=>{var t;return 0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(null===(t=e[0].error)||void 0===t?void 0:t.message):e[0]})),st=e=>{const t={imageSize:Xe(e),addToBlobCache:et(e),createBlobCache:Ye(e),alertErr:tt(e),normalizeCss:at(e),parseStyle:it(e),serializeStyle:ot(e),uploadImage:rt(e)};return{open:()=>{Pe(e).then((a=>{const i=(e=>({prevImage:Me(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:Je(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Fe(a.image),onSubmit:Qe(e,a,t),onChange:Ze(t,a,i),onClose:qe(i)}})).then(e.windowManager.open)}}},nt=e=>{const t=e.attr("class");return g(t)&&/\bimage\b/.test(t)},lt=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const o=t[a];nt(o)&&(o.attr("contenteditable",e?"false":null),Se.each(o.getAll("figcaption"),i))}},ct=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("image",(e=>{E(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("figure",lt(!0)),e.serializer.addNodeFilter("figure",lt(!1))}))})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:st(e).open,onSetup:t=>{t.setActive(g(we(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=ct(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:st(e).open,onSetup:ct(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(me(t)||"IMG"===t.nodeName&&!V(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",st(e).open),e.addCommand("mceUpdateImage",((t,a)=>{e.undoManager.transact((()=>Ce(e,a)))}))})(e)}))}()}}]);
+//# sourceMappingURL=53302.3b6ce6a303cdf2437fd7.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/53302.3b6ce6a303cdf2437fd7.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/53302.3b6ce6a303cdf2437fd7.min.js.map
new file mode 100644
index 000000000..5040503b1
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/53302.3b6ce6a303cdf2437fd7.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/53302.3b6ce6a303cdf2437fd7.min.js","mappings":"qHAIA,WACI,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAAMC,EAAiBC,OAAOD,eACxBE,EAAW,CAACC,EAAGC,EAAaC,KAChC,IAAIC,EACJ,QAAID,EAAUF,EAAGC,EAAYG,aAGM,QAAxBD,EAAKH,EAAEC,mBAAgC,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AC,SAAW,IAAK,EAO1LmC,CAASJ,GArEMA,KACjBA,EAAOwW,WAAW,WAAYvC,GAAOjU,GAAQ8P,MAC7C9P,EAAOwW,WAAW,kBAAkB,CAACC,EAAKnR,KACxCtF,EAAO0W,YAAYC,UAAS,IAAMpN,GAAoBvJ,EAAQsF,IAAM,GACpE,EAkEAsR,CAAW5W,EAAO,GAMzB,CA39CD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/image/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const getPrototypeOf = Object.getPrototypeOf;\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const eq = t => a => t === a;\n const is = (value, constructor) => isObject(value) && hasProto(value, constructor, (o, proto) => getPrototypeOf(o) === proto);\n const isString = isType('string');\n const isObject = isType('object');\n const isPlainObject = value => is(value, Object);\n const isArray = isType('array');\n const isNull = eq(null);\n const isBoolean = isSimpleType('boolean');\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n const isFunction = isSimpleType('function');\n const isNumber = isSimpleType('number');\n const isArrayOf = (value, pred) => {\n if (isArray(value)) {\n for (let i = 0, len = value.length; i < len; ++i) {\n if (!pred(value[i])) {\n return false;\n }\n }\n return true;\n }\n return false;\n };\n\n const noop = () => {\n };\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const keys = Object.keys;\n const hasOwnProperty = Object.hasOwnProperty;\n const each = (obj, f) => {\n const props = keys(obj);\n for (let k = 0, len = props.length; k < len; k++) {\n const i = props[k];\n const x = obj[i];\n f(x, i);\n }\n };\n const objAcc = r => (x, i) => {\n r[i] = x;\n };\n const internalFilter = (obj, pred, onTrue, onFalse) => {\n each(obj, (x, i) => {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n };\n const filter = (obj, pred) => {\n const t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n const has = (obj, key) => hasOwnProperty.call(obj, key);\n const hasNonNullableKey = (obj, key) => has(obj, key) && obj[key] !== undefined && obj[key] !== null;\n\n const nativePush = Array.prototype.push;\n const flatten = xs => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n const get = (xs, i) => i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n const head = xs => get(xs, 0);\n const findMap = (arr, f) => {\n for (let i = 0; i < arr.length; i++) {\n const r = f(arr[i], i);\n if (r.isSome()) {\n return r;\n }\n }\n return Optional.none();\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n const rawSet = (dom, key, value) => {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n const set = (element, key, value) => {\n rawSet(element.dom, key, value);\n };\n const remove = (element, key) => {\n element.dom.removeAttribute(key);\n };\n\n const fromHtml = (html, scope) => {\n const doc = scope || document;\n const div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n const message = 'HTML does not have a single root node';\n console.error(message, html);\n throw new Error(message);\n }\n return fromDom(div.childNodes[0]);\n };\n const fromTag = (tag, scope) => {\n const doc = scope || document;\n const node = doc.createElement(tag);\n return fromDom(node);\n };\n const fromText = (text, scope) => {\n const doc = scope || document;\n const node = doc.createTextNode(text);\n return fromDom(node);\n };\n const fromDom = node => {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n const SugarElement = {\n fromHtml,\n fromTag,\n fromText,\n fromDom,\n fromPoint\n };\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n const isNotEmpty = s => s.length > 0;\n\n const option = name => editor => editor.options.get(name);\n const register$2 = editor => {\n const registerOption = editor.options.register;\n registerOption('image_dimensions', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_advtab', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_uploadtab', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_prepend_url', {\n processor: 'string',\n default: ''\n });\n registerOption('image_class_list', { processor: 'object[]' });\n registerOption('image_description', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_title', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_caption', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_list', {\n processor: value => {\n const valid = value === false || isString(value) || isArrayOf(value, isObject) || isFunction(value);\n return valid ? {\n value,\n valid\n } : {\n valid: false,\n message: 'Must be false, a string, an array or a function.'\n };\n },\n default: false\n });\n };\n const hasDimensions = option('image_dimensions');\n const hasAdvTab = option('image_advtab');\n const hasUploadTab = option('image_uploadtab');\n const getPrependUrl = option('image_prepend_url');\n const getClassList = option('image_class_list');\n const hasDescription = option('image_description');\n const hasImageTitle = option('image_title');\n const hasImageCaption = option('image_caption');\n const getImageList = option('image_list');\n const showAccessibilityOptions = option('a11y_advanced_options');\n const isAutomaticUploadsEnabled = option('automatic_uploads');\n const hasUploadUrl = editor => isNotEmpty(editor.options.get('images_upload_url'));\n const hasUploadHandler = editor => isNonNullable(editor.options.get('images_upload_handler'));\n\n const parseIntAndGetMax = (val1, val2) => Math.max(parseInt(val1, 10), parseInt(val2, 10));\n const getImageSize = url => new Promise(callback => {\n const img = document.createElement('img');\n const done = dimensions => {\n img.onload = img.onerror = null;\n if (img.parentNode) {\n img.parentNode.removeChild(img);\n }\n callback(dimensions);\n };\n img.onload = () => {\n const width = parseIntAndGetMax(img.width, img.clientWidth);\n const height = parseIntAndGetMax(img.height, img.clientHeight);\n const dimensions = {\n width,\n height\n };\n done(Promise.resolve(dimensions));\n };\n img.onerror = () => {\n done(Promise.reject(`Failed to get image dimensions for: ${ url }`));\n };\n const style = img.style;\n style.visibility = 'hidden';\n style.position = 'fixed';\n style.bottom = style.left = '0px';\n style.width = style.height = 'auto';\n document.body.appendChild(img);\n img.src = url;\n });\n const removePixelSuffix = value => {\n if (value) {\n value = value.replace(/px$/, '');\n }\n return value;\n };\n const addPixelSuffix = value => {\n if (value.length > 0 && /^[0-9]+$/.test(value)) {\n value += 'px';\n }\n return value;\n };\n const mergeMargins = css => {\n if (css.margin) {\n const splitMargin = String(css.margin).split(' ');\n switch (splitMargin.length) {\n case 1:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[0];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[0];\n break;\n case 2:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 3:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 4:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[3];\n }\n delete css.margin;\n }\n return css;\n };\n const createImageList = (editor, callback) => {\n const imageList = getImageList(editor);\n if (isString(imageList)) {\n fetch(imageList).then(res => {\n if (res.ok) {\n res.json().then(callback);\n }\n });\n } else if (isFunction(imageList)) {\n imageList(callback);\n } else {\n callback(imageList);\n }\n };\n const waitLoadImage = (editor, data, imgElm) => {\n const selectImage = () => {\n imgElm.onload = imgElm.onerror = null;\n if (editor.selection) {\n editor.selection.select(imgElm);\n editor.nodeChanged();\n }\n };\n imgElm.onload = () => {\n if (!data.width && !data.height && hasDimensions(editor)) {\n editor.dom.setAttribs(imgElm, {\n width: String(imgElm.clientWidth),\n height: String(imgElm.clientHeight)\n });\n }\n selectImage();\n };\n imgElm.onerror = selectImage;\n };\n const blobToDataUri = blob => new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => {\n resolve(reader.result);\n };\n reader.onerror = () => {\n var _a;\n reject((_a = reader.error) === null || _a === void 0 ? void 0 : _a.message);\n };\n reader.readAsDataURL(blob);\n });\n const isPlaceholderImage = imgElm => imgElm.nodeName === 'IMG' && (imgElm.hasAttribute('data-mce-object') || imgElm.hasAttribute('data-mce-placeholder'));\n const isSafeImageUrl = (editor, src) => {\n const getOption = editor.options.get;\n return global$2.isDomSafe(src, 'img', {\n allow_html_data_urls: getOption('allow_html_data_urls'),\n allow_script_urls: getOption('allow_script_urls'),\n allow_svg_data_urls: getOption('allow_svg_data_urls')\n });\n };\n\n const DOM = global$3.DOM;\n const getHspace = image => {\n if (image.style.marginLeft && image.style.marginRight && image.style.marginLeft === image.style.marginRight) {\n return removePixelSuffix(image.style.marginLeft);\n } else {\n return '';\n }\n };\n const getVspace = image => {\n if (image.style.marginTop && image.style.marginBottom && image.style.marginTop === image.style.marginBottom) {\n return removePixelSuffix(image.style.marginTop);\n } else {\n return '';\n }\n };\n const getBorder = image => {\n if (image.style.borderWidth) {\n return removePixelSuffix(image.style.borderWidth);\n } else {\n return '';\n }\n };\n const getAttrib = (image, name) => {\n var _a;\n if (image.hasAttribute(name)) {\n return (_a = image.getAttribute(name)) !== null && _a !== void 0 ? _a : '';\n } else {\n return '';\n }\n };\n const hasCaption = image => image.parentNode !== null && image.parentNode.nodeName === 'FIGURE';\n const updateAttrib = (image, name, value) => {\n if (value === '' || value === null) {\n image.removeAttribute(name);\n } else {\n image.setAttribute(name, value);\n }\n };\n const wrapInFigure = image => {\n const figureElm = DOM.create('figure', { class: 'image' });\n DOM.insertAfter(figureElm, image);\n figureElm.appendChild(image);\n figureElm.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figureElm.contentEditable = 'false';\n };\n const removeFigure = image => {\n const figureElm = image.parentNode;\n if (isNonNullable(figureElm)) {\n DOM.insertAfter(image, figureElm);\n DOM.remove(figureElm);\n }\n };\n const toggleCaption = image => {\n if (hasCaption(image)) {\n removeFigure(image);\n } else {\n wrapInFigure(image);\n }\n };\n const normalizeStyle = (image, normalizeCss) => {\n const attrValue = image.getAttribute('style');\n const value = normalizeCss(attrValue !== null ? attrValue : '');\n if (value.length > 0) {\n image.setAttribute('style', value);\n image.setAttribute('data-mce-style', value);\n } else {\n image.removeAttribute('style');\n }\n };\n const setSize = (name, normalizeCss) => (image, name, value) => {\n const styles = image.style;\n if (styles[name]) {\n styles[name] = addPixelSuffix(value);\n normalizeStyle(image, normalizeCss);\n } else {\n updateAttrib(image, name, value);\n }\n };\n const getSize = (image, name) => {\n if (image.style[name]) {\n return removePixelSuffix(image.style[name]);\n } else {\n return getAttrib(image, name);\n }\n };\n const setHspace = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.marginLeft = pxValue;\n image.style.marginRight = pxValue;\n };\n const setVspace = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.marginTop = pxValue;\n image.style.marginBottom = pxValue;\n };\n const setBorder = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.borderWidth = pxValue;\n };\n const setBorderStyle = (image, value) => {\n image.style.borderStyle = value;\n };\n const getBorderStyle = image => {\n var _a;\n return (_a = image.style.borderStyle) !== null && _a !== void 0 ? _a : '';\n };\n const isFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE';\n const isImage = elm => elm.nodeName === 'IMG';\n const getIsDecorative = image => DOM.getAttrib(image, 'alt').length === 0 && DOM.getAttrib(image, 'role') === 'presentation';\n const getAlt = image => {\n if (getIsDecorative(image)) {\n return '';\n } else {\n return getAttrib(image, 'alt');\n }\n };\n const defaultData = () => ({\n src: '',\n alt: '',\n title: '',\n width: '',\n height: '',\n class: '',\n style: '',\n caption: false,\n hspace: '',\n vspace: '',\n border: '',\n borderStyle: '',\n isDecorative: false\n });\n const getStyleValue = (normalizeCss, data) => {\n var _a;\n const image = document.createElement('img');\n updateAttrib(image, 'style', data.style);\n if (getHspace(image) || data.hspace !== '') {\n setHspace(image, data.hspace);\n }\n if (getVspace(image) || data.vspace !== '') {\n setVspace(image, data.vspace);\n }\n if (getBorder(image) || data.border !== '') {\n setBorder(image, data.border);\n }\n if (getBorderStyle(image) || data.borderStyle !== '') {\n setBorderStyle(image, data.borderStyle);\n }\n return normalizeCss((_a = image.getAttribute('style')) !== null && _a !== void 0 ? _a : '');\n };\n const create = (normalizeCss, data) => {\n const image = document.createElement('img');\n write(normalizeCss, {\n ...data,\n caption: false\n }, image);\n setAlt(image, data.alt, data.isDecorative);\n if (data.caption) {\n const figure = DOM.create('figure', { class: 'image' });\n figure.appendChild(image);\n figure.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figure.contentEditable = 'false';\n return figure;\n } else {\n return image;\n }\n };\n const read = (normalizeCss, image) => ({\n src: getAttrib(image, 'src'),\n alt: getAlt(image),\n title: getAttrib(image, 'title'),\n width: getSize(image, 'width'),\n height: getSize(image, 'height'),\n class: getAttrib(image, 'class'),\n style: normalizeCss(getAttrib(image, 'style')),\n caption: hasCaption(image),\n hspace: getHspace(image),\n vspace: getVspace(image),\n border: getBorder(image),\n borderStyle: getBorderStyle(image),\n isDecorative: getIsDecorative(image)\n });\n const updateProp = (image, oldData, newData, name, set) => {\n if (newData[name] !== oldData[name]) {\n set(image, name, String(newData[name]));\n }\n };\n const setAlt = (image, alt, isDecorative) => {\n if (isDecorative) {\n DOM.setAttrib(image, 'role', 'presentation');\n const sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', '');\n } else {\n if (isNull(alt)) {\n const sugarImage = SugarElement.fromDom(image);\n remove(sugarImage, 'alt');\n } else {\n const sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', alt);\n }\n if (DOM.getAttrib(image, 'role') === 'presentation') {\n DOM.setAttrib(image, 'role', '');\n }\n }\n };\n const updateAlt = (image, oldData, newData) => {\n if (newData.alt !== oldData.alt || newData.isDecorative !== oldData.isDecorative) {\n setAlt(image, newData.alt, newData.isDecorative);\n }\n };\n const normalized = (set, normalizeCss) => (image, name, value) => {\n set(image, value);\n normalizeStyle(image, normalizeCss);\n };\n const write = (normalizeCss, newData, image) => {\n const oldData = read(normalizeCss, image);\n updateProp(image, oldData, newData, 'caption', (image, _name, _value) => toggleCaption(image));\n updateProp(image, oldData, newData, 'src', updateAttrib);\n updateProp(image, oldData, newData, 'title', updateAttrib);\n updateProp(image, oldData, newData, 'width', setSize('width', normalizeCss));\n updateProp(image, oldData, newData, 'height', setSize('height', normalizeCss));\n updateProp(image, oldData, newData, 'class', updateAttrib);\n updateProp(image, oldData, newData, 'style', normalized((image, value) => updateAttrib(image, 'style', value), normalizeCss));\n updateProp(image, oldData, newData, 'hspace', normalized(setHspace, normalizeCss));\n updateProp(image, oldData, newData, 'vspace', normalized(setVspace, normalizeCss));\n updateProp(image, oldData, newData, 'border', normalized(setBorder, normalizeCss));\n updateProp(image, oldData, newData, 'borderStyle', normalized(setBorderStyle, normalizeCss));\n updateAlt(image, oldData, newData);\n };\n\n const normalizeCss$1 = (editor, cssText) => {\n const css = editor.dom.styles.parse(cssText);\n const mergedCss = mergeMargins(css);\n const compressed = editor.dom.styles.parse(editor.dom.styles.serialize(mergedCss));\n return editor.dom.styles.serialize(compressed);\n };\n const getSelectedImage = editor => {\n const imgElm = editor.selection.getNode();\n const figureElm = editor.dom.getParent(imgElm, 'figure.image');\n if (figureElm) {\n return editor.dom.select('img', figureElm)[0];\n }\n if (imgElm && (imgElm.nodeName !== 'IMG' || isPlaceholderImage(imgElm))) {\n return null;\n }\n return imgElm;\n };\n const splitTextBlock = (editor, figure) => {\n var _a;\n const dom = editor.dom;\n const textBlockElements = filter(editor.schema.getTextBlockElements(), (_, parentElm) => !editor.schema.isValidChild(parentElm, 'figure'));\n const textBlock = dom.getParent(figure.parentNode, node => hasNonNullableKey(textBlockElements, node.nodeName), editor.getBody());\n if (textBlock) {\n return (_a = dom.split(textBlock, figure)) !== null && _a !== void 0 ? _a : figure;\n } else {\n return figure;\n }\n };\n const readImageDataFromSelection = editor => {\n const image = getSelectedImage(editor);\n return image ? read(css => normalizeCss$1(editor, css), image) : defaultData();\n };\n const insertImageAtCaret = (editor, data) => {\n const elm = create(css => normalizeCss$1(editor, css), data);\n editor.dom.setAttrib(elm, 'data-mce-id', '__mcenew');\n editor.focus();\n editor.selection.setContent(elm.outerHTML);\n const insertedElm = editor.dom.select('*[data-mce-id=\"__mcenew\"]')[0];\n editor.dom.setAttrib(insertedElm, 'data-mce-id', null);\n if (isFigure(insertedElm)) {\n const figure = splitTextBlock(editor, insertedElm);\n editor.selection.select(figure);\n } else {\n editor.selection.select(insertedElm);\n }\n };\n const syncSrcAttr = (editor, image) => {\n editor.dom.setAttrib(image, 'src', image.getAttribute('src'));\n };\n const deleteImage = (editor, image) => {\n if (image) {\n const elm = editor.dom.is(image.parentNode, 'figure.image') ? image.parentNode : image;\n editor.dom.remove(elm);\n editor.focus();\n editor.nodeChanged();\n if (editor.dom.isEmpty(editor.getBody())) {\n editor.setContent('');\n editor.selection.setCursorLocation();\n }\n }\n };\n const writeImageDataToSelection = (editor, data) => {\n const image = getSelectedImage(editor);\n if (image) {\n write(css => normalizeCss$1(editor, css), data, image);\n syncSrcAttr(editor, image);\n if (isFigure(image.parentNode)) {\n const figure = image.parentNode;\n splitTextBlock(editor, figure);\n editor.selection.select(image.parentNode);\n } else {\n editor.selection.select(image);\n waitLoadImage(editor, data, image);\n }\n }\n };\n const sanitizeImageData = (editor, data) => {\n const src = data.src;\n return {\n ...data,\n src: isSafeImageUrl(editor, src) ? src : ''\n };\n };\n const insertOrUpdateImage = (editor, partialData) => {\n const image = getSelectedImage(editor);\n if (image) {\n const selectedImageData = read(css => normalizeCss$1(editor, css), image);\n const data = {\n ...selectedImageData,\n ...partialData\n };\n const sanitizedData = sanitizeImageData(editor, data);\n if (data.src) {\n writeImageDataToSelection(editor, sanitizedData);\n } else {\n deleteImage(editor, image);\n }\n } else if (partialData.src) {\n insertImageAtCaret(editor, {\n ...defaultData(),\n ...partialData\n });\n }\n };\n\n const deep = (old, nu) => {\n const bothObjects = isPlainObject(old) && isPlainObject(nu);\n return bothObjects ? deepMerge(old, nu) : nu;\n };\n const baseMerge = merger => {\n return (...objects) => {\n if (objects.length === 0) {\n throw new Error(`Can't merge zero objects`);\n }\n const ret = {};\n for (let j = 0; j < objects.length; j++) {\n const curObject = objects[j];\n for (const key in curObject) {\n if (has(curObject, key)) {\n ret[key] = merger(ret[key], curObject[key]);\n }\n }\n }\n return ret;\n };\n };\n const deepMerge = baseMerge(deep);\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.ImageUploader');\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const getValue = item => isString(item.value) ? item.value : '';\n const getText = item => {\n if (isString(item.text)) {\n return item.text;\n } else if (isString(item.title)) {\n return item.title;\n } else {\n return '';\n }\n };\n const sanitizeList = (list, extractValue) => {\n const out = [];\n global.each(list, item => {\n const text = getText(item);\n if (item.menu !== undefined) {\n const items = sanitizeList(item.menu, extractValue);\n out.push({\n text,\n items\n });\n } else {\n const value = extractValue(item);\n out.push({\n text,\n value\n });\n }\n });\n return out;\n };\n const sanitizer = (extractor = getValue) => list => {\n if (list) {\n return Optional.from(list).map(list => sanitizeList(list, extractor));\n } else {\n return Optional.none();\n }\n };\n const sanitize = list => sanitizer(getValue)(list);\n const isGroup = item => has(item, 'items');\n const findEntryDelegate = (list, value) => findMap(list, item => {\n if (isGroup(item)) {\n return findEntryDelegate(item.items, value);\n } else if (item.value === value) {\n return Optional.some(item);\n } else {\n return Optional.none();\n }\n });\n const findEntry = (optList, value) => optList.bind(list => findEntryDelegate(list, value));\n const ListUtils = {\n sanitizer,\n sanitize,\n findEntry\n };\n\n const makeTab$2 = _info => ({\n title: 'Advanced',\n name: 'advanced',\n items: [{\n type: 'grid',\n columns: 2,\n items: [\n {\n type: 'input',\n label: 'Vertical space',\n name: 'vspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Horizontal space',\n name: 'hspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Border width',\n name: 'border',\n inputMode: 'numeric'\n },\n {\n type: 'listbox',\n name: 'borderstyle',\n label: 'Border style',\n items: [\n {\n text: 'Select...',\n value: ''\n },\n {\n text: 'Solid',\n value: 'solid'\n },\n {\n text: 'Dotted',\n value: 'dotted'\n },\n {\n text: 'Dashed',\n value: 'dashed'\n },\n {\n text: 'Double',\n value: 'double'\n },\n {\n text: 'Groove',\n value: 'groove'\n },\n {\n text: 'Ridge',\n value: 'ridge'\n },\n {\n text: 'Inset',\n value: 'inset'\n },\n {\n text: 'Outset',\n value: 'outset'\n },\n {\n text: 'None',\n value: 'none'\n },\n {\n text: 'Hidden',\n value: 'hidden'\n }\n ]\n }\n ]\n }]\n });\n const AdvTab = { makeTab: makeTab$2 };\n\n const collect = editor => {\n const urlListSanitizer = ListUtils.sanitizer(item => editor.convertURL(item.value || item.url || '', 'src'));\n const futureImageList = new Promise(completer => {\n createImageList(editor, imageList => {\n completer(urlListSanitizer(imageList).map(items => flatten([\n [{\n text: 'None',\n value: ''\n }],\n items\n ])));\n });\n });\n const classList = ListUtils.sanitize(getClassList(editor));\n const hasAdvTab$1 = hasAdvTab(editor);\n const hasUploadTab$1 = hasUploadTab(editor);\n const hasUploadUrl$1 = hasUploadUrl(editor);\n const hasUploadHandler$1 = hasUploadHandler(editor);\n const image = readImageDataFromSelection(editor);\n const hasDescription$1 = hasDescription(editor);\n const hasImageTitle$1 = hasImageTitle(editor);\n const hasDimensions$1 = hasDimensions(editor);\n const hasImageCaption$1 = hasImageCaption(editor);\n const hasAccessibilityOptions = showAccessibilityOptions(editor);\n const automaticUploads = isAutomaticUploadsEnabled(editor);\n const prependURL = Optional.some(getPrependUrl(editor)).filter(preUrl => isString(preUrl) && preUrl.length > 0);\n return futureImageList.then(imageList => ({\n image,\n imageList,\n classList,\n hasAdvTab: hasAdvTab$1,\n hasUploadTab: hasUploadTab$1,\n hasUploadUrl: hasUploadUrl$1,\n hasUploadHandler: hasUploadHandler$1,\n hasDescription: hasDescription$1,\n hasImageTitle: hasImageTitle$1,\n hasDimensions: hasDimensions$1,\n hasImageCaption: hasImageCaption$1,\n prependURL,\n hasAccessibilityOptions,\n automaticUploads\n }));\n };\n\n const makeItems = info => {\n const imageUrl = {\n name: 'src',\n type: 'urlinput',\n filetype: 'image',\n label: 'Source'\n };\n const imageList = info.imageList.map(items => ({\n name: 'images',\n type: 'listbox',\n label: 'Image list',\n items\n }));\n const imageDescription = {\n name: 'alt',\n type: 'input',\n label: 'Alternative description',\n enabled: !(info.hasAccessibilityOptions && info.image.isDecorative)\n };\n const imageTitle = {\n name: 'title',\n type: 'input',\n label: 'Image title'\n };\n const imageDimensions = {\n name: 'dimensions',\n type: 'sizeinput'\n };\n const isDecorative = {\n type: 'label',\n label: 'Accessibility',\n items: [{\n name: 'isDecorative',\n type: 'checkbox',\n label: 'Image is decorative'\n }]\n };\n const classList = info.classList.map(items => ({\n name: 'classes',\n type: 'listbox',\n label: 'Class',\n items\n }));\n const caption = {\n type: 'label',\n label: 'Caption',\n items: [{\n type: 'checkbox',\n name: 'caption',\n label: 'Show caption'\n }]\n };\n const getDialogContainerType = useColumns => useColumns ? {\n type: 'grid',\n columns: 2\n } : { type: 'panel' };\n return flatten([\n [imageUrl],\n imageList.toArray(),\n info.hasAccessibilityOptions && info.hasDescription ? [isDecorative] : [],\n info.hasDescription ? [imageDescription] : [],\n info.hasImageTitle ? [imageTitle] : [],\n info.hasDimensions ? [imageDimensions] : [],\n [{\n ...getDialogContainerType(info.classList.isSome() && info.hasImageCaption),\n items: flatten([\n classList.toArray(),\n info.hasImageCaption ? [caption] : []\n ])\n }]\n ]);\n };\n const makeTab$1 = info => ({\n title: 'General',\n name: 'general',\n items: makeItems(info)\n });\n const MainTab = {\n makeTab: makeTab$1,\n makeItems\n };\n\n const makeTab = _info => {\n const items = [{\n type: 'dropzone',\n name: 'fileinput'\n }];\n return {\n title: 'Upload',\n name: 'upload',\n items\n };\n };\n const UploadTab = { makeTab };\n\n const createState = info => ({\n prevImage: ListUtils.findEntry(info.imageList, info.image.src),\n prevAlt: info.image.alt,\n open: true\n });\n const fromImageData = image => ({\n src: {\n value: image.src,\n meta: {}\n },\n images: image.src,\n alt: image.alt,\n title: image.title,\n dimensions: {\n width: image.width,\n height: image.height\n },\n classes: image.class,\n caption: image.caption,\n style: image.style,\n vspace: image.vspace,\n border: image.border,\n hspace: image.hspace,\n borderstyle: image.borderStyle,\n fileinput: [],\n isDecorative: image.isDecorative\n });\n const toImageData = (data, removeEmptyAlt) => ({\n src: data.src.value,\n alt: (data.alt === null || data.alt.length === 0) && removeEmptyAlt ? null : data.alt,\n title: data.title,\n width: data.dimensions.width,\n height: data.dimensions.height,\n class: data.classes,\n style: data.style,\n caption: data.caption,\n hspace: data.hspace,\n vspace: data.vspace,\n border: data.border,\n borderStyle: data.borderstyle,\n isDecorative: data.isDecorative\n });\n const addPrependUrl2 = (info, srcURL) => {\n if (!/^(?:[a-zA-Z]+:)?\\/\\//.test(srcURL)) {\n return info.prependURL.bind(prependUrl => {\n if (srcURL.substring(0, prependUrl.length) !== prependUrl) {\n return Optional.some(prependUrl + srcURL);\n }\n return Optional.none();\n });\n }\n return Optional.none();\n };\n const addPrependUrl = (info, api) => {\n const data = api.getData();\n addPrependUrl2(info, data.src.value).each(srcURL => {\n api.setData({\n src: {\n value: srcURL,\n meta: data.src.meta\n }\n });\n });\n };\n const formFillFromMeta2 = (info, data, meta) => {\n if (info.hasDescription && isString(meta.alt)) {\n data.alt = meta.alt;\n }\n if (info.hasAccessibilityOptions) {\n data.isDecorative = meta.isDecorative || data.isDecorative || false;\n }\n if (info.hasImageTitle && isString(meta.title)) {\n data.title = meta.title;\n }\n if (info.hasDimensions) {\n if (isString(meta.width)) {\n data.dimensions.width = meta.width;\n }\n if (isString(meta.height)) {\n data.dimensions.height = meta.height;\n }\n }\n if (isString(meta.class)) {\n ListUtils.findEntry(info.classList, meta.class).each(entry => {\n data.classes = entry.value;\n });\n }\n if (info.hasImageCaption) {\n if (isBoolean(meta.caption)) {\n data.caption = meta.caption;\n }\n }\n if (info.hasAdvTab) {\n if (isString(meta.style)) {\n data.style = meta.style;\n }\n if (isString(meta.vspace)) {\n data.vspace = meta.vspace;\n }\n if (isString(meta.border)) {\n data.border = meta.border;\n }\n if (isString(meta.hspace)) {\n data.hspace = meta.hspace;\n }\n if (isString(meta.borderstyle)) {\n data.borderstyle = meta.borderstyle;\n }\n }\n };\n const formFillFromMeta = (info, api) => {\n const data = api.getData();\n const meta = data.src.meta;\n if (meta !== undefined) {\n const newData = deepMerge({}, data);\n formFillFromMeta2(info, newData, meta);\n api.setData(newData);\n }\n };\n const calculateImageSize = (helpers, info, state, api) => {\n const data = api.getData();\n const url = data.src.value;\n const meta = data.src.meta || {};\n if (!meta.width && !meta.height && info.hasDimensions) {\n if (isNotEmpty(url)) {\n helpers.imageSize(url).then(size => {\n if (state.open) {\n api.setData({ dimensions: size });\n }\n }).catch(e => console.error(e));\n } else {\n api.setData({\n dimensions: {\n width: '',\n height: ''\n }\n });\n }\n }\n };\n const updateImagesDropdown = (info, state, api) => {\n const data = api.getData();\n const image = ListUtils.findEntry(info.imageList, data.src.value);\n state.prevImage = image;\n api.setData({ images: image.map(entry => entry.value).getOr('') });\n };\n const changeSrc = (helpers, info, state, api) => {\n addPrependUrl(info, api);\n formFillFromMeta(info, api);\n calculateImageSize(helpers, info, state, api);\n updateImagesDropdown(info, state, api);\n };\n const changeImages = (helpers, info, state, api) => {\n const data = api.getData();\n const image = ListUtils.findEntry(info.imageList, data.images);\n image.each(img => {\n const updateAlt = data.alt === '' || state.prevImage.map(image => image.text === data.alt).getOr(false);\n if (updateAlt) {\n if (img.value === '') {\n api.setData({\n src: img,\n alt: state.prevAlt\n });\n } else {\n api.setData({\n src: img,\n alt: img.text\n });\n }\n } else {\n api.setData({ src: img });\n }\n });\n state.prevImage = image;\n changeSrc(helpers, info, state, api);\n };\n const changeFileInput = (helpers, info, state, api) => {\n const data = api.getData();\n api.block('Uploading image');\n head(data.fileinput).fold(() => {\n api.unblock();\n }, file => {\n const blobUri = URL.createObjectURL(file);\n const finalize = () => {\n api.unblock();\n URL.revokeObjectURL(blobUri);\n };\n const updateSrcAndSwitchTab = url => {\n api.setData({\n src: {\n value: url,\n meta: {}\n }\n });\n api.showTab('general');\n changeSrc(helpers, info, state, api);\n };\n blobToDataUri(file).then(dataUrl => {\n const blobInfo = helpers.createBlobCache(file, blobUri, dataUrl);\n if (info.automaticUploads) {\n helpers.uploadImage(blobInfo).then(result => {\n updateSrcAndSwitchTab(result.url);\n finalize();\n }).catch(err => {\n finalize();\n helpers.alertErr(err);\n });\n } else {\n helpers.addToBlobCache(blobInfo);\n updateSrcAndSwitchTab(blobInfo.blobUri());\n api.unblock();\n }\n });\n });\n };\n const changeHandler = (helpers, info, state) => (api, evt) => {\n if (evt.name === 'src') {\n changeSrc(helpers, info, state, api);\n } else if (evt.name === 'images') {\n changeImages(helpers, info, state, api);\n } else if (evt.name === 'alt') {\n state.prevAlt = api.getData().alt;\n } else if (evt.name === 'fileinput') {\n changeFileInput(helpers, info, state, api);\n } else if (evt.name === 'isDecorative') {\n api.setEnabled('alt', !api.getData().isDecorative);\n }\n };\n const closeHandler = state => () => {\n state.open = false;\n };\n const makeDialogBody = info => {\n if (info.hasAdvTab || info.hasUploadUrl || info.hasUploadHandler) {\n const tabPanel = {\n type: 'tabpanel',\n tabs: flatten([\n [MainTab.makeTab(info)],\n info.hasAdvTab ? [AdvTab.makeTab(info)] : [],\n info.hasUploadTab && (info.hasUploadUrl || info.hasUploadHandler) ? [UploadTab.makeTab(info)] : []\n ])\n };\n return tabPanel;\n } else {\n const panel = {\n type: 'panel',\n items: MainTab.makeItems(info)\n };\n return panel;\n }\n };\n const submitHandler = (editor, info, helpers) => api => {\n const data = deepMerge(fromImageData(info.image), api.getData());\n const finalData = {\n ...data,\n style: getStyleValue(helpers.normalizeCss, toImageData(data, false))\n };\n editor.execCommand('mceUpdateImage', false, toImageData(finalData, info.hasAccessibilityOptions));\n editor.editorUpload.uploadImagesAuto();\n api.close();\n };\n const imageSize = editor => url => {\n if (!isSafeImageUrl(editor, url)) {\n return Promise.resolve({\n width: '',\n height: ''\n });\n } else {\n return getImageSize(editor.documentBaseURI.toAbsolute(url)).then(dimensions => ({\n width: String(dimensions.width),\n height: String(dimensions.height)\n }));\n }\n };\n const createBlobCache = editor => (file, blobUri, dataUrl) => {\n var _a;\n return editor.editorUpload.blobCache.create({\n blob: file,\n blobUri,\n name: (_a = file.name) === null || _a === void 0 ? void 0 : _a.replace(/\\.[^\\.]+$/, ''),\n filename: file.name,\n base64: dataUrl.split(',')[1]\n });\n };\n const addToBlobCache = editor => blobInfo => {\n editor.editorUpload.blobCache.add(blobInfo);\n };\n const alertErr = editor => message => {\n editor.windowManager.alert(message);\n };\n const normalizeCss = editor => cssText => normalizeCss$1(editor, cssText);\n const parseStyle = editor => cssText => editor.dom.parseStyle(cssText);\n const serializeStyle = editor => (stylesArg, name) => editor.dom.serializeStyle(stylesArg, name);\n const uploadImage = editor => blobInfo => global$1(editor).upload([blobInfo], false).then(results => {\n var _a;\n if (results.length === 0) {\n return Promise.reject('Failed to upload image');\n } else if (results[0].status === false) {\n return Promise.reject((_a = results[0].error) === null || _a === void 0 ? void 0 : _a.message);\n } else {\n return results[0];\n }\n });\n const Dialog = editor => {\n const helpers = {\n imageSize: imageSize(editor),\n addToBlobCache: addToBlobCache(editor),\n createBlobCache: createBlobCache(editor),\n alertErr: alertErr(editor),\n normalizeCss: normalizeCss(editor),\n parseStyle: parseStyle(editor),\n serializeStyle: serializeStyle(editor),\n uploadImage: uploadImage(editor)\n };\n const open = () => {\n collect(editor).then(info => {\n const state = createState(info);\n return {\n title: 'Insert/Edit Image',\n size: 'normal',\n body: makeDialogBody(info),\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n initialData: fromImageData(info.image),\n onSubmit: submitHandler(editor, info, helpers),\n onChange: changeHandler(helpers, info, state),\n onClose: closeHandler(state)\n };\n }).then(editor.windowManager.open);\n };\n return { open };\n };\n\n const register$1 = editor => {\n editor.addCommand('mceImage', Dialog(editor).open);\n editor.addCommand('mceUpdateImage', (_ui, data) => {\n editor.undoManager.transact(() => insertOrUpdateImage(editor, data));\n });\n };\n\n const hasImageClass = node => {\n const className = node.attr('class');\n return isNonNullable(className) && /\\bimage\\b/.test(className);\n };\n const toggleContentEditableState = state => nodes => {\n let i = nodes.length;\n const toggleContentEditable = node => {\n node.attr('contenteditable', state ? 'true' : null);\n };\n while (i--) {\n const node = nodes[i];\n if (hasImageClass(node)) {\n node.attr('contenteditable', state ? 'false' : null);\n global.each(node.getAll('figcaption'), toggleContentEditable);\n }\n }\n };\n const setup = editor => {\n editor.on('PreInit', () => {\n editor.parser.addNodeFilter('figure', toggleContentEditableState(true));\n editor.serializer.addNodeFilter('figure', toggleContentEditableState(false));\n });\n };\n\n const onSetupEditable = editor => api => {\n const nodeChanged = () => {\n api.setEnabled(editor.selection.isEditable());\n };\n editor.on('NodeChange', nodeChanged);\n nodeChanged();\n return () => {\n editor.off('NodeChange', nodeChanged);\n };\n };\n const register = editor => {\n editor.ui.registry.addToggleButton('image', {\n icon: 'image',\n tooltip: 'Insert/edit image',\n onAction: Dialog(editor).open,\n onSetup: buttonApi => {\n buttonApi.setActive(isNonNullable(getSelectedImage(editor)));\n const unbindSelectorChanged = editor.selection.selectorChangedWithUnbind('img:not([data-mce-object]):not([data-mce-placeholder]),figure.image', buttonApi.setActive).unbind;\n const unbindEditable = onSetupEditable(editor)(buttonApi);\n return () => {\n unbindSelectorChanged();\n unbindEditable();\n };\n }\n });\n editor.ui.registry.addMenuItem('image', {\n icon: 'image',\n text: 'Image...',\n onAction: Dialog(editor).open,\n onSetup: onSetupEditable(editor)\n });\n editor.ui.registry.addContextMenu('image', { update: element => editor.selection.isEditable() && (isFigure(element) || isImage(element) && !isPlaceholderImage(element)) ? ['image'] : [] });\n };\n\n var Plugin = () => {\n global$4.add('image', editor => {\n register$2(editor);\n setup(editor);\n register(editor);\n register$1(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$4","tinymce","util","Tools","resolve","getPrototypeOf","Object","hasProto","v","constructor","predicate","_a","prototype","name","isType","type","value","x","t","Array","isArray","String","o","proto","isPrototypeOf","typeOf","isSimpleType","isString","isObject","isPlainObject","is","isNull","a","isBoolean","isNonNullable","isNullable","isFunction","isNumber","noop","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","keys","hasOwnProperty","internalFilter","obj","pred","onTrue","onFalse","f","props","k","len","length","i","has","key","call","nativePush","push","flatten","xs","r","apply","head","get","window","Function","set","element","dom","console","error","setAttribute","rawSet","fromDom","node","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","fromTag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","global$3","global$2","isNotEmpty","s","option","editor","options","register$2","registerOption","register","processor","default","valid","isArrayOf","hasDimensions","hasAdvTab","hasUploadTab","getPrependUrl","getClassList","hasDescription","hasImageTitle","hasImageCaption","getImageList","showAccessibilityOptions","isAutomaticUploadsEnabled","parseIntAndGetMax","val1","val2","Math","max","parseInt","removePixelSuffix","replace","addPixelSuffix","test","isPlaceholderImage","imgElm","nodeName","hasAttribute","isSafeImageUrl","src","getOption","isDomSafe","allow_html_data_urls","allow_script_urls","allow_svg_data_urls","DOM","getHspace","image","style","marginLeft","marginRight","getVspace","marginTop","marginBottom","getBorder","borderWidth","getAttrib","getAttribute","hasCaption","parentNode","updateAttrib","removeAttribute","toggleCaption","figureElm","insertAfter","remove","removeFigure","create","class","appendChild","contentEditable","wrapInFigure","normalizeStyle","normalizeCss","attrValue","setSize","styles","getSize","setHspace","pxValue","setVspace","setBorder","setBorderStyle","borderStyle","getBorderStyle","isFigure","elm","getIsDecorative","getAlt","getStyleValue","data","hspace","vspace","border","read","alt","title","width","height","caption","isDecorative","updateProp","oldData","newData","setAlt","setAttrib","sugarImage","normalized","write","_name","_value","updateAlt","normalizeCss$1","cssText","mergedCss","css","margin","splitMargin","split","mergeMargins","parse","compressed","serialize","getSelectedImage","selection","getNode","getParent","select","splitTextBlock","figure","textBlockElements","schema","getTextBlockElements","_","parentElm","isValidChild","textBlock","hasNonNullableKey","undefined","getBody","insertImageAtCaret","focus","setContent","outerHTML","insertedElm","writeImageDataToSelection","syncSrcAttr","selectImage","onload","onerror","nodeChanged","setAttribs","clientWidth","clientHeight","waitLoadImage","insertOrUpdateImage","partialData","sanitizedData","sanitizeImageData","isEmpty","setCursorLocation","deleteImage","deepMerge","merger","old","nu","objects","ret","j","curObject","global$1","global","getValue","item","sanitizeList","list","extractValue","out","getText","menu","items","sanitizer","extractor","findEntryDelegate","arr","findMap","isGroup","ListUtils","optList","AdvTab","_info","columns","label","inputMode","collect","urlListSanitizer","convertURL","url","futureImageList","Promise","completer","callback","imageList","fetch","then","res","ok","json","createImageList","classList","hasAdvTab$1","hasUploadTab$1","hasUploadUrl$1","hasUploadUrl","hasUploadHandler$1","hasUploadHandler","readImageDataFromSelection","hasDescription$1","hasImageTitle$1","hasDimensions$1","hasImageCaption$1","hasAccessibilityOptions","automaticUploads","prependURL","preUrl","makeItems","info","imageDescription","enabled","filetype","useColumns","MainTab","UploadTab","fromImageData","meta","images","dimensions","classes","borderstyle","fileinput","toImageData","removeEmptyAlt","addPrependUrl","api","getData","srcURL","prependUrl","substring","addPrependUrl2","setData","formFillFromMeta","entry","formFillFromMeta2","changeSrc","helpers","state","imageSize","size","open","catch","e","calculateImageSize","prevImage","updateImagesDropdown","changeFileInput","block","unblock","file","blobUri","URL","createObjectURL","finalize","revokeObjectURL","updateSrcAndSwitchTab","showTab","blob","reject","reader","FileReader","result","readAsDataURL","dataUrl","blobInfo","createBlobCache","uploadImage","err","alertErr","addToBlobCache","changeHandler","evt","img","prevAlt","changeImages","setEnabled","closeHandler","makeDialogBody","tabs","submitHandler","finalData","execCommand","editorUpload","uploadImagesAuto","close","done","removeChild","visibility","position","bottom","left","body","getImageSize","documentBaseURI","toAbsolute","blobCache","filename","base64","add","windowManager","alert","parseStyle","serializeStyle","stylesArg","upload","results","status","Dialog","createState","buttons","primary","initialData","onSubmit","onChange","onClose","hasImageClass","className","attr","toggleContentEditableState","nodes","toggleContentEditable","getAll","onSetupEditable","isEditable","on","off","parser","addNodeFilter","serializer","setup","ui","registry","addToggleButton","icon","tooltip","onAction","onSetup","buttonApi","setActive","unbindSelectorChanged","selectorChangedWithUnbind","unbind","unbindEditable","addMenuItem","addContextMenu","update","addCommand","_ui","undoManager","transact","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/53302.73db5c309f835c367791.min.js b/src/plone/staticresources/static/bundle-plone/chunks/53302.73db5c309f835c367791.min.js
deleted file mode 100644
index c029500d3..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/53302.73db5c309f835c367791.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[53302],{53302:function(){!function(){"use strict";var e,t,n,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&t1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return _(n.childNodes[0])},fromTag:function(e,t){var n=(t||document).createElement(e);return _(n)},fromText:function(e,t){var n=(t||document).createTextNode(e);return _(n)},fromDom:_,fromPoint:function(e,t,n){return S.from(e.dom.elementFromPoint(t,n)).map(_)}},k=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),M=tinymce.util.Tools.resolve("tinymce.util.Promise"),R=tinymce.util.Tools.resolve("tinymce.util.URI"),z=tinymce.util.Tools.resolve("tinymce.util.XHR"),j=function(e){return e.getParam("image_dimensions",!0,"boolean")},B=function(e,t){return Math.max(parseInt(e,10),parseInt(t,10))},H=function(e){return e&&(e=e.replace(/px$/,"")),e},F=function(e){return e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e},G=function(e){if(e.margin){var t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e},W=function(e){return"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder"))},V=function(e,t){return R.isDomSafe(t,"img",e.settings)},$=k.DOM,J=function(e){return e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?H(e.style.marginLeft):""},K=function(e){return e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?H(e.style.marginTop):""},X=function(e){return e.style.borderWidth?H(e.style.borderWidth):""},Z=function(e,t){return e.hasAttribute(t)?e.getAttribute(t):""},q=function(e,t){return e.style[t]?e.style[t]:""},Q=function(e){return null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName},Y=function(e,t,n){""===n?e.removeAttribute(t):e.setAttribute(t,n)},ee=function(e){Q(e)?function(e){var t=e.parentNode;$.insertAfter(e,t),$.remove(t)}(e):function(e){var t=$.create("figure",{class:"image"});$.insertAfter(t,e),t.appendChild(e),t.appendChild($.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"}(e)},te=function(e,t){var n=e.getAttribute("style"),r=t(null!==n?n:"");r.length>0?(e.setAttribute("style",r),e.setAttribute("data-mce-style",r)):e.removeAttribute("style")},ne=function(e,t){return function(e,n,r){e.style[n]?(e.style[n]=F(r),te(e,t)):Y(e,n,r)}},re=function(e,t){return e.style[t]?H(e.style[t]):Z(e,t)},ie=function(e,t){var n=F(t);e.style.marginLeft=n,e.style.marginRight=n},ae=function(e,t){var n=F(t);e.style.marginTop=n,e.style.marginBottom=n},oe=function(e,t){var n=F(t);e.style.borderWidth=n},ue=function(e,t){e.style.borderStyle=t},ce=function(e){return"FIGURE"===e.nodeName},le=function(e){return 0===$.getAttrib(e,"alt").length&&"presentation"===$.getAttrib(e,"role")},se=function(e){return le(e)?"":Z(e,"alt")},me=function(e,t){var n=document.createElement("img");return Y(n,"style",t.style),(J(n)||""!==t.hspace)&&ie(n,t.hspace),(K(n)||""!==t.vspace)&&ae(n,t.vspace),(X(n)||""!==t.border)&&oe(n,t.border),(function(e){return q(e,"borderStyle")}(n)||""!==t.borderStyle)&&ue(n,t.borderStyle),e(n.getAttribute("style"))},de=function(e,t){return{src:Z(t,"src"),alt:se(t),title:Z(t,"title"),width:re(t,"width"),height:re(t,"height"),class:Z(t,"class"),style:e(Z(t,"style")),caption:Q(t),hspace:J(t),vspace:K(t),border:X(t),borderStyle:q(t,"borderStyle"),isDecorative:le(t)}},fe=function(e,t,n,r,i){n[r]!==t[r]&&i(e,r,n[r])},ge=function(e,t,n){if(n){$.setAttrib(e,"role","presentation");var r=E.fromDom(e);P(r,"alt","")}else{if(s(t)){r=E.fromDom(e);i="alt",r.dom.removeAttribute(i)}else{r=E.fromDom(e);P(r,"alt",t)}"presentation"===$.getAttrib(e,"role")&&$.setAttrib(e,"role","")}var i},pe=function(e,t){return function(n,r,i){e(n,i),te(n,t)}},he=function(e,t,n){var r=de(e,n);fe(n,r,t,"caption",(function(e,t,n){return ee(e)})),fe(n,r,t,"src",Y),fe(n,r,t,"title",Y),fe(n,r,t,"width",ne(0,e)),fe(n,r,t,"height",ne(0,e)),fe(n,r,t,"class",Y),fe(n,r,t,"style",pe((function(e,t){return Y(e,"style",t)}),e)),fe(n,r,t,"hspace",pe(ie,e)),fe(n,r,t,"vspace",pe(ae,e)),fe(n,r,t,"border",pe(oe,e)),fe(n,r,t,"borderStyle",pe(ue,e)),function(e,t,n){n.alt===t.alt&&n.isDecorative===t.isDecorative||ge(e,n.alt,n.isDecorative)}(n,r,t)},be=function(e,t){var n=e.dom.styles.parse(t),r=G(n),i=e.dom.styles.parse(e.dom.styles.serialize(r));return e.dom.styles.serialize(i)},ve=function(e){var t=e.selection.getNode(),n=e.dom.getParent(t,"figure.image");return n?e.dom.select("img",n)[0]:t&&("IMG"!==t.nodeName||W(t))?null:t},ye=function(e,t){var n=e.dom,r=function(e,t){var n,r={};return x(e,t,(n=r,function(e,t){n[t]=e}),p),r}(e.schema.getTextBlockElements(),(function(t,n){return!e.schema.isValidChild(n,"figure")})),i=n.getParent(t.parentNode,(function(e){return t=r,n=e.nodeName,I(t,n)&&void 0!==t[n]&&null!==t[n];var t,n}),e.getBody());return i?n.split(i,t):t},De=function(e,t){var n=function(e,t){var n=document.createElement("img");if(he(e,i(i({},t),{caption:!1}),n),ge(n,t.alt,t.isDecorative),t.caption){var r=$.create("figure",{class:"image"});return r.appendChild(n),r.appendChild($.create("figcaption",{contentEditable:"true"},"Caption")),r.contentEditable="false",r}return n}((function(t){return be(e,t)}),t);e.dom.setAttrib(n,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(n.outerHTML);var r=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(r,"data-mce-id",null),ce(r)){var a=ye(e,r);e.selection.select(a)}else e.selection.select(r)},we=function(e,t){var n=ve(e);if(he((function(t){return be(e,t)}),t,n),function(e,t){e.dom.setAttrib(t,"src",t.getAttribute("src"))}(e,n),ce(n.parentNode)){var r=n.parentNode;ye(e,r),e.selection.select(n.parentNode)}else e.selection.select(n),function(e,t,n){var r=function(){n.onload=n.onerror=null,e.selection&&(e.selection.select(n),e.nodeChanged())};n.onload=function(){t.width||t.height||!j(e)||e.dom.setAttribs(n,{width:String(n.clientWidth),height:String(n.clientHeight)}),r()},n.onerror=r}(e,t,n)},Ae=function(e,t){var n=ve(e);if(n){var r=de((function(t){return be(e,t)}),n),a=i(i({},r),t),o=function(e,t){var n=t.src;return i(i({},t),{src:V(e,n)?n:""})}(e,a);a.src?we(e,o):function(e,t){if(t){var n=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(n),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}}(e,n)}else t.src&&De(e,i(i({},{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}),t))},Se=(L=function(e,t){return c(e)&&c(t)?Se(e,t):t},function(){for(var e=[],t=0;t0}));return n.then((function(e){return{image:l,imageList:e,classList:r,hasAdvTab:i,hasUploadTab:a,hasUploadUrl:o,hasUploadHandler:c,hasDescription:s,hasImageTitle:m,hasDimensions:g,hasImageCaption:p,prependURL:v,hasAccessibilityOptions:h,automaticUploads:b}}))},ke=function(e){var t,n=e.imageList.map((function(e){return{name:"images",type:"listbox",label:"Image list",items:e}})),r={name:"alt",type:"input",label:"Alternative description",disabled:e.hasAccessibilityOptions&&e.image.isDecorative},a=e.classList.map((function(e){return{name:"classes",type:"listbox",label:"Class",items:e}}));return N([[{name:"src",type:"urlinput",filetype:"image",label:"Source"}],n.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[r]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[i(i({},(t=e.classList.isSome()&&e.hasImageCaption,t?{type:"grid",columns:2}:{type:"panel"})),{items:N([a.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])})]])},Me=function(e){return{title:"General",name:"general",items:ke(e)}},Re=ke,ze=function(e){return{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}},je=function(e){return{src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}},Be=function(e,t){return{src:e.src.value,alt:0===e.alt.length&&t?null:e.alt,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}},He=function(e,t){var n=t.getData();(function(e,t){return/^(?:[a-zA-Z]+:)?\/\//.test(t)?S.none():e.prependURL.bind((function(e){return t.substring(0,e.length)!==e?S.some(e+t):S.none()}))})(e,n.src.value).each((function(e){t.setData({src:{value:e,meta:n.src.meta}})}))},Fe=function(e,t){var n=t.getData(),r=n.src.meta;if(void 0!==r){var i=Se({},n);!function(e,t,n){e.hasDescription&&u(n.alt)&&(t.alt=n.alt),e.hasAccessibilityOptions&&(t.isDecorative=n.isDecorative||t.isDecorative||!1),e.hasImageTitle&&u(n.title)&&(t.title=n.title),e.hasDimensions&&(u(n.width)&&(t.dimensions.width=n.width),u(n.height)&&(t.dimensions.height=n.height)),u(n.class)&&Pe(e.classList,n.class).each((function(e){t.classes=e.value})),e.hasImageCaption&&m(n.caption)&&(t.caption=n.caption),e.hasAdvTab&&(u(n.style)&&(t.style=n.style),u(n.vspace)&&(t.vspace=n.vspace),u(n.border)&&(t.border=n.border),u(n.hspace)&&(t.hspace=n.hspace),u(n.borderstyle)&&(t.borderstyle=n.borderstyle))}(e,i,r),t.setData(i)}},Ge=function(e,t,n,r){He(t,r),Fe(t,r),function(e,t,n,r){var i=r.getData(),a=i.src.value,o=i.src.meta||{};o.width||o.height||!t.hasDimensions||(a.length>0?e.imageSize(a).then((function(e){n.open&&r.setData({dimensions:e})})).catch((function(e){return console.error(e)})):r.setData({dimensions:{width:"",height:""}}))}(e,t,n,r),function(e,t,n){var r=n.getData(),i=Pe(e.imageList,r.src.value);t.prevImage=i,n.setData({images:i.map((function(e){return e.value})).getOr("")})}(t,n,r)},We=function(e,t,n){var r=G(e(n.style)),i=Se({},n);return i.vspace=function(e){return e["margin-top"]&&e["margin-bottom"]&&e["margin-top"]===e["margin-bottom"]?H(String(e["margin-top"])):""}(r),i.hspace=function(e){return e["margin-right"]&&e["margin-left"]&&e["margin-right"]===e["margin-left"]?H(String(e["margin-right"])):""}(r),i.border=function(e){return e["border-width"]?H(String(e["border-width"])):""}(r),i.borderstyle=function(e){return e["border-style"]?String(e["border-style"]):""}(r),i.style=function(e,t,n){return t(e(t(n)))}(e,t,r),i},Ve=function(e,t,n,r){var i=r.getData();r.block("Uploading image"),O(i.fileinput).fold((function(){r.unblock()}),(function(i){var a,o=URL.createObjectURL(i),u=function(){r.unblock(),URL.revokeObjectURL(o)},c=function(i){r.setData({src:{value:i,meta:{}}}),r.showTab("general"),Ge(e,t,n,r)};(a=i,new M((function(e,t){var n=new FileReader;n.onload=function(){e(n.result)},n.onerror=function(){t(n.error.message)},n.readAsDataURL(a)}))).then((function(n){var a=e.createBlobCache(i,o,n);t.automaticUploads?e.uploadImage(a).then((function(e){c(e.url),u()})).catch((function(t){u(),e.alertErr(t)})):(e.addToBlobCache(a),c(a.blobUri()),r.unblock())}))}))},$e=function(e,t,n){return function(r,i){"src"===i.name?Ge(e,t,n,r):"images"===i.name?function(e,t,n,r){var i=r.getData(),a=Pe(t.imageList,i.images);a.each((function(e){var t=""===i.alt||n.prevImage.map((function(e){return e.text===i.alt})).getOr(!1);t?""===e.value?r.setData({src:e,alt:n.prevAlt}):r.setData({src:e,alt:e.text}):r.setData({src:e})})),n.prevImage=a,Ge(e,t,n,r)}(e,t,n,r):"alt"===i.name?n.prevAlt=r.getData().alt:"style"===i.name?function(e,t){var n=t.getData(),r=We(e.parseStyle,e.serializeStyle,n);t.setData(r)}(e,r):"vspace"===i.name||"hspace"===i.name||"border"===i.name||"borderstyle"===i.name?function(e,t,n){var r=Se(je(t.image),n.getData()),i=me(e.normalizeCss,Be(r,!1));n.setData({style:i})}(e,t,r):"fileinput"===i.name?Ve(e,t,n,r):"isDecorative"===i.name&&(r.getData().isDecorative?r.disable("alt"):r.enable("alt"))}},Je=function(e){return function(){e.open=!1}},Ke=function(e){return e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:N([[Me(e)],e.hasAdvTab?[_e(e)]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[ze(e)]:[]])}:{type:"panel",items:Re(e)}},Xe=function(e){return function(t){var n=function(e){return{prevImage:Pe(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}}(t);return{title:"Insert/Edit Image",size:"normal",body:Ke(t),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:je(t.image),onSubmit:e.onSubmit(t),onChange:$e(e,t,n),onClose:Je(n)}}},Ze=function(e){return function(t){return function(n){var r=Se(je(t.image),n.getData());e.execCommand("mceUpdateImage",!1,Be(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),n.close()}}},qe=function(e){return function(t){return V(e,t)?function(e){return new M((function(t){var n=document.createElement("img"),r=function(e){n.onload=n.onerror=null,n.parentNode&&n.parentNode.removeChild(n),t(e)};n.onload=function(){var e={width:B(n.width,n.clientWidth),height:B(n.height,n.clientHeight)};r(M.resolve(e))},n.onerror=function(){r(M.reject("Failed to get image dimensions for: "+e))};var i=n.style;i.visibility="hidden",i.position="fixed",i.bottom=i.left="0px",i.width=i.height="auto",document.body.appendChild(n),n.src=e}))}(e.documentBaseURI.toAbsolute(t)).then((function(e){return{width:String(e.width),height:String(e.height)}})):M.resolve({width:"",height:""})}},Qe=function(e){return function(t,n,r){return e.editorUpload.blobCache.create({blob:t,blobUri:n,name:t.name?t.name.replace(/\.[^\.]+$/,""):null,filename:t.name,base64:r.split(",")[1]})}},Ye=function(e){return function(t){e.editorUpload.blobCache.add(t)}},et=function(e){return function(t){e.windowManager.alert(t)}},tt=function(e){return function(t){return be(e,t)}},nt=function(e){return function(t){return e.dom.parseStyle(t)}},rt=function(e){return function(t,n){return e.dom.serializeStyle(t,n)}},it=function(e){return function(t){return Ce(e).upload([t],!1).then((function(e){return 0===e.length?M.reject("Failed to upload image"):!1===e[0].status?M.reject(e[0].error.message):e[0]}))}},at=function(e){var t={onSubmit:Ze(e),imageSize:qe(e),addToBlobCache:Ye(e),createBlobCache:Qe(e),alertErr:et(e),normalizeCss:tt(e),parseStyle:nt(e),serializeStyle:rt(e),uploadImage:it(e)};return{open:function(){Ee(e).then(Xe(t)).then(e.windowManager.open)}}},ot=function(e){var t=e.attr("class");return t&&/\bimage\b/.test(t)},ut=function(e){return function(t){for(var n=t.length,r=function(t){t.attr("contenteditable",e?"true":null)};n--;){var i=t[n];ot(i)&&(i.attr("contenteditable",e?"false":null),Ue.each(i.getAll("figcaption"),r))}}};r.add("image",(function(e){!function(e){e.on("PreInit",(function(){e.parser.addNodeFilter("figure",ut(!0)),e.serializer.addNodeFilter("figure",ut(!1))}))}(e),function(e){e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:at(e).open,onSetup:function(t){return t.setActive(d(ve(e))),e.selection.selectorChangedWithUnbind("img:not([data-mce-object],[data-mce-placeholder]),figure.image",t.setActive).unbind}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:at(e).open}),e.ui.registry.addContextMenu("image",{update:function(e){return ce(e)||"IMG"===e.nodeName&&!W(e)?["image"]:[]}})}(e),function(e){e.addCommand("mceImage",at(e).open),e.addCommand("mceUpdateImage",(function(t,n){e.undoManager.transact((function(){return Ae(e,n)}))}))}(e)}))}()}}]);
-//# sourceMappingURL=53302.73db5c309f835c367791.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/53302.73db5c309f835c367791.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/53302.73db5c309f835c367791.min.js.map
deleted file mode 100644
index 80ba02706..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/53302.73db5c309f835c367791.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/53302.73db5c309f835c367791.min.js","mappings":"qHAQC,WACG,aAEA,IAqCmBA,EAoCbC,EAGAC,EA5EFC,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAEtCC,EAAW,WAUb,OATAA,EAAWC,OAAOC,QAAU,SAAkBV,GAC5C,IAAK,IAAIW,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE9C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GAERH,OAAOQ,UAAUC,eAAejB,KAAKU,EAAGK,KAC1ChB,EAAEgB,GAAKL,EAAEK,IAEf,OAAOhB,CACT,EACOQ,EAASW,MAAMC,KAAMN,UAC9B,EAcIO,EAAS,SAAUC,GACrB,OAAO,SAAUC,GACf,OAbEvB,SADiBwB,EAcLD,IAZN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U,GAAQkP,KACzBwG,QAAS,SAAUC,GAEjB,OADAA,EAAUC,UAAU3b,EAAckM,GAAiBnG,KAC5CA,EAAOoG,UAAUyP,0BAA0B,iEAAkEF,EAAUC,WAAWE,MAC3I,IAEF9V,EAAOoV,GAAGC,SAASU,YAAY,QAAS,CACtCR,KAAM,QACNlW,KAAM,WACNoW,SAAUlB,GAAOvU,GAAQkP,OAE3BlP,EAAOoV,GAAGC,SAASW,eAAe,QAAS,CACzCC,OAAQ,SAAUjY,GAChB,OAAOgG,GAAShG,IAnjCI,QAmjCgBA,EAnjC7BmD,WAmjC0CF,EAAmBjD,GAAW,CAAC,SAAW,EAC7F,GAEJ,CAKIkY,CAASlW,GA5DI,SAAUA,GACzBA,EAAOmW,WAAW,WAAY5B,GAAOvU,GAAQkP,MAC7ClP,EAAOmW,WAAW,kBAAkB,SAAUC,EAAK/R,GACjDrE,EAAOqW,YAAYC,UAAS,WAC1B,OAAOrO,GAAoBjI,EAAQqE,EACrC,GACF,GACF,CAsDIkS,CAAWvW,EACb,GAKN,CAznDA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/image/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$6 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s)\n if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };\n\n var typeOf = function (x) {\n var t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {\n return 'array';\n } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {\n return 'string';\n } else {\n return t;\n }\n };\n var isType = function (type) {\n return function (value) {\n return typeOf(value) === type;\n };\n };\n var isSimpleType = function (type) {\n return function (value) {\n return typeof value === type;\n };\n };\n var eq = function (t) {\n return function (a) {\n return t === a;\n };\n };\n var isString = isType('string');\n var isObject = isType('object');\n var isArray = isType('array');\n var isNull = eq(null);\n var isBoolean = isSimpleType('boolean');\n var isNullable = function (a) {\n return a === null || a === undefined;\n };\n var isNonNullable = function (a) {\n return !isNullable(a);\n };\n var isFunction = isSimpleType('function');\n var isNumber = isSimpleType('number');\n\n var noop = function () {\n };\n var constant = function (value) {\n return function () {\n return value;\n };\n };\n var identity = function (x) {\n return x;\n };\n var never = constant(false);\n var always = constant(true);\n\n var none = function () {\n return NONE;\n };\n var NONE = function () {\n var call = function (thunk) {\n return thunk();\n };\n var id = identity;\n var me = {\n fold: function (n, _s) {\n return n();\n },\n isSome: never,\n isNone: always,\n getOr: id,\n getOrThunk: call,\n getOrDie: function (msg) {\n throw new Error(msg || 'error: getOrDie called on none.');\n },\n getOrNull: constant(null),\n getOrUndefined: constant(undefined),\n or: id,\n orThunk: call,\n map: none,\n each: noop,\n bind: none,\n exists: never,\n forall: always,\n filter: function () {\n return none();\n },\n toArray: function () {\n return [];\n },\n toString: constant('none()')\n };\n return me;\n }();\n var some = function (a) {\n var constant_a = constant(a);\n var self = function () {\n return me;\n };\n var bind = function (f) {\n return f(a);\n };\n var me = {\n fold: function (n, s) {\n return s(a);\n },\n isSome: always,\n isNone: never,\n getOr: constant_a,\n getOrThunk: constant_a,\n getOrDie: constant_a,\n getOrNull: constant_a,\n getOrUndefined: constant_a,\n or: self,\n orThunk: self,\n map: function (f) {\n return some(f(a));\n },\n each: function (f) {\n f(a);\n },\n bind: bind,\n exists: bind,\n forall: bind,\n filter: function (f) {\n return f(a) ? me : NONE;\n },\n toArray: function () {\n return [a];\n },\n toString: function () {\n return 'some(' + a + ')';\n }\n };\n return me;\n };\n var from = function (value) {\n return value === null || value === undefined ? NONE : some(value);\n };\n var Optional = {\n some: some,\n none: none,\n from: from\n };\n\n var keys = Object.keys;\n var hasOwnProperty = Object.hasOwnProperty;\n var each = function (obj, f) {\n var props = keys(obj);\n for (var k = 0, len = props.length; k < len; k++) {\n var i = props[k];\n var x = obj[i];\n f(x, i);\n }\n };\n var objAcc = function (r) {\n return function (x, i) {\n r[i] = x;\n };\n };\n var internalFilter = function (obj, pred, onTrue, onFalse) {\n var r = {};\n each(obj, function (x, i) {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n return r;\n };\n var filter = function (obj, pred) {\n var t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n var has = function (obj, key) {\n return hasOwnProperty.call(obj, key);\n };\n var hasNonNullableKey = function (obj, key) {\n return has(obj, key) && obj[key] !== undefined && obj[key] !== null;\n };\n\n var nativePush = Array.prototype.push;\n var flatten = function (xs) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n var get = function (xs, i) {\n return i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n };\n var head = function (xs) {\n return get(xs, 0);\n };\n var findMap = function (arr, f) {\n for (var i = 0; i < arr.length; i++) {\n var r = f(arr[i], i);\n if (r.isSome()) {\n return r;\n }\n }\n return Optional.none();\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n var rawSet = function (dom, key, value) {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n var set = function (element, key, value) {\n rawSet(element.dom, key, value);\n };\n var remove = function (element, key) {\n element.dom.removeAttribute(key);\n };\n\n var fromHtml = function (html, scope) {\n var doc = scope || document;\n var div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n console.error('HTML does not have a single root node', html);\n throw new Error('HTML must have a single root node');\n }\n return fromDom(div.childNodes[0]);\n };\n var fromTag = function (tag, scope) {\n var doc = scope || document;\n var node = doc.createElement(tag);\n return fromDom(node);\n };\n var fromText = function (text, scope) {\n var doc = scope || document;\n var node = doc.createTextNode(text);\n return fromDom(node);\n };\n var fromDom = function (node) {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n var fromPoint = function (docElm, x, y) {\n return Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n };\n var SugarElement = {\n fromHtml: fromHtml,\n fromTag: fromTag,\n fromText: fromText,\n fromDom: fromDom,\n fromPoint: fromPoint\n };\n\n var global$5 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.util.Promise');\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.XHR');\n\n var hasDimensions = function (editor) {\n return editor.getParam('image_dimensions', true, 'boolean');\n };\n var hasAdvTab = function (editor) {\n return editor.getParam('image_advtab', false, 'boolean');\n };\n var hasUploadTab = function (editor) {\n return editor.getParam('image_uploadtab', true, 'boolean');\n };\n var getPrependUrl = function (editor) {\n return editor.getParam('image_prepend_url', '', 'string');\n };\n var getClassList = function (editor) {\n return editor.getParam('image_class_list');\n };\n var hasDescription = function (editor) {\n return editor.getParam('image_description', true, 'boolean');\n };\n var hasImageTitle = function (editor) {\n return editor.getParam('image_title', false, 'boolean');\n };\n var hasImageCaption = function (editor) {\n return editor.getParam('image_caption', false, 'boolean');\n };\n var getImageList = function (editor) {\n return editor.getParam('image_list', false);\n };\n var hasUploadUrl = function (editor) {\n return isNonNullable(editor.getParam('images_upload_url'));\n };\n var hasUploadHandler = function (editor) {\n return isNonNullable(editor.getParam('images_upload_handler'));\n };\n var showAccessibilityOptions = function (editor) {\n return editor.getParam('a11y_advanced_options', false, 'boolean');\n };\n var isAutomaticUploadsEnabled = function (editor) {\n return editor.getParam('automatic_uploads', true, 'boolean');\n };\n\n var parseIntAndGetMax = function (val1, val2) {\n return Math.max(parseInt(val1, 10), parseInt(val2, 10));\n };\n var getImageSize = function (url) {\n return new global$4(function (callback) {\n var img = document.createElement('img');\n var done = function (dimensions) {\n img.onload = img.onerror = null;\n if (img.parentNode) {\n img.parentNode.removeChild(img);\n }\n callback(dimensions);\n };\n img.onload = function () {\n var width = parseIntAndGetMax(img.width, img.clientWidth);\n var height = parseIntAndGetMax(img.height, img.clientHeight);\n var dimensions = {\n width: width,\n height: height\n };\n done(global$4.resolve(dimensions));\n };\n img.onerror = function () {\n done(global$4.reject('Failed to get image dimensions for: ' + url));\n };\n var style = img.style;\n style.visibility = 'hidden';\n style.position = 'fixed';\n style.bottom = style.left = '0px';\n style.width = style.height = 'auto';\n document.body.appendChild(img);\n img.src = url;\n });\n };\n var removePixelSuffix = function (value) {\n if (value) {\n value = value.replace(/px$/, '');\n }\n return value;\n };\n var addPixelSuffix = function (value) {\n if (value.length > 0 && /^[0-9]+$/.test(value)) {\n value += 'px';\n }\n return value;\n };\n var mergeMargins = function (css) {\n if (css.margin) {\n var splitMargin = String(css.margin).split(' ');\n switch (splitMargin.length) {\n case 1:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[0];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[0];\n break;\n case 2:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 3:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 4:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[3];\n }\n delete css.margin;\n }\n return css;\n };\n var createImageList = function (editor, callback) {\n var imageList = getImageList(editor);\n if (isString(imageList)) {\n global$2.send({\n url: imageList,\n success: function (text) {\n callback(JSON.parse(text));\n }\n });\n } else if (isFunction(imageList)) {\n imageList(callback);\n } else {\n callback(imageList);\n }\n };\n var waitLoadImage = function (editor, data, imgElm) {\n var selectImage = function () {\n imgElm.onload = imgElm.onerror = null;\n if (editor.selection) {\n editor.selection.select(imgElm);\n editor.nodeChanged();\n }\n };\n imgElm.onload = function () {\n if (!data.width && !data.height && hasDimensions(editor)) {\n editor.dom.setAttribs(imgElm, {\n width: String(imgElm.clientWidth),\n height: String(imgElm.clientHeight)\n });\n }\n selectImage();\n };\n imgElm.onerror = selectImage;\n };\n var blobToDataUri = function (blob) {\n return new global$4(function (resolve, reject) {\n var reader = new FileReader();\n reader.onload = function () {\n resolve(reader.result);\n };\n reader.onerror = function () {\n reject(reader.error.message);\n };\n reader.readAsDataURL(blob);\n });\n };\n var isPlaceholderImage = function (imgElm) {\n return imgElm.nodeName === 'IMG' && (imgElm.hasAttribute('data-mce-object') || imgElm.hasAttribute('data-mce-placeholder'));\n };\n var isSafeImageUrl = function (editor, src) {\n return global$3.isDomSafe(src, 'img', editor.settings);\n };\n\n var DOM = global$5.DOM;\n var getHspace = function (image) {\n if (image.style.marginLeft && image.style.marginRight && image.style.marginLeft === image.style.marginRight) {\n return removePixelSuffix(image.style.marginLeft);\n } else {\n return '';\n }\n };\n var getVspace = function (image) {\n if (image.style.marginTop && image.style.marginBottom && image.style.marginTop === image.style.marginBottom) {\n return removePixelSuffix(image.style.marginTop);\n } else {\n return '';\n }\n };\n var getBorder = function (image) {\n if (image.style.borderWidth) {\n return removePixelSuffix(image.style.borderWidth);\n } else {\n return '';\n }\n };\n var getAttrib = function (image, name) {\n if (image.hasAttribute(name)) {\n return image.getAttribute(name);\n } else {\n return '';\n }\n };\n var getStyle = function (image, name) {\n return image.style[name] ? image.style[name] : '';\n };\n var hasCaption = function (image) {\n return image.parentNode !== null && image.parentNode.nodeName === 'FIGURE';\n };\n var updateAttrib = function (image, name, value) {\n if (value === '') {\n image.removeAttribute(name);\n } else {\n image.setAttribute(name, value);\n }\n };\n var wrapInFigure = function (image) {\n var figureElm = DOM.create('figure', { class: 'image' });\n DOM.insertAfter(figureElm, image);\n figureElm.appendChild(image);\n figureElm.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figureElm.contentEditable = 'false';\n };\n var removeFigure = function (image) {\n var figureElm = image.parentNode;\n DOM.insertAfter(image, figureElm);\n DOM.remove(figureElm);\n };\n var toggleCaption = function (image) {\n if (hasCaption(image)) {\n removeFigure(image);\n } else {\n wrapInFigure(image);\n }\n };\n var normalizeStyle = function (image, normalizeCss) {\n var attrValue = image.getAttribute('style');\n var value = normalizeCss(attrValue !== null ? attrValue : '');\n if (value.length > 0) {\n image.setAttribute('style', value);\n image.setAttribute('data-mce-style', value);\n } else {\n image.removeAttribute('style');\n }\n };\n var setSize = function (name, normalizeCss) {\n return function (image, name, value) {\n if (image.style[name]) {\n image.style[name] = addPixelSuffix(value);\n normalizeStyle(image, normalizeCss);\n } else {\n updateAttrib(image, name, value);\n }\n };\n };\n var getSize = function (image, name) {\n if (image.style[name]) {\n return removePixelSuffix(image.style[name]);\n } else {\n return getAttrib(image, name);\n }\n };\n var setHspace = function (image, value) {\n var pxValue = addPixelSuffix(value);\n image.style.marginLeft = pxValue;\n image.style.marginRight = pxValue;\n };\n var setVspace = function (image, value) {\n var pxValue = addPixelSuffix(value);\n image.style.marginTop = pxValue;\n image.style.marginBottom = pxValue;\n };\n var setBorder = function (image, value) {\n var pxValue = addPixelSuffix(value);\n image.style.borderWidth = pxValue;\n };\n var setBorderStyle = function (image, value) {\n image.style.borderStyle = value;\n };\n var getBorderStyle = function (image) {\n return getStyle(image, 'borderStyle');\n };\n var isFigure = function (elm) {\n return elm.nodeName === 'FIGURE';\n };\n var isImage = function (elm) {\n return elm.nodeName === 'IMG';\n };\n var getIsDecorative = function (image) {\n return DOM.getAttrib(image, 'alt').length === 0 && DOM.getAttrib(image, 'role') === 'presentation';\n };\n var getAlt = function (image) {\n if (getIsDecorative(image)) {\n return '';\n } else {\n return getAttrib(image, 'alt');\n }\n };\n var defaultData = function () {\n return {\n src: '',\n alt: '',\n title: '',\n width: '',\n height: '',\n class: '',\n style: '',\n caption: false,\n hspace: '',\n vspace: '',\n border: '',\n borderStyle: '',\n isDecorative: false\n };\n };\n var getStyleValue = function (normalizeCss, data) {\n var image = document.createElement('img');\n updateAttrib(image, 'style', data.style);\n if (getHspace(image) || data.hspace !== '') {\n setHspace(image, data.hspace);\n }\n if (getVspace(image) || data.vspace !== '') {\n setVspace(image, data.vspace);\n }\n if (getBorder(image) || data.border !== '') {\n setBorder(image, data.border);\n }\n if (getBorderStyle(image) || data.borderStyle !== '') {\n setBorderStyle(image, data.borderStyle);\n }\n return normalizeCss(image.getAttribute('style'));\n };\n var create = function (normalizeCss, data) {\n var image = document.createElement('img');\n write(normalizeCss, __assign(__assign({}, data), { caption: false }), image);\n setAlt(image, data.alt, data.isDecorative);\n if (data.caption) {\n var figure = DOM.create('figure', { class: 'image' });\n figure.appendChild(image);\n figure.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figure.contentEditable = 'false';\n return figure;\n } else {\n return image;\n }\n };\n var read = function (normalizeCss, image) {\n return {\n src: getAttrib(image, 'src'),\n alt: getAlt(image),\n title: getAttrib(image, 'title'),\n width: getSize(image, 'width'),\n height: getSize(image, 'height'),\n class: getAttrib(image, 'class'),\n style: normalizeCss(getAttrib(image, 'style')),\n caption: hasCaption(image),\n hspace: getHspace(image),\n vspace: getVspace(image),\n border: getBorder(image),\n borderStyle: getStyle(image, 'borderStyle'),\n isDecorative: getIsDecorative(image)\n };\n };\n var updateProp = function (image, oldData, newData, name, set) {\n if (newData[name] !== oldData[name]) {\n set(image, name, newData[name]);\n }\n };\n var setAlt = function (image, alt, isDecorative) {\n if (isDecorative) {\n DOM.setAttrib(image, 'role', 'presentation');\n var sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', '');\n } else {\n if (isNull(alt)) {\n var sugarImage = SugarElement.fromDom(image);\n remove(sugarImage, 'alt');\n } else {\n var sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', alt);\n }\n if (DOM.getAttrib(image, 'role') === 'presentation') {\n DOM.setAttrib(image, 'role', '');\n }\n }\n };\n var updateAlt = function (image, oldData, newData) {\n if (newData.alt !== oldData.alt || newData.isDecorative !== oldData.isDecorative) {\n setAlt(image, newData.alt, newData.isDecorative);\n }\n };\n var normalized = function (set, normalizeCss) {\n return function (image, name, value) {\n set(image, value);\n normalizeStyle(image, normalizeCss);\n };\n };\n var write = function (normalizeCss, newData, image) {\n var oldData = read(normalizeCss, image);\n updateProp(image, oldData, newData, 'caption', function (image, _name, _value) {\n return toggleCaption(image);\n });\n updateProp(image, oldData, newData, 'src', updateAttrib);\n updateProp(image, oldData, newData, 'title', updateAttrib);\n updateProp(image, oldData, newData, 'width', setSize('width', normalizeCss));\n updateProp(image, oldData, newData, 'height', setSize('height', normalizeCss));\n updateProp(image, oldData, newData, 'class', updateAttrib);\n updateProp(image, oldData, newData, 'style', normalized(function (image, value) {\n return updateAttrib(image, 'style', value);\n }, normalizeCss));\n updateProp(image, oldData, newData, 'hspace', normalized(setHspace, normalizeCss));\n updateProp(image, oldData, newData, 'vspace', normalized(setVspace, normalizeCss));\n updateProp(image, oldData, newData, 'border', normalized(setBorder, normalizeCss));\n updateProp(image, oldData, newData, 'borderStyle', normalized(setBorderStyle, normalizeCss));\n updateAlt(image, oldData, newData);\n };\n\n var normalizeCss$1 = function (editor, cssText) {\n var css = editor.dom.styles.parse(cssText);\n var mergedCss = mergeMargins(css);\n var compressed = editor.dom.styles.parse(editor.dom.styles.serialize(mergedCss));\n return editor.dom.styles.serialize(compressed);\n };\n var getSelectedImage = function (editor) {\n var imgElm = editor.selection.getNode();\n var figureElm = editor.dom.getParent(imgElm, 'figure.image');\n if (figureElm) {\n return editor.dom.select('img', figureElm)[0];\n }\n if (imgElm && (imgElm.nodeName !== 'IMG' || isPlaceholderImage(imgElm))) {\n return null;\n }\n return imgElm;\n };\n var splitTextBlock = function (editor, figure) {\n var dom = editor.dom;\n var textBlockElements = filter(editor.schema.getTextBlockElements(), function (_, parentElm) {\n return !editor.schema.isValidChild(parentElm, 'figure');\n });\n var textBlock = dom.getParent(figure.parentNode, function (node) {\n return hasNonNullableKey(textBlockElements, node.nodeName);\n }, editor.getBody());\n if (textBlock) {\n return dom.split(textBlock, figure);\n } else {\n return figure;\n }\n };\n var readImageDataFromSelection = function (editor) {\n var image = getSelectedImage(editor);\n return image ? read(function (css) {\n return normalizeCss$1(editor, css);\n }, image) : defaultData();\n };\n var insertImageAtCaret = function (editor, data) {\n var elm = create(function (css) {\n return normalizeCss$1(editor, css);\n }, data);\n editor.dom.setAttrib(elm, 'data-mce-id', '__mcenew');\n editor.focus();\n editor.selection.setContent(elm.outerHTML);\n var insertedElm = editor.dom.select('*[data-mce-id=\"__mcenew\"]')[0];\n editor.dom.setAttrib(insertedElm, 'data-mce-id', null);\n if (isFigure(insertedElm)) {\n var figure = splitTextBlock(editor, insertedElm);\n editor.selection.select(figure);\n } else {\n editor.selection.select(insertedElm);\n }\n };\n var syncSrcAttr = function (editor, image) {\n editor.dom.setAttrib(image, 'src', image.getAttribute('src'));\n };\n var deleteImage = function (editor, image) {\n if (image) {\n var elm = editor.dom.is(image.parentNode, 'figure.image') ? image.parentNode : image;\n editor.dom.remove(elm);\n editor.focus();\n editor.nodeChanged();\n if (editor.dom.isEmpty(editor.getBody())) {\n editor.setContent('');\n editor.selection.setCursorLocation();\n }\n }\n };\n var writeImageDataToSelection = function (editor, data) {\n var image = getSelectedImage(editor);\n write(function (css) {\n return normalizeCss$1(editor, css);\n }, data, image);\n syncSrcAttr(editor, image);\n if (isFigure(image.parentNode)) {\n var figure = image.parentNode;\n splitTextBlock(editor, figure);\n editor.selection.select(image.parentNode);\n } else {\n editor.selection.select(image);\n waitLoadImage(editor, data, image);\n }\n };\n var sanitizeImageData = function (editor, data) {\n var src = data.src;\n return __assign(__assign({}, data), { src: isSafeImageUrl(editor, src) ? src : '' });\n };\n var insertOrUpdateImage = function (editor, partialData) {\n var image = getSelectedImage(editor);\n if (image) {\n var selectedImageData = read(function (css) {\n return normalizeCss$1(editor, css);\n }, image);\n var data = __assign(__assign({}, selectedImageData), partialData);\n var sanitizedData = sanitizeImageData(editor, data);\n if (data.src) {\n writeImageDataToSelection(editor, sanitizedData);\n } else {\n deleteImage(editor, image);\n }\n } else if (partialData.src) {\n insertImageAtCaret(editor, __assign(__assign({}, defaultData()), partialData));\n }\n };\n\n var deep = function (old, nu) {\n var bothObjects = isObject(old) && isObject(nu);\n return bothObjects ? deepMerge(old, nu) : nu;\n };\n var baseMerge = function (merger) {\n return function () {\n var objects = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n objects[_i] = arguments[_i];\n }\n if (objects.length === 0) {\n throw new Error('Can\\'t merge zero objects');\n }\n var ret = {};\n for (var j = 0; j < objects.length; j++) {\n var curObject = objects[j];\n for (var key in curObject) {\n if (has(curObject, key)) {\n ret[key] = merger(ret[key], curObject[key]);\n }\n }\n }\n return ret;\n };\n };\n var deepMerge = baseMerge(deep);\n\n var isNotEmpty = function (s) {\n return s.length > 0;\n };\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.ImageUploader');\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var getValue = function (item) {\n return isString(item.value) ? item.value : '';\n };\n var getText = function (item) {\n if (isString(item.text)) {\n return item.text;\n } else if (isString(item.title)) {\n return item.title;\n } else {\n return '';\n }\n };\n var sanitizeList = function (list, extractValue) {\n var out = [];\n global.each(list, function (item) {\n var text = getText(item);\n if (item.menu !== undefined) {\n var items = sanitizeList(item.menu, extractValue);\n out.push({\n text: text,\n items: items\n });\n } else {\n var value = extractValue(item);\n out.push({\n text: text,\n value: value\n });\n }\n });\n return out;\n };\n var sanitizer = function (extractor) {\n if (extractor === void 0) {\n extractor = getValue;\n }\n return function (list) {\n if (list) {\n return Optional.from(list).map(function (list) {\n return sanitizeList(list, extractor);\n });\n } else {\n return Optional.none();\n }\n };\n };\n var sanitize = function (list) {\n return sanitizer(getValue)(list);\n };\n var isGroup = function (item) {\n return has(item, 'items');\n };\n var findEntryDelegate = function (list, value) {\n return findMap(list, function (item) {\n if (isGroup(item)) {\n return findEntryDelegate(item.items, value);\n } else if (item.value === value) {\n return Optional.some(item);\n } else {\n return Optional.none();\n }\n });\n };\n var findEntry = function (optList, value) {\n return optList.bind(function (list) {\n return findEntryDelegate(list, value);\n });\n };\n var ListUtils = {\n sanitizer: sanitizer,\n sanitize: sanitize,\n findEntry: findEntry\n };\n\n var makeTab$2 = function (_info) {\n return {\n title: 'Advanced',\n name: 'advanced',\n items: [\n {\n type: 'input',\n label: 'Style',\n name: 'style'\n },\n {\n type: 'grid',\n columns: 2,\n items: [\n {\n type: 'input',\n label: 'Vertical space',\n name: 'vspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Horizontal space',\n name: 'hspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Border width',\n name: 'border',\n inputMode: 'numeric'\n },\n {\n type: 'listbox',\n name: 'borderstyle',\n label: 'Border style',\n items: [\n {\n text: 'Select...',\n value: ''\n },\n {\n text: 'Solid',\n value: 'solid'\n },\n {\n text: 'Dotted',\n value: 'dotted'\n },\n {\n text: 'Dashed',\n value: 'dashed'\n },\n {\n text: 'Double',\n value: 'double'\n },\n {\n text: 'Groove',\n value: 'groove'\n },\n {\n text: 'Ridge',\n value: 'ridge'\n },\n {\n text: 'Inset',\n value: 'inset'\n },\n {\n text: 'Outset',\n value: 'outset'\n },\n {\n text: 'None',\n value: 'none'\n },\n {\n text: 'Hidden',\n value: 'hidden'\n }\n ]\n }\n ]\n }\n ]\n };\n };\n var AdvTab = { makeTab: makeTab$2 };\n\n var collect = function (editor) {\n var urlListSanitizer = ListUtils.sanitizer(function (item) {\n return editor.convertURL(item.value || item.url, 'src');\n });\n var futureImageList = new global$4(function (completer) {\n createImageList(editor, function (imageList) {\n completer(urlListSanitizer(imageList).map(function (items) {\n return flatten([\n [{\n text: 'None',\n value: ''\n }],\n items\n ]);\n }));\n });\n });\n var classList = ListUtils.sanitize(getClassList(editor));\n var hasAdvTab$1 = hasAdvTab(editor);\n var hasUploadTab$1 = hasUploadTab(editor);\n var hasUploadUrl$1 = hasUploadUrl(editor);\n var hasUploadHandler$1 = hasUploadHandler(editor);\n var image = readImageDataFromSelection(editor);\n var hasDescription$1 = hasDescription(editor);\n var hasImageTitle$1 = hasImageTitle(editor);\n var hasDimensions$1 = hasDimensions(editor);\n var hasImageCaption$1 = hasImageCaption(editor);\n var hasAccessibilityOptions = showAccessibilityOptions(editor);\n var automaticUploads = isAutomaticUploadsEnabled(editor);\n var prependURL = Optional.some(getPrependUrl(editor)).filter(function (preUrl) {\n return isString(preUrl) && preUrl.length > 0;\n });\n return futureImageList.then(function (imageList) {\n return {\n image: image,\n imageList: imageList,\n classList: classList,\n hasAdvTab: hasAdvTab$1,\n hasUploadTab: hasUploadTab$1,\n hasUploadUrl: hasUploadUrl$1,\n hasUploadHandler: hasUploadHandler$1,\n hasDescription: hasDescription$1,\n hasImageTitle: hasImageTitle$1,\n hasDimensions: hasDimensions$1,\n hasImageCaption: hasImageCaption$1,\n prependURL: prependURL,\n hasAccessibilityOptions: hasAccessibilityOptions,\n automaticUploads: automaticUploads\n };\n });\n };\n\n var makeItems = function (info) {\n var imageUrl = {\n name: 'src',\n type: 'urlinput',\n filetype: 'image',\n label: 'Source'\n };\n var imageList = info.imageList.map(function (items) {\n return {\n name: 'images',\n type: 'listbox',\n label: 'Image list',\n items: items\n };\n });\n var imageDescription = {\n name: 'alt',\n type: 'input',\n label: 'Alternative description',\n disabled: info.hasAccessibilityOptions && info.image.isDecorative\n };\n var imageTitle = {\n name: 'title',\n type: 'input',\n label: 'Image title'\n };\n var imageDimensions = {\n name: 'dimensions',\n type: 'sizeinput'\n };\n var isDecorative = {\n type: 'label',\n label: 'Accessibility',\n items: [{\n name: 'isDecorative',\n type: 'checkbox',\n label: 'Image is decorative'\n }]\n };\n var classList = info.classList.map(function (items) {\n return {\n name: 'classes',\n type: 'listbox',\n label: 'Class',\n items: items\n };\n });\n var caption = {\n type: 'label',\n label: 'Caption',\n items: [{\n type: 'checkbox',\n name: 'caption',\n label: 'Show caption'\n }]\n };\n var getDialogContainerType = function (useColumns) {\n return useColumns ? {\n type: 'grid',\n columns: 2\n } : { type: 'panel' };\n };\n return flatten([\n [imageUrl],\n imageList.toArray(),\n info.hasAccessibilityOptions && info.hasDescription ? [isDecorative] : [],\n info.hasDescription ? [imageDescription] : [],\n info.hasImageTitle ? [imageTitle] : [],\n info.hasDimensions ? [imageDimensions] : [],\n [__assign(__assign({}, getDialogContainerType(info.classList.isSome() && info.hasImageCaption)), {\n items: flatten([\n classList.toArray(),\n info.hasImageCaption ? [caption] : []\n ])\n })]\n ]);\n };\n var makeTab$1 = function (info) {\n return {\n title: 'General',\n name: 'general',\n items: makeItems(info)\n };\n };\n var MainTab = {\n makeTab: makeTab$1,\n makeItems: makeItems\n };\n\n var makeTab = function (_info) {\n var items = [{\n type: 'dropzone',\n name: 'fileinput'\n }];\n return {\n title: 'Upload',\n name: 'upload',\n items: items\n };\n };\n var UploadTab = { makeTab: makeTab };\n\n var createState = function (info) {\n return {\n prevImage: ListUtils.findEntry(info.imageList, info.image.src),\n prevAlt: info.image.alt,\n open: true\n };\n };\n var fromImageData = function (image) {\n return {\n src: {\n value: image.src,\n meta: {}\n },\n images: image.src,\n alt: image.alt,\n title: image.title,\n dimensions: {\n width: image.width,\n height: image.height\n },\n classes: image.class,\n caption: image.caption,\n style: image.style,\n vspace: image.vspace,\n border: image.border,\n hspace: image.hspace,\n borderstyle: image.borderStyle,\n fileinput: [],\n isDecorative: image.isDecorative\n };\n };\n var toImageData = function (data, removeEmptyAlt) {\n return {\n src: data.src.value,\n alt: data.alt.length === 0 && removeEmptyAlt ? null : data.alt,\n title: data.title,\n width: data.dimensions.width,\n height: data.dimensions.height,\n class: data.classes,\n style: data.style,\n caption: data.caption,\n hspace: data.hspace,\n vspace: data.vspace,\n border: data.border,\n borderStyle: data.borderstyle,\n isDecorative: data.isDecorative\n };\n };\n var addPrependUrl2 = function (info, srcURL) {\n if (!/^(?:[a-zA-Z]+:)?\\/\\//.test(srcURL)) {\n return info.prependURL.bind(function (prependUrl) {\n if (srcURL.substring(0, prependUrl.length) !== prependUrl) {\n return Optional.some(prependUrl + srcURL);\n }\n return Optional.none();\n });\n }\n return Optional.none();\n };\n var addPrependUrl = function (info, api) {\n var data = api.getData();\n addPrependUrl2(info, data.src.value).each(function (srcURL) {\n api.setData({\n src: {\n value: srcURL,\n meta: data.src.meta\n }\n });\n });\n };\n var formFillFromMeta2 = function (info, data, meta) {\n if (info.hasDescription && isString(meta.alt)) {\n data.alt = meta.alt;\n }\n if (info.hasAccessibilityOptions) {\n data.isDecorative = meta.isDecorative || data.isDecorative || false;\n }\n if (info.hasImageTitle && isString(meta.title)) {\n data.title = meta.title;\n }\n if (info.hasDimensions) {\n if (isString(meta.width)) {\n data.dimensions.width = meta.width;\n }\n if (isString(meta.height)) {\n data.dimensions.height = meta.height;\n }\n }\n if (isString(meta.class)) {\n ListUtils.findEntry(info.classList, meta.class).each(function (entry) {\n data.classes = entry.value;\n });\n }\n if (info.hasImageCaption) {\n if (isBoolean(meta.caption)) {\n data.caption = meta.caption;\n }\n }\n if (info.hasAdvTab) {\n if (isString(meta.style)) {\n data.style = meta.style;\n }\n if (isString(meta.vspace)) {\n data.vspace = meta.vspace;\n }\n if (isString(meta.border)) {\n data.border = meta.border;\n }\n if (isString(meta.hspace)) {\n data.hspace = meta.hspace;\n }\n if (isString(meta.borderstyle)) {\n data.borderstyle = meta.borderstyle;\n }\n }\n };\n var formFillFromMeta = function (info, api) {\n var data = api.getData();\n var meta = data.src.meta;\n if (meta !== undefined) {\n var newData = deepMerge({}, data);\n formFillFromMeta2(info, newData, meta);\n api.setData(newData);\n }\n };\n var calculateImageSize = function (helpers, info, state, api) {\n var data = api.getData();\n var url = data.src.value;\n var meta = data.src.meta || {};\n if (!meta.width && !meta.height && info.hasDimensions) {\n if (isNotEmpty(url)) {\n helpers.imageSize(url).then(function (size) {\n if (state.open) {\n api.setData({ dimensions: size });\n }\n }).catch(function (e) {\n return console.error(e);\n });\n } else {\n api.setData({\n dimensions: {\n width: '',\n height: ''\n }\n });\n }\n }\n };\n var updateImagesDropdown = function (info, state, api) {\n var data = api.getData();\n var image = ListUtils.findEntry(info.imageList, data.src.value);\n state.prevImage = image;\n api.setData({\n images: image.map(function (entry) {\n return entry.value;\n }).getOr('')\n });\n };\n var changeSrc = function (helpers, info, state, api) {\n addPrependUrl(info, api);\n formFillFromMeta(info, api);\n calculateImageSize(helpers, info, state, api);\n updateImagesDropdown(info, state, api);\n };\n var changeImages = function (helpers, info, state, api) {\n var data = api.getData();\n var image = ListUtils.findEntry(info.imageList, data.images);\n image.each(function (img) {\n var updateAlt = data.alt === '' || state.prevImage.map(function (image) {\n return image.text === data.alt;\n }).getOr(false);\n if (updateAlt) {\n if (img.value === '') {\n api.setData({\n src: img,\n alt: state.prevAlt\n });\n } else {\n api.setData({\n src: img,\n alt: img.text\n });\n }\n } else {\n api.setData({ src: img });\n }\n });\n state.prevImage = image;\n changeSrc(helpers, info, state, api);\n };\n var calcVSpace = function (css) {\n var matchingTopBottom = css['margin-top'] && css['margin-bottom'] && css['margin-top'] === css['margin-bottom'];\n return matchingTopBottom ? removePixelSuffix(String(css['margin-top'])) : '';\n };\n var calcHSpace = function (css) {\n var matchingLeftRight = css['margin-right'] && css['margin-left'] && css['margin-right'] === css['margin-left'];\n return matchingLeftRight ? removePixelSuffix(String(css['margin-right'])) : '';\n };\n var calcBorderWidth = function (css) {\n return css['border-width'] ? removePixelSuffix(String(css['border-width'])) : '';\n };\n var calcBorderStyle = function (css) {\n return css['border-style'] ? String(css['border-style']) : '';\n };\n var calcStyle = function (parseStyle, serializeStyle, css) {\n return serializeStyle(parseStyle(serializeStyle(css)));\n };\n var changeStyle2 = function (parseStyle, serializeStyle, data) {\n var css = mergeMargins(parseStyle(data.style));\n var dataCopy = deepMerge({}, data);\n dataCopy.vspace = calcVSpace(css);\n dataCopy.hspace = calcHSpace(css);\n dataCopy.border = calcBorderWidth(css);\n dataCopy.borderstyle = calcBorderStyle(css);\n dataCopy.style = calcStyle(parseStyle, serializeStyle, css);\n return dataCopy;\n };\n var changeStyle = function (helpers, api) {\n var data = api.getData();\n var newData = changeStyle2(helpers.parseStyle, helpers.serializeStyle, data);\n api.setData(newData);\n };\n var changeAStyle = function (helpers, info, api) {\n var data = deepMerge(fromImageData(info.image), api.getData());\n var style = getStyleValue(helpers.normalizeCss, toImageData(data, false));\n api.setData({ style: style });\n };\n var changeFileInput = function (helpers, info, state, api) {\n var data = api.getData();\n api.block('Uploading image');\n head(data.fileinput).fold(function () {\n api.unblock();\n }, function (file) {\n var blobUri = URL.createObjectURL(file);\n var finalize = function () {\n api.unblock();\n URL.revokeObjectURL(blobUri);\n };\n var updateSrcAndSwitchTab = function (url) {\n api.setData({\n src: {\n value: url,\n meta: {}\n }\n });\n api.showTab('general');\n changeSrc(helpers, info, state, api);\n };\n blobToDataUri(file).then(function (dataUrl) {\n var blobInfo = helpers.createBlobCache(file, blobUri, dataUrl);\n if (info.automaticUploads) {\n helpers.uploadImage(blobInfo).then(function (result) {\n updateSrcAndSwitchTab(result.url);\n finalize();\n }).catch(function (err) {\n finalize();\n helpers.alertErr(err);\n });\n } else {\n helpers.addToBlobCache(blobInfo);\n updateSrcAndSwitchTab(blobInfo.blobUri());\n api.unblock();\n }\n });\n });\n };\n var changeHandler = function (helpers, info, state) {\n return function (api, evt) {\n if (evt.name === 'src') {\n changeSrc(helpers, info, state, api);\n } else if (evt.name === 'images') {\n changeImages(helpers, info, state, api);\n } else if (evt.name === 'alt') {\n state.prevAlt = api.getData().alt;\n } else if (evt.name === 'style') {\n changeStyle(helpers, api);\n } else if (evt.name === 'vspace' || evt.name === 'hspace' || evt.name === 'border' || evt.name === 'borderstyle') {\n changeAStyle(helpers, info, api);\n } else if (evt.name === 'fileinput') {\n changeFileInput(helpers, info, state, api);\n } else if (evt.name === 'isDecorative') {\n if (api.getData().isDecorative) {\n api.disable('alt');\n } else {\n api.enable('alt');\n }\n }\n };\n };\n var closeHandler = function (state) {\n return function () {\n state.open = false;\n };\n };\n var makeDialogBody = function (info) {\n if (info.hasAdvTab || info.hasUploadUrl || info.hasUploadHandler) {\n var tabPanel = {\n type: 'tabpanel',\n tabs: flatten([\n [MainTab.makeTab(info)],\n info.hasAdvTab ? [AdvTab.makeTab(info)] : [],\n info.hasUploadTab && (info.hasUploadUrl || info.hasUploadHandler) ? [UploadTab.makeTab(info)] : []\n ])\n };\n return tabPanel;\n } else {\n var panel = {\n type: 'panel',\n items: MainTab.makeItems(info)\n };\n return panel;\n }\n };\n var makeDialog = function (helpers) {\n return function (info) {\n var state = createState(info);\n return {\n title: 'Insert/Edit Image',\n size: 'normal',\n body: makeDialogBody(info),\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n initialData: fromImageData(info.image),\n onSubmit: helpers.onSubmit(info),\n onChange: changeHandler(helpers, info, state),\n onClose: closeHandler(state)\n };\n };\n };\n var submitHandler = function (editor) {\n return function (info) {\n return function (api) {\n var data = deepMerge(fromImageData(info.image), api.getData());\n editor.execCommand('mceUpdateImage', false, toImageData(data, info.hasAccessibilityOptions));\n editor.editorUpload.uploadImagesAuto();\n api.close();\n };\n };\n };\n var imageSize = function (editor) {\n return function (url) {\n if (!isSafeImageUrl(editor, url)) {\n return global$4.resolve({\n width: '',\n height: ''\n });\n } else {\n return getImageSize(editor.documentBaseURI.toAbsolute(url)).then(function (dimensions) {\n return {\n width: String(dimensions.width),\n height: String(dimensions.height)\n };\n });\n }\n };\n };\n var createBlobCache = function (editor) {\n return function (file, blobUri, dataUrl) {\n return editor.editorUpload.blobCache.create({\n blob: file,\n blobUri: blobUri,\n name: file.name ? file.name.replace(/\\.[^\\.]+$/, '') : null,\n filename: file.name,\n base64: dataUrl.split(',')[1]\n });\n };\n };\n var addToBlobCache = function (editor) {\n return function (blobInfo) {\n editor.editorUpload.blobCache.add(blobInfo);\n };\n };\n var alertErr = function (editor) {\n return function (message) {\n editor.windowManager.alert(message);\n };\n };\n var normalizeCss = function (editor) {\n return function (cssText) {\n return normalizeCss$1(editor, cssText);\n };\n };\n var parseStyle = function (editor) {\n return function (cssText) {\n return editor.dom.parseStyle(cssText);\n };\n };\n var serializeStyle = function (editor) {\n return function (stylesArg, name) {\n return editor.dom.serializeStyle(stylesArg, name);\n };\n };\n var uploadImage = function (editor) {\n return function (blobInfo) {\n return global$1(editor).upload([blobInfo], false).then(function (results) {\n if (results.length === 0) {\n return global$4.reject('Failed to upload image');\n } else if (results[0].status === false) {\n return global$4.reject(results[0].error.message);\n } else {\n return results[0];\n }\n });\n };\n };\n var Dialog = function (editor) {\n var helpers = {\n onSubmit: submitHandler(editor),\n imageSize: imageSize(editor),\n addToBlobCache: addToBlobCache(editor),\n createBlobCache: createBlobCache(editor),\n alertErr: alertErr(editor),\n normalizeCss: normalizeCss(editor),\n parseStyle: parseStyle(editor),\n serializeStyle: serializeStyle(editor),\n uploadImage: uploadImage(editor)\n };\n var open = function () {\n collect(editor).then(makeDialog(helpers)).then(editor.windowManager.open);\n };\n return { open: open };\n };\n\n var register$1 = function (editor) {\n editor.addCommand('mceImage', Dialog(editor).open);\n editor.addCommand('mceUpdateImage', function (_ui, data) {\n editor.undoManager.transact(function () {\n return insertOrUpdateImage(editor, data);\n });\n });\n };\n\n var hasImageClass = function (node) {\n var className = node.attr('class');\n return className && /\\bimage\\b/.test(className);\n };\n var toggleContentEditableState = function (state) {\n return function (nodes) {\n var i = nodes.length;\n var toggleContentEditable = function (node) {\n node.attr('contenteditable', state ? 'true' : null);\n };\n while (i--) {\n var node = nodes[i];\n if (hasImageClass(node)) {\n node.attr('contenteditable', state ? 'false' : null);\n global.each(node.getAll('figcaption'), toggleContentEditable);\n }\n }\n };\n };\n var setup = function (editor) {\n editor.on('PreInit', function () {\n editor.parser.addNodeFilter('figure', toggleContentEditableState(true));\n editor.serializer.addNodeFilter('figure', toggleContentEditableState(false));\n });\n };\n\n var register = function (editor) {\n editor.ui.registry.addToggleButton('image', {\n icon: 'image',\n tooltip: 'Insert/edit image',\n onAction: Dialog(editor).open,\n onSetup: function (buttonApi) {\n buttonApi.setActive(isNonNullable(getSelectedImage(editor)));\n return editor.selection.selectorChangedWithUnbind('img:not([data-mce-object],[data-mce-placeholder]),figure.image', buttonApi.setActive).unbind;\n }\n });\n editor.ui.registry.addMenuItem('image', {\n icon: 'image',\n text: 'Image...',\n onAction: Dialog(editor).open\n });\n editor.ui.registry.addContextMenu('image', {\n update: function (element) {\n return isFigure(element) || isImage(element) && !isPlaceholderImage(element) ? ['image'] : [];\n }\n });\n };\n\n function Plugin () {\n global$6.add('image', function (editor) {\n setup(editor);\n register(editor);\n register$1(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["t","call","id","global$6","tinymce","util","Tools","resolve","__assign","Object","assign","s","i","n","arguments","length","p","prototype","hasOwnProperty","apply","this","isType","type","value","x","Array","isPrototypeOf","constructor","name","String","isSimpleType","isString","isObject","isArray","isNull","a","isBoolean","isNonNullable","isNullable","isFunction","isNumber","noop","constant","identity","never","always","none","NONE","fold","_s","isSome","isNone","getOr","getOrThunk","thunk","getOrDie","msg","Error","getOrNull","getOrUndefined","undefined","or","orThunk","map","each","bind","exists","forall","filter","toArray","toString","some","constant_a","self","me","f","Optional","from","keys","internalFilter","obj","pred","onTrue","onFalse","props","k","len","has","key","nativePush","push","flatten","xs","r","head","get","window","Function","merger","set","element","dom","console","error","setAttribute","rawSet","fromDom","node","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","fromTag","tag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","global$5","global$4","global$3","global$2","hasDimensions","editor","getParam","parseIntAndGetMax","val1","val2","Math","max","parseInt","removePixelSuffix","replace","addPixelSuffix","test","mergeMargins","css","margin","splitMargin","split","isPlaceholderImage","imgElm","nodeName","hasAttribute","isSafeImageUrl","src","isDomSafe","settings","DOM","getHspace","image","style","marginLeft","marginRight","getVspace","marginTop","marginBottom","getBorder","borderWidth","getAttrib","getAttribute","getStyle","hasCaption","parentNode","updateAttrib","removeAttribute","toggleCaption","figureElm","insertAfter","remove","removeFigure","create","class","appendChild","contentEditable","wrapInFigure","normalizeStyle","normalizeCss","attrValue","setSize","getSize","setHspace","pxValue","setVspace","setBorder","setBorderStyle","borderStyle","isFigure","elm","getIsDecorative","getAlt","getStyleValue","data","hspace","vspace","border","getBorderStyle","read","alt","title","width","height","caption","isDecorative","updateProp","oldData","newData","setAlt","setAttrib","sugarImage","normalized","write","_name","_value","updateAlt","normalizeCss$1","cssText","styles","parse","mergedCss","compressed","serialize","getSelectedImage","selection","getNode","getParent","select","splitTextBlock","figure","textBlockElements","schema","getTextBlockElements","_","parentElm","isValidChild","textBlock","getBody","insertImageAtCaret","focus","setContent","outerHTML","insertedElm","writeImageDataToSelection","syncSrcAttr","selectImage","onload","onerror","nodeChanged","setAttribs","clientWidth","clientHeight","waitLoadImage","insertOrUpdateImage","partialData","selectedImageData","sanitizedData","sanitizeImageData","is","isEmpty","setCursorLocation","deleteImage","deepMerge","old","nu","objects","_i","ret","j","curObject","global$1","global","getValue","item","sanitizeList","list","extractValue","out","getText","menu","items","sanitizer","extractor","findEntryDelegate","arr","findMap","isGroup","ListUtils","optList","AdvTab","_info","label","columns","inputMode","collect","urlListSanitizer","convertURL","url","futureImageList","completer","callback","imageList","getImageList","send","success","JSON","createImageList","classList","getClassList","hasAdvTab$1","hasAdvTab","hasUploadTab$1","hasUploadTab","hasUploadUrl$1","hasUploadUrl","hasUploadHandler$1","hasUploadHandler","readImageDataFromSelection","hasDescription$1","hasDescription","hasImageTitle$1","hasImageTitle","hasDimensions$1","hasImageCaption$1","hasImageCaption","hasAccessibilityOptions","showAccessibilityOptions","automaticUploads","isAutomaticUploadsEnabled","prependURL","getPrependUrl","preUrl","then","makeItems","info","useColumns","imageDescription","disabled","filetype","MainTab","UploadTab","fromImageData","meta","images","dimensions","classes","borderstyle","fileinput","toImageData","removeEmptyAlt","addPrependUrl","api","getData","srcURL","prependUrl","substring","addPrependUrl2","setData","formFillFromMeta","entry","formFillFromMeta2","changeSrc","helpers","state","imageSize","size","open","catch","e","calculateImageSize","prevImage","updateImagesDropdown","changeStyle2","parseStyle","serializeStyle","dataCopy","calcVSpace","calcHSpace","calcBorderWidth","calcBorderStyle","calcStyle","changeFileInput","block","unblock","file","blob","blobUri","URL","createObjectURL","finalize","revokeObjectURL","updateSrcAndSwitchTab","showTab","reject","reader","FileReader","result","message","readAsDataURL","dataUrl","blobInfo","createBlobCache","uploadImage","err","alertErr","addToBlobCache","changeHandler","evt","img","prevAlt","changeImages","changeStyle","changeAStyle","disable","enable","closeHandler","makeDialogBody","tabs","makeDialog","createState","body","buttons","primary","initialData","onSubmit","onChange","onClose","submitHandler","execCommand","editorUpload","uploadImagesAuto","close","done","removeChild","visibility","position","bottom","left","getImageSize","documentBaseURI","toAbsolute","blobCache","filename","base64","add","windowManager","alert","stylesArg","upload","results","status","Dialog","hasImageClass","className","attr","toggleContentEditableState","nodes","toggleContentEditable","getAll","on","parser","addNodeFilter","serializer","setup","ui","registry","addToggleButton","icon","tooltip","onAction","onSetup","buttonApi","setActive","selectorChangedWithUnbind","unbind","addMenuItem","addContextMenu","update","register","addCommand","_ui","undoManager","transact","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/53339.804b2f1bdd6de4e85bc1.min.js b/src/plone/staticresources/static/bundle-plone/chunks/53339.804b2f1bdd6de4e85bc1.min.js
new file mode 100644
index 000000000..f43b51d6a
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/53339.804b2f1bdd6de4e85bc1.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[53339],{53339:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.el","
Έναρξη πλοήγησης μέσω πληκτρολογίου
\n\n
\n
Εστίαση στη γραμμή μενού
\n
Windows ή Linux: Alt+F9
\n
macOS: ⌥F9
\n
Εστίαση στη γραμμή εργαλείων
\n
Windows ή Linux: Alt+F10
\n
macOS: ⌥F10
\n
Εστίαση στο υποσέλιδο
\n
Windows ή Linux: Alt+F11
\n
macOS: ⌥F11
\n
Εστίαση σε γραμμή εργαλείων βάσει περιεχομένου
\n
Windows, Linux ή macOS: Ctrl+F9\n
\n\n
Η πλοήγηση θα ξεκινήσει από το πρώτο στοιχείο περιβάλλοντος χρήστη, που θα επισημαίνεται ή θα είναι υπογραμμισμένο,\n όπως στην περίπτωση της διαδρομής του στοιχείου Υποσέλιδου.
\n\n
Πλοήγηση μεταξύ ενοτήτων του περιβάλλοντος χρήστη
\n\n
Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην επόμενη, πιέστε το πλήκτρο Tab.
\n\n
Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην προηγούμενη, πιέστε τα πλήκτρα Shift+Tab.
\n\n
Η σειρά Tab αυτών των ενοτήτων περιβάλλοντος χρήστη είναι η εξής:\n\n
\n
Γραμμή μενού
\n
Κάθε ομάδα γραμμής εργαλείων
\n
Πλαϊνή γραμμή
\n
Διαδρομή στοιχείου στο υποσέλιδο
\n
Κουμπί εναλλαγής μέτρησης λέξεων στο υποσέλιδο
\n
Σύνδεσμος επωνυμίας στο υποσέλιδο
\n
Λαβή αλλαγής μεγέθους προγράμματος επεξεργασίας στο υποσέλιδο
\n\n\n
Εάν δεν εμφανίζεται ενότητα περιβάλλοντος χρήστη, παραλείπεται.
\n\n
Εάν η εστίαση πλοήγησης βρίσκεται στο πληκτρολόγιο και δεν υπάρχει εμφανής πλαϊνή γραμμή, εάν πιέσετε Shift+Tab\n η εστίαση μετακινείται στην πρώτη ομάδα γραμμής εργαλείων, όχι στην τελευταία.\n\n
Πλοήγηση εντός των ενοτήτων του περιβάλλοντος χρήστη
\n\n
Για να μετακινηθείτε από ένα στοιχείο περιβάλλοντος χρήστη στο επόμενο, πιέστε το αντίστοιχο πλήκτρο βέλους.
\n\n
Με τα πλήκτρα αριστερού και δεξιού βέλους
\n\n
\n
γίνεται μετακίνηση μεταξύ των μενού στη γραμμή μενού.
\n
ανοίγει ένα υπομενού σε ένα μενού.
\n
γίνεται μετακίνηση μεταξύ κουμπιών σε μια ομάδα γραμμής εργαλείων.
\n
γίνεται μετακίνηση μεταξύ στοιχείων στη διαδρομή στοιχείου στο υποσέλιδο.
\n
\n\n
Με τα πλήκτρα επάνω και κάτω βέλους\n\n
\n
γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα μενού.
\n
γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα αναδυόμενο μενού γραμμής εργαλείων.
\n
\n\n
Με τα πλήκτρα βέλους γίνεται κυκλική μετακίνηση εντός της εστιασμένης ενότητας περιβάλλοντος χρήστη.
\n\n
Για να κλείσετε ένα ανοιχτό μενού, ένα ανοιχτό υπομενού ή ένα ανοιχτό αναδυόμενο μενού, πιέστε το πλήκτρο Esc.\n\n
Εάν η τρέχουσα εστίαση βρίσκεται στην κορυφή μιας ενότητας περιβάλλοντος χρήστη, πιέζοντας το πλήκτρο Esc,\n γίνεται επίσης πλήρης έξοδος από την πλοήγηση μέσω πληκτρολογίου.
\n\n
Εκτέλεση ενός στοιχείου μενού ή κουμπιού γραμμής εργαλείων
\n\n
Όταν το επιθυμητό στοιχείο μενού ή κουμπί γραμμής εργαλείων είναι επισημασμένο, πιέστε τα πλήκτρα Return, Enter,\n ή το πλήκτρο διαστήματος για να εκτελέσετε το στοιχείο.\n\n
Πλοήγηση σε παράθυρα διαλόγου χωρίς καρτέλες
\n\n
Σε παράθυρα διαλόγου χωρίς καρτέλες, το πρώτο αλληλεπιδραστικό στοιχείο λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.
\n\n
Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων παραθύρων διαλόγων πιέζοντας τα πλήκτρα Tab ή Shift+Tab.
\n\n
Πλοήγηση σε παράθυρα διαλόγου με καρτέλες
\n\n
Σε παράθυρα διαλόγου με καρτέλες, το πρώτο κουμπί στο μενού καρτέλας λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.
\n\n
Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων αυτής της καρτέλα διαλόγου πιέζοντας τα πλήκτρα Tab ή\n Shift+Tab.
\n\n
Μπορείτε να κάνετε εναλλαγή σε άλλη καρτέλα του παραθύρου διαλόγου, μεταφέροντας την εστίαση στο μενού καρτέλας και πιέζοντας το κατάλληλο πλήκτρο βέλους\n για να μετακινηθείτε κυκλικά στις διαθέσιμες καρτέλες.
\n")}}]);
+//# sourceMappingURL=53339.804b2f1bdd6de4e85bc1.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/53339.804b2f1bdd6de4e85bc1.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/53339.804b2f1bdd6de4e85bc1.min.js.map
new file mode 100644
index 000000000..42d6c38aa
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/53339.804b2f1bdd6de4e85bc1.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/53339.804b2f1bdd6de4e85bc1.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,uqI","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/el.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.el',\n'
Έναρξη πλοήγησης μέσω πληκτρολογίου
\\n' +\n '\\n' +\n '
\\n' +\n '
Εστίαση στη γραμμή μενού
\\n' +\n '
Windows ή Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Εστίαση στη γραμμή εργαλείων
\\n' +\n '
Windows ή Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Εστίαση στο υποσέλιδο
\\n' +\n '
Windows ή Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Εστίαση σε γραμμή εργαλείων βάσει περιεχομένου
\\n' +\n '
Windows, Linux ή macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
Η πλοήγηση θα ξεκινήσει από το πρώτο στοιχείο περιβάλλοντος χρήστη, που θα επισημαίνεται ή θα είναι υπογραμμισμένο,\\n' +\n ' όπως στην περίπτωση της διαδρομής του στοιχείου Υποσέλιδου.
\\n' +\n '\\n' +\n '
Πλοήγηση μεταξύ ενοτήτων του περιβάλλοντος χρήστη
\\n' +\n '\\n' +\n '
Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην επόμενη, πιέστε το πλήκτρο Tab.
\\n' +\n '\\n' +\n '
Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην προηγούμενη, πιέστε τα πλήκτρα Shift+Tab.
\\n' +\n '\\n' +\n '
Η σειρά Tab αυτών των ενοτήτων περιβάλλοντος χρήστη είναι η εξής:\\n' +\n '\\n' +\n '
\\n' +\n '
Γραμμή μενού
\\n' +\n '
Κάθε ομάδα γραμμής εργαλείων
\\n' +\n '
Πλαϊνή γραμμή
\\n' +\n '
Διαδρομή στοιχείου στο υποσέλιδο
\\n' +\n '
Κουμπί εναλλαγής μέτρησης λέξεων στο υποσέλιδο
\\n' +\n '
Σύνδεσμος επωνυμίας στο υποσέλιδο
\\n' +\n '
Λαβή αλλαγής μεγέθους προγράμματος επεξεργασίας στο υποσέλιδο
\\n' +\n '\\n' +\n '\\n' +\n '
Εάν δεν εμφανίζεται ενότητα περιβάλλοντος χρήστη, παραλείπεται.
\\n' +\n '\\n' +\n '
Εάν η εστίαση πλοήγησης βρίσκεται στο πληκτρολόγιο και δεν υπάρχει εμφανής πλαϊνή γραμμή, εάν πιέσετε Shift+Tab\\n' +\n ' η εστίαση μετακινείται στην πρώτη ομάδα γραμμής εργαλείων, όχι στην τελευταία.\\n' +\n '\\n' +\n '
Πλοήγηση εντός των ενοτήτων του περιβάλλοντος χρήστη
\\n' +\n '\\n' +\n '
Για να μετακινηθείτε από ένα στοιχείο περιβάλλοντος χρήστη στο επόμενο, πιέστε το αντίστοιχο πλήκτρο βέλους.
\\n' +\n '\\n' +\n '
Με τα πλήκτρα αριστερού και δεξιού βέλους
\\n' +\n '\\n' +\n '
\\n' +\n '
γίνεται μετακίνηση μεταξύ των μενού στη γραμμή μενού.
\\n' +\n '
ανοίγει ένα υπομενού σε ένα μενού.
\\n' +\n '
γίνεται μετακίνηση μεταξύ κουμπιών σε μια ομάδα γραμμής εργαλείων.
\\n' +\n '
γίνεται μετακίνηση μεταξύ στοιχείων στη διαδρομή στοιχείου στο υποσέλιδο.
\\n' +\n '
\\n' +\n '\\n' +\n '
Με τα πλήκτρα επάνω και κάτω βέλους\\n' +\n '\\n' +\n '
\\n' +\n '
γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα μενού.
\\n' +\n '
γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα αναδυόμενο μενού γραμμής εργαλείων.
\\n' +\n '
\\n' +\n '\\n' +\n '
Με τα πλήκτρα βέλους γίνεται κυκλική μετακίνηση εντός της εστιασμένης ενότητας περιβάλλοντος χρήστη.
\\n' +\n '\\n' +\n '
Για να κλείσετε ένα ανοιχτό μενού, ένα ανοιχτό υπομενού ή ένα ανοιχτό αναδυόμενο μενού, πιέστε το πλήκτρο Esc.\\n' +\n '\\n' +\n '
Εάν η τρέχουσα εστίαση βρίσκεται στην κορυφή μιας ενότητας περιβάλλοντος χρήστη, πιέζοντας το πλήκτρο Esc,\\n' +\n ' γίνεται επίσης πλήρης έξοδος από την πλοήγηση μέσω πληκτρολογίου.
\\n' +\n '\\n' +\n '
Εκτέλεση ενός στοιχείου μενού ή κουμπιού γραμμής εργαλείων
\\n' +\n '\\n' +\n '
Όταν το επιθυμητό στοιχείο μενού ή κουμπί γραμμής εργαλείων είναι επισημασμένο, πιέστε τα πλήκτρα Return, Enter,\\n' +\n ' ή το πλήκτρο διαστήματος για να εκτελέσετε το στοιχείο.\\n' +\n '\\n' +\n '
Πλοήγηση σε παράθυρα διαλόγου χωρίς καρτέλες
\\n' +\n '\\n' +\n '
Σε παράθυρα διαλόγου χωρίς καρτέλες, το πρώτο αλληλεπιδραστικό στοιχείο λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.
\\n' +\n '\\n' +\n '
Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων παραθύρων διαλόγων πιέζοντας τα πλήκτρα Tab ή Shift+Tab.
\\n' +\n '\\n' +\n '
Πλοήγηση σε παράθυρα διαλόγου με καρτέλες
\\n' +\n '\\n' +\n '
Σε παράθυρα διαλόγου με καρτέλες, το πρώτο κουμπί στο μενού καρτέλας λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.
\\n' +\n '\\n' +\n '
Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων αυτής της καρτέλα διαλόγου πιέζοντας τα πλήκτρα Tab ή\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
Μπορείτε να κάνετε εναλλαγή σε άλλη καρτέλα του παραθύρου διαλόγου, μεταφέροντας την εστίαση στο μενού καρτέλας και πιέζοντας το κατάλληλο πλήκτρο βέλους\\n' +\n ' για να μετακινηθείτε κυκλικά στις διαθέσιμες καρτέλες.
The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:
\n
\n
Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)
\n
Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)
\n
Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)
\n
\n\n
Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline.
\n\n
Moving between UI sections
\n\n
When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:
\n
\n
the menubar
\n
each group of the toolbar
\n
the sidebar
\n
the element path in the footer
\n
the wordcount toggle button in the footer
\n
the branding link in the footer
\n
the editor resize handle in the footer
\n
\n\n
Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.
\n\n
Moving within UI sections
\n\n
Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:
\n
\n
moving between menus in the menubar
\n
moving between buttons in a toolbar group
\n
moving between items in the element path
\n
\n\n
In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group.
\n\n
Executing buttons
\n\n
To execute a button, navigate the selection to the desired button and hit space or enter.
\n\n
Opening, navigating and closing menus
\n\n
When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.
\n\n
To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.
\n\n
Context toolbars and menus
\n\n
To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).
\n\n
Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.
\n\n
Dialog navigation
\n\n
There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.
\n\n
When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.
\n\n
When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab’s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.
",presets:"document"}]}),m=o(((n={})[s.name]=s,n[c.name]=c,n[l.name]=l,n[u.name]=u,n),t.get());return function(e){return h.from(e.getParam("help_tabs"))}(e).fold((function(){return function(e){var t=b(e),n=t.indexOf("versions");return-1!==n&&(t.splice(n,1),t.push("versions")),{tabs:e,names:t}}(m)}),(function(e){return function(e,t){var n={},o=y(e,(function(e){return"string"==typeof e?(v(t,e)&&(n[e]=t[e]),e):(n[e.name]=e,e.name)}));return{tabs:n,names:o}}(e,m)}))},S=function(e,t){return function(){var n=P(e,t),o=n.tabs,a=n.names,i={type:"tabpanel",tabs:function(e){for(var t=[],n=function(e){t.push(e)},o=0;o -1;\n };\n var map = function (xs, f) {\n var len = xs.length;\n var r = new Array(len);\n for (var i = 0; i < len; i++) {\n var x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n var filter = function (xs, pred) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n var findUntil = function (xs, pred, until) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n var find = function (xs, pred) {\n return findUntil(xs, pred, never);\n };\n\n var keys = Object.keys;\n var hasOwnProperty = Object.hasOwnProperty;\n var get = function (obj, key) {\n return has(obj, key) ? Optional.from(obj[key]) : Optional.none();\n };\n var has = function (obj, key) {\n return hasOwnProperty.call(obj, key);\n };\n\n var cat = function (arr) {\n var r = [];\n var push = function (x) {\n r.push(x);\n };\n for (var i = 0; i < arr.length; i++) {\n arr[i].each(push);\n }\n return r;\n };\n\n var getHelpTabs = function (editor) {\n return Optional.from(editor.getParam('help_tabs'));\n };\n var getForcedPlugins = function (editor) {\n return editor.getParam('forced_plugins');\n };\n\n var description = '
Editor UI keyboard navigation
\\n\\n
Activating keyboard navigation
\\n\\n
The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:
\\n
\\n
Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)
\\n
Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)
\\n
Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)
\\n
\\n\\n
Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline.
\\n\\n
Moving between UI sections
\\n\\n
When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:
\\n
\\n
the menubar
\\n
each group of the toolbar
\\n
the sidebar
\\n
the element path in the footer
\\n
the wordcount toggle button in the footer
\\n
the branding link in the footer
\\n
the editor resize handle in the footer
\\n
\\n\\n
Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.
\\n\\n
Moving within UI sections
\\n\\n
Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:
\\n
\\n
moving between menus in the menubar
\\n
moving between buttons in a toolbar group
\\n
moving between items in the element path
\\n
\\n\\n
In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group.
\\n\\n
Executing buttons
\\n\\n
To execute a button, navigate the selection to the desired button and hit space or enter.
\\n\\n
Opening, navigating and closing menus
\\n\\n
When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.
\\n\\n
To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.
\\n\\n
Context toolbars and menus
\\n\\n
To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).
\\n\\n
Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.
\\n\\n
Dialog navigation
\\n\\n
There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.
\\n\\n
When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.
\\n\\n
When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab\\u2019s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.
' + global$2.translate([\n 'You are using {0}',\n changeLogLink\n ]) + '
',\n presets: 'document'\n };\n return {\n name: 'versions',\n title: 'Version',\n items: [htmlPanel]\n };\n };\n\n const parseHelpTabsSetting = (tabsFromSettings, tabs) => {\n const newTabs = {};\n const names = map(tabsFromSettings, t => {\n var _a;\n if (isString(t)) {\n if (has(tabs, t)) {\n newTabs[t] = tabs[t];\n }\n return t;\n } else {\n const name = (_a = t.name) !== null && _a !== void 0 ? _a : generate('tab-name');\n newTabs[name] = t;\n return name;\n }\n });\n return {\n tabs: newTabs,\n names\n };\n };\n const getNamesFromTabs = tabs => {\n const names = keys(tabs);\n const idx = names.indexOf('versions');\n if (idx !== -1) {\n names.splice(idx, 1);\n names.push('versions');\n }\n return {\n tabs,\n names\n };\n };\n const pParseCustomTabs = async (editor, customTabs, pluginUrl) => {\n const shortcuts = tab$2();\n const nav = await pTab(pluginUrl);\n const plugins = tab$1(editor);\n const versions = tab();\n const tabs = {\n [shortcuts.name]: shortcuts,\n [nav.name]: nav,\n [plugins.name]: plugins,\n [versions.name]: versions,\n ...customTabs.get()\n };\n return Optional.from(getHelpTabs(editor)).fold(() => getNamesFromTabs(tabs), tabsFromSettings => parseHelpTabsSetting(tabsFromSettings, tabs));\n };\n const init = (editor, customTabs, pluginUrl) => () => {\n pParseCustomTabs(editor, customTabs, pluginUrl).then(({tabs, names}) => {\n const foundTabs = map(names, name => get(tabs, name));\n const dialogTabs = cat(foundTabs);\n const body = {\n type: 'tabpanel',\n tabs: dialogTabs\n };\n editor.windowManager.open({\n title: 'Help',\n size: 'medium',\n body,\n buttons: [{\n type: 'cancel',\n name: 'close',\n text: 'Close',\n primary: true\n }],\n initialData: {}\n });\n });\n };\n\n var Plugin = () => {\n global$4.add('help', (editor, pluginUrl) => {\n const customTabs = Cell({});\n const api = get$1(customTabs);\n register$1(editor);\n const dialogOpener = init(editor, customTabs, pluginUrl);\n register(editor, dialogOpener);\n register$2(editor, dialogOpener);\n editor.shortcuts.add('Alt+0', 'Open help dialog', 'mceHelp');\n initI18nLoad(editor, pluginUrl);\n return api;\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$4","tinymce","util","Tools","resolve","unique","generate","prefix","time","Date","getTime","random","Math","floor","String","option","name","editor","options","get","getHelpTabs","getForcedPlugins","isString","type","value","x","t","Array","isArray","o","v","constructor","prototype","isPrototypeOf","_a","typeOf","isUndefined","undefined","a","isFunction","isSimpleType","never","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","isNullable","getOrNull","getOrUndefined","each","worker","toArray","toString","nativeSlice","slice","nativeIndexOf","indexOf","contains","xs","ts","call","rawIndexOf","f","len","length","r","i","pred","push","find","until","findUntil","sort","comparator","copy","keys","Object","hasOwnProperty","has","obj","key","global$3","global$2","pLoadHtmlByLangCode","baseUrl","langCode","load","pLoadI18nHtml","getCode","catch","global$1","convertText","source","isMac","os","isMacOS","isiOS","replace","alt","ctrl","shift","meta","access","shortcut","split","updated","segment","search","toLowerCase","trim","join","shortcuts","action","tab$2","title","items","header","cells","shortcutText","urls","slug","item","tab$1","makeLink","p","url","getPluginData","getMetadata","plugins","metadata","html","identifyUnknownPlugin","pluginLister","pluginKeys","keys$1","forcedPlugins","k","getPluginKeys","sortedPluginData","pd1","pd2","localeCompare","pluginLis","count","pluginsString","translate","htmlPanel","presets","installedPlugins","premiumPlugins","sortedPremiumPlugins","s1","s2","premiumPluginList","pluginName","availablePlugins","global","pParseCustomTabs","async","customTabs","pluginUrl","nav","pTab","versions","major","minor","changeLogLink","majorVersion","minorVersion","tab","tabs","names","idx","splice","getNamesFromTabs","tabsFromSettings","newTabs","parseHelpTabsSetting","init","then","body","arr","cat","windowManager","open","size","buttons","text","primary","initialData","add","initial","set","Cell","api","addTab","spec","currentCustomTabs","get$1","registerOption","register","processor","register$1","dialogOpener","ui","registry","addButton","icon","tooltip","onAction","addMenuItem","addCommand","register$2","on","initI18nLoad"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/56907.9ef7fe22d63971d6d813.min.js b/src/plone/staticresources/static/bundle-plone/chunks/56907.9ef7fe22d63971d6d813.min.js
deleted file mode 100644
index 2d19a624a..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/56907.9ef7fe22d63971d6d813.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[56907],{56907:function(){!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("contextmenu",(function(){}))}()}}]);
-//# sourceMappingURL=56907.9ef7fe22d63971d6d813.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/56907.9ef7fe22d63971d6d813.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/56907.9ef7fe22d63971d6d813.min.js.map
deleted file mode 100644
index b3abd7cb2..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/56907.9ef7fe22d63971d6d813.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/56907.9ef7fe22d63971d6d813.min.js","mappings":"qHAQC,WAAW,aAAaA,QAAQC,KAAKC,MAAMC,QAAQ,yBAAyBC,IAAI,eAAc,WAAW,GAAE,CAA3G,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/contextmenu/plugin.min.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n!function(){\"use strict\";tinymce.util.Tools.resolve(\"tinymce.PluginManager\").add(\"contextmenu\",function(){})}();"],"names":["tinymce","util","Tools","resolve","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/57466.e96a25b7f9d128c547dd.min.js b/src/plone/staticresources/static/bundle-plone/chunks/57466.e96a25b7f9d128c547dd.min.js
new file mode 100644
index 000000000..0b7d384c6
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/57466.e96a25b7f9d128c547dd.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[57466],{57466:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.hu_HU","
Billentyűzetes navigáció indítása
\n\n
\n
Fókusz a menüsávra
\n
Windows és Linux: Alt+F9
\n
macOS: ⌥F9
\n
Fókusz az eszköztárra
\n
Windows és Linux: Alt+F10
\n
macOS: ⌥F10
\n
Fókusz a láblécre
\n
Windows és Linux: Alt+F11
\n
macOS: ⌥F11
\n
Fókusz egy környezetfüggő eszköztárra
\n
Windows, Linux és macOS: Ctrl+F9\n
\n\n
A navigáció az első felhasználói felületi elemnél kezdődik, amelyet a rendszer kiemel, illetve aláhúz, amennyiben az az első elem\n a lábléc elemútvonalán.
\n\n
Navigálás a felhasználói felület szakaszai között
\n\n
A felhasználói felület következő szakaszára váltáshoz nyomja meg a Tab billentyűt.
\n\n
A felhasználói felület előző szakaszára váltáshoz nyomja meg a Shift+Tab billentyűt.
\n\n
A Tab billentyűvel a felhasználói felület szakaszai között a következő sorrendben vált:\n\n
\n
Menüsáv
\n
Az egyes eszköztárcsoportok
\n
Oldalsáv
\n
Elemútvonal a láblécen
\n
Szószámátkapcsoló gomb a láblécen
\n
Márkalink a láblécen
\n
Szerkesztő átméretezési fogópontja a láblécen
\n\n\n
Ha a felhasználói felület valamelyik eleme nincs jelen, a rendszer kihagyja.
\n\n
Ha a billentyűzetes navigáció fókusza a láblécen van, és nincs látható oldalsáv, a Shift+Tab\n billentyűkombináció lenyomásakor az első eszköztárcsoportra ugrik a fókusz, nem az utolsóra.\n\n
Navigálás a felhasználói felület szakaszain belül
\n\n
A felhasználói felület következő elemére váltáshoz nyomja meg a megfelelő nyílbillentyűt.
\n\n
A bal és a jobb nyílgomb
\n\n
\n
a menüsávban a menük között vált.
\n
a menükben megnyit egy almenüt.
\n
az eszköztárcsoportban a gombok között vált.
\n
a lábléc elemútvonalán az elemek között vált.
\n
\n\n
A le és a fel nyílgomb\n\n
\n
a menükben a menüpontok között vált.
\n
az eszköztár előugró menüjében az elemek között vált.
\n
\n\n
A nyílbillentyűk lenyomásával körkörösen lépkedhet a fókuszban lévő felhasználói felületi szakasz elemei között.
\n\n
A megnyitott menüket, almenüket és előugró menüket az Esc billentyűvel zárhatja be.\n\n
Ha a fókusz az aktuális felületi elem „felső” részén van, az Esc billentyűvel az egész\n billentyűzetes navigációból kilép.
\n\n
Menüpont vagy eszköztárgomb aktiválása
\n\n
Amikor a kívánt menüelem vagy eszköztárgomb van kijelölve, nyomja meg a Return, az Enter\n vagy a Szóköz billentyűt az adott elem vagy gomb aktiválásához.\n\n
Navigálás a lapokkal nem rendelkező párbeszédablakokban
\n\n
A lapokkal nem rendelkező párbeszédablakokban az első interaktív összetevő kapja a fókuszt, amikor a párbeszédpanel megnyílik.
\n\n
A párbeszédpanelek interaktív összetevői között a Tab vagy a Shift+Tab billentyűvel navigálhat.
\n\n
Navigálás a lapokkal rendelkező párbeszédablakokban
\n\n
A lapokkal rendelkező párbeszédablakokban a lapmenü első gombja kapja a fókuszt, amikor a párbeszédpanel megnyílik.
\n\n
A párbeszédpanel e lapjának interaktív összetevői között a Tab vagy\n Shift+Tab billentyűvel navigálhat.
\n\n
A párbeszédablak másik lapjára úgy léphet, hogy a fókuszt a lapmenüre állítja, majd lenyomja a megfelelő nyílbillentyűt\n a rendelkezésre álló lapok közötti lépkedéshez.
\n")}}]);
+//# sourceMappingURL=57466.e96a25b7f9d128c547dd.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/57466.e96a25b7f9d128c547dd.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/57466.e96a25b7f9d128c547dd.min.js.map
new file mode 100644
index 000000000..8957fa68c
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/57466.e96a25b7f9d128c547dd.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/57466.e96a25b7f9d128c547dd.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,sCACrB,4sH","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/hu_HU.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.hu_HU',\n'
Billentyűzetes navigáció indítása
\\n' +\n '\\n' +\n '
\\n' +\n '
Fókusz a menüsávra
\\n' +\n '
Windows és Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Fókusz az eszköztárra
\\n' +\n '
Windows és Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Fókusz a láblécre
\\n' +\n '
Windows és Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Fókusz egy környezetfüggő eszköztárra
\\n' +\n '
Windows, Linux és macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
A navigáció az első felhasználói felületi elemnél kezdődik, amelyet a rendszer kiemel, illetve aláhúz, amennyiben az az első elem\\n' +\n ' a lábléc elemútvonalán.
\\n' +\n '\\n' +\n '
Navigálás a felhasználói felület szakaszai között
\\n' +\n '\\n' +\n '
A felhasználói felület következő szakaszára váltáshoz nyomja meg a Tab billentyűt.
\\n' +\n '\\n' +\n '
A felhasználói felület előző szakaszára váltáshoz nyomja meg a Shift+Tab billentyűt.
\\n' +\n '\\n' +\n '
A Tab billentyűvel a felhasználói felület szakaszai között a következő sorrendben vált:\\n' +\n '\\n' +\n '
\\n' +\n '
Menüsáv
\\n' +\n '
Az egyes eszköztárcsoportok
\\n' +\n '
Oldalsáv
\\n' +\n '
Elemútvonal a láblécen
\\n' +\n '
Szószámátkapcsoló gomb a láblécen
\\n' +\n '
Márkalink a láblécen
\\n' +\n '
Szerkesztő átméretezési fogópontja a láblécen
\\n' +\n '\\n' +\n '\\n' +\n '
Ha a felhasználói felület valamelyik eleme nincs jelen, a rendszer kihagyja.
\\n' +\n '\\n' +\n '
Ha a billentyűzetes navigáció fókusza a láblécen van, és nincs látható oldalsáv, a Shift+Tab\\n' +\n ' billentyűkombináció lenyomásakor az első eszköztárcsoportra ugrik a fókusz, nem az utolsóra.\\n' +\n '\\n' +\n '
Navigálás a felhasználói felület szakaszain belül
\\n' +\n '\\n' +\n '
A felhasználói felület következő elemére váltáshoz nyomja meg a megfelelő nyílbillentyűt.
\\n' +\n '\\n' +\n '
A bal és a jobb nyílgomb
\\n' +\n '\\n' +\n '
\\n' +\n '
a menüsávban a menük között vált.
\\n' +\n '
a menükben megnyit egy almenüt.
\\n' +\n '
az eszköztárcsoportban a gombok között vált.
\\n' +\n '
a lábléc elemútvonalán az elemek között vált.
\\n' +\n '
\\n' +\n '\\n' +\n '
A le és a fel nyílgomb\\n' +\n '\\n' +\n '
\\n' +\n '
a menükben a menüpontok között vált.
\\n' +\n '
az eszköztár előugró menüjében az elemek között vált.
\\n' +\n '
\\n' +\n '\\n' +\n '
A nyílbillentyűk lenyomásával körkörösen lépkedhet a fókuszban lévő felhasználói felületi szakasz elemei között.
\\n' +\n '\\n' +\n '
A megnyitott menüket, almenüket és előugró menüket az Esc billentyűvel zárhatja be.\\n' +\n '\\n' +\n '
Ha a fókusz az aktuális felületi elem „felső” részén van, az Esc billentyűvel az egész\\n' +\n ' billentyűzetes navigációból kilép.
\\n' +\n '\\n' +\n '
Menüpont vagy eszköztárgomb aktiválása
\\n' +\n '\\n' +\n '
Amikor a kívánt menüelem vagy eszköztárgomb van kijelölve, nyomja meg a Return, az Enter\\n' +\n ' vagy a Szóköz billentyűt az adott elem vagy gomb aktiválásához.\\n' +\n '\\n' +\n '
Navigálás a lapokkal nem rendelkező párbeszédablakokban
\\n' +\n '\\n' +\n '
A lapokkal nem rendelkező párbeszédablakokban az első interaktív összetevő kapja a fókuszt, amikor a párbeszédpanel megnyílik.
\\n' +\n '\\n' +\n '
A párbeszédpanelek interaktív összetevői között a Tab vagy a Shift+Tab billentyűvel navigálhat.
\\n' +\n '\\n' +\n '
Navigálás a lapokkal rendelkező párbeszédablakokban
\\n' +\n '\\n' +\n '
A lapokkal rendelkező párbeszédablakokban a lapmenü első gombja kapja a fókuszt, amikor a párbeszédpanel megnyílik.
\\n' +\n '\\n' +\n '
A párbeszédpanel e lapjának interaktív összetevői között a Tab vagy\\n' +\n ' Shift+Tab billentyűvel navigálhat.
\\n' +\n '\\n' +\n '
A párbeszédablak másik lapjára úgy léphet, hogy a fókuszt a lapmenüre állítja, majd lenyomja a megfelelő nyílbillentyűt\\n' +\n ' a rendelkezésre álló lapok közötti lépkedéshez.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/58089.0c1bf8abee5514fbbb4b.min.js b/src/plone/staticresources/static/bundle-plone/chunks/58089.0c1bf8abee5514fbbb4b.min.js
deleted file mode 100644
index 8f38a9a70..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/58089.0c1bf8abee5514fbbb4b.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[58089],{58089:function(){!function(){"use strict";function e(e,r){var n=e.fire("insertCustomChar",{chr:r}).chr;e.execCommand("mceInsertContent",!1,n)}function r(e){return function(){return e}}function n(e){return e}function t(){return s}var a,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(e){return n=typeof(r=e),(null===r?"null":"object"==n&&(Array.prototype.isPrototypeOf(r)||r.constructor&&"Array"===r.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(r)||r.constructor&&"String"===r.constructor.name)?"string":n)===a;var r,n},c=r(!(a="array")),u=r(!null),s={fold:function(e,r){return e()},isSome:c,isNone:u,getOr:n,getOrThunk:l,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:r(null),getOrUndefined:r(void 0),or:n,orThunk:l,map:t,each:function(){},bind:t,exists:c,forall:u,filter:function(){return s},toArray:function(){return[]},toString:r("none()")};function l(e){return e()}function g(e,r){for(var n=e.length,t=new Array(n),a=0;a>>0===o))throw RangeError("Invalid code point: "+o);16383<=(o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)))&&(t+=String.fromCharCode.apply(null,n),n.length=0)}return t+String.fromCharCode.apply(null,n)}function y(e,r){var n=[],t=r.toLowerCase();return function(e){for(var r,a,i,o,c=0,u=e.length;c>>0===o))throw RangeError(\"Invalid code point: \"+o);16383<=(o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)))&&(t+=String.fromCharCode.apply(null,n),n.length=0)}return t+String.fromCharCode.apply(null,n)}function v(e,r){var c=[],u=r.toLowerCase();return function(e){for(var r,n,t,a,i=0,o=e.length;i{const r=((e,t)=>e.dispatch("insertCustomChar",{chr:t}))(e,t).chr;e.execCommand("mceInsertContent",!1,r)},r=e=>t=>e===t,a=e=>"array"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=a=e,(n=String).prototype.isPrototypeOf(r)||(null===(i=a.constructor)||void 0===i?void 0:i.name)===n.name)?"string":t;var r,a,n,i})(e),n=r(null),i=r(void 0),o=()=>!1;class s{constructor(e,t){this.tag=e,this.value=t}static some(e){return new s(!0,e)}static none(){return s.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?s.some(e(this.value)):s.none()}bind(e){return this.tag?e(this.value):s.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:s.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?s.none():s.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}s.singletonNone=new s(!1);const l=Array.prototype.push,c=(e,t)=>{const r=e.length,a=new Array(r);for(let n=0;nt=>t.options.get(e),h=g("charmap"),m=g("charmap_append"),p=u.isArray,d="User Defined",f=e=>{return p(e)?(t=e,u.grep(t,(e=>p(e)&&2===e.length))):"function"==typeof e?e():[];var t},y=e=>{const t=((e,t)=>{const r=h(e);r&&(t=[{name:d,characters:f(r)}]);const a=m(e);if(a){const e=u.grep(t,(e=>e.name===d));return e.length?(e[0].characters=[...e[0].characters,...f(a)],t):t.concat({name:d,characters:f(a)})}return t})(e,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return t.length>1?[{name:"All",characters:(r=t,n=e=>e.characters,(e=>{const t=[];for(let r=0,n=e.length;r{let t=e;return{get:()=>t,set:e=>{t=e}}},w=(e,t,r=0,a)=>{const n=e.indexOf(t,r);return-1!==n&&(!!i(a)||n+t.length<=a)},v=String.fromCodePoint,k=(e,t)=>{const r=[],a=t.toLowerCase();return((e,t)=>{for(let t=0,i=e.length;t!!w(v(e).toLowerCase(),r)||w(t.toLowerCase(),r)||w(t.toLowerCase().replace(/\s+/g,""),r))((n=e[t])[0],n[1],a)&&r.push(n);var n})(e.characters),c(r,(e=>({text:e[1],value:v(e[0]),icon:v(e[0])})))},C="pattern",x=(e,r)=>{const a=()=>[{label:"Search",type:"input",name:C},{type:"collection",name:"results"}],i=1===r.length?b(d):b("All"),l=((e,t)=>{let r=null;const a=()=>{n(r)||(clearTimeout(r),r=null)};return{cancel:a,throttle:(...t)=>{a(),r=setTimeout((()=>{r=null,e.apply(null,t)}),40)}}})((e=>{const t=e.getData().pattern;((e,t)=>{var a,n;(a=r,n=e=>e.name===i.get(),((e,t,r)=>{for(let a=0,n=e.length;a{const a=k(r,t);e.setData({results:a})}))})(e,t)})),u={title:"Special Character",size:"normal",body:1===r.length?{type:"panel",items:a()}:{type:"tabpanel",tabs:c(r,(e=>({title:e.name,name:e.name,items:a()})))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:k(r[0],"")},onAction:(r,a)=>{"results"===a.name&&(t(e,a.value),r.close())},onTabChange:(e,t)=>{i.set(t.newTabName),l.throttle(e)},onChange:(e,t)=>{t.name===C&&l.throttle(e)}};e.windowManager.open(u).focus(C)},A=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",r),r(),()=>{e.off("NodeChange",r)}};e.add("charmap",(e=>{(e=>{const t=e.options.register,r=e=>(e=>"function"==typeof e)(e)||a(e);t("charmap",{processor:r}),t("charmap_append",{processor:r})})(e);const r=y(e);return((e,t)=>{e.addCommand("mceShowCharmap",(()=>{x(e,t)}))})(e,r),(e=>{const t=()=>e.execCommand("mceShowCharmap");e.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:t,onSetup:A(e)}),e.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:t,onSetup:A(e)})})(e),((e,t)=>{e.ui.registry.addAutocompleter("charmap",{trigger:":",columns:"auto",minChars:2,fetch:(e,r)=>new Promise(((r,a)=>{r(k(t,e))})),onAction:(t,r,a)=>{e.selection.setRng(r),e.insertContent(a),t.hide()}})})(e,r[0]),(e=>({getCharMap:()=>y(e),insertChar:r=>{t(e,r)}}))(e)}))}()}}]);
+//# sourceMappingURL=58089.37f3b50ebdc4c1e8f275.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/58089.37f3b50ebdc4c1e8f275.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/58089.37f3b50ebdc4c1e8f275.min.js.map
new file mode 100644
index 000000000..a6157e666
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/58089.37f3b50ebdc4c1e8f275.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/58089.37f3b50ebdc4c1e8f275.min.js","mappings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N,EAAG,GAAE,CAAr2V,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/charmap/plugin.min.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n!function(){\"use strict\";var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\");const t=(e,t)=>{const r=((e,t)=>e.dispatch(\"insertCustomChar\",{chr:t}))(e,t).chr;e.execCommand(\"mceInsertContent\",!1,r)},r=e=>t=>e===t,a=(\"array\",e=>\"array\"===(e=>{const t=typeof e;return null===e?\"null\":\"object\"===t&&Array.isArray(e)?\"array\":\"object\"===t&&(r=a=e,(n=String).prototype.isPrototypeOf(r)||(null===(i=a.constructor)||void 0===i?void 0:i.name)===n.name)?\"string\":t;var r,a,n,i})(e));const n=r(null),i=r(void 0),o=e=>\"function\"==typeof e,s=(!1,()=>false);class l{constructor(e,t){this.tag=e,this.value=t}static some(e){return new l(!0,e)}static none(){return l.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?l.some(e(this.value)):l.none()}bind(e){return this.tag?e(this.value):l.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:l.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:\"Called getOrDie on None\")}static from(e){return null==e?l.none():l.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:\"none()\"}}l.singletonNone=new l(!1);const c=Array.prototype.push,u=(e,t)=>{const r=e.length,a=new Array(r);for(let n=0;nt=>t.options.get(e),m=h(\"charmap\"),p=h(\"charmap_append\"),d=g.isArray,f=\"User Defined\",y=e=>{return d(e)?(t=e,g.grep(t,(e=>d(e)&&2===e.length))):\"function\"==typeof e?e():[];var t},b=e=>{const t=((e,t)=>{const r=m(e);r&&(t=[{name:f,characters:y(r)}]);const a=p(e);if(a){const e=g.grep(t,(e=>e.name===f));return e.length?(e[0].characters=[...e[0].characters,...y(a)],t):t.concat({name:f,characters:y(a)})}return t})(e,[{name:\"Currency\",characters:[[36,\"dollar sign\"],[162,\"cent sign\"],[8364,\"euro sign\"],[163,\"pound sign\"],[165,\"yen sign\"],[164,\"currency sign\"],[8352,\"euro-currency sign\"],[8353,\"colon sign\"],[8354,\"cruzeiro sign\"],[8355,\"french franc sign\"],[8356,\"lira sign\"],[8357,\"mill sign\"],[8358,\"naira sign\"],[8359,\"peseta sign\"],[8360,\"rupee sign\"],[8361,\"won sign\"],[8362,\"new sheqel sign\"],[8363,\"dong sign\"],[8365,\"kip sign\"],[8366,\"tugrik sign\"],[8367,\"drachma sign\"],[8368,\"german penny symbol\"],[8369,\"peso sign\"],[8370,\"guarani sign\"],[8371,\"austral sign\"],[8372,\"hryvnia sign\"],[8373,\"cedi sign\"],[8374,\"livre tournois sign\"],[8375,\"spesmilo sign\"],[8376,\"tenge sign\"],[8377,\"indian rupee sign\"],[8378,\"turkish lira sign\"],[8379,\"nordic mark sign\"],[8380,\"manat sign\"],[8381,\"ruble sign\"],[20870,\"yen character\"],[20803,\"yuan character\"],[22291,\"yuan character, in hong kong and taiwan\"],[22278,\"yen/yuan character variant one\"]]},{name:\"Text\",characters:[[169,\"copyright sign\"],[174,\"registered sign\"],[8482,\"trade mark sign\"],[8240,\"per mille sign\"],[181,\"micro sign\"],[183,\"middle dot\"],[8226,\"bullet\"],[8230,\"three dot leader\"],[8242,\"minutes / feet\"],[8243,\"seconds / inches\"],[167,\"section sign\"],[182,\"paragraph sign\"],[223,\"sharp s / ess-zed\"]]},{name:\"Quotations\",characters:[[8249,\"single left-pointing angle quotation mark\"],[8250,\"single right-pointing angle quotation mark\"],[171,\"left pointing guillemet\"],[187,\"right pointing guillemet\"],[8216,\"left single quotation mark\"],[8217,\"right single quotation mark\"],[8220,\"left double quotation mark\"],[8221,\"right double quotation mark\"],[8218,\"single low-9 quotation mark\"],[8222,\"double low-9 quotation mark\"],[60,\"less-than sign\"],[62,\"greater-than sign\"],[8804,\"less-than or equal to\"],[8805,\"greater-than or equal to\"],[8211,\"en dash\"],[8212,\"em dash\"],[175,\"macron\"],[8254,\"overline\"],[164,\"currency sign\"],[166,\"broken bar\"],[168,\"diaeresis\"],[161,\"inverted exclamation mark\"],[191,\"turned question mark\"],[710,\"circumflex accent\"],[732,\"small tilde\"],[176,\"degree sign\"],[8722,\"minus sign\"],[177,\"plus-minus sign\"],[247,\"division sign\"],[8260,\"fraction slash\"],[215,\"multiplication sign\"],[185,\"superscript one\"],[178,\"superscript two\"],[179,\"superscript three\"],[188,\"fraction one quarter\"],[189,\"fraction one half\"],[190,\"fraction three quarters\"]]},{name:\"Mathematical\",characters:[[402,\"function / florin\"],[8747,\"integral\"],[8721,\"n-ary sumation\"],[8734,\"infinity\"],[8730,\"square root\"],[8764,\"similar to\"],[8773,\"approximately equal to\"],[8776,\"almost equal to\"],[8800,\"not equal to\"],[8801,\"identical to\"],[8712,\"element of\"],[8713,\"not an element of\"],[8715,\"contains as member\"],[8719,\"n-ary product\"],[8743,\"logical and\"],[8744,\"logical or\"],[172,\"not sign\"],[8745,\"intersection\"],[8746,\"union\"],[8706,\"partial differential\"],[8704,\"for all\"],[8707,\"there exists\"],[8709,\"diameter\"],[8711,\"backward difference\"],[8727,\"asterisk operator\"],[8733,\"proportional to\"],[8736,\"angle\"]]},{name:\"Extended Latin\",characters:[[192,\"A - grave\"],[193,\"A - acute\"],[194,\"A - circumflex\"],[195,\"A - tilde\"],[196,\"A - diaeresis\"],[197,\"A - ring above\"],[256,\"A - macron\"],[198,\"ligature AE\"],[199,\"C - cedilla\"],[200,\"E - grave\"],[201,\"E - acute\"],[202,\"E - circumflex\"],[203,\"E - diaeresis\"],[274,\"E - macron\"],[204,\"I - grave\"],[205,\"I - acute\"],[206,\"I - circumflex\"],[207,\"I - diaeresis\"],[298,\"I - macron\"],[208,\"ETH\"],[209,\"N - tilde\"],[210,\"O - grave\"],[211,\"O - acute\"],[212,\"O - circumflex\"],[213,\"O - tilde\"],[214,\"O - diaeresis\"],[216,\"O - slash\"],[332,\"O - macron\"],[338,\"ligature OE\"],[352,\"S - caron\"],[217,\"U - grave\"],[218,\"U - acute\"],[219,\"U - circumflex\"],[220,\"U - diaeresis\"],[362,\"U - macron\"],[221,\"Y - acute\"],[376,\"Y - diaeresis\"],[562,\"Y - macron\"],[222,\"THORN\"],[224,\"a - grave\"],[225,\"a - acute\"],[226,\"a - circumflex\"],[227,\"a - tilde\"],[228,\"a - diaeresis\"],[229,\"a - ring above\"],[257,\"a - macron\"],[230,\"ligature ae\"],[231,\"c - cedilla\"],[232,\"e - grave\"],[233,\"e - acute\"],[234,\"e - circumflex\"],[235,\"e - diaeresis\"],[275,\"e - macron\"],[236,\"i - grave\"],[237,\"i - acute\"],[238,\"i - circumflex\"],[239,\"i - diaeresis\"],[299,\"i - macron\"],[240,\"eth\"],[241,\"n - tilde\"],[242,\"o - grave\"],[243,\"o - acute\"],[244,\"o - circumflex\"],[245,\"o - tilde\"],[246,\"o - diaeresis\"],[248,\"o slash\"],[333,\"o macron\"],[339,\"ligature oe\"],[353,\"s - caron\"],[249,\"u - grave\"],[250,\"u - acute\"],[251,\"u - circumflex\"],[252,\"u - diaeresis\"],[363,\"u - macron\"],[253,\"y - acute\"],[254,\"thorn\"],[255,\"y - diaeresis\"],[563,\"y - macron\"],[913,\"Alpha\"],[914,\"Beta\"],[915,\"Gamma\"],[916,\"Delta\"],[917,\"Epsilon\"],[918,\"Zeta\"],[919,\"Eta\"],[920,\"Theta\"],[921,\"Iota\"],[922,\"Kappa\"],[923,\"Lambda\"],[924,\"Mu\"],[925,\"Nu\"],[926,\"Xi\"],[927,\"Omicron\"],[928,\"Pi\"],[929,\"Rho\"],[931,\"Sigma\"],[932,\"Tau\"],[933,\"Upsilon\"],[934,\"Phi\"],[935,\"Chi\"],[936,\"Psi\"],[937,\"Omega\"],[945,\"alpha\"],[946,\"beta\"],[947,\"gamma\"],[948,\"delta\"],[949,\"epsilon\"],[950,\"zeta\"],[951,\"eta\"],[952,\"theta\"],[953,\"iota\"],[954,\"kappa\"],[955,\"lambda\"],[956,\"mu\"],[957,\"nu\"],[958,\"xi\"],[959,\"omicron\"],[960,\"pi\"],[961,\"rho\"],[962,\"final sigma\"],[963,\"sigma\"],[964,\"tau\"],[965,\"upsilon\"],[966,\"phi\"],[967,\"chi\"],[968,\"psi\"],[969,\"omega\"]]},{name:\"Symbols\",characters:[[8501,\"alef symbol\"],[982,\"pi symbol\"],[8476,\"real part symbol\"],[978,\"upsilon - hook symbol\"],[8472,\"Weierstrass p\"],[8465,\"imaginary part\"]]},{name:\"Arrows\",characters:[[8592,\"leftwards arrow\"],[8593,\"upwards arrow\"],[8594,\"rightwards arrow\"],[8595,\"downwards arrow\"],[8596,\"left right arrow\"],[8629,\"carriage return\"],[8656,\"leftwards double arrow\"],[8657,\"upwards double arrow\"],[8658,\"rightwards double arrow\"],[8659,\"downwards double arrow\"],[8660,\"left right double arrow\"],[8756,\"therefore\"],[8834,\"subset of\"],[8835,\"superset of\"],[8836,\"not a subset of\"],[8838,\"subset of or equal to\"],[8839,\"superset of or equal to\"],[8853,\"circled plus\"],[8855,\"circled times\"],[8869,\"perpendicular\"],[8901,\"dot operator\"],[8968,\"left ceiling\"],[8969,\"right ceiling\"],[8970,\"left floor\"],[8971,\"right floor\"],[9001,\"left-pointing angle bracket\"],[9002,\"right-pointing angle bracket\"],[9674,\"lozenge\"],[9824,\"black spade suit\"],[9827,\"black club suit\"],[9829,\"black heart suit\"],[9830,\"black diamond suit\"],[8194,\"en space\"],[8195,\"em space\"],[8201,\"thin space\"],[8204,\"zero width non-joiner\"],[8205,\"zero width joiner\"],[8206,\"left-to-right mark\"],[8207,\"right-to-left mark\"]]}]);return t.length>1?[{name:\"All\",characters:(r=t,n=e=>e.characters,(e=>{const t=[];for(let r=0,n=e.length;r{let t=e;return{get:()=>t,set:e=>{t=e}}},v=(e,t,r=0,a)=>{const n=e.indexOf(t,r);return-1!==n&&(!!i(a)||n+t.length<=a)},k=String.fromCodePoint,C=(e,t)=>{const r=[],a=t.toLowerCase();return((e,t)=>{for(let t=0,i=e.length;t!!v(k(e).toLowerCase(),r)||v(t.toLowerCase(),r)||v(t.toLowerCase().replace(/\\s+/g,\"\"),r))((n=e[t])[0],n[1],a)&&r.push(n);var n})(e.characters),u(r,(e=>({text:e[1],value:k(e[0]),icon:k(e[0])})))},x=\"pattern\",A=(e,r)=>{const a=()=>[{label:\"Search\",type:\"input\",name:x},{type:\"collection\",name:\"results\"}],i=1===r.length?w(f):w(\"All\"),o=((e,t)=>{let r=null;const a=()=>{n(r)||(clearTimeout(r),r=null)};return{cancel:a,throttle:(...t)=>{a(),r=setTimeout((()=>{r=null,e.apply(null,t)}),40)}}})((e=>{const t=e.getData().pattern;((e,t)=>{var a,n;(a=r,n=e=>e.name===i.get(),((e,t,r)=>{for(let a=0,n=e.length;a{const a=C(r,t);e.setData({results:a})}))})(e,t)})),c={title:\"Special Character\",size:\"normal\",body:1===r.length?{type:\"panel\",items:a()}:{type:\"tabpanel\",tabs:u(r,(e=>({title:e.name,name:e.name,items:a()})))},buttons:[{type:\"cancel\",name:\"close\",text:\"Close\",primary:!0}],initialData:{pattern:\"\",results:C(r[0],\"\")},onAction:(r,a)=>{\"results\"===a.name&&(t(e,a.value),r.close())},onTabChange:(e,t)=>{i.set(t.newTabName),o.throttle(e)},onChange:(e,t)=>{t.name===x&&o.throttle(e)}};e.windowManager.open(c).focus(x)},q=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on(\"NodeChange\",r),r(),()=>{e.off(\"NodeChange\",r)}};e.add(\"charmap\",(e=>{(e=>{const t=e.options.register,r=e=>o(e)||a(e);t(\"charmap\",{processor:r}),t(\"charmap_append\",{processor:r})})(e);const r=b(e);return((e,t)=>{e.addCommand(\"mceShowCharmap\",(()=>{A(e,t)}))})(e,r),(e=>{const t=()=>e.execCommand(\"mceShowCharmap\");e.ui.registry.addButton(\"charmap\",{icon:\"insert-character\",tooltip:\"Special character\",onAction:t,onSetup:q(e)}),e.ui.registry.addMenuItem(\"charmap\",{icon:\"insert-character\",text:\"Special character...\",onAction:t,onSetup:q(e)})})(e),((e,t)=>{e.ui.registry.addAutocompleter(\"charmap\",{trigger:\":\",columns:\"auto\",minChars:2,fetch:(e,r)=>new Promise(((r,a)=>{r(C(t,e))})),onAction:(t,r,a)=>{e.selection.setRng(r),e.insertContent(a),t.hide()}})})(e,r[0]),(e=>({getCharMap:()=>b(e),insertChar:r=>{t(e,r)}}))(e)}))}();"],"names":["e","tinymce","util","Tools","resolve","t","r","dispatch","chr","execCommand","a","Array","isArray","n","String","prototype","isPrototypeOf","i","constructor","name","s","l","this","tag","value","some","none","singletonNone","fold","isSome","isNone","map","bind","exists","forall","filter","getOr","or","getOrThunk","orThunk","getOrDie","Error","from","getOrNull","getOrUndefined","each","toArray","toString","c","push","u","length","g","h","options","get","m","p","d","f","y","grep","b","characters","concat","apply","w","set","v","indexOf","k","fromCodePoint","C","toLowerCase","replace","text","icon","x","A","label","type","o","clearTimeout","cancel","throttle","setTimeout","getData","pattern","setData","results","title","size","body","items","tabs","buttons","primary","initialData","onAction","close","onTabChange","newTabName","onChange","windowManager","open","focus","q","setEnabled","selection","isEditable","on","off","add","register","processor","addCommand","ui","registry","addButton","tooltip","onSetup","addMenuItem","addAutocompleter","trigger","columns","minChars","fetch","Promise","setRng","insertContent","hide","getCharMap","insertChar"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/59080.75f412775bd4a1af7716.min.js b/src/plone/staticresources/static/bundle-plone/chunks/59080.75f412775bd4a1af7716.min.js
new file mode 100644
index 000000000..e8f642120
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/59080.75f412775bd4a1af7716.min.js
@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[59080,99992,93931,36517,79056,1345,94433,34109,69106,32935],{23645:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(r)for(var i=0;i0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=a),n&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=n):f[2]=n),o&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=o):f[4]="".concat(o)),t.push(f))}},t}},61667:function(e){e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},87537:function(e){e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),a="/*# ".concat(o," */");return[t].concat([a]).join("\n")}return[t].join("\n")}},93379:function(e){var t=[];function n(e){for(var n=-1,r=0;r0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},44589:function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},81241:function(e){e.exports="data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw=="}}]);
+//# sourceMappingURL=59080.75f412775bd4a1af7716.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/59080.75f412775bd4a1af7716.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/59080.75f412775bd4a1af7716.min.js.map
new file mode 100644
index 000000000..4d54584dc
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/59080.75f412775bd4a1af7716.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/59080.75f412775bd4a1af7716.min.js","mappings":"uLAMAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAEnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAE5EC,GAAWN,EAAuBK,GAC9BE,IACFD,GAAW,KAETD,EAAK,KACPC,GAAW,KAETD,EAAK,KACPC,GAAW,KAENA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAE7B,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AbgD,SACT,MAAO,CACLV,OAAQ,WAAmB,EAC3BE,OAAQ,WAAmB,GAG/B,IAAIa,EAAerD,EAAQwD,mBAAmBxD,GAC9C,MAAO,CACLsC,OAAQ,SAAgBV,IAjD5B,SAAeyB,EAAcrD,EAAS4B,GACpC,IAAIC,EAAM,GACND,EAAIrC,WACNsC,GAAO,cAAc7C,OAAO4C,EAAIrC,SAAU,QAExCqC,EAAIvC,QACNwC,GAAO,UAAU7C,OAAO4C,EAAIvC,MAAO,OAErC,IAAIN,OAAiC,IAAd6C,EAAIpC,MACvBT,IACF8C,GAAO,SAAS7C,OAAO4C,EAAIpC,MAAMP,OAAS,EAAI,IAAID,OAAO4C,EAAIpC,OAAS,GAAI,OAE5EqC,GAAOD,EAAIC,IACP9C,IACF8C,GAAO,KAELD,EAAIvC,QACNwC,GAAO,KAELD,EAAIrC,WACNsC,GAAO,KAET,IAAIC,EAAYF,EAAIE,UAChBA,GAA6B,oBAATpB,OACtBmB,GAAO,uDAAuD7C,OAAO0B,KAAKE,SAASC,mBAAmBC,KAAKC,UAAUe,MAAe,QAKtI9B,EAAQyD,kBAAkB5B,EAAKwB,EAAcrD,EAAQA,QACvD,CAoBM0D,CAAML,EAAcrD,EAAS4B,EAC/B,EACAY,OAAQ,YArBZ,SAA4Ba,GAE1B,GAAgC,OAA5BA,EAAaM,WACf,OAAO,EAETN,EAAaM,WAAWC,YAAYP,EACtC,CAgBMQ,CAAmBR,EACrB,EAEJ,C,oBC9CA/E,EAAOC,QAVP,SAA2BsD,EAAKwB,GAC9B,GAAIA,EAAaS,WACfT,EAAaS,WAAWC,QAAUlC,MAC7B,CACL,KAAOwB,EAAaW,YAClBX,EAAaO,YAAYP,EAAaW,YAExCX,EAAaY,YAAYjB,SAASkB,eAAerC,GACnD,CACF,C","sources":["webpack://plone.staticresources/./node_modules/css-loader/dist/runtime/api.js","webpack://plone.staticresources/./node_modules/css-loader/dist/runtime/getUrl.js","webpack://plone.staticresources/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://plone.staticresources/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://plone.staticresources/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://plone.staticresources/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://plone.staticresources/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://plone.staticresources/./node_modules/style-loader/dist/runtime/styleTagTransform.js"],"sourcesContent":["\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n if (!url) {\n return url;\n }\n url = String(url.__esModule ? url.default : url);\n\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n if (options.hash) {\n url += options.hash;\n }\n\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n return url;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;"],"names":["module","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","url","options","String","__esModule","default","test","slice","hash","needQuotes","replace","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","element","document","createElement","setAttributes","attributes","insert","styleElement","nonce","setAttribute","insertStyleElement","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","appendChild","createTextNode"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/59986.148d71c62735d2873295.min.js b/src/plone/staticresources/static/bundle-plone/chunks/59986.148d71c62735d2873295.min.js
new file mode 100644
index 000000000..dde7a3174
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/59986.148d71c62735d2873295.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[59986],{59986:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(s=r=e,(o=String).prototype.isPrototypeOf(s)||(null===(n=r.constructor)||void 0===n?void 0:n.name)===o.name)?"string":t;var s,r,o,n})(t)===e,s=t("string"),r=t("object"),o=t("array"),n=e=>"function"==typeof e;var c=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.EditorManager"),l=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Tools");const p=e=>t=>t.options.get(e),u=p("importcss_merge_classes"),m=p("importcss_exclusive"),f=p("importcss_selector_converter"),h=p("importcss_selector_filter"),y=p("importcss_groups"),d=p("importcss_append"),_=p("importcss_file_filter"),g=p("skin"),v=p("skin_url"),b=Array.prototype.push,k=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,x=e=>s(e)?t=>-1!==t.indexOf(e):e instanceof RegExp?t=>e.test(t):e,T=(e,t)=>{let s={};const r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(!r)return;const o=r[1],n=r[2].substr(1).split(".").join(" "),c=a.makeMap("a,img");return r[1]?(s={title:t},e.schema.getTextBlockElements()[o]?s.block=o:e.schema.getBlockElements()[o]||c[o.toLowerCase()]?s.selector=o:s.inline=o):r[2]&&(s={inline:"span",title:t.substr(1),classes:n}),u(e)?s.classes=n:s.attributes={class:n},s},S=(e,t)=>null===t||m(e);e.add("importcss",(e=>((e=>{const t=e.options.register,o=e=>s(e)||n(e)||r(e);t("importcss_merge_classes",{processor:"boolean",default:!0}),t("importcss_exclusive",{processor:"boolean",default:!0}),t("importcss_selector_converter",{processor:"function"}),t("importcss_selector_filter",{processor:o}),t("importcss_file_filter",{processor:o}),t("importcss_groups",{processor:"object[]"}),t("importcss_append",{processor:"boolean",default:!1})})(e),(e=>{e.on("init",(()=>{const t=(()=>{const e=[],t=[],s={};return{addItemToGroup:(e,r)=>{s[e]?s[e].push(r):(t.push(e),s[e]=[r])},addItem:t=>{e.push(t)},toFormats:()=>{return(r=t,n=e=>{const t=s[e];return 0===t.length?[]:[{title:e,items:t}]},(e=>{const t=[];for(let s=0,r=e.length;s{const s=e.length,r=new Array(s);for(let o=0;oa.map(e,(e=>a.extend({},e,{original:e,selectors:{},filter:x(e.filter)}))))(y(e)),u=(t,s)=>{if(((e,t,s,r)=>!(S(e,s)?t in r:t in s.selectors))(e,t,s,r)){((e,t,s,r)=>{S(e,s)?r[t]=!0:s.selectors[t]=!0})(e,t,s,r);const o=((e,t,s,r)=>{let o;const n=f(e);return o=r&&r.selector_converter?r.selector_converter:n||(()=>T(e,s)),o.call(t,s,r)})(e,e.plugins.importcss,t,s);if(o){const t=o.name||c.DOM.uniqueId();return e.formatter.register(t,o),{title:o.title,format:t}}}return null};a.each(((e,t,r)=>{const o=[],n={},c=(t,n)=>{let p,u=t.href;if(u=(e=>{const t=l.cacheSuffix;return s(e)&&(e=e.replace("?"+t,"").replace("&"+t,"")),e})(u),u&&(!r||r(u,n))&&!((e,t)=>{const s=g(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+s,n=i.baseURL+"/skins/content/";return t===o+"/content"+(e.inline?".inline":"")+".min.css"||-1!==t.indexOf(n)}return!1})(e,u)){a.each(t.imports,(e=>{c(e,!0)}));try{p=t.cssRules||t.rules}catch(e){}a.each(p,(e=>{e.styleSheet?c(e.styleSheet,!0):e.selectorText&&a.each(e.selectorText.split(","),(e=>{o.push(a.trim(e))}))}))}};a.each(e.contentCSS,(e=>{n[e]=!0})),r||(r=(e,t)=>t||n[e]);try{a.each(t.styleSheets,(e=>{c(e)}))}catch(e){}return o})(e,e.getDoc(),x(_(e))),(e=>{if(!k.test(e)&&(!n||n(e))){const s=((e,t)=>a.grep(e,(e=>!e.filter||e.filter(t))))(p,e);if(s.length>0)a.each(s,(s=>{const r=u(e,s);r&&t.addItemToGroup(s.title,r)}));else{const s=u(e,null);s&&t.addItem(s)}}}));const m=t.toFormats();e.dispatch("addStyleModifications",{items:m,replace:!d(e)})}))})(e),(e=>({convertSelectorToFormat:t=>T(e,t)}))(e))))}()}}]);
+//# sourceMappingURL=59986.148d71c62735d2873295.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/59986.148d71c62735d2873295.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/59986.148d71c62735d2873295.min.js.map
new file mode 100644
index 000000000..fa5e7b507
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/59986.148d71c62735d2873295.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/59986.148d71c62735d2873295.min.js","mappings":"qHAGC,WAAW,aAAa,IAAIA,EAAEC,QAAQC,KAAKC,MAAMC,QAAQ,yBAAyB,MAAMC,EAAEL,GAAGK,GAAG,CAACL,IAAI,MA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BlG,GAAGmC,EAAExC,EAAEK,KAArC,CAA2CL,KAAK,CAAl6H,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/importcss/plugin.min.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n!function(){\"use strict\";var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\");const t=e=>t=>(e=>{const t=typeof e;return null===e?\"null\":\"object\"===t&&Array.isArray(e)?\"array\":\"object\"===t&&(s=r=e,(o=String).prototype.isPrototypeOf(s)||(null===(n=r.constructor)||void 0===n?void 0:n.name)===o.name)?\"string\":t;var s,r,o,n})(t)===e,s=t(\"string\"),r=t(\"object\"),o=t(\"array\"),n=(\"function\",e=>\"function\"==typeof e);var c=tinymce.util.Tools.resolve(\"tinymce.dom.DOMUtils\"),i=tinymce.util.Tools.resolve(\"tinymce.EditorManager\"),l=tinymce.util.Tools.resolve(\"tinymce.Env\"),a=tinymce.util.Tools.resolve(\"tinymce.util.Tools\");const p=e=>t=>t.options.get(e),u=p(\"importcss_merge_classes\"),m=p(\"importcss_exclusive\"),f=p(\"importcss_selector_converter\"),y=p(\"importcss_selector_filter\"),d=p(\"importcss_groups\"),h=p(\"importcss_append\"),_=p(\"importcss_file_filter\"),g=p(\"skin\"),v=p(\"skin_url\"),b=Array.prototype.push,x=/^\\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\\w+)+$/,T=e=>s(e)?t=>-1!==t.indexOf(e):e instanceof RegExp?t=>e.test(t):e,S=(e,t)=>{let s={};const r=/^(?:([a-z0-9\\-_]+))?(\\.[a-z0-9_\\-\\.]+)$/i.exec(t);if(!r)return;const o=r[1],n=r[2].substr(1).split(\".\").join(\" \"),c=a.makeMap(\"a,img\");return r[1]?(s={title:t},e.schema.getTextBlockElements()[o]?s.block=o:e.schema.getBlockElements()[o]||c[o.toLowerCase()]?s.selector=o:s.inline=o):r[2]&&(s={inline:\"span\",title:t.substr(1),classes:n}),u(e)?s.classes=n:s.attributes={class:n},s},k=(e,t)=>null===t||m(e),w=e=>{e.on(\"init\",(()=>{const t=(()=>{const e=[],t=[],s={};return{addItemToGroup:(e,r)=>{s[e]?s[e].push(r):(t.push(e),s[e]=[r])},addItem:t=>{e.push(t)},toFormats:()=>{return(r=t,n=e=>{const t=s[e];return 0===t.length?[]:[{title:e,items:t}]},(e=>{const t=[];for(let s=0,r=e.length;s{const s=e.length,r=new Array(s);for(let o=0;oa.map(e,(e=>a.extend({},e,{original:e,selectors:{},filter:T(e.filter)}))))(d(e)),u=(t,s)=>{if(((e,t,s,r)=>!(k(e,s)?t in r:t in s.selectors))(e,t,s,r)){((e,t,s,r)=>{k(e,s)?r[t]=!0:s.selectors[t]=!0})(e,t,s,r);const o=((e,t,s,r)=>{let o;const n=f(e);return o=r&&r.selector_converter?r.selector_converter:n||(()=>S(e,s)),o.call(t,s,r)})(e,e.plugins.importcss,t,s);if(o){const t=o.name||c.DOM.uniqueId();return e.formatter.register(t,o),{title:o.title,format:t}}}return null};a.each(((e,t,r)=>{const o=[],n={},c=(t,n)=>{let p,u=t.href;if(u=(e=>{const t=l.cacheSuffix;return s(e)&&(e=e.replace(\"?\"+t,\"\").replace(\"&\"+t,\"\")),e})(u),u&&(!r||r(u,n))&&!((e,t)=>{const s=g(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+\"/skins/ui/\"+s,n=i.baseURL+\"/skins/content/\";return t===o+\"/content\"+(e.inline?\".inline\":\"\")+\".min.css\"||-1!==t.indexOf(n)}return!1})(e,u)){a.each(t.imports,(e=>{c(e,!0)}));try{p=t.cssRules||t.rules}catch(e){}a.each(p,(e=>{e.styleSheet?c(e.styleSheet,!0):e.selectorText&&a.each(e.selectorText.split(\",\"),(e=>{o.push(a.trim(e))}))}))}};a.each(e.contentCSS,(e=>{n[e]=!0})),r||(r=(e,t)=>t||n[e]);try{a.each(t.styleSheets,(e=>{c(e)}))}catch(e){}return o})(e,e.getDoc(),T(_(e))),(e=>{if(!x.test(e)&&(!n||n(e))){const s=((e,t)=>a.grep(e,(e=>!e.filter||e.filter(t))))(p,e);if(s.length>0)a.each(s,(s=>{const r=u(e,s);r&&t.addItemToGroup(s.title,r)}));else{const s=u(e,null);s&&t.addItem(s)}}}));const m=t.toFormats();e.dispatch(\"addStyleModifications\",{items:m,replace:!h(e)})}))};e.add(\"importcss\",(e=>((e=>{const t=e.options.register,o=e=>s(e)||n(e)||r(e);t(\"importcss_merge_classes\",{processor:\"boolean\",default:!0}),t(\"importcss_exclusive\",{processor:\"boolean\",default:!0}),t(\"importcss_selector_converter\",{processor:\"function\"}),t(\"importcss_selector_filter\",{processor:o}),t(\"importcss_file_filter\",{processor:o}),t(\"importcss_groups\",{processor:\"object[]\"}),t(\"importcss_append\",{processor:\"boolean\",default:!1})})(e),w(e),(e=>({convertSelectorToFormat:t=>S(e,t)}))(e))))}();"],"names":["e","tinymce","util","Tools","resolve","t","Array","isArray","s","r","o","String","prototype","isPrototypeOf","n","constructor","name","c","i","l","a","p","options","get","u","m","f","y","d","h","_","g","v","b","push","x","T","indexOf","RegExp","test","S","exec","substr","split","join","makeMap","title","schema","getTextBlockElements","block","getBlockElements","toLowerCase","selector","inline","classes","attributes","class","k","add","register","processor","default","on","addItemToGroup","addItem","toFormats","length","items","Error","apply","concat","map","extend","original","selectors","filter","selector_converter","call","plugins","importcss","DOM","uniqueId","formatter","format","each","href","cacheSuffix","replace","documentBaseURI","toAbsolute","baseURL","imports","cssRules","rules","styleSheet","selectorText","trim","contentCSS","styleSheets","getDoc","grep","dispatch","w","convertSelectorToFormat"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/59986.e588cc7884bb8f942e2f.min.js b/src/plone/staticresources/static/bundle-plone/chunks/59986.e588cc7884bb8f942e2f.min.js
deleted file mode 100644
index 737c63735..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/59986.e588cc7884bb8f942e2f.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[59986],{59986:function(){!function(){"use strict";function t(t){return function(e){return n=typeof(r=e),(null===r?"null":"object"==n&&(Array.prototype.isPrototypeOf(r)||r.constructor&&"Array"===r.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(r)||r.constructor&&"String"===r.constructor.name)?"string":n)===t;var r,n}}function e(t){return t.getParam("importcss_selector_converter")}function r(t){return c(t)?function(e){return-1!==e.indexOf(t)}:t instanceof RegExp?function(e){return t.test(e)}:t}function n(t,e){var r,n=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(e);if(n){var o=n[1],i=n[2].substr(1).split(".").join(" "),c=f.makeMap("a,img");return n[1]?(r={title:e},t.schema.getTextBlockElements()[o]?r.block=o:t.schema.getBlockElements()[o]||c[o.toLowerCase()]?r.selector=o:r.inline=o):n[2]&&(r={inline:"span",title:e.substr(1),classes:i}),!1!==t.getParam("importcss_merge_classes")?r.classes=i:r.attributes={class:i},r}}function o(t,e){return null===e||!1!==t.getParam("importcss_exclusive")}var i=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=t("string"),s=t("array"),a=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),u=tinymce.util.Tools.resolve("tinymce.EditorManager"),l=tinymce.util.Tools.resolve("tinymce.Env"),f=tinymce.util.Tools.resolve("tinymce.util.Tools"),m=Array.prototype.push,p=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/;i.add("importcss",(function(t){return(i=t).on("init",(function(){function t(t,r){if(y=t,d=_,!(o(i,h=r)?y in d:y in h.selectors)){p=t,v=_,o(i,g=r)?v[p]=!0:g.selectors[p]=!0;var c=(l=(u=i).plugins.importcss,f=t,((m=r)&&m.selector_converter?m.selector_converter:e(u)?e(u):function(){return n(u,f)}).call(l,f,m));if(c){var s=c.name||a.DOM.uniqueId();return i.formatter.register(s,c),{title:c.title,format:s}}}var u,l,f,m,p,g,v,y,h,d;return null}var g,v,y,h,d=(g=[],v=[],y={},{addItemToGroup:function(t,e){y[t]?y[t].push(e):(v.push(t),y[t]=[e])},addItem:function(t){g.push(t)},toFormats:function(){return function(t){for(var e=[],r=0,n=t.length;r(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(r=o=t,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":e;var r,o,a,s})(t)===r);var r;const o=(a=void 0,t=>a===t);var a,s=tinymce.util.Tools.resolve("tinymce.util.Delay"),n=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),i=tinymce.util.Tools.resolve("tinymce.util.Tools");const u=t=>{const e=/^(\d+)([ms]?)$/.exec(t);return(e&&e[2]?{s:1e3,m:6e4}[e[2]]:1)*parseInt(t,10)},l=t=>e=>e.options.get(t),c=l("autosave_ask_before_unload"),m=l("autosave_restore_when_empty"),d=l("autosave_interval"),f=l("autosave_retention"),v=t=>{const e=document.location;return t.options.get("autosave_prefix").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},p=(t,e)=>{if(o(e))return t.dom.isEmpty(t.getBody());{const r=i.trim(e);if(""===r)return!0;{const e=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(e)}}},g=t=>{var e;const r=parseInt(null!==(e=n.getItem(v(t)+"time"))&&void 0!==e?e:"0",10)||0;return!((new Date).getTime()-r>f(t))||(y(t,!1),!1)},y=(t,e)=>{const r=v(t);n.removeItem(r+"draft"),n.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},h=t=>{const e=v(t);!p(t)&&t.isDirty()&&(n.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),n.setItem(e+"time",(new Date).getTime().toString()),(t=>{t.dispatch("StoreDraft")})(t))},D=t=>{var e;const r=v(t);g(t)&&(t.setContent(null!==(e=n.getItem(r+"draft"))&&void 0!==e?e:"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var _=tinymce.util.Tools.resolve("tinymce.EditorManager");const b=t=>e=>{e.setEnabled(g(t));const r=()=>e.setEnabled(g(t));return t.on("StoreDraft RestoreDraft RemoveDraft",r),()=>t.off("StoreDraft RestoreDraft RemoveDraft",r)},w=t=>{(t=>{const e=d(t);s.setEditorInterval(t,(()=>{h(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{D(t),y(t)})),t.focus()})(t)};t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:b(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:b(t)})};t.add("autosave",(t=>((t=>{const r=t.options.register,o=t=>{const r=e(t);return r?{value:u(t),valid:r}:{valid:!1,message:"Must be a string."}};r("autosave_ask_before_unload",{processor:"boolean",default:!0}),r("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),r("autosave_restore_when_empty",{processor:"boolean",default:!1}),r("autosave_interval",{processor:o,default:"30s"}),r("autosave_retention",{processor:o,default:"20m"})})(t),(t=>{t.editorManager.on("BeforeUnload",(t=>{let e;i.each(_.get(),(t=>{t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&c(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))})(t),w(t),t.on("init",(()=>{m(t)&&t.dom.isEmpty(t.getBody())&&D(t)})),(t=>({hasDraft:()=>g(t),storeDraft:()=>h(t),restoreDraft:()=>D(t),removeDraft:e=>y(t,e),isEmpty:e=>p(t,e)}))(t))))}()}}]);
+//# sourceMappingURL=61665.26cb3dda55a94fcc1b9f.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/61665.26cb3dda55a94fcc1b9f.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/61665.26cb3dda55a94fcc1b9f.min.js.map
new file mode 100644
index 000000000..a2ab1a60b
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/61665.26cb3dda55a94fcc1b9f.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/61665.26cb3dda55a94fcc1b9f.min.js","mappings":"+HAMA,EAAQ,M,oBCFR,WACI,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAsBMC,GAFSC,EAES,SAFDC,GAZRC,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,IAAuCG,EAdlCC,EAcsBL,GAdnBM,EAcsBC,QAZZC,UAYwCC,cAAcL,KAThD,QAAxBM,EAAKL,EAAEC,mBAAgC,IAAPI,OAAgB,EAASA,EAAGC,QAAUL,EAAYK,MAUpF,SAEAV,EAHwC,IAACG,EAdlCC,EAAGC,EACfI,CAiBJ,EAE8BE,CAAOb,KAAWD,GAAnCA,MAGf,MAAMe,GAFKZ,OAEYa,EAFPC,GAAKd,IAAMc,GAAhBd,MAIPe,EAAWvB,QAAQC,KAAKC,MAAMC,QAAQ,sBAEtCqB,EAAWxB,QAAQC,KAAKC,MAAMC,QAAQ,6BAEtCsB,EAAWzB,QAAQC,KAAKC,MAAMC,QAAQ,sBAE1C,MAIMuB,EAAQC,IACZ,MAIMC,EAAa,iBAAiBC,KAAKF,GACzC,OAAQC,GAAcA,EAAW,GALf,CAChBE,EAAG,IACHC,EAAG,KAG2CH,EAAW,IAAM,GAAKI,SAASL,EAAY,GAAG,EAG1FM,EAASf,GAAQgB,GAAUA,EAAOC,QAAQC,IAAIlB,GAsC9CmB,EAAwBJ,EAAO,8BAC/BK,EAAyBL,EAAO,+BAChCM,EAAsBN,EAAO,qBAC7BO,EAAuBP,EAAO,sBAC9BQ,EAAoBP,IACxB,MAAMQ,EAAWC,SAASD,SAC1B,OAAOR,EAAOC,QAAQC,IAAI,mBA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,IAEXL,EAAe,oBAAqB,CAClCI,UAAWH,EACXI,QAAS,QAEXL,EAAe,qBAAsB,CACnCI,UAAWH,EACXI,QAAS,OACT,EAiIAC,CAAW7E,GA7CDA,KACZA,EAAO8E,cAAc3B,GAAG,gBAAgB4B,IACtC,IAAIC,EACJzF,EAAS0F,KAAKnC,EAAO5C,OAAOF,IACtBA,EAAOkF,QAAQC,UACjBnF,EAAOkF,QAAQC,SAAShD,cAErB6C,GAAOhF,EAAOoC,WAAajC,EAAsBH,KACpDgF,EAAMhF,EAAOoF,UAAU,oEACzB,IAEEJ,IACFD,EAAEM,iBACFN,EAAEO,YAAcN,EAClB,GACA,EA+BAO,CAAMvF,GACNqD,EAASrD,GACTA,EAAOmD,GAAG,QAAQ,KACZ/C,EAAuBJ,IAAWA,EAAOiB,IAAIF,QAAQf,EAAOkB,YAC9DyB,EAAa3C,EACf,IA7DMA,KAAU,CACpBwB,SAAU,IAAMA,EAASxB,GACzBmC,WAAY,IAAMA,EAAWnC,GAC7B2C,aAAc,IAAMA,EAAa3C,GACjC6B,YAAaC,GAAQD,EAAY7B,EAAQ8B,GACzCf,QAASC,GAAQD,EAAQf,EAAQgB,KA0DxBd,CAAIF,KAMlB,CApOD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/plugin.js"],"sourcesContent":["// Exports the \"autosave\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/autosave')\n// ES2015:\n// import 'tinymce/plugins/autosave'\nrequire('./plugin.js');","/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const eq = t => a => t === a;\n const isString = isType('string');\n const isUndefined = eq(undefined);\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.LocalStorage');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const fireRestoreDraft = editor => editor.dispatch('RestoreDraft');\n const fireStoreDraft = editor => editor.dispatch('StoreDraft');\n const fireRemoveDraft = editor => editor.dispatch('RemoveDraft');\n\n const parse = timeString => {\n const multiples = {\n s: 1000,\n m: 60000\n };\n const parsedTime = /^(\\d+)([ms]?)$/.exec(timeString);\n return (parsedTime && parsedTime[2] ? multiples[parsedTime[2]] : 1) * parseInt(timeString, 10);\n };\n\n const option = name => editor => editor.options.get(name);\n const register$1 = editor => {\n const registerOption = editor.options.register;\n const timeProcessor = value => {\n const valid = isString(value);\n if (valid) {\n return {\n value: parse(value),\n valid\n };\n } else {\n return {\n valid: false,\n message: 'Must be a string.'\n };\n }\n };\n registerOption('autosave_ask_before_unload', {\n processor: 'boolean',\n default: true\n });\n registerOption('autosave_prefix', {\n processor: 'string',\n default: 'tinymce-autosave-{path}{query}{hash}-{id}-'\n });\n registerOption('autosave_restore_when_empty', {\n processor: 'boolean',\n default: false\n });\n registerOption('autosave_interval', {\n processor: timeProcessor,\n default: '30s'\n });\n registerOption('autosave_retention', {\n processor: timeProcessor,\n default: '20m'\n });\n };\n const shouldAskBeforeUnload = option('autosave_ask_before_unload');\n const shouldRestoreWhenEmpty = option('autosave_restore_when_empty');\n const getAutoSaveInterval = option('autosave_interval');\n const getAutoSaveRetention = option('autosave_retention');\n const getAutoSavePrefix = editor => {\n const location = document.location;\n return editor.options.get('autosave_prefix').replace(/{path}/g, location.pathname).replace(/{query}/g, location.search).replace(/{hash}/g, location.hash).replace(/{id}/g, editor.id);\n };\n\n const isEmpty = (editor, html) => {\n if (isUndefined(html)) {\n return editor.dom.isEmpty(editor.getBody());\n } else {\n const trimmedHtml = global$1.trim(html);\n if (trimmedHtml === '') {\n return true;\n } else {\n const fragment = new DOMParser().parseFromString(trimmedHtml, 'text/html');\n return editor.dom.isEmpty(fragment);\n }\n }\n };\n const hasDraft = editor => {\n var _a;\n const time = parseInt((_a = global$2.getItem(getAutoSavePrefix(editor) + 'time')) !== null && _a !== void 0 ? _a : '0', 10) || 0;\n if (new Date().getTime() - time > getAutoSaveRetention(editor)) {\n removeDraft(editor, false);\n return false;\n }\n return true;\n };\n const removeDraft = (editor, fire) => {\n const prefix = getAutoSavePrefix(editor);\n global$2.removeItem(prefix + 'draft');\n global$2.removeItem(prefix + 'time');\n if (fire !== false) {\n fireRemoveDraft(editor);\n }\n };\n const storeDraft = editor => {\n const prefix = getAutoSavePrefix(editor);\n if (!isEmpty(editor) && editor.isDirty()) {\n global$2.setItem(prefix + 'draft', editor.getContent({\n format: 'raw',\n no_events: true\n }));\n global$2.setItem(prefix + 'time', new Date().getTime().toString());\n fireStoreDraft(editor);\n }\n };\n const restoreDraft = editor => {\n var _a;\n const prefix = getAutoSavePrefix(editor);\n if (hasDraft(editor)) {\n editor.setContent((_a = global$2.getItem(prefix + 'draft')) !== null && _a !== void 0 ? _a : '', { format: 'raw' });\n fireRestoreDraft(editor);\n }\n };\n const startStoreDraft = editor => {\n const interval = getAutoSaveInterval(editor);\n global$3.setEditorInterval(editor, () => {\n storeDraft(editor);\n }, interval);\n };\n const restoreLastDraft = editor => {\n editor.undoManager.transact(() => {\n restoreDraft(editor);\n removeDraft(editor);\n });\n editor.focus();\n };\n\n const get = editor => ({\n hasDraft: () => hasDraft(editor),\n storeDraft: () => storeDraft(editor),\n restoreDraft: () => restoreDraft(editor),\n removeDraft: fire => removeDraft(editor, fire),\n isEmpty: html => isEmpty(editor, html)\n });\n\n var global = tinymce.util.Tools.resolve('tinymce.EditorManager');\n\n const setup = editor => {\n editor.editorManager.on('BeforeUnload', e => {\n let msg;\n global$1.each(global.get(), editor => {\n if (editor.plugins.autosave) {\n editor.plugins.autosave.storeDraft();\n }\n if (!msg && editor.isDirty() && shouldAskBeforeUnload(editor)) {\n msg = editor.translate('You have unsaved changes are you sure you want to navigate away?');\n }\n });\n if (msg) {\n e.preventDefault();\n e.returnValue = msg;\n }\n });\n };\n\n const makeSetupHandler = editor => api => {\n api.setEnabled(hasDraft(editor));\n const editorEventCallback = () => api.setEnabled(hasDraft(editor));\n editor.on('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n return () => editor.off('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n };\n const register = editor => {\n startStoreDraft(editor);\n const onAction = () => {\n restoreLastDraft(editor);\n };\n editor.ui.registry.addButton('restoredraft', {\n tooltip: 'Restore last draft',\n icon: 'restore-draft',\n onAction,\n onSetup: makeSetupHandler(editor)\n });\n editor.ui.registry.addMenuItem('restoredraft', {\n text: 'Restore last draft',\n icon: 'restore-draft',\n onAction,\n onSetup: makeSetupHandler(editor)\n });\n };\n\n var Plugin = () => {\n global$4.add('autosave', editor => {\n register$1(editor);\n setup(editor);\n register(editor);\n editor.on('init', () => {\n if (shouldRestoreWhenEmpty(editor) && editor.dom.isEmpty(editor.getBody())) {\n restoreDraft(editor);\n }\n });\n return get(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$4","tinymce","util","Tools","resolve","isString","type","value","x","t","Array","isArray","o","v","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isUndefined","undefined","a","global$3","global$2","global$1","parse","timeString","parsedTime","exec","s","m","parseInt","option","editor","options","get","shouldAskBeforeUnload","shouldRestoreWhenEmpty","getAutoSaveInterval","getAutoSaveRetention","getAutoSavePrefix","location","document","replace","pathname","search","hash","id","isEmpty","html","dom","getBody","trimmedHtml","trim","fragment","DOMParser","parseFromString","hasDraft","time","getItem","Date","getTime","removeDraft","fire","prefix","removeItem","dispatch","fireRemoveDraft","storeDraft","isDirty","setItem","getContent","format","no_events","toString","fireStoreDraft","restoreDraft","setContent","fireRestoreDraft","global","makeSetupHandler","api","setEnabled","editorEventCallback","on","off","register","interval","setEditorInterval","startStoreDraft","onAction","undoManager","transact","focus","restoreLastDraft","ui","registry","addButton","tooltip","icon","onSetup","addMenuItem","text","add","registerOption","timeProcessor","valid","message","processor","default","register$1","editorManager","e","msg","each","plugins","autosave","translate","preventDefault","returnValue","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/61665.7a5bdb1a064eb1675951.min.js b/src/plone/staticresources/static/bundle-plone/chunks/61665.7a5bdb1a064eb1675951.min.js
deleted file mode 100644
index d323b2c67..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/61665.7a5bdb1a064eb1675951.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[61665,72612],{61665:function(t,e,n){n(72612)},72612:function(){!function(){"use strict";var t,e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=(t=void 0,function(e){return t===e}),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),o=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(t,e){var n=t||e,r=/^(\d+)([ms]?)$/.exec(""+n);return(r[2]?{s:1e3,m:6e4}[r[2]]:1)*parseInt(n,10)},u=function(t){var e=document.location;return t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},s=function(t,e){if(n(e))return t.dom.isEmpty(t.getBody());var r=a.trim(e);if(""===r)return!0;var o=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(o)},f=function(t){var e=parseInt(o.getItem(u(t)+"time"),10)||0;return!((new Date).getTime()-e>function(t){return i(t.getParam("autosave_retention"),"20m")}(t))||(c(t,!1),!1)},c=function(t,e){var n=u(t);o.removeItem(n+"draft"),o.removeItem(n+"time"),!1!==e&&function(t){t.fire("RemoveDraft")}(t)},m=function(t){var e=u(t);!s(t)&&t.isDirty()&&(o.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),o.setItem(e+"time",(new Date).getTime().toString()),function(t){t.fire("StoreDraft")}(t))},l=function(t){var e=u(t);f(t)&&(t.setContent(o.getItem(e+"draft"),{format:"raw"}),function(t){t.fire("RestoreDraft")}(t))},v=function(t){var e=function(t){return i(t.getParam("autosave_interval"),"30s")}(t);r.setEditorInterval(t,(function(){m(t)}),e)},d=function(t){t.undoManager.transact((function(){l(t),c(t)})),t.focus()},g=tinymce.util.Tools.resolve("tinymce.EditorManager"),y=function(t){return function(e){e.setDisabled(!f(t));var n=function(){return e.setDisabled(!f(t))};return t.on("StoreDraft RestoreDraft RemoveDraft",n),function(){return t.off("StoreDraft RestoreDraft RemoveDraft",n)}}};e.add("autosave",(function(t){return function(t){t.editorManager.on("BeforeUnload",(function(t){var e;a.each(g.get(),(function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&function(t){return t.getParam("autosave_ask_before_unload",!0)}(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))}(t),function(t){v(t),t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){d(t)},onSetup:y(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){d(t)},onSetup:y(t)})}(t),t.on("init",(function(){(function(t){return t.getParam("autosave_restore_when_empty",!1)})(t)&&t.dom.isEmpty(t.getBody())&&l(t)})),function(t){return{hasDraft:function(){return f(t)},storeDraft:function(){return m(t)},restoreDraft:function(){return l(t)},removeDraft:function(e){return c(t,e)},isEmpty:function(e){return s(t,e)}}}(t)}))}()}}]);
-//# sourceMappingURL=61665.7a5bdb1a064eb1675951.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/61665.7a5bdb1a064eb1675951.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/61665.7a5bdb1a064eb1675951.min.js.map
deleted file mode 100644
index 07acef2d5..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/61665.7a5bdb1a064eb1675951.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/61665.7a5bdb1a064eb1675951.min.js","mappings":"+HAMA,EAAQ,M,oBCEP,WACG,aAEA,IAEmBA,EAFfC,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAOtCC,GALeN,OAKEO,EAJZ,SAAUC,GACf,OAAOR,IAAMQ,CACf,GAIEC,EAAWP,QAAQC,KAAKC,MAAMC,QAAQ,sBAEtCK,EAAWR,QAAQC,KAAKC,MAAMC,QAAQ,6BAEtCM,EAAWT,QAAQC,KAAKC,MAAMC,QAAQ,sBAYtCO,EAAQ,SAAUC,EAAYC,GAChC,IAIIC,EAAUF,GAAcC,EACxBE,EAAa,iBAAiBC,KAAK,GAAKF,GAC5C,OAAQC,EAAW,GANH,CACdE,EAAG,IACHC,EAAG,KAI6BH,EAAW,IAAM,GAAKI,SAASL,EAAS,GAC5E,EAKIM,EAAoB,SAAUC,GAChC,IAAIC,EAAWC,SAASD,SACxB,OAAOD,EAAOG,SAAS,kBAAmB,8CAA8CC,QAAQ,UAAWH,EAASI,UAAUD,QAAQ,WAAYH,EAASK,QAAQF,QAAQ,UAAWH,EAASM,MAAMH,QAAQ,QAASJ,EAAOQ,GAC/N,EAWIC,EAAU,SAAUT,EAAQU,GAC9B,GAAI1B,EAAY0B,GACd,OAAOV,EAAOW,IAAIF,QAAQT,EAAOY,WAEjC,IAAIC,EAAcxB,EAASyB,KAAKJ,GAChC,GAAoB,KAAhBG,EACF,OAAO,EAEP,IAAIE,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OW,IAAIF,QAAQT,EAAOY,YAC9DyB,EAAarC,EAEjB,IAhFM,SAAUA,GAClB,MAAO,CACLkB,SAAU,WACR,OAAOA,EAASlB,EAClB,EACA6B,WAAY,WACV,OAAOA,EAAW7B,EACpB,EACAqC,aAAc,WACZ,OAAOA,EAAarC,EACtB,EACAwB,YAAa,SAAUC,GACrB,OAAOD,EAAYxB,EAAQyB,EAC7B,EACAhB,QAAS,SAAUC,GACjB,OAAOD,EAAQT,EAAQU,EACzB,EAEJ,CA+DWkD,CAAI5D,EACb,GAKN,CA3MA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/plugin.js"],"sourcesContent":["// Exports the \"autosave\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/autosave')\n// ES2015:\n// import 'tinymce/plugins/autosave'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var eq = function (t) {\n return function (a) {\n return t === a;\n };\n };\n var isUndefined = eq(undefined);\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.LocalStorage');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var fireRestoreDraft = function (editor) {\n return editor.fire('RestoreDraft');\n };\n var fireStoreDraft = function (editor) {\n return editor.fire('StoreDraft');\n };\n var fireRemoveDraft = function (editor) {\n return editor.fire('RemoveDraft');\n };\n\n var parse = function (timeString, defaultTime) {\n var multiples = {\n s: 1000,\n m: 60000\n };\n var toParse = timeString || defaultTime;\n var parsedTime = /^(\\d+)([ms]?)$/.exec('' + toParse);\n return (parsedTime[2] ? multiples[parsedTime[2]] : 1) * parseInt(toParse, 10);\n };\n\n var shouldAskBeforeUnload = function (editor) {\n return editor.getParam('autosave_ask_before_unload', true);\n };\n var getAutoSavePrefix = function (editor) {\n var location = document.location;\n return editor.getParam('autosave_prefix', 'tinymce-autosave-{path}{query}{hash}-{id}-').replace(/{path}/g, location.pathname).replace(/{query}/g, location.search).replace(/{hash}/g, location.hash).replace(/{id}/g, editor.id);\n };\n var shouldRestoreWhenEmpty = function (editor) {\n return editor.getParam('autosave_restore_when_empty', false);\n };\n var getAutoSaveInterval = function (editor) {\n return parse(editor.getParam('autosave_interval'), '30s');\n };\n var getAutoSaveRetention = function (editor) {\n return parse(editor.getParam('autosave_retention'), '20m');\n };\n\n var isEmpty = function (editor, html) {\n if (isUndefined(html)) {\n return editor.dom.isEmpty(editor.getBody());\n } else {\n var trimmedHtml = global$1.trim(html);\n if (trimmedHtml === '') {\n return true;\n } else {\n var fragment = new DOMParser().parseFromString(trimmedHtml, 'text/html');\n return editor.dom.isEmpty(fragment);\n }\n }\n };\n var hasDraft = function (editor) {\n var time = parseInt(global$2.getItem(getAutoSavePrefix(editor) + 'time'), 10) || 0;\n if (new Date().getTime() - time > getAutoSaveRetention(editor)) {\n removeDraft(editor, false);\n return false;\n }\n return true;\n };\n var removeDraft = function (editor, fire) {\n var prefix = getAutoSavePrefix(editor);\n global$2.removeItem(prefix + 'draft');\n global$2.removeItem(prefix + 'time');\n if (fire !== false) {\n fireRemoveDraft(editor);\n }\n };\n var storeDraft = function (editor) {\n var prefix = getAutoSavePrefix(editor);\n if (!isEmpty(editor) && editor.isDirty()) {\n global$2.setItem(prefix + 'draft', editor.getContent({\n format: 'raw',\n no_events: true\n }));\n global$2.setItem(prefix + 'time', new Date().getTime().toString());\n fireStoreDraft(editor);\n }\n };\n var restoreDraft = function (editor) {\n var prefix = getAutoSavePrefix(editor);\n if (hasDraft(editor)) {\n editor.setContent(global$2.getItem(prefix + 'draft'), { format: 'raw' });\n fireRestoreDraft(editor);\n }\n };\n var startStoreDraft = function (editor) {\n var interval = getAutoSaveInterval(editor);\n global$3.setEditorInterval(editor, function () {\n storeDraft(editor);\n }, interval);\n };\n var restoreLastDraft = function (editor) {\n editor.undoManager.transact(function () {\n restoreDraft(editor);\n removeDraft(editor);\n });\n editor.focus();\n };\n\n var get = function (editor) {\n return {\n hasDraft: function () {\n return hasDraft(editor);\n },\n storeDraft: function () {\n return storeDraft(editor);\n },\n restoreDraft: function () {\n return restoreDraft(editor);\n },\n removeDraft: function (fire) {\n return removeDraft(editor, fire);\n },\n isEmpty: function (html) {\n return isEmpty(editor, html);\n }\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.EditorManager');\n\n var setup = function (editor) {\n editor.editorManager.on('BeforeUnload', function (e) {\n var msg;\n global$1.each(global.get(), function (editor) {\n if (editor.plugins.autosave) {\n editor.plugins.autosave.storeDraft();\n }\n if (!msg && editor.isDirty() && shouldAskBeforeUnload(editor)) {\n msg = editor.translate('You have unsaved changes are you sure you want to navigate away?');\n }\n });\n if (msg) {\n e.preventDefault();\n e.returnValue = msg;\n }\n });\n };\n\n var makeSetupHandler = function (editor) {\n return function (api) {\n api.setDisabled(!hasDraft(editor));\n var editorEventCallback = function () {\n return api.setDisabled(!hasDraft(editor));\n };\n editor.on('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n return function () {\n return editor.off('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n };\n };\n };\n var register = function (editor) {\n startStoreDraft(editor);\n editor.ui.registry.addButton('restoredraft', {\n tooltip: 'Restore last draft',\n icon: 'restore-draft',\n onAction: function () {\n restoreLastDraft(editor);\n },\n onSetup: makeSetupHandler(editor)\n });\n editor.ui.registry.addMenuItem('restoredraft', {\n text: 'Restore last draft',\n icon: 'restore-draft',\n onAction: function () {\n restoreLastDraft(editor);\n },\n onSetup: makeSetupHandler(editor)\n });\n };\n\n function Plugin () {\n global$4.add('autosave', function (editor) {\n setup(editor);\n register(editor);\n editor.on('init', function () {\n if (shouldRestoreWhenEmpty(editor) && editor.dom.isEmpty(editor.getBody())) {\n restoreDraft(editor);\n }\n });\n return get(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["t","global$4","tinymce","util","Tools","resolve","isUndefined","undefined","a","global$3","global$2","global$1","parse","timeString","defaultTime","toParse","parsedTime","exec","s","m","parseInt","getAutoSavePrefix","editor","location","document","getParam","replace","pathname","search","hash","id","isEmpty","html","dom","getBody","trimmedHtml","trim","fragment","DOMParser","parseFromString","hasDraft","time","getItem","Date","getTime","getAutoSaveRetention","removeDraft","fire","prefix","removeItem","fireRemoveDraft","storeDraft","isDirty","setItem","getContent","format","no_events","toString","fireStoreDraft","restoreDraft","setContent","fireRestoreDraft","startStoreDraft","interval","getAutoSaveInterval","setEditorInterval","restoreLastDraft","undoManager","transact","focus","global","makeSetupHandler","api","setDisabled","editorEventCallback","on","off","add","editorManager","e","msg","each","get","plugins","autosave","shouldAskBeforeUnload","translate","preventDefault","returnValue","setup","ui","registry","addButton","tooltip","icon","onAction","onSetup","addMenuItem","text","register","shouldRestoreWhenEmpty"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/61797.0bb9da97819baca09dec.min.js b/src/plone/staticresources/static/bundle-plone/chunks/61797.0bb9da97819baca09dec.min.js
new file mode 100644
index 000000000..dcfd5811a
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/61797.0bb9da97819baca09dec.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[61797],{61797:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>t===e,o=e(null),n=e(void 0),s=()=>{},r=()=>!1;class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return null==t?a.none():a.some(t)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const i=(t,e)=>{const o=t.length,n=new Array(o);for(let s=0;s{let e=t;return{get:()=>e,set:t=>{e=t}}},c=Object.keys,u=Object.hasOwnProperty,g=(t,e)=>{const o=c(t);for(let n=0,s=o.length;nu.call(t,e),m=(d=(t,e)=>e,(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const e={};for(let o=0;o{const t=(t=>{const e=l(a.none()),o=()=>e.get().each(t);return{clear:()=>{o(),e.set(a.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:t=>{o(),e.set(a.some(t))}}})(s);return{...t,on:e=>t.get().each(e)}},f=(t,e,o=0,s)=>{const r=t.indexOf(e,o);return-1!==r&&(!!n(s)||r+e.length<=s)};var v=tinymce.util.Tools.resolve("tinymce.Resource");const y=t=>e=>e.options.get(t),b=y("emoticons_database"),w=y("emoticons_database_url"),C=y("emoticons_database_id"),_=y("emoticons_append"),j=y("emoticons_images_url"),k="All",A={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},O=(t,e)=>h(t,e)?t[e]:e,x=(t,e)=>f(t.title.toLowerCase(),e)||((t,o)=>{for(let o=0,s=t.length;o{const n=[],s=e.toLowerCase(),a=o.fold((()=>r),(t=>e=>e>=t));for(let o=0;o{const n={pattern:"",results:E(e.listAll(),"",a.some(300))},s=l(k),r=((t,e)=>{let n=null;const s=()=>{o(n)||(clearTimeout(n),n=null)};return{cancel:s,throttle:(...e)=>{s(),n=setTimeout((()=>{n=null,t.apply(null,e)}),200)}}})((t=>{(t=>{const o=t.getData(),n=s.get(),r=e.listCategory(n),i=E(r,o[S],n===k?a.some(300):a.none());t.setData({results:i})})(t)})),c={label:"Search",type:"input",name:S},u={type:"collection",name:"results"},g=()=>({title:"Emojis",size:"normal",body:{type:"tabpanel",tabs:i(e.listCategories(),(t=>({title:t,name:t,items:[c,u]})))},initialData:n,onTabChange:(t,e)=>{s.set(e.newTabName),r.throttle(t)},onChange:r.throttle,onAction:(e,o)=>{"results"===o.name&&(((t,e)=>{t.insertContent(e)})(t,o.value),e.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}),h=t.windowManager.open(g());h.focus(S),e.hasLoaded()||(h.block("Loading emojis..."),e.waitForLoad().then((()=>{h.redial(g()),r.throttle(h),h.focus(S),h.unblock()})).catch((t=>{h.redial({title:"Emojis",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"Could not load emojis"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),h.focus(S),h.unblock()})))},N=t=>e=>{const o=()=>{e.setEnabled(t.selection.isEditable())};return t.on("NodeChange",o),o(),()=>{t.off("NodeChange",o)}};t.add("emoticons",((t,e)=>{((t,e)=>{const o=t.options.register;o("emoticons_database",{processor:"string",default:"emojis"}),o("emoticons_database_url",{processor:"string",default:`${e}/js/${b(t)}${t.suffix}.js`}),o("emoticons_database_id",{processor:"string",default:"tinymce.plugins.emoticons"}),o("emoticons_append",{processor:"object",default:{}}),o("emoticons_images_url",{processor:"string",default:"https://twemoji.maxcdn.com/v/13.0.1/72x72/"})})(t,e);const o=((t,e,o)=>{const n=p(),s=p(),r=j(t),i=t=>{return"=4&&"`src="${r}${e}"`)):t.char;var e};t.on("init",(()=>{v.load(o,e).then((e=>{const o=(t=>{const e=_(t);return o=t=>({keywords:[],category:"user",...t}),((t,e)=>{const o={};return g(t,((t,n)=>{const s=e(t,n);o[s.k]=s.v})),o})(e,((t,e)=>({k:e,v:o(t)})));var o})(t);(t=>{const e={},o=[];g(t,((t,n)=>{const s={title:n,keywords:t.keywords,char:i(t),category:O(A,t.category)},r=void 0!==e[s.category]?e[s.category]:[];e[s.category]=r.concat([s]),o.push(s)})),n.set(e),s.set(o)})(m(e,o))}),(t=>{console.log(`Failed to load emojis: ${t}`),n.set({}),s.set([])}))}));const l=()=>s.get().getOr([]),u=()=>n.isSet()&&s.isSet();return{listCategories:()=>[k].concat(c(n.get().getOr({}))),hasLoaded:u,waitForLoad:()=>u()?Promise.resolve(!0):new Promise(((t,o)=>{let n=15;const s=setInterval((()=>{u()?(clearInterval(s),t(!0)):(n--,n<0&&(console.log("Could not load emojis from url: "+e),clearInterval(s),o(!1)))}),100)})),listAll:l,listCategory:t=>t===k?l():n.get().bind((e=>a.from(e[t]))).getOr([])}})(t,w(t),C(t));((t,e)=>{t.addCommand("mceEmoticons",(()=>L(t,e)))})(t,o),(t=>{const e=()=>t.execCommand("mceEmoticons");t.ui.registry.addButton("emoticons",{tooltip:"Emojis",icon:"emoji",onAction:e,onSetup:N(t)}),t.ui.registry.addMenuItem("emoticons",{text:"Emojis...",icon:"emoji",onAction:e,onSetup:N(t)})})(t),((t,e)=>{t.ui.registry.addAutocompleter("emoticons",{trigger:":",columns:"auto",minChars:2,fetch:(t,o)=>e.waitForLoad().then((()=>{const n=e.listAll();return E(n,t,a.some(o))})),onAction:(e,o,n)=>{t.selection.setRng(o),t.insertContent(n),e.hide()}})})(t,o),(t=>{t.on("PreInit",(()=>{t.parser.addAttributeFilter("data-emoticon",(t=>{((t,e)=>{for(let e=0,n=t.length;ee=>t===e,o=e(null),n=e(void 0),s=()=>{},r=()=>!1;class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:\"Called getOrDie on None\")}static from(t){return null==t?a.none():a.some(t)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:\"none()\"}}a.singletonNone=new a(!1);const i=(t,e)=>{const o=t.length,n=new Array(o);for(let s=0;s{let e=t;return{get:()=>e,set:t=>{e=t}}},c=Object.keys,u=Object.hasOwnProperty,g=(t,e)=>{const o=c(t);for(let n=0,s=o.length;nu.call(t,e),d=(h=(t,e)=>e,(...t)=>{if(0===t.length)throw new Error(\"Can't merge zero objects\");const e={};for(let o=0;o{const t=(t=>{const e=l(a.none()),o=()=>e.get().each(t);return{clear:()=>{o(),e.set(a.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:t=>{o(),e.set(a.some(t))}}})(s);return{...t,on:e=>t.get().each(e)}},v=(t,e,o=0,s)=>{const r=t.indexOf(e,o);return-1!==r&&(!!n(s)||r+e.length<=s)};var y=tinymce.util.Tools.resolve(\"tinymce.Resource\");const f=t=>e=>e.options.get(t),b=f(\"emoticons_database\"),w=f(\"emoticons_database_url\"),C=f(\"emoticons_database_id\"),_=f(\"emoticons_append\"),j=f(\"emoticons_images_url\"),k=\"All\",A={symbols:\"Symbols\",people:\"People\",animals_and_nature:\"Animals and Nature\",food_and_drink:\"Food and Drink\",activity:\"Activity\",travel_and_places:\"Travel and Places\",objects:\"Objects\",flags:\"Flags\",user:\"User Defined\"},O=(t,e)=>m(t,e)?t[e]:e,x=t=>{const e=_(t);return o=t=>({keywords:[],category:\"user\",...t}),((t,e)=>{const o={};return g(t,((t,n)=>{const s=e(t,n);o[s.k]=s.v})),o})(e,((t,e)=>({k:e,v:o(t)})));var o},E=(t,e)=>v(t.title.toLowerCase(),e)||((t,o)=>{for(let o=0,s=t.length;o{const n=[],s=e.toLowerCase(),a=o.fold((()=>r),(t=>e=>e>=t));for(let o=0;o{const n={pattern:\"\",results:S(e.listAll(),\"\",a.some(300))},s=l(k),r=((t,e)=>{let n=null;const s=()=>{o(n)||(clearTimeout(n),n=null)};return{cancel:s,throttle:(...e)=>{s(),n=setTimeout((()=>{n=null,t.apply(null,e)}),200)}}})((t=>{(t=>{const o=t.getData(),n=s.get(),r=e.listCategory(n),i=S(r,o[L],n===k?a.some(300):a.none());t.setData({results:i})})(t)})),c={label:\"Search\",type:\"input\",name:L},u={type:\"collection\",name:\"results\"},g=()=>({title:\"Emojis\",size:\"normal\",body:{type:\"tabpanel\",tabs:i(e.listCategories(),(t=>({title:t,name:t,items:[c,u]})))},initialData:n,onTabChange:(t,e)=>{s.set(e.newTabName),r.throttle(t)},onChange:r.throttle,onAction:(e,o)=>{\"results\"===o.name&&(((t,e)=>{t.insertContent(e)})(t,o.value),e.close())},buttons:[{type:\"cancel\",text:\"Close\",primary:!0}]}),m=t.windowManager.open(g());m.focus(L),e.hasLoaded()||(m.block(\"Loading emojis...\"),e.waitForLoad().then((()=>{m.redial(g()),r.throttle(m),m.focus(L),m.unblock()})).catch((t=>{m.redial({title:\"Emojis\",body:{type:\"panel\",items:[{type:\"alertbanner\",level:\"error\",icon:\"warning\",text:\"Could not load emojis\"}]},buttons:[{type:\"cancel\",text:\"Close\",primary:!0}],initialData:{pattern:\"\",results:[]}}),m.focus(L),m.unblock()})))},T=t=>e=>{const o=()=>{e.setEnabled(t.selection.isEditable())};return t.on(\"NodeChange\",o),o(),()=>{t.off(\"NodeChange\",o)}};t.add(\"emoticons\",((t,e)=>{((t,e)=>{const o=t.options.register;o(\"emoticons_database\",{processor:\"string\",default:\"emojis\"}),o(\"emoticons_database_url\",{processor:\"string\",default:`${e}/js/${b(t)}${t.suffix}.js`}),o(\"emoticons_database_id\",{processor:\"string\",default:\"tinymce.plugins.emoticons\"}),o(\"emoticons_append\",{processor:\"object\",default:{}}),o(\"emoticons_images_url\",{processor:\"string\",default:\"https://twemoji.maxcdn.com/v/13.0.1/72x72/\"})})(t,e);const o=((t,e,o)=>{const n=p(),s=p(),r=j(t),i=t=>{return o=\"=4&&e.substr(0,4)===o?t.char.replace(/src=\"([^\"]+)\"/,((t,e)=>`src=\"${r}${e}\"`)):t.char;var e,o};t.on(\"init\",(()=>{y.load(o,e).then((e=>{const o=x(t);(t=>{const e={},o=[];g(t,((t,n)=>{const s={title:n,keywords:t.keywords,char:i(t),category:O(A,t.category)},r=void 0!==e[s.category]?e[s.category]:[];e[s.category]=r.concat([s]),o.push(s)})),n.set(e),s.set(o)})(d(e,o))}),(t=>{console.log(`Failed to load emojis: ${t}`),n.set({}),s.set([])}))}));const l=()=>s.get().getOr([]),u=()=>n.isSet()&&s.isSet();return{listCategories:()=>[k].concat(c(n.get().getOr({}))),hasLoaded:u,waitForLoad:()=>u()?Promise.resolve(!0):new Promise(((t,o)=>{let n=15;const s=setInterval((()=>{u()?(clearInterval(s),t(!0)):(n--,n<0&&(console.log(\"Could not load emojis from url: \"+e),clearInterval(s),o(!1)))}),100)})),listAll:l,listCategory:t=>t===k?l():n.get().bind((e=>a.from(e[t]))).getOr([])}})(t,w(t),C(t));((t,e)=>{t.addCommand(\"mceEmoticons\",(()=>N(t,e)))})(t,o),(t=>{const e=()=>t.execCommand(\"mceEmoticons\");t.ui.registry.addButton(\"emoticons\",{tooltip:\"Emojis\",icon:\"emoji\",onAction:e,onSetup:T(t)}),t.ui.registry.addMenuItem(\"emoticons\",{text:\"Emojis...\",icon:\"emoji\",onAction:e,onSetup:T(t)})})(t),((t,e)=>{t.ui.registry.addAutocompleter(\"emoticons\",{trigger:\":\",columns:\"auto\",minChars:2,fetch:(t,o)=>e.waitForLoad().then((()=>{const n=e.listAll();return S(n,t,a.some(o))})),onAction:(e,o,n)=>{t.selection.setRng(o),t.insertContent(n),e.hide()}})})(t,o),(t=>{t.on(\"PreInit\",(()=>{t.parser.addAttributeFilter(\"data-emoticon\",(t=>{((t,e)=>{for(let e=0,n=t.length;e=(c="Could not load emoticons"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),m.focus(x),m.unblock()})))}var y=function(t){function e(){return u}function o(n){return n(t)}var r=n(t),u={fold:function(n,e){return e(t)},isSome:a,isNone:i,getOr:r,getOrThunk:r,getOrDie:r,getOrNull:r,getOrUndefined:r,or:e,orThunk:e,map:function(n){return y(n(t))},each:function(n){n(t)},bind:o,exists:o,forall:o,filter:function(n){return n(t)?u:c},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};return u},p={some:y,none:o,from:function(t){return null==t?c:y(t)}},b=function(){return(b=Object.assign||function(t){for(var n,e=1,o=arguments.length;e=(a=\"Could not load emoticons\"}]},buttons:[{type:\"cancel\",text:\"Close\",primary:!0}],initialData:{pattern:\"\",results:[]}}),f.focus(S),f.unblock()}))}function b(t){t.on(\"PreInit\",function(){t.parser.addAttributeFilter(\"data-emoticon\",function(t){!function(t){for(var n,e=0,o=t.length;eÎncepeți navigarea de la tastatură\n\n
\n
Focalizare pe bara de meniu
\n
Windows sau Linux: Alt+F9
\n
macOS: ⌥F9
\n
Focalizare pe bara de instrumente
\n
Windows sau Linux: Alt+F10
\n
macOS: ⌥F10
\n
Focalizare pe subsol
\n
Windows sau Linux: Alt+F11
\n
macOS: ⌥F11
\n
Focalizare pe o bară de instrumente contextuală
\n
Windows, Linux sau macOS: Ctrl+F9\n
\n\n
Navigarea va începe de la primul element al interfeței cu utilizatorul, care va fi evidențiat sau subliniat în cazul primului element din\n calea elementului Subsol.
\n\n
Navigați între secțiunile interfeței cu utilizatorul
\n\n
Pentru a trece de la o secțiune a interfeței cu utilizatorul la alta, apăsați Tab.
\n\n
Pentru a trece de la o secțiune a interfeței cu utilizatorul la cea anterioară, apăsați Shift+Tab.
\n\n
Ordinea cu Tab a acestor secțiuni ale interfeței cu utilizatorul este următoarea:\n\n
\n
Bara de meniu
\n
Fiecare grup de bare de instrumente
\n
Bara laterală
\n
Calea elementului în subsol
\n
Buton de comutare a numărului de cuvinte în subsol
\n
Link de branding în subsol
\n
Mâner de redimensionare a editorului în subsol
\n\n\n
În cazul în care o secțiune a interfeței cu utilizatorul nu este prezentă, aceasta este omisă.
\n\n
În cazul în care subsolul are focalizarea navigației asupra tastaturii și nu există o bară laterală vizibilă, apăsarea butonului Shift+Tab\n mută focalizarea pe primul grup de bare de instrumente, nu pe ultimul.\n\n
Navigați în secțiunile interfeței cu utilizatorul
\n\n
Pentru a trece de la un element de interfață cu utilizatorul la următorul, apăsați tasta cu săgeata corespunzătoare.
\n\n
Tastele cu săgeți către stânga și dreapta
\n\n
\n
navighează între meniurile din bara de meniuri.
\n
deschid un sub-meniu dintr-un meniu.
\n
navighează între butoanele dintr-un grup de bare de instrumente.
\n
navighează între elementele din calea elementelor subsolului.
\n
\n\n
Tastele cu săgeți în sus și în jos\n\n
\n
navighează între elementele de meniu dintr-un meniu.
\n
navighează între elementele unui meniu pop-up din bara de instrumente.
\n
\n\n
Tastele cu săgeți navighează în cadrul secțiunii interfeței cu utilizatorul asupra căreia se focalizează.
\n\n
Pentru a închide un meniu deschis, un sub-meniu deschis sau un meniu pop-up deschis, apăsați tasta Esc.\n\n
Dacă focalizarea curentă este asupra „părții superioare” a unei anumite secțiuni a interfeței cu utilizatorul, prin apăsarea tastei Esc se iese, de asemenea,\n în întregime din navigarea de la tastatură.
\n\n
Executarea unui element de meniu sau a unui buton din bara de instrumente
\n\n
Atunci când elementul de meniu dorit sau butonul dorit din bara de instrumente este evidențiat, apăsați Return, Enter,\n sau bara de spațiu pentru a executa elementul.\n\n
Navigarea de dialoguri fără file
\n\n
În dialogurile fără file, prima componentă interactivă beneficiază de focalizare la deschiderea dialogului.
\n\n
Navigați între componentele dialogului interactiv apăsând Tab sau Shift+Tab.
\n\n
Navigarea de dialoguri cu file
\n\n
În dialogurile cu file, primul buton din meniul cu file beneficiază de focalizare la deschiderea dialogului.
\n\n
Navigați între componentele interactive ale acestei file de dialog apăsând Tab sau\n Shift+Tab.
\n\n
Treceți la o altă filă de dialog focalizând asupra meniului cu file și apoi apăsând săgeata corespunzătoare\n pentru a parcurge filele disponibile.
\n")}}]);
+//# sourceMappingURL=63544.1192fadf026da79234f1.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/63544.1192fadf026da79234f1.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/63544.1192fadf026da79234f1.min.js.map
new file mode 100644
index 000000000..00f627132
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/63544.1192fadf026da79234f1.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/63544.1192fadf026da79234f1.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,ugI","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/ro.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.ro',\n'
Începeți navigarea de la tastatură
\\n' +\n '\\n' +\n '
\\n' +\n '
Focalizare pe bara de meniu
\\n' +\n '
Windows sau Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Focalizare pe bara de instrumente
\\n' +\n '
Windows sau Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Focalizare pe subsol
\\n' +\n '
Windows sau Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Focalizare pe o bară de instrumente contextuală
\\n' +\n '
Windows, Linux sau macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
Navigarea va începe de la primul element al interfeței cu utilizatorul, care va fi evidențiat sau subliniat în cazul primului element din\\n' +\n ' calea elementului Subsol.
\\n' +\n '\\n' +\n '
Navigați între secțiunile interfeței cu utilizatorul
\\n' +\n '\\n' +\n '
Pentru a trece de la o secțiune a interfeței cu utilizatorul la alta, apăsați Tab.
\\n' +\n '\\n' +\n '
Pentru a trece de la o secțiune a interfeței cu utilizatorul la cea anterioară, apăsați Shift+Tab.
\\n' +\n '\\n' +\n '
Ordinea cu Tab a acestor secțiuni ale interfeței cu utilizatorul este următoarea:\\n' +\n '\\n' +\n '
\\n' +\n '
Bara de meniu
\\n' +\n '
Fiecare grup de bare de instrumente
\\n' +\n '
Bara laterală
\\n' +\n '
Calea elementului în subsol
\\n' +\n '
Buton de comutare a numărului de cuvinte în subsol
\\n' +\n '
Link de branding în subsol
\\n' +\n '
Mâner de redimensionare a editorului în subsol
\\n' +\n '\\n' +\n '\\n' +\n '
În cazul în care o secțiune a interfeței cu utilizatorul nu este prezentă, aceasta este omisă.
\\n' +\n '\\n' +\n '
În cazul în care subsolul are focalizarea navigației asupra tastaturii și nu există o bară laterală vizibilă, apăsarea butonului Shift+Tab\\n' +\n ' mută focalizarea pe primul grup de bare de instrumente, nu pe ultimul.\\n' +\n '\\n' +\n '
Navigați în secțiunile interfeței cu utilizatorul
\\n' +\n '\\n' +\n '
Pentru a trece de la un element de interfață cu utilizatorul la următorul, apăsați tasta cu săgeata corespunzătoare.
\\n' +\n '\\n' +\n '
Tastele cu săgeți către stânga și dreapta
\\n' +\n '\\n' +\n '
\\n' +\n '
navighează între meniurile din bara de meniuri.
\\n' +\n '
deschid un sub-meniu dintr-un meniu.
\\n' +\n '
navighează între butoanele dintr-un grup de bare de instrumente.
\\n' +\n '
navighează între elementele din calea elementelor subsolului.
\\n' +\n '
\\n' +\n '\\n' +\n '
Tastele cu săgeți în sus și în jos\\n' +\n '\\n' +\n '
\\n' +\n '
navighează între elementele de meniu dintr-un meniu.
\\n' +\n '
navighează între elementele unui meniu pop-up din bara de instrumente.
\\n' +\n '
\\n' +\n '\\n' +\n '
Tastele cu săgeți navighează în cadrul secțiunii interfeței cu utilizatorul asupra căreia se focalizează.
\\n' +\n '\\n' +\n '
Pentru a închide un meniu deschis, un sub-meniu deschis sau un meniu pop-up deschis, apăsați tasta Esc.\\n' +\n '\\n' +\n '
Dacă focalizarea curentă este asupra „părții superioare” a unei anumite secțiuni a interfeței cu utilizatorul, prin apăsarea tastei Esc se iese, de asemenea,\\n' +\n ' în întregime din navigarea de la tastatură.
\\n' +\n '\\n' +\n '
Executarea unui element de meniu sau a unui buton din bara de instrumente
\\n' +\n '\\n' +\n '
Atunci când elementul de meniu dorit sau butonul dorit din bara de instrumente este evidențiat, apăsați Return, Enter,\\n' +\n ' sau bara de spațiu pentru a executa elementul.\\n' +\n '\\n' +\n '
Navigarea de dialoguri fără file
\\n' +\n '\\n' +\n '
În dialogurile fără file, prima componentă interactivă beneficiază de focalizare la deschiderea dialogului.
\\n' +\n '\\n' +\n '
Navigați între componentele dialogului interactiv apăsând Tab sau Shift+Tab.
\\n' +\n '\\n' +\n '
Navigarea de dialoguri cu file
\\n' +\n '\\n' +\n '
În dialogurile cu file, primul buton din meniul cu file beneficiază de focalizare la deschiderea dialogului.
\\n' +\n '\\n' +\n '
Navigați între componentele interactive ale acestei file de dialog apăsând Tab sau\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
Treceți la o altă filă de dialog focalizând asupra meniului cu file și apoi apăsând săgeata corespunzătoare\\n' +\n ' pentru a parcurge filele disponibile.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/644.04991801f08d7d4712c7.min.js b/src/plone/staticresources/static/bundle-plone/chunks/644.04991801f08d7d4712c7.min.js
new file mode 100644
index 000000000..7ab6c4928
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/644.04991801f08d7d4712c7.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[644,49212],{644:function(s,t,e){e(49212)},49212:function(){!function(){"use strict";var s=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(s,t,e)=>{s.dom.toggleClass(s.getBody(),"mce-visualblocks"),e.set(!e.get()),((s,t)=>{s.dispatch("VisualBlocks",{state:t})})(s,e.get())},e=(o="visualblocks_default_state",s=>s.options.get(o));var o;const l=(s,t)=>e=>{e.setActive(t.get());const o=s=>e.setActive(s.state);return s.on("VisualBlocks",o),()=>s.off("VisualBlocks",o)};s.add("visualblocks",((s,o)=>{(s=>{(0,s.options.register)("visualblocks_default_state",{processor:"boolean",default:!1})})(s);const c=(s=>{let t=s;return{get:()=>t,set:s=>{t=s}}})(!1);((s,e,o)=>{s.addCommand("mceVisualBlocks",(()=>{t(s,0,o)}))})(s,0,c),((s,t)=>{const e=()=>s.execCommand("mceVisualBlocks");s.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:e,onSetup:l(s,t)}),s.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:e,onSetup:l(s,t)})})(s,c),((s,o,l)=>{s.on("PreviewFormats AfterPreviewFormats",(t=>{l.get()&&s.dom.toggleClass(s.getBody(),"mce-visualblocks","afterpreviewformats"===t.type)})),s.on("init",(()=>{e(s)&&t(s,0,l)}))})(s,0,c)}))}()}}]);
+//# sourceMappingURL=644.04991801f08d7d4712c7.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/644.04991801f08d7d4712c7.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/644.04991801f08d7d4712c7.min.js.map
new file mode 100644
index 000000000..be0aa1d83
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/644.04991801f08d7d4712c7.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/644.04991801f08d7d4712c7.min.js","mappings":"2HAMA,EAAQ,M,oBCFR,WACI,aAgBA,IAAIA,EA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vB,EAAQE,GAxCP,EAACF,EAAQC,EAAWC,KAChCF,EAAOmB,GAAG,sCAAsCD,IAC1ChB,EAAaK,OACfP,EAAOG,IAAIC,YAAYJ,EAAOK,UAAW,mBAA+B,wBAAXa,EAAEyB,KACjE,IAEF3C,EAAOmB,GAAG,QAAQ,KACZR,EAAmBX,IACrBD,EAAmBC,EAAQC,EAAWC,EACxC,GACA,EA+BA0C,CAAM5C,EAAQC,EAAWC,EAAa,GAM7C,CA7FD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/visualblocks/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/visualblocks/plugin.js"],"sourcesContent":["// Exports the \"visualblocks\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/visualblocks')\n// ES2015:\n// import 'tinymce/plugins/visualblocks'\nrequire('./plugin.js');","/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n const Cell = initial => {\n let value = initial;\n const get = () => {\n return value;\n };\n const set = v => {\n value = v;\n };\n return {\n get,\n set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const fireVisualBlocks = (editor, state) => {\n editor.dispatch('VisualBlocks', { state });\n };\n\n const toggleVisualBlocks = (editor, pluginUrl, enabledState) => {\n const dom = editor.dom;\n dom.toggleClass(editor.getBody(), 'mce-visualblocks');\n enabledState.set(!enabledState.get());\n fireVisualBlocks(editor, enabledState.get());\n };\n\n const register$2 = (editor, pluginUrl, enabledState) => {\n editor.addCommand('mceVisualBlocks', () => {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n });\n };\n\n const option = name => editor => editor.options.get(name);\n const register$1 = editor => {\n const registerOption = editor.options.register;\n registerOption('visualblocks_default_state', {\n processor: 'boolean',\n default: false\n });\n };\n const isEnabledByDefault = option('visualblocks_default_state');\n\n const setup = (editor, pluginUrl, enabledState) => {\n editor.on('PreviewFormats AfterPreviewFormats', e => {\n if (enabledState.get()) {\n editor.dom.toggleClass(editor.getBody(), 'mce-visualblocks', e.type === 'afterpreviewformats');\n }\n });\n editor.on('init', () => {\n if (isEnabledByDefault(editor)) {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n }\n });\n };\n\n const toggleActiveState = (editor, enabledState) => api => {\n api.setActive(enabledState.get());\n const editorEventCallback = e => api.setActive(e.state);\n editor.on('VisualBlocks', editorEventCallback);\n return () => editor.off('VisualBlocks', editorEventCallback);\n };\n const register = (editor, enabledState) => {\n const onAction = () => editor.execCommand('mceVisualBlocks');\n editor.ui.registry.addToggleButton('visualblocks', {\n icon: 'visualblocks',\n tooltip: 'Show blocks',\n onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n editor.ui.registry.addToggleMenuItem('visualblocks', {\n text: 'Show blocks',\n icon: 'visualblocks',\n onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n };\n\n var Plugin = () => {\n global.add('visualblocks', (editor, pluginUrl) => {\n register$1(editor);\n const enabledState = Cell(false);\n register$2(editor, pluginUrl, enabledState);\n register(editor, enabledState);\n setup(editor, pluginUrl, enabledState);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global","tinymce","util","Tools","resolve","toggleVisualBlocks","editor","pluginUrl","enabledState","dom","toggleClass","getBody","set","get","state","dispatch","fireVisualBlocks","isEnabledByDefault","name","options","toggleActiveState","api","setActive","editorEventCallback","e","on","off","add","registerOption","register","processor","default","register$1","initial","value","v","Cell","addCommand","register$2","onAction","execCommand","ui","registry","addToggleButton","icon","tooltip","onSetup","addToggleMenuItem","text","type","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/644.0cac2070ca93007e7513.min.js b/src/plone/staticresources/static/bundle-plone/chunks/644.0cac2070ca93007e7513.min.js
deleted file mode 100644
index f4e28f13b..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/644.0cac2070ca93007e7513.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[644,49212],{644:function(t,o,n){n(49212)},49212:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(t,o,n){t.dom.toggleClass(t.getBody(),"mce-visualblocks"),n.set(!n.get()),function(t,o){t.fire("VisualBlocks",{state:o})}(t,n.get())},n=function(t,o){return function(n){n.setActive(o.get());var e=function(t){return n.setActive(t.state)};return t.on("VisualBlocks",e),function(){return t.off("VisualBlocks",e)}}};t.add("visualblocks",(function(t,e){var i,s=(i=!1,{get:function(){return i},set:function(t){i=t}});!function(t,n,e){t.addCommand("mceVisualBlocks",(function(){o(t,0,e)}))}(t,0,s),function(t,o){var e=function(){return t.execCommand("mceVisualBlocks")};t.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:e,onSetup:n(t,o)}),t.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:e,onSetup:n(t,o)})}(t,s),function(t,n,e){t.on("PreviewFormats AfterPreviewFormats",(function(o){e.get()&&t.dom.toggleClass(t.getBody(),"mce-visualblocks","afterpreviewformats"===o.type)})),t.on("init",(function(){(function(t){return t.getParam("visualblocks_default_state",!1,"boolean")})(t)&&o(t,0,e)}))}(t,0,s)}))}()}}]);
-//# sourceMappingURL=644.0cac2070ca93007e7513.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/644.0cac2070ca93007e7513.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/644.0cac2070ca93007e7513.min.js.map
deleted file mode 100644
index 6a449a005..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/644.0cac2070ca93007e7513.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/644.0cac2070ca93007e7513.min.js","mappings":"2HAMA,EAAQ,M,oBCEP,WACG,aAEA,IAcIA,EAASC,QAAQC,KAAKC,MAAMC,QAAQ,yBAMpCC,EAAqB,SAAU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ACAlC,EAAOgB,GAAG,QAAQ,YAVK,SAAUhB,GACjC,OAAOA,EAAOmC,SAAS,8BAA8B,EAAO,UAC9D,EASQC,CAAmBpC,IACrBD,EAAmBC,EAAQC,EAAWC,EAE1C,GACF,CAqCImC,CAAMrC,EAAQC,EAAWC,EAC3B,GAKN,CA9FA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/visualblocks/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/visualblocks/plugin.js"],"sourcesContent":["// Exports the \"visualblocks\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/visualblocks')\n// ES2015:\n// import 'tinymce/plugins/visualblocks'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var Cell = function (initial) {\n var value = initial;\n var get = function () {\n return value;\n };\n var set = function (v) {\n value = v;\n };\n return {\n get: get,\n set: set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var fireVisualBlocks = function (editor, state) {\n editor.fire('VisualBlocks', { state: state });\n };\n\n var toggleVisualBlocks = function (editor, pluginUrl, enabledState) {\n var dom = editor.dom;\n dom.toggleClass(editor.getBody(), 'mce-visualblocks');\n enabledState.set(!enabledState.get());\n fireVisualBlocks(editor, enabledState.get());\n };\n\n var register$1 = function (editor, pluginUrl, enabledState) {\n editor.addCommand('mceVisualBlocks', function () {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n });\n };\n\n var isEnabledByDefault = function (editor) {\n return editor.getParam('visualblocks_default_state', false, 'boolean');\n };\n\n var setup = function (editor, pluginUrl, enabledState) {\n editor.on('PreviewFormats AfterPreviewFormats', function (e) {\n if (enabledState.get()) {\n editor.dom.toggleClass(editor.getBody(), 'mce-visualblocks', e.type === 'afterpreviewformats');\n }\n });\n editor.on('init', function () {\n if (isEnabledByDefault(editor)) {\n toggleVisualBlocks(editor, pluginUrl, enabledState);\n }\n });\n };\n\n var toggleActiveState = function (editor, enabledState) {\n return function (api) {\n api.setActive(enabledState.get());\n var editorEventCallback = function (e) {\n return api.setActive(e.state);\n };\n editor.on('VisualBlocks', editorEventCallback);\n return function () {\n return editor.off('VisualBlocks', editorEventCallback);\n };\n };\n };\n var register = function (editor, enabledState) {\n var onAction = function () {\n return editor.execCommand('mceVisualBlocks');\n };\n editor.ui.registry.addToggleButton('visualblocks', {\n icon: 'visualblocks',\n tooltip: 'Show blocks',\n onAction: onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n editor.ui.registry.addToggleMenuItem('visualblocks', {\n text: 'Show blocks',\n icon: 'visualblocks',\n onAction: onAction,\n onSetup: toggleActiveState(editor, enabledState)\n });\n };\n\n function Plugin () {\n global.add('visualblocks', function (editor, pluginUrl) {\n var enabledState = Cell(false);\n register$1(editor, pluginUrl, enabledState);\n register(editor, enabledState);\n setup(editor, pluginUrl, enabledState);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global","tinymce","util","Tools","resolve","toggleVisualBlocks","editor","pluginUrl","enabledState","dom","toggleClass","getBody","set","get","state","fire","fireVisualBlocks","toggleActiveState","api","setActive","editorEventCallback","e","on","off","add","value","v","addCommand","register$1","onAction","execCommand","ui","registry","addToggleButton","icon","tooltip","onSetup","addToggleMenuItem","text","register","type","getParam","isEnabledByDefault","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/66453.cb97400073bf792f4e3f.min.js b/src/plone/staticresources/static/bundle-plone/chunks/66453.cb97400073bf792f4e3f.min.js
new file mode 100644
index 000000000..9b62a8713
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/66453.cb97400073bf792f4e3f.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[66453],{66453:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.ar",'
بدء التنقل بواسطة لوحة المفاتيح
\n\n
\n
التركيز على شريط القوائم
\n
نظاما التشغيل Windows أو Linux: Alt + F9
\n
نظام التشغيل macOS: ⌥F9
\n
التركيز على شريط الأدوات
\n
نظاما التشغيل Windows أو Linux: Alt + F10
\n
نظام التشغيل macOS: ⌥F10
\n
التركيز على التذييل
\n
نظاما التشغيل Windows أو Linux: Alt + F11
\n
نظام التشغيل macOS: ⌥F11
\n
التركيز على شريط أدوات السياق
\n
أنظمة التشغيل Windows أو Linux أو macOS: Ctrl+F9\n
\n\n
سيبدأ التنقل عند عنصر واجهة المستخدم الأول، والذي سيتم تمييزه أو تسطيره في حالة العنصر الأول في\n مسار عنصر التذييل.
\n\n
التنقل بين أقسام واجهة المستخدم
\n\n
للانتقال من أحد أقسام واجهة المستخدم إلى القسم التالي، اضغط على Tab.
\n\n
للانتقال من أحد أقسام واجهة المستخدم إلى القسم السابق، اضغط على Shift+Tab.
\n\n
ترتيب علامات Tab لأقسام واجهة المستخدم هذه هو:\n\n
\n
شريط القوائم
\n
كل مجموعة شريط الأدوات
\n
الشريط الجانبي
\n
مسار العنصر في التذييل
\n
زر تبديل عدد الكلمات في التذييل
\n
رابط إدراج العلامة التجارية في التذييل
\n
مؤشر تغيير حجم المحرر في التذييل
\n\n\n
إذا لم يكن قسم واجهة المستخدم موجودًا، فسيتم تخطيه.
\n\n
إذا كان التذييل يحتوي على التركيز على التنقل بواسطة لوحة المفاتيح، ولا يوجد شريط جانبي مرئي، فإن الضغط على Shift+Tab\n ينقل التركيز إلى مجموعة شريط الأدوات الأولى، وليس الأخيرة.\n\n
التنقل بين أقسام واجهة المستخدم
\n\n
للانتقال من أحد عناصر واجهة المستخدم إلى العنصر التالي، اضغط على مفتاح السهم المناسب.
\n\n
مفتاحا السهمين اليسار واليمين
\n\n
\n
التنقل بين القوائم في شريط القوائم.
\n
فتح قائمة فرعية في القائمة.
\n
التنقل بين الأزرار في مجموعة شريط الأدوات.
\n
التنقل بين العناصر في مسار عنصر التذييل.
\n
\n\n
مفتاحا السهمين لأسفل ولأعلى\n\n
\n
التنقل بين عناصر القائمة في القائمة.
\n
التنقل بين العناصر في قائمة شريط الأدوات المنبثقة.
\n
\n\n
دورة مفاتيح الأسهم داخل قسم واجهة المستخدم التي تم التركيز عليها.
\n\n
لإغلاق قائمة مفتوحة أو قائمة فرعية مفتوحة أو قائمة منبثقة مفتوحة، اضغط على مفتاح Esc.\n\n
إذا كان التركيز الحالي على "الجزء العلوي" من قسم معين لواجهة المستخدم، فإن الضغط على مفتاح Esc يؤدي أيضًا إلى الخروج\n من التنقل بواسطة لوحة المفاتيح بالكامل.
\n\n
تنفيذ عنصر قائمة أو زر شريط أدوات
\n\n
عندما يتم تمييز عنصر القائمة المطلوب أو زر شريط الأدوات، اضغط على زر Return، أو Enter،\n أو مفتاح المسافة لتنفيذ العنصر.\n\n
التنقل في مربعات الحوار غير المبوبة
\n\n
في مربعات الحوار غير المبوبة، يتم التركيز على المكون التفاعلي الأول عند فتح مربع الحوار.
\n\n
التنقل بين مكونات الحوار التفاعلي بالضغط على زر Tab أو Shift+Tab.
\n\n
التنقل في مربعات الحوار المبوبة
\n\n
في مربعات الحوار المبوبة، يتم التركيز على الزر الأول في قائمة علامات التبويب عند فتح مربع الحوار.
\n\n
التنقل بين المكونات التفاعلية لعلامة التبويب لمربع الحوار هذه بالضغط على زر Tab أو\n Shift+Tab.
\n\n
التبديل إلى علامة تبويب أخرى لمربع الحوار من خلال التركيز على قائمة علامة التبويب ثم الضغط على زر السهم المناسب\n مفتاح للتنقل بين علامات التبويب المتاحة.
\n')}}]);
+//# sourceMappingURL=66453.cb97400073bf792f4e3f.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/66453.cb97400073bf792f4e3f.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/66453.cb97400073bf792f4e3f.min.js.map
new file mode 100644
index 000000000..7c1e79bae
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/66453.cb97400073bf792f4e3f.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/66453.cb97400073bf792f4e3f.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,w8G","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/ar.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.ar',\n'
بدء التنقل بواسطة لوحة المفاتيح
\\n' +\n '\\n' +\n '
\\n' +\n '
التركيز على شريط القوائم
\\n' +\n '
نظاما التشغيل Windows أو Linux: Alt + F9
\\n' +\n '
نظام التشغيل macOS: ⌥F9
\\n' +\n '
التركيز على شريط الأدوات
\\n' +\n '
نظاما التشغيل Windows أو Linux: Alt + F10
\\n' +\n '
نظام التشغيل macOS: ⌥F10
\\n' +\n '
التركيز على التذييل
\\n' +\n '
نظاما التشغيل Windows أو Linux: Alt + F11
\\n' +\n '
نظام التشغيل macOS: ⌥F11
\\n' +\n '
التركيز على شريط أدوات السياق
\\n' +\n '
أنظمة التشغيل Windows أو Linux أو macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
سيبدأ التنقل عند عنصر واجهة المستخدم الأول، والذي سيتم تمييزه أو تسطيره في حالة العنصر الأول في\\n' +\n ' مسار عنصر التذييل.
\\n' +\n '\\n' +\n '
التنقل بين أقسام واجهة المستخدم
\\n' +\n '\\n' +\n '
للانتقال من أحد أقسام واجهة المستخدم إلى القسم التالي، اضغط على Tab.
\\n' +\n '\\n' +\n '
للانتقال من أحد أقسام واجهة المستخدم إلى القسم السابق، اضغط على Shift+Tab.
\\n' +\n '\\n' +\n '
ترتيب علامات Tab لأقسام واجهة المستخدم هذه هو:\\n' +\n '\\n' +\n '
\\n' +\n '
شريط القوائم
\\n' +\n '
كل مجموعة شريط الأدوات
\\n' +\n '
الشريط الجانبي
\\n' +\n '
مسار العنصر في التذييل
\\n' +\n '
زر تبديل عدد الكلمات في التذييل
\\n' +\n '
رابط إدراج العلامة التجارية في التذييل
\\n' +\n '
مؤشر تغيير حجم المحرر في التذييل
\\n' +\n '\\n' +\n '\\n' +\n '
إذا لم يكن قسم واجهة المستخدم موجودًا، فسيتم تخطيه.
\\n' +\n '\\n' +\n '
إذا كان التذييل يحتوي على التركيز على التنقل بواسطة لوحة المفاتيح، ولا يوجد شريط جانبي مرئي، فإن الضغط على Shift+Tab\\n' +\n ' ينقل التركيز إلى مجموعة شريط الأدوات الأولى، وليس الأخيرة.\\n' +\n '\\n' +\n '
التنقل بين أقسام واجهة المستخدم
\\n' +\n '\\n' +\n '
للانتقال من أحد عناصر واجهة المستخدم إلى العنصر التالي، اضغط على مفتاح السهم المناسب.
\\n' +\n '\\n' +\n '
مفتاحا السهمين اليسار واليمين
\\n' +\n '\\n' +\n '
\\n' +\n '
التنقل بين القوائم في شريط القوائم.
\\n' +\n '
فتح قائمة فرعية في القائمة.
\\n' +\n '
التنقل بين الأزرار في مجموعة شريط الأدوات.
\\n' +\n '
التنقل بين العناصر في مسار عنصر التذييل.
\\n' +\n '
\\n' +\n '\\n' +\n '
مفتاحا السهمين لأسفل ولأعلى\\n' +\n '\\n' +\n '
\\n' +\n '
التنقل بين عناصر القائمة في القائمة.
\\n' +\n '
التنقل بين العناصر في قائمة شريط الأدوات المنبثقة.
\\n' +\n '
\\n' +\n '\\n' +\n '
دورة مفاتيح الأسهم داخل قسم واجهة المستخدم التي تم التركيز عليها.
\\n' +\n '\\n' +\n '
لإغلاق قائمة مفتوحة أو قائمة فرعية مفتوحة أو قائمة منبثقة مفتوحة، اضغط على مفتاح Esc.\\n' +\n '\\n' +\n '
إذا كان التركيز الحالي على \"الجزء العلوي\" من قسم معين لواجهة المستخدم، فإن الضغط على مفتاح Esc يؤدي أيضًا إلى الخروج\\n' +\n ' من التنقل بواسطة لوحة المفاتيح بالكامل.
\\n' +\n '\\n' +\n '
تنفيذ عنصر قائمة أو زر شريط أدوات
\\n' +\n '\\n' +\n '
عندما يتم تمييز عنصر القائمة المطلوب أو زر شريط الأدوات، اضغط على زر Return، أو Enter،\\n' +\n ' أو مفتاح المسافة لتنفيذ العنصر.\\n' +\n '\\n' +\n '
التنقل في مربعات الحوار غير المبوبة
\\n' +\n '\\n' +\n '
في مربعات الحوار غير المبوبة، يتم التركيز على المكون التفاعلي الأول عند فتح مربع الحوار.
\\n' +\n '\\n' +\n '
التنقل بين مكونات الحوار التفاعلي بالضغط على زر Tab أو Shift+Tab.
\\n' +\n '\\n' +\n '
التنقل في مربعات الحوار المبوبة
\\n' +\n '\\n' +\n '
في مربعات الحوار المبوبة، يتم التركيز على الزر الأول في قائمة علامات التبويب عند فتح مربع الحوار.
\\n' +\n '\\n' +\n '
التنقل بين المكونات التفاعلية لعلامة التبويب لمربع الحوار هذه بالضغط على زر Tab أو\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
التبديل إلى علامة تبويب أخرى لمربع الحوار من خلال التركيز على قائمة علامة التبويب ثم الضغط على زر السهم المناسب\\n' +\n ' مفتاح للتنقل بين علامات التبويب المتاحة.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/66662.063b77657c5ec1e304b2.min.js b/src/plone/staticresources/static/bundle-plone/chunks/66662.063b77657c5ec1e304b2.min.js
deleted file mode 100644
index d4d333a3a..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/66662.063b77657c5ec1e304b2.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[66662],{20456:function(e,t,n){!function(){"use strict";function e(e){var t=e;return{get:function(){return t},set:function(e){t=e}}}function t(e){return null!=e}function r(){}function o(e){return function(){return e}}function i(e){return e}function a(){return h}function u(e){return n=typeof(t=e),"array"==(null===t?"null":"object"==n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n);var t,n}var c,s=tinymce.util.Tools.resolve("tinymce.PluginManager"),f=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(e){return typeof e===c},d=o(!(c="function")),m=o(!0),h={fold:function(e,t){return e()},isSome:d,isNone:m,getOr:i,getOrThunk:g,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(void 0),or:i,orThunk:g,map:a,each:r,bind:a,exists:d,forall:m,filter:function(){return h},toArray:function(){return[]},toString:o("none()")};function g(e){return e()}var p=function(e){function t(){return i}function n(t){return t(e)}var r=o(e),i={fold:function(t,n){return n(e)},isSome:m,isNone:d,getOr:r,getOrThunk:r,getOrDie:r,getOrNull:r,getOrUndefined:r,or:t,orThunk:t,map:function(t){return p(t(e))},each:function(t){t(e)},bind:n,exists:n,forall:n,filter:function(t){return t(e)?i:h},toArray:function(){return[e]},toString:function(){return"some("+e+")"}};return i},v={some:p,none:a,from:function(e){return null==e?h:p(e)}},y={},w={exports:y};function b(e,t){return A(document.createElement("canvas"),e,t)}function _(e){var t=b(e.width,e.height);return U(t).drawImage(e,0,0),t}function E(e){return new R((function(t,n){function r(){i.removeEventListener("load",a),i.removeEventListener("error",u)}var o=URL.createObjectURL(e),i=new Image,a=function(){r(),t(i)},u=function(){r(),n("Unable to load data of type "+e.type+": "+o)};i.addEventListener("load",a),i.addEventListener("error",u),i.src=o,i.complete&&setTimeout(a,0)}))}function T(e,t,n){return t=t||"image/png",l(HTMLCanvasElement.prototype.toBlob)?new R((function(r,o){e.toBlob((function(e){e?r(e):o()}),t,n)})):k(e.toDataURL(t,n))}function x(e,t){for(var n=0,r=e.length;nn&&(e=n)}return e},u=function(t,e,n){!o(e)||e.hasChildNodes()?t.setStart(e,f(e,n)):t.setStartBefore(e)},a=function(t,e,n){!o(e)||e.hasChildNodes()?t.setEnd(e,f(e,n)):t.setEndAfter(e)},s=function(t,e){var o,f,s,c,l,d,g,h=function(t){return t.getParam("autolink_pattern",n)}(t),C=function(t){return t.getParam("default_link_target",!1)}(t);if(null===t.dom.getParent(t.selection.getNode(),"a[href]")){var k=t.selection.getRng().cloneRange();if(k.startOffset<5){if(!(l=k.endContainer.previousSibling)){if(!k.endContainer.firstChild||!k.endContainer.firstChild.nextSibling)return;l=k.endContainer.firstChild.nextSibling}if(d=l.length,u(k,l,d),a(k,l,d),k.endOffset<5)return;o=k.endOffset,f=l}else{if(f=k.endContainer,!i(f)&&f.firstChild){for(;!i(f)&&f.firstChild;)f=f.firstChild;i(f)&&(u(k,f,0),a(k,f,f.nodeValue.length))}o=1===k.endOffset?2:k.endOffset-1-e}var m,w=o;do{u(k,f,o>=2?o-2:0),a(k,f,o>=1?o-1:0),o-=1,g=k.toString()}while(!r(g)&&o-2>=0);r(k.toString())?(u(k,f,o),a(k,f,w),o+=1):0===k.startOffset?(u(k,f,0),a(k,f,w)):(u(k,f,o),a(k,f,w)),c=k.toString(),m=c.charAt(c.length-1),/[?!,.;:]/.test(m)&&a(k,f,w-1);var y=(c=k.toString().trim()).match(h),p=function(t){return t.getParam("link_default_protocol","http","string")}(t);if(y){var v=y[0];(function(t,e,n){return""===e||t.length>=e.length&&t.substr(n,n+e.length)===e})(v,"www.",0)?v=p+"://"+v:function(t,e){return-1!==t.indexOf(e)}(v,"@")&&!function(t){return/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(t)}(v)&&(v="mailto:"+v),s=t.selection.getBookmark(),t.selection.setRng(k),t.execCommand("createlink",!1,v),!1!==C&&t.dom.setAttrib(t.selection.getNode(),"target",C),t.selection.moveToBookmark(s),t.nodeChanged()}}},c=function(t){var n;t.on("keydown",(function(e){if(13===e.keyCode)return function(t){return s(t,-1)}(t)})),e.browser.isIE()?t.on("focus",(function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(t){}}})):(t.on("keypress",(function(e){if(41===e.keyCode||93===e.keyCode||125===e.keyCode)return function(t){return s(t,-1)}(t)})),t.on("keyup",(function(e){if(32===e.keyCode)return function(t){return s(t,0)}(t)})))};t.add("autolink",(function(t){c(t)}))}()}}]);
-//# sourceMappingURL=66884.1b108dbd6bc15acc3203.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/66884.1b108dbd6bc15acc3203.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/66884.1b108dbd6bc15acc3203.min.js.map
deleted file mode 100644
index 8700a6f98..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/66884.1b108dbd6bc15acc3203.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/66884.1b108dbd6bc15acc3203.min.js","mappings":"8HAMA,EAAQ,K,mBCEP,WACG,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAYtCC,EAASJ,QAAQC,KAAKC,MAAMC,QAAQ,eAMpCE,EAAqB,IAAIC,OAAO,IAH3B,sQAGwCC,OAAS,IAAK,KAW3DC,EAA4B,SAAUC,GACxC,MAAO,kBAAkBC,KAAKD,EAChC,EACIE,EAAa,SAAUC,GACzB,OAAyB,IAAlBA,EAAKC,QACd,EACIC,EAAY,SAAUF,GACxB,OAAyB,IAAlBA,EAAKC,QACd,EAUIE,EAAa,SAAUC,EAAWC,GAIpC,GAHIA,EAAQ,IACVA,EAAQ,GAENN,EAAWK,GAAY,CACzB,IAAIE,EAAMF,EAAUG,KAAKC,OACrBH,EAAQC,IACVD,EAAQC,EAEZ,CACA,OAAOD,CACT,EACII,EAAW,SAAUC,EAAKN,EAAWO,IAClCT,EAAUE,IAAcA,EAAUQ,gBACrCF,EAAID,SAASL,EAAWD,EAAWC,EAAWO,IAE9CD,EAAIG,eAAeT,EAEvB,EACIU,EAAS,SAAUJ,EAAKN,EAAWO,IAChCT,EAAUE,IAAcA,EAAUQ,gBACrCF,EAAII,OAAOV,EAAWD,EAAWC,EAAWO,IAE5CD,EAAIK,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IC,EAAQ,SAAU9C,GACpB,IAAI+C,EACJ/C,EAAOgD,GAAG,WAAW,SAAUC,GAC7B,GAAkB,KAAdA,EAAEC,QACJ,OA1HY,SAAUlD,GAC1B,OAAOD,EAAiBC,GAAS,EACnC,CAwHamD,CAAYnD,EAEvB,IACIzB,EAAO6E,QAAQC,OACjBrD,EAAOgD,GAAG,SAAS,WACjB,IAAKD,EAAoB,CACvBA,GAAqB,EACrB,IACE/C,EAAO0C,YAAY,iBAAiB,GAAO,EAC7C,CAAE,MAAOY,GACT,CACF,CACF,KAGFtD,EAAOgD,GAAG,YAAY,SAAUC,GAC9B,GAAkB,KAAdA,EAAEC,SAAgC,KAAdD,EAAEC,SAAgC,MAAdD,EAAEC,QAC5C,OAjJc,SAAUlD,GAC5B,OAAOD,EAAiBC,GAAS,EACnC,CA+IauD,CAAcvD,EAEzB,IACAA,EAAOgD,GAAG,SAAS,SAAUC,GAC3B,GAAkB,KAAdA,EAAEC,QACJ,OAnJe,SAAUlD,GAC7B,OAAOD,EAAiBC,EAAQ,EAClC,CAiJawD,CAAexD,EAE1B,IACF,EAGE9B,EAASuF,IAAI,YAAY,SAAUzD,GACjC8C,EAAM9C,EACR,GAKN,CA5MA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autolink/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/autolink/plugin.js"],"sourcesContent":["// Exports the \"autolink\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/autolink')\n// ES2015:\n// import 'tinymce/plugins/autolink'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var checkRange = function (str, substr, start) {\n return substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;\n };\n var contains = function (str, substr) {\n return str.indexOf(substr) !== -1;\n };\n var startsWith = function (str, prefix) {\n return checkRange(str, prefix, 0);\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.Env');\n\n var link = function () {\n return /(?:[A-Za-z][A-Za-z\\d.+-]{0,14}:\\/\\/(?:[-.~*+=!&;:'%@?^${}(),\\w]+@)?|www\\.|[-;:&=+$,.\\w]+@)[A-Za-z\\d-]+(?:\\.[A-Za-z\\d-]+)*(?::\\d+)?(?:\\/(?:[-.~*+=!;:'%@$(),\\/\\w]*[-~*+=%@$()\\/\\w])?)?(?:\\?(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?/g;\n };\n\n var defaultLinkPattern = new RegExp('^' + link().source + '$', 'i');\n var getAutoLinkPattern = function (editor) {\n return editor.getParam('autolink_pattern', defaultLinkPattern);\n };\n var getDefaultLinkTarget = function (editor) {\n return editor.getParam('default_link_target', false);\n };\n var getDefaultLinkProtocol = function (editor) {\n return editor.getParam('link_default_protocol', 'http', 'string');\n };\n\n var rangeEqualsBracketOrSpace = function (rangeString) {\n return /^[(\\[{ \\u00a0]$/.test(rangeString);\n };\n var isTextNode = function (node) {\n return node.nodeType === 3;\n };\n var isElement = function (node) {\n return node.nodeType === 1;\n };\n var handleBracket = function (editor) {\n return parseCurrentLine(editor, -1);\n };\n var handleSpacebar = function (editor) {\n return parseCurrentLine(editor, 0);\n };\n var handleEnter = function (editor) {\n return parseCurrentLine(editor, -1);\n };\n var scopeIndex = function (container, index) {\n if (index < 0) {\n index = 0;\n }\n if (isTextNode(container)) {\n var len = container.data.length;\n if (index > len) {\n index = len;\n }\n }\n return index;\n };\n var setStart = function (rng, container, offset) {\n if (!isElement(container) || container.hasChildNodes()) {\n rng.setStart(container, scopeIndex(container, offset));\n } else {\n rng.setStartBefore(container);\n }\n };\n var setEnd = function (rng, container, offset) {\n if (!isElement(container) || container.hasChildNodes()) {\n rng.setEnd(container, scopeIndex(container, offset));\n } else {\n rng.setEndAfter(container);\n }\n };\n var hasProtocol = function (url) {\n return /^([A-Za-z][A-Za-z\\d.+-]*:\\/\\/)|mailto:/.test(url);\n };\n var isPunctuation = function (char) {\n return /[?!,.;:]/.test(char);\n };\n var parseCurrentLine = function (editor, endOffset) {\n var end, endContainer, bookmark, text, prev, len, rngText;\n var autoLinkPattern = getAutoLinkPattern(editor);\n var defaultLinkTarget = getDefaultLinkTarget(editor);\n if (editor.dom.getParent(editor.selection.getNode(), 'a[href]') !== null) {\n return;\n }\n var rng = editor.selection.getRng().cloneRange();\n if (rng.startOffset < 5) {\n prev = rng.endContainer.previousSibling;\n if (!prev) {\n if (!rng.endContainer.firstChild || !rng.endContainer.firstChild.nextSibling) {\n return;\n }\n prev = rng.endContainer.firstChild.nextSibling;\n }\n len = prev.length;\n setStart(rng, prev, len);\n setEnd(rng, prev, len);\n if (rng.endOffset < 5) {\n return;\n }\n end = rng.endOffset;\n endContainer = prev;\n } else {\n endContainer = rng.endContainer;\n if (!isTextNode(endContainer) && endContainer.firstChild) {\n while (!isTextNode(endContainer) && endContainer.firstChild) {\n endContainer = endContainer.firstChild;\n }\n if (isTextNode(endContainer)) {\n setStart(rng, endContainer, 0);\n setEnd(rng, endContainer, endContainer.nodeValue.length);\n }\n }\n if (rng.endOffset === 1) {\n end = 2;\n } else {\n end = rng.endOffset - 1 - endOffset;\n }\n }\n var start = end;\n do {\n setStart(rng, endContainer, end >= 2 ? end - 2 : 0);\n setEnd(rng, endContainer, end >= 1 ? end - 1 : 0);\n end -= 1;\n rngText = rng.toString();\n } while (!rangeEqualsBracketOrSpace(rngText) && end - 2 >= 0);\n if (rangeEqualsBracketOrSpace(rng.toString())) {\n setStart(rng, endContainer, end);\n setEnd(rng, endContainer, start);\n end += 1;\n } else if (rng.startOffset === 0) {\n setStart(rng, endContainer, 0);\n setEnd(rng, endContainer, start);\n } else {\n setStart(rng, endContainer, end);\n setEnd(rng, endContainer, start);\n }\n text = rng.toString();\n if (isPunctuation(text.charAt(text.length - 1))) {\n setEnd(rng, endContainer, start - 1);\n }\n text = rng.toString().trim();\n var matches = text.match(autoLinkPattern);\n var protocol = getDefaultLinkProtocol(editor);\n if (matches) {\n var url = matches[0];\n if (startsWith(url, 'www.')) {\n url = protocol + '://' + url;\n } else if (contains(url, '@') && !hasProtocol(url)) {\n url = 'mailto:' + url;\n }\n bookmark = editor.selection.getBookmark();\n editor.selection.setRng(rng);\n editor.execCommand('createlink', false, url);\n if (defaultLinkTarget !== false) {\n editor.dom.setAttrib(editor.selection.getNode(), 'target', defaultLinkTarget);\n }\n editor.selection.moveToBookmark(bookmark);\n editor.nodeChanged();\n }\n };\n var setup = function (editor) {\n var autoUrlDetectState;\n editor.on('keydown', function (e) {\n if (e.keyCode === 13) {\n return handleEnter(editor);\n }\n });\n if (global.browser.isIE()) {\n editor.on('focus', function () {\n if (!autoUrlDetectState) {\n autoUrlDetectState = true;\n try {\n editor.execCommand('AutoUrlDetect', false, true);\n } catch (ex) {\n }\n }\n });\n return;\n }\n editor.on('keypress', function (e) {\n if (e.keyCode === 41 || e.keyCode === 93 || e.keyCode === 125) {\n return handleBracket(editor);\n }\n });\n editor.on('keyup', function (e) {\n if (e.keyCode === 32) {\n return handleSpacebar(editor);\n }\n });\n };\n\n function Plugin () {\n global$1.add('autolink', function (editor) {\n setup(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global$1","tinymce","util","Tools","resolve","global","defaultLinkPattern","RegExp","source","rangeEqualsBracketOrSpace","rangeString","test","isTextNode","node","nodeType","isElement","scopeIndex","container","index","len","data","length","setStart","rng","offset","hasChildNodes","setStartBefore","setEnd","setEndAfter","parseCurrentLine","editor","endOffset","end","endContainer","bookmark","text","prev","rngText","autoLinkPattern","getParam","getAutoLinkPattern","defaultLinkTarget","getDefaultLinkTarget","dom","getParent","selection","getNode","getRng","cloneRange","startOffset","previousSibling","firstChild","nextSibling","nodeValue","char","start","toString","charAt","matches","trim","match","protocol","getDefaultLinkProtocol","url","str","substr","checkRange","indexOf","contains","hasProtocol","getBookmark","setRng","execCommand","setAttrib","moveToBookmark","nodeChanged","setup","autoUrlDetectState","on","e","keyCode","handleEnter","browser","isIE","ex","handleBracket","handleSpacebar","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/66884.da87b23f33861b56fc0f.min.js b/src/plone/staticresources/static/bundle-plone/chunks/66884.da87b23f33861b56fc0f.min.js
new file mode 100644
index 000000000..5e4920193
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/66884.da87b23f33861b56fc0f.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[66884,7652],{66884:function(e,t,n){n(7652)},7652:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),o=t("link_default_target"),r=t("link_default_protocol"),a=t("allow_unsafe_link_target"),s=(l="string",e=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e)===l);var l;const c=(i=void 0,e=>i===e);var i;const d=e=>!(e=>null==e)(e),u=Object.hasOwnProperty,f=e=>"\ufeff"===e;var g=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const k=e=>3===e.nodeType,p=e=>/^[(\[{ \u00a0]$/.test(e),m=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!f(t)&&n(t))return o}return-1},h=(e,t)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:l,selection:i}=e;if(null!==l.getParent(i.getNode(),"a[href]"))return null;const d=i.getRng(),f=g(l,(e=>{return l.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),u.call(t,n))||"false"===l.getContentEditable(e);var t,n})),{container:h,offset:w}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=k(n)?n.data.length:n.childNodes.length;return{container:n,offset:o}})(d.endContainer,d.endOffset),y=null!==(o=l.getParent(h,l.isBlock))&&void 0!==o?o:l.getRoot(),v=f.backwards(h,w+t,((e,t)=>{const n=e.data,o=m(n,t,(r=p,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),y);if(!v)return null;let _=v.container;const C=f.backwards(v.container,v.offset,((e,t)=>{_=e;const n=m(e.data,t,p);return-1===n?n:n+1}),y),b=l.createRng();C?b.setStart(C.container,C.offset):b.setStart(_,0),b.setEnd(v.container,v.offset);const A=b.toString().replace(/\uFEFF/g,"").match(s);if(A){let t=A[0];if(((e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t)(t,"www.",0)){t=r(e)+"://"+t}else((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!c(o)||r+t.length<=o)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t);return{rng:b,url:t}}return null},w=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:c}=t,i=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:c};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,c),e.dispatch("ExecCommand",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,"target",t),"_blank"!==t||a(e)||n.setAttrib(o,"rel","noopener")}}r.moveToBookmark(i),e.nodeChanged()},y=e=>{const t=h(e,-1);d(t)&&w(e,t)},v=y,_=e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=h(e,0);d(t)&&w(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?y(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&v(e)}))};e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),_(e)}))}()}}]);
+//# sourceMappingURL=66884.da87b23f33861b56fc0f.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/66884.da87b23f33861b56fc0f.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/66884.da87b23f33861b56fc0f.min.js.map
new file mode 100644
index 000000000..5af45ee40
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/66884.da87b23f33861b56fc0f.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/66884.da87b23f33861b56fc0f.min.js","mappings":"8HAMA,EAAQ,K,mBCFR,WACE,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAEMC,EAASC,GAAQC,GAAUA,EAAOC,QAAQC,IAAIH,GAa9CI,EAAqBL,EAAO,oBAC5BM,EAAuBN,EAAO,uBAC9BO,EAAyBP,EAAO,yBAChCQ,EAAwBR,EAAO,4BAwB/BS,GAFSC,EAES,SAFDC,GAZRC,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,IAAuCG,EAdlCC,EAcsBL,GAdnBM,EAcsBC,QAZZC,UAYwCC,cAAcL,KA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IACD,KAAdA,EAAEC,SAAmBD,EAAEZ,sBARX1G,KAClB,MAAMkG,EAASvD,EAAiB3C,EAAQ,GACpCyB,EAAcyE,IAChBD,EAAcjG,EAAQkG,EACxB,EAKIsB,CAAYxH,EACd,IAEFA,EAAOqH,GAAG,SAASC,IACC,KAAdA,EAAEC,QACJL,EAAelH,IACQ,KAAdsH,EAAEC,SAAkBD,EAAEG,UAA0B,MAAdH,EAAEC,UAC7CJ,EAAcnH,EAChB,GACA,EAIFP,EAASiI,IAAI,YAAY1H,IA/MVA,KACf,MAAM2H,EAAiB3H,EAAOC,QAAQ2H,SACtCD,EAAe,mBAAoB,CACjCE,UAAW,SACXC,QAAS,IAAIC,OAAO,IAPL,sQAOkBC,OAAS,IAAK,OAEjDL,EAAe,sBAAuB,CAAEE,UAAW,WACnDF,EAAe,wBAAyB,CACtCE,UAAW,SACXC,QAAS,SACT,EAsMAF,CAAS5H,GACToH,EAAMpH,EAAO,GAMlB,CA/ND,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autolink/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/autolink/plugin.js"],"sourcesContent":["// Exports the \"autolink\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/autolink')\n// ES2015:\n// import 'tinymce/plugins/autolink'\nrequire('./plugin.js');","/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const link = () => /(?:[A-Za-z][A-Za-z\\d.+-]{0,14}:\\/\\/(?:[-.~*+=!&;:'%@?^${}(),\\w]+@)?|www\\.|[-;:&=+$,.\\w]+@)[A-Za-z\\d-]+(?:\\.[A-Za-z\\d-]+)*(?::\\d+)?(?:\\/(?:[-.~*+=!;:'%@$(),\\/\\w]*[-~*+=%@$()\\/\\w])?)?(?:\\?(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\\/\\w]+))?/g;\n\n const option = name => editor => editor.options.get(name);\n const register = editor => {\n const registerOption = editor.options.register;\n registerOption('autolink_pattern', {\n processor: 'regexp',\n default: new RegExp('^' + link().source + '$', 'i')\n });\n registerOption('link_default_target', { processor: 'string' });\n registerOption('link_default_protocol', {\n processor: 'string',\n default: 'https'\n });\n };\n const getAutoLinkPattern = option('autolink_pattern');\n const getDefaultLinkTarget = option('link_default_target');\n const getDefaultLinkProtocol = option('link_default_protocol');\n const allowUnsafeLinkTarget = option('allow_unsafe_link_target');\n\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const eq = t => a => t === a;\n const isString = isType('string');\n const isUndefined = eq(undefined);\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n\n const not = f => t => !f(t);\n\n const hasOwnProperty = Object.hasOwnProperty;\n const has = (obj, key) => hasOwnProperty.call(obj, key);\n\n const checkRange = (str, substr, start) => substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;\n const contains = (str, substr, start = 0, end) => {\n const idx = str.indexOf(substr, start);\n if (idx !== -1) {\n return isUndefined(end) ? true : idx + substr.length <= end;\n } else {\n return false;\n }\n };\n const startsWith = (str, prefix) => {\n return checkRange(str, prefix, 0);\n };\n\n const zeroWidth = '\\uFEFF';\n const isZwsp = char => char === zeroWidth;\n const removeZwsp = s => s.replace(/\\uFEFF/g, '');\n\n var global = tinymce.util.Tools.resolve('tinymce.dom.TextSeeker');\n\n const isTextNode = node => node.nodeType === 3;\n const isElement = node => node.nodeType === 1;\n const isBracketOrSpace = char => /^[(\\[{ \\u00a0]$/.test(char);\n const hasProtocol = url => /^([A-Za-z][A-Za-z\\d.+-]*:\\/\\/)|mailto:/.test(url);\n const isPunctuation = char => /[?!,.;:]/.test(char);\n const findChar = (text, index, predicate) => {\n for (let i = index - 1; i >= 0; i--) {\n const char = text.charAt(i);\n if (!isZwsp(char) && predicate(char)) {\n return i;\n }\n }\n return -1;\n };\n const freefallRtl = (container, offset) => {\n let tempNode = container;\n let tempOffset = offset;\n while (isElement(tempNode) && tempNode.childNodes[tempOffset]) {\n tempNode = tempNode.childNodes[tempOffset];\n tempOffset = isTextNode(tempNode) ? tempNode.data.length : tempNode.childNodes.length;\n }\n return {\n container: tempNode,\n offset: tempOffset\n };\n };\n\n const parseCurrentLine = (editor, offset) => {\n var _a;\n const voidElements = editor.schema.getVoidElements();\n const autoLinkPattern = getAutoLinkPattern(editor);\n const {dom, selection} = editor;\n if (dom.getParent(selection.getNode(), 'a[href]') !== null) {\n return null;\n }\n const rng = selection.getRng();\n const textSeeker = global(dom, node => {\n return dom.isBlock(node) || has(voidElements, node.nodeName.toLowerCase()) || dom.getContentEditable(node) === 'false';\n });\n const {\n container: endContainer,\n offset: endOffset\n } = freefallRtl(rng.endContainer, rng.endOffset);\n const root = (_a = dom.getParent(endContainer, dom.isBlock)) !== null && _a !== void 0 ? _a : dom.getRoot();\n const endSpot = textSeeker.backwards(endContainer, endOffset + offset, (node, offset) => {\n const text = node.data;\n const idx = findChar(text, offset, not(isBracketOrSpace));\n return idx === -1 || isPunctuation(text[idx]) ? idx : idx + 1;\n }, root);\n if (!endSpot) {\n return null;\n }\n let lastTextNode = endSpot.container;\n const startSpot = textSeeker.backwards(endSpot.container, endSpot.offset, (node, offset) => {\n lastTextNode = node;\n const idx = findChar(node.data, offset, isBracketOrSpace);\n return idx === -1 ? idx : idx + 1;\n }, root);\n const newRng = dom.createRng();\n if (!startSpot) {\n newRng.setStart(lastTextNode, 0);\n } else {\n newRng.setStart(startSpot.container, startSpot.offset);\n }\n newRng.setEnd(endSpot.container, endSpot.offset);\n const rngText = removeZwsp(newRng.toString());\n const matches = rngText.match(autoLinkPattern);\n if (matches) {\n let url = matches[0];\n if (startsWith(url, 'www.')) {\n const protocol = getDefaultLinkProtocol(editor);\n url = protocol + '://' + url;\n } else if (contains(url, '@') && !hasProtocol(url)) {\n url = 'mailto:' + url;\n }\n return {\n rng: newRng,\n url\n };\n } else {\n return null;\n }\n };\n const convertToLink = (editor, result) => {\n const {dom, selection} = editor;\n const {rng, url} = result;\n const bookmark = selection.getBookmark();\n selection.setRng(rng);\n const command = 'createlink';\n const args = {\n command,\n ui: false,\n value: url\n };\n const beforeExecEvent = editor.dispatch('BeforeExecCommand', args);\n if (!beforeExecEvent.isDefaultPrevented()) {\n editor.getDoc().execCommand(command, false, url);\n editor.dispatch('ExecCommand', args);\n const defaultLinkTarget = getDefaultLinkTarget(editor);\n if (isString(defaultLinkTarget)) {\n const anchor = selection.getNode();\n dom.setAttrib(anchor, 'target', defaultLinkTarget);\n if (defaultLinkTarget === '_blank' && !allowUnsafeLinkTarget(editor)) {\n dom.setAttrib(anchor, 'rel', 'noopener');\n }\n }\n }\n selection.moveToBookmark(bookmark);\n editor.nodeChanged();\n };\n const handleSpacebar = editor => {\n const result = parseCurrentLine(editor, -1);\n if (isNonNullable(result)) {\n convertToLink(editor, result);\n }\n };\n const handleBracket = handleSpacebar;\n const handleEnter = editor => {\n const result = parseCurrentLine(editor, 0);\n if (isNonNullable(result)) {\n convertToLink(editor, result);\n }\n };\n const setup = editor => {\n editor.on('keydown', e => {\n if (e.keyCode === 13 && !e.isDefaultPrevented()) {\n handleEnter(editor);\n }\n });\n editor.on('keyup', e => {\n if (e.keyCode === 32) {\n handleSpacebar(editor);\n } else if (e.keyCode === 48 && e.shiftKey || e.keyCode === 221) {\n handleBracket(editor);\n }\n });\n };\n\n var Plugin = () => {\n global$1.add('autolink', editor => {\n register(editor);\n setup(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$1","tinymce","util","Tools","resolve","option","name","editor","options","get","getAutoLinkPattern","getDefaultLinkTarget","getDefaultLinkProtocol","allowUnsafeLinkTarget","isString","type","value","x","t","Array","isArray","o","v","constructor","String","prototype","isPrototypeOf","_a","typeOf","isUndefined","undefined","a","isNonNullable","isNullable","hasOwnProperty","Object","isZwsp","char","global","isTextNode","node","nodeType","isBracketOrSpace","test","findChar","text","index","predicate","i","charAt","parseCurrentLine","offset","voidElements","schema","getVoidElements","autoLinkPattern","dom","selection","getParent","getNode","rng","getRng","textSeeker","isBlock","obj","key","nodeName","toLowerCase","call","getContentEditable","container","endContainer","endOffset","tempNode","tempOffset","childNodes","data","length","freefallRtl","root","getRoot","endSpot","backwards","idx","f","lastTextNode","startSpot","newRng","createRng","setStart","setEnd","matches","toString","replace","match","url","str","substr","start","checkRange","end","indexOf","contains","hasProtocol","convertToLink","result","bookmark","getBookmark","setRng","command","args","ui","dispatch","isDefaultPrevented","getDoc","execCommand","defaultLinkTarget","anchor","setAttrib","moveToBookmark","nodeChanged","handleSpacebar","handleBracket","setup","on","e","keyCode","handleEnter","shiftKey","add","registerOption","register","processor","default","RegExp","source"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/68196.c78e85bd49d2e3d344d7.min.js b/src/plone/staticresources/static/bundle-plone/chunks/68196.c78e85bd49d2e3d344d7.min.js
new file mode 100644
index 000000000..aad995beb
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/68196.c78e85bd49d2e3d344d7.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[68196],{68196:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");let t=0;const o=e=>t=>typeof t===e,n=(e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=r=e,n=(s=String).prototype,n.isPrototypeOf(o)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===s.name)?"string":t;var o,n;var r,s,i})(t)===e)("string"),r=o("boolean"),s=e=>null==e,i=e=>!s(e),a=o("function"),d=o("number"),l=e=>()=>e,c=(e,t)=>e===t,m=l(!1);class u{constructor(e,t){this.tag=e,this.value=t}static some(e){return new u(!0,e)}static none(){return u.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?u.some(e(this.value)):u.none()}bind(e){return this.tag?e(this.value):u.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:u.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return i(e)?u.some(e):u.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}u.singletonNone=new u(!1);const p=Array.prototype.indexOf,g=(e,t)=>{return o=e,n=t,p.call(o,n)>-1;var o,n},h=(e,t)=>{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;oe.dom.nodeName.toLowerCase(),w=e=>e.dom.nodeType,b=e=>t=>w(t)===e,N=e=>8===w(e)||"#comment"===v(e),T=b(1),A=b(3),C=b(9),S=b(11),x=(e,t,o)=>{if(!(n(o)||r(o)||d(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},D=(e,t,o)=>{x(e.dom,t,o)},E=(e,t)=>{const o=e.dom;((e,t)=>{const o=y(e);for(let n=0,r=o.length;n{x(o,t,e)}))},k=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},M=(e,t)=>u.from(k(e,t)),P=(e,t)=>{e.dom.removeAttribute(t)},B=e=>{return t=e.dom.attributes,o=(e,t)=>(e[t.name]=t.value,e),n={},f(t,((e,t)=>{n=o(n,e,t)})),n;var t,o,n},O=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},$={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return O(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return O(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return O(o)},fromDom:O,fromPoint:(e,t,o)=>u.from(e.dom.elementFromPoint(t,o)).map(O)},L=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},R=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,I=(e,t)=>e.dom===t.dom,V=L,j=(q=/^\s+|\s+$/g,e=>e.replace(q,""));var q;const F=e=>void 0!==e.style&&a(e.style.getPropertyValue),H=e=>{return C(e)?e:(t=e,$.fromDom(t.dom.ownerDocument));var t},z=e=>u.from(e.dom.parentNode).map($.fromDom),K=(e,t)=>{const o=a(t)?t:m;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=$.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r},_=e=>u.from(e.dom.previousSibling).map($.fromDom),U=e=>u.from(e.dom.nextSibling).map($.fromDom),Y=e=>h(e.dom.childNodes,$.fromDom),G=e=>((e,t)=>{const o=e.dom.childNodes;return u.from(o[t]).map($.fromDom)})(e,0),J=a(Element.prototype.attachShadow)&&a(Node.prototype.getRootNode)?e=>$.fromDom(e.dom.getRootNode()):H,Q=e=>{const t=J(e);return S(o=t)&&i(o.dom.host)?u.some(t):u.none();var o},W=e=>$.fromDom(e.dom.host),X=e=>{const t=A(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return Q($.fromDom(t)).fold((()=>o.body.contains(t)),(n=X,r=W,e=>n(r(e))));var n,r},Z=(e,t,o)=>{((e,t,o)=>{if(!n(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);F(e)&&e.style.setProperty(t,o)})(e.dom,t,o)},ee=(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||X(e)?n:te(o,t)},te=(e,t)=>F(e)?e.style.getPropertyValue(t):"",oe=(e,t)=>{const o=e.dom,n=te(o,t);return u.from(n).filter((e=>e.length>0))},ne=(e,t)=>{((e,t)=>{F(e)&&e.style.removeProperty(t)})(e.dom,t),((e,t,o=c)=>e.exists((e=>o(e,t))))(M(e,"style").map(j),"")&&P(e,"style")},re=(e,t)=>{z(e).each((o=>{o.dom.insertBefore(t.dom,e.dom)}))},se=(e,t)=>{U(e).fold((()=>{z(e).each((e=>{ae(e,t)}))}),(e=>{re(e,t)}))},ie=(e,t)=>{G(e).fold((()=>{ae(e,t)}),(o=>{e.dom.insertBefore(t.dom,o.dom)}))},ae=(e,t)=>{e.dom.appendChild(t.dom)},de=(e,t)=>{re(e,t),ae(t,e)},le=(e,t)=>{f(t,((o,n)=>{const r=0===n?e:t[n-1];se(r,o)}))},ce=(e,t)=>{f(t,(t=>{ae(e,t)}))},me=(e,t)=>{let o=[];return f(Y(e),(e=>{t(e)&&(o=o.concat([e])),o=o.concat(me(e,t))})),o};const ue=(e,t,o)=>{let n=e.dom;const r=a(o)?o:m;for(;n.parentNode;){n=n.parentNode;const e=$.fromDom(n);if(t(e))return u.some(e);if(r(e))break}return u.none()},pe=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},ge=e=>{const t=Y(e);t.length>0&&le(e,t),pe(e)},he=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return R(o)?[]:h(o.querySelectorAll(e),$.fromDom)})(t,e),fe=(e,t,o)=>ue(e,(e=>L(e,t)),o),ye=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return R(o)?u.none():u.from(o.querySelector(e)).map($.fromDom)})(t,e),ve=(e,t,o)=>((e,t,o,n,r)=>e(o,n)?u.some(o):a(r)&&r(o)?u.none():t(o,n,r))(((e,t)=>L(e,t)),fe,e,t,o),we=((e,t)=>{const o=t=>e(t)?u.from(t.dom.nodeValue):u.none();return{get:n=>{if(!e(n))throw new Error("Can only get "+t+" value of a "+t+" node");return o(n).getOr("")},getOption:o,set:(o,n)=>{if(!e(o))throw new Error("Can only set raw "+t+" value of a "+t+" node");o.dom.nodeValue=n}}})(A,"text"),be=e=>we.get(e),Ne=(e,t)=>we.set(e,t);var Te=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const Ae=(e,t)=>({element:e,offset:t}),Ce=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind((t=>Ce(e,t,o).orThunk((()=>u.some(t))))):u.none(),Se=(e,t)=>{if(e.property().isText(t))return e.property().getText(t).length;return e.property().children(t).length},xe=(e,t)=>{const o=Ce(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return Ae(o,Se(e,o));const n=e.property().children(o);return n.length>0?xe(e,n[n.length-1]):Ae(o,Se(e,o))},De=xe,Ee={up:l({selector:fe,closest:ve,predicate:ue,all:K}),down:l({selector:he,predicate:me}),styles:l({get:ee,getRaw:oe,set:Z,remove:ne}),attrs:l({get:k,set:D,remove:P,copyTo:(e,t)=>{const o=B(e);E(t,o)}}),insert:l({before:re,after:se,afterAll:le,append:ae,appendAll:ce,prepend:ie,wrap:de}),remove:l({unwrap:ge,remove:pe}),create:l({nu:$.fromTag,clone:e=>$.fromDom(e.dom.cloneNode(!1)),text:$.fromText}),query:l({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:_,nextSibling:U}),property:l({children:Y,name:v,parent:z,document:e=>H(e).dom,isText:A,isComment:N,isElement:T,isSpecial:e=>{const t=v(e);return g(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>T(e)?M(e,"lang"):u.none(),getText:be,setText:Ne,isBoundary:e=>!!T(e)&&("body"===v(e)||g(Te,v(e))),isEmptyTag:e=>!!T(e)&&g(["br","img","hr","input"],v(e)),isNonEditable:e=>T(e)&&"false"===k(e,"contenteditable")}),eq:I,is:V},ke="details",Me="mce-accordion",Pe="mce-accordion-summary",Be="mce-accordion-body",Oe="div";var $e=tinymce.util.Tools.resolve("tinymce.util.Tools");const Le=e=>"SUMMARY"===(null==e?void 0:e.nodeName),Re=e=>"DETAILS"===(null==e?void 0:e.nodeName),Ie=e=>e.hasAttribute("open"),Ve=e=>{const t=e.selection.getNode();return Le(t)||Boolean(e.dom.getParent(t,Le))},je=e=>!Ve(e)&&e.dom.isEditable(e.selection.getNode()),qe=e=>u.from(e.dom.getParent(e.selection.getNode(),Re)),Fe=e=>(e.innerHTML=' ',e),He=e=>Fe(e.dom.create("p")),ze=(e,t)=>{if(!Le(null==t?void 0:t.firstChild)){const o=(e=>Fe(e.dom.create("summary")))(e);t.prepend(o),e.selection.setCursorLocation(o,0)}},Ke=e=>t=>{((e,t)=>{if(Le(null==t?void 0:t.lastChild)){const o=He(e);t.appendChild(o),e.selection.setCursorLocation(o,0)}})(e,t),ze(e,t)},_e=e=>{if(!je(e))return;const o=$.fromDom(e.getBody()),n=(e=>{const o=(new Date).getTime(),n=Math.floor(1e9*Math.random());return t++,e+"_"+n+t+String(o)})("acc"),r=e.dom.encode(e.selection.getRng().toString()||e.translate("Accordion summary...")),s=e.dom.encode(e.translate("Accordion body...")),i=`${r}`,a=`<${Oe} class="${Be}">
${ accordionBodyWrapperTag }>`;\n editor.undoManager.transact(() => {\n editor.insertContent([\n ``,\n accordionSummaryHtml,\n accordionBodyHtml,\n ``\n ].join(''));\n descendant(editorBody, `[data-mce-id=\"${ uid }\"]`).each(detailsElm => {\n remove$2(detailsElm, 'data-mce-id');\n descendant(detailsElm, `summary`).each(summaryElm => {\n const rng = editor.dom.createRng();\n const des = freefallRtl(summaryElm);\n rng.setStart(des.element.dom, des.offset);\n rng.setEnd(des.element.dom, des.offset);\n editor.selection.setRng(rng);\n });\n });\n });\n };\n const toggleDetailsElement = (details, state) => {\n const shouldOpen = state !== null && state !== void 0 ? state : !isOpen(details);\n if (shouldOpen) {\n details.setAttribute('open', 'open');\n } else {\n details.removeAttribute('open');\n }\n return shouldOpen;\n };\n const toggleAccordion = (editor, state) => {\n getSelectedDetails(editor).each(details => {\n fireToggleAccordionEvent(editor, details, toggleDetailsElement(details, state));\n });\n };\n const removeAccordion = editor => {\n getSelectedDetails(editor).each(details => {\n const {nextSibling} = details;\n if (nextSibling) {\n editor.selection.select(nextSibling, true);\n editor.selection.collapse(true);\n } else {\n insertAndSelectParagraphAfter(editor, details);\n }\n details.remove();\n });\n };\n const toggleAllAccordions = (editor, state) => {\n const accordions = Array.from(editor.getBody().querySelectorAll('details'));\n if (accordions.length === 0) {\n return;\n }\n each$1(accordions, accordion => toggleDetailsElement(accordion, state !== null && state !== void 0 ? state : !isOpen(accordion)));\n fireToggleAllAccordionsEvent(editor, accordions, state);\n };\n\n const register$1 = editor => {\n editor.addCommand('InsertAccordion', () => insertAccordion(editor));\n editor.addCommand('ToggleAccordion', (_ui, value) => toggleAccordion(editor, value));\n editor.addCommand('ToggleAllAccordions', (_ui, value) => toggleAllAccordions(editor, value));\n editor.addCommand('RemoveAccordion', () => removeAccordion(editor));\n };\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.html.Node');\n\n const getClassList = node => {\n var _a, _b;\n return (_b = (_a = node.attr('class')) === null || _a === void 0 ? void 0 : _a.split(' ')) !== null && _b !== void 0 ? _b : [];\n };\n const addClasses = (node, classes) => {\n const classListSet = new Set([\n ...getClassList(node),\n ...classes\n ]);\n const newClassList = Array.from(classListSet);\n if (newClassList.length > 0) {\n node.attr('class', newClassList.join(' '));\n }\n };\n const removeClasses = (node, classes) => {\n const newClassList = filter(getClassList(node), clazz => !classes.has(clazz));\n node.attr('class', newClassList.length > 0 ? newClassList.join(' ') : null);\n };\n const isAccordionDetailsNode = node => node.name === accordionTag && contains(getClassList(node), accordionDetailsClass);\n const isAccordionBodyWrapperNode = node => node.name === accordionBodyWrapperTag && contains(getClassList(node), accordionBodyWrapperClass);\n const getAccordionChildren = accordionNode => {\n const children = accordionNode.children();\n let summaryNode;\n let wrapperNode;\n const otherNodes = [];\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (child.name === 'summary' && isNullable(summaryNode)) {\n summaryNode = child;\n } else if (isAccordionBodyWrapperNode(child) && isNullable(wrapperNode)) {\n wrapperNode = child;\n } else {\n otherNodes.push(child);\n }\n }\n return {\n summaryNode,\n wrapperNode,\n otherNodes\n };\n };\n const padInputNode = node => {\n const br = new global$1('br', 1);\n br.attr('data-mce-bogus', '1');\n node.empty();\n node.append(br);\n };\n const setup$1 = editor => {\n editor.on('PreInit', () => {\n const {serializer, parser} = editor;\n parser.addNodeFilter(accordionTag, nodes => {\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (isAccordionDetailsNode(node)) {\n const accordionNode = node;\n const {summaryNode, wrapperNode, otherNodes} = getAccordionChildren(accordionNode);\n const hasSummaryNode = isNonNullable(summaryNode);\n const newSummaryNode = hasSummaryNode ? summaryNode : new global$1('summary', 1);\n if (isNullable(newSummaryNode.firstChild)) {\n padInputNode(newSummaryNode);\n }\n addClasses(newSummaryNode, [accordionSummaryClass]);\n if (!hasSummaryNode) {\n if (isNonNullable(accordionNode.firstChild)) {\n accordionNode.insert(newSummaryNode, accordionNode.firstChild, true);\n } else {\n accordionNode.append(newSummaryNode);\n }\n }\n const hasWrapperNode = isNonNullable(wrapperNode);\n const newWrapperNode = hasWrapperNode ? wrapperNode : new global$1(accordionBodyWrapperTag, 1);\n addClasses(newWrapperNode, [accordionBodyWrapperClass]);\n if (otherNodes.length > 0) {\n for (let j = 0; j < otherNodes.length; j++) {\n const otherNode = otherNodes[j];\n newWrapperNode.append(otherNode);\n }\n }\n if (isNullable(newWrapperNode.firstChild)) {\n const pNode = new global$1('p', 1);\n padInputNode(pNode);\n newWrapperNode.append(pNode);\n }\n if (!hasWrapperNode) {\n accordionNode.append(newWrapperNode);\n }\n }\n }\n });\n serializer.addNodeFilter(accordionTag, nodes => {\n const summaryClassRemoveSet = new Set([accordionSummaryClass]);\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (isAccordionDetailsNode(node)) {\n const accordionNode = node;\n const {summaryNode, wrapperNode} = getAccordionChildren(accordionNode);\n if (isNonNullable(summaryNode)) {\n removeClasses(summaryNode, summaryClassRemoveSet);\n }\n if (isNonNullable(wrapperNode)) {\n wrapperNode.unwrap();\n }\n }\n }\n });\n });\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.VK');\n\n const setupEnterKeyInSummary = editor => {\n editor.on('keydown', event => {\n if (event.shiftKey || event.keyCode !== global.ENTER || !isInSummary(editor)) {\n return;\n }\n event.preventDefault();\n editor.execCommand('ToggleAccordion');\n });\n };\n const setup = editor => {\n setupEnterKeyInSummary(editor);\n editor.on('ExecCommand', e => {\n const cmd = e.command.toLowerCase();\n if ((cmd === 'delete' || cmd === 'forwarddelete') && isDetailsSelected(editor)) {\n normalizeDetails(editor);\n }\n });\n };\n\n const onSetup = editor => buttonApi => {\n const onNodeChange = () => buttonApi.setEnabled(isInsertAllowed(editor));\n editor.on('NodeChange', onNodeChange);\n return () => editor.off('NodeChange', onNodeChange);\n };\n const register = editor => {\n const onAction = () => editor.execCommand('InsertAccordion');\n editor.ui.registry.addButton('accordion', {\n icon: 'accordion',\n tooltip: 'Insert accordion',\n onSetup: onSetup(editor),\n onAction\n });\n editor.ui.registry.addMenuItem('accordion', {\n icon: 'accordion',\n text: 'Accordion',\n onSetup: onSetup(editor),\n onAction\n });\n editor.ui.registry.addToggleButton('accordiontoggle', {\n icon: 'accordion-toggle',\n tooltip: 'Toggle accordion',\n onAction: () => editor.execCommand('ToggleAccordion')\n });\n editor.ui.registry.addToggleButton('accordionremove', {\n icon: 'remove',\n tooltip: 'Delete accordion',\n onAction: () => editor.execCommand('RemoveAccordion')\n });\n editor.ui.registry.addContextToolbar('accordion', {\n predicate: accordion => editor.dom.is(accordion, 'details') && editor.getBody().contains(accordion) && editor.dom.isEditable(accordion.parentNode),\n items: 'accordiontoggle accordionremove',\n scope: 'node',\n position: 'node'\n });\n };\n\n var Plugin = () => {\n global$3.add('accordion', editor => {\n register(editor);\n register$1(editor);\n setup(editor);\n setup$1(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$3","tinymce","util","Tools","resolve","unique","isSimpleType","type","value","isString","x","t","Array","isArray","o","v","proto","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isType$1","isBoolean","isNullable","a","isNonNullable","isFunction","isNumber","constant","tripleEquals","b","never","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","nativeIndexOf","indexOf","contains","xs","rawIndexOf","ts","call","f","len","length","r","i","each$1","keys","Object","window","Function","element","dom","nodeName","toLowerCase","nodeType","isType","isComment","isElement","isText","isDocument","isDocumentFragment","rawSet","key","console","error","setAttribute","set$2","setAll","attrs","obj","props","k","get$2","getAttribute","undefined","getOpt","remove$2","removeAttribute","clone","foldl","attributes","acc","attr","fromDom","node","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","fromTag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","is$2","selector","elem","matches","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","bypassSelector","childElementCount","eq","e1","e2","is$1","trim","s","replace","isSupported","style","getPropertyValue","documentOrOwner","dos","ownerDocument","parent","parentNode","parents","isRoot","stop","ret","rawParent","p","push","prevSibling","previousSibling","nextSibling","children","firstChild","index","cs","child","getRootNode","Element","attachShadow","Node","e","getShadowRoot","host","getShadowHost","inBody","doc","body","fbc","fab","set$1","property","setProperty","internalSet","get$1","getComputedStyle","getUnsafeProperty","getRaw","raw","remove$1","removeProperty","internalRemove","lhs","rhs","comparator","left","is","before","marker","insertBefore","after$1","append$1","prepend","appendChild","wrap","wrapper","after","elements","append","descendants$1","result","concat","ancestor$1","el","remove","removeChild","unwrap","children$1","descendants","base","querySelectorAll","all","ancestor","descendant","querySelector","one","closest","ClosestOrAncestor","api","getOption","nodeValue","get","set","NodeValue","TagBoundaries","point","offset","scan","universe","direction","getText","toEnd","freefallRtl$2","candidate","query","freefallRtl$1","up","down","styles","copyTo","source","destination","as","insert","afterAll","appendAll","create","nu","cloneNode","comparePosition","other","compareDocumentPosition","isSpecial","getLanguage","setText","isBoundary","isEmptyTag","isNonEditable","accordionTag","accordionDetailsClass","accordionSummaryClass","accordionBodyWrapperClass","accordionBodyWrapperTag","global$2","isSummary","isDetails","isOpen","details","hasAttribute","isInSummary","editor","selection","getNode","Boolean","getParent","isInsertAllowed","isEditable","getSelectedDetails","insertBogus","createParagraph","normalizeSummary","accordion","summary","createSummary","setCursorLocation","normalizeAccordion","lastChild","paragraph","normalizeContent","insertAccordion","editorBody","getBody","uid","prefix","time","Date","getTime","random","Math","floor","generate","summaryText","encode","getRng","translate","bodyText","accordionSummaryHtml","accordionBodyHtml","undoManager","transact","insertContent","join","detailsElm","summaryElm","rng","createRng","des","setStart","setEnd","setRng","toggleDetailsElement","state","shouldOpen","removeAccordion","select","collapse","target","insertAdjacentElement","insertAndSelectParagraphAfter","register$1","addCommand","_ui","dispatch","fireToggleAccordionEvent","toggleAccordion","accordions","fireToggleAllAccordionsEvent","toggleAllAccordions","global$1","getClassList","_b","split","addClasses","classes","classListSet","Set","newClassList","removeClasses","pred","clazz","has","isAccordionDetailsNode","getAccordionChildren","accordionNode","summaryNode","wrapperNode","otherNodes","padInputNode","br","empty","global","setup","on","event","shiftKey","keyCode","ENTER","preventDefault","execCommand","setupEnterKeyInSummary","cmd","command","isDetailsSelected","grep","normalizeDetails","onSetup","buttonApi","onNodeChange","setEnabled","off","add","onAction","ui","registry","addButton","icon","tooltip","addMenuItem","addToggleButton","addContextToolbar","items","position","register","serializer","parser","addNodeFilter","nodes","hasSummaryNode","newSummaryNode","hasWrapperNode","newWrapperNode","j","otherNode","pNode","summaryClassRemoveSet","setup$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69385.24bbe1374e7c2b5413b5.min.js b/src/plone/staticresources/static/bundle-plone/chunks/69385.24bbe1374e7c2b5413b5.min.js
new file mode 100644
index 000000000..9b35e6102
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/69385.24bbe1374e7c2b5413b5.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[69385],{69385:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=o=e,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":t;var r,o,a,s})(e),r=e=>void 0===e;var o=tinymce.util.Tools.resolve("tinymce.util.Delay"),a=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),s=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=e=>{const t=/^(\d+)([ms]?)$/.exec(e);return(t&&t[2]?{s:1e3,m:6e4}[t[2]]:1)*parseInt(e,10)},i=e=>t=>t.options.get(e),u=i("autosave_ask_before_unload"),l=i("autosave_restore_when_empty"),c=i("autosave_interval"),m=i("autosave_retention"),d=e=>{const t=document.location;return e.options.get("autosave_prefix").replace(/{path}/g,t.pathname).replace(/{query}/g,t.search).replace(/{hash}/g,t.hash).replace(/{id}/g,e.id)},f=(e,t)=>{if(r(t))return e.dom.isEmpty(e.getBody());{const r=s.trim(t);if(""===r)return!0;{const t=(new DOMParser).parseFromString(r,"text/html");return e.dom.isEmpty(t)}}},v=e=>{var t;const r=parseInt(null!==(t=a.getItem(d(e)+"time"))&&void 0!==t?t:"0",10)||0;return!((new Date).getTime()-r>m(e)&&(p(e,!1),1))},p=(e,t)=>{const r=d(e);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==t&&(e=>{e.dispatch("RemoveDraft")})(e)},g=e=>{const t=d(e);!f(e)&&e.isDirty()&&(a.setItem(t+"draft",e.getContent({format:"raw",no_events:!0})),a.setItem(t+"time",(new Date).getTime().toString()),(e=>{e.dispatch("StoreDraft")})(e))},y=e=>{var t;const r=d(e);v(e)&&(e.setContent(null!==(t=a.getItem(r+"draft"))&&void 0!==t?t:"",{format:"raw"}),(e=>{e.dispatch("RestoreDraft")})(e))};var h=tinymce.util.Tools.resolve("tinymce.EditorManager");const D=e=>t=>{t.setEnabled(v(e));const r=()=>t.setEnabled(v(e));return e.on("StoreDraft RestoreDraft RemoveDraft",r),()=>e.off("StoreDraft RestoreDraft RemoveDraft",r)};e.add("autosave",(e=>((e=>{const r=e.options.register,o=e=>{const r=t(e);return r?{value:n(e),valid:r}:{valid:!1,message:"Must be a string."}};r("autosave_ask_before_unload",{processor:"boolean",default:!0}),r("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),r("autosave_restore_when_empty",{processor:"boolean",default:!1}),r("autosave_interval",{processor:o,default:"30s"}),r("autosave_retention",{processor:o,default:"20m"})})(e),(e=>{e.editorManager.on("BeforeUnload",(e=>{let t;s.each(h.get(),(e=>{e.plugins.autosave&&e.plugins.autosave.storeDraft(),!t&&e.isDirty()&&u(e)&&(t=e.translate("You have unsaved changes are you sure you want to navigate away?"))})),t&&(e.preventDefault(),e.returnValue=t)}))})(e),(e=>{(e=>{const t=c(e);o.setEditorInterval(e,(()=>{g(e)}),t)})(e);const t=()=>{(e=>{e.undoManager.transact((()=>{y(e),p(e)})),e.focus()})(e)};e.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:t,onSetup:D(e)}),e.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:t,onSetup:D(e)})})(e),e.on("init",(()=>{l(e)&&e.dom.isEmpty(e.getBody())&&y(e)})),(e=>({hasDraft:()=>v(e),storeDraft:()=>g(e),restoreDraft:()=>y(e),removeDraft:t=>p(e,t),isEmpty:t=>f(e,t)}))(e))))}()}}]);
+//# sourceMappingURL=69385.24bbe1374e7c2b5413b5.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69385.24bbe1374e7c2b5413b5.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/69385.24bbe1374e7c2b5413b5.min.js.map
new file mode 100644
index 000000000..a1c80ed41
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/69385.24bbe1374e7c2b5413b5.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/69385.24bbe1374e7c2b5413b5.min.js","mappings":"qHAGC,WAAW,aAAa,IAAIA,EAAEC,QAAQC,KAAKC,MAAMC,QAAQ,yBAAyB,MAAMC,EAAYL,GAAG,WAAW,CAACA,IAAI,MAAMK,SAASL,EAAE,OAAO,OAAOA,EAAE,OAAO,WAAWK,GAAGC,MAAMC,QAAQP,GAAG,QAAQ,WAAWK,IAAIG,EAAEC,EAAET,GAAGU,EAAEC,QAAQC,UAAUC,cAAcL,KAAK,QAAQM,EAAEL,EAAEM,mBAAc,IAASD,OAAE,EAAOA,EAAEE,QAAQN,EAAEM,MAAM,SAASX,EA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,EAAG,IAAG,CAACA,IAAG,CAAE4F,SAAS,IAAIjD,EAAE3C,GAAG2E,WAAW,IAAIzB,EAAElD,GAAG6F,aAAa,IAAIpC,EAAEzD,GAAG8F,YAAYzF,GAAG0C,EAAE/C,EAAEK,GAAGiC,QAAQjC,GAAG+B,EAAEpC,EAAEK,KAAvG,CAA6GL,KAAK,CAA7sG,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/plugin.min.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n!function(){\"use strict\";var t=tinymce.util.Tools.resolve(\"tinymce.PluginManager\");const e=(\"string\",t=>\"string\"===(t=>{const e=typeof t;return null===t?\"null\":\"object\"===e&&Array.isArray(t)?\"array\":\"object\"===e&&(r=o=t,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?\"string\":e;var r,o,a,s})(t));const r=(void 0,t=>undefined===t);var o=tinymce.util.Tools.resolve(\"tinymce.util.Delay\"),a=tinymce.util.Tools.resolve(\"tinymce.util.LocalStorage\"),s=tinymce.util.Tools.resolve(\"tinymce.util.Tools\");const n=t=>{const e=/^(\\d+)([ms]?)$/.exec(t);return(e&&e[2]?{s:1e3,m:6e4}[e[2]]:1)*parseInt(t,10)},i=t=>e=>e.options.get(t),u=i(\"autosave_ask_before_unload\"),l=i(\"autosave_restore_when_empty\"),c=i(\"autosave_interval\"),d=i(\"autosave_retention\"),m=t=>{const e=document.location;return t.options.get(\"autosave_prefix\").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},v=(t,e)=>{if(r(e))return t.dom.isEmpty(t.getBody());{const r=s.trim(e);if(\"\"===r)return!0;{const e=(new DOMParser).parseFromString(r,\"text/html\");return t.dom.isEmpty(e)}}},f=t=>{var e;const r=parseInt(null!==(e=a.getItem(m(t)+\"time\"))&&void 0!==e?e:\"0\",10)||0;return!((new Date).getTime()-r>d(t)&&(p(t,!1),1))},p=(t,e)=>{const r=m(t);a.removeItem(r+\"draft\"),a.removeItem(r+\"time\"),!1!==e&&(t=>{t.dispatch(\"RemoveDraft\")})(t)},g=t=>{const e=m(t);!v(t)&&t.isDirty()&&(a.setItem(e+\"draft\",t.getContent({format:\"raw\",no_events:!0})),a.setItem(e+\"time\",(new Date).getTime().toString()),(t=>{t.dispatch(\"StoreDraft\")})(t))},y=t=>{var e;const r=m(t);f(t)&&(t.setContent(null!==(e=a.getItem(r+\"draft\"))&&void 0!==e?e:\"\",{format:\"raw\"}),(t=>{t.dispatch(\"RestoreDraft\")})(t))};var D=tinymce.util.Tools.resolve(\"tinymce.EditorManager\");const h=t=>e=>{e.setEnabled(f(t));const r=()=>e.setEnabled(f(t));return t.on(\"StoreDraft RestoreDraft RemoveDraft\",r),()=>t.off(\"StoreDraft RestoreDraft RemoveDraft\",r)};t.add(\"autosave\",(t=>((t=>{const r=t.options.register,o=t=>{const r=e(t);return r?{value:n(t),valid:r}:{valid:!1,message:\"Must be a string.\"}};r(\"autosave_ask_before_unload\",{processor:\"boolean\",default:!0}),r(\"autosave_prefix\",{processor:\"string\",default:\"tinymce-autosave-{path}{query}{hash}-{id}-\"}),r(\"autosave_restore_when_empty\",{processor:\"boolean\",default:!1}),r(\"autosave_interval\",{processor:o,default:\"30s\"}),r(\"autosave_retention\",{processor:o,default:\"20m\"})})(t),(t=>{t.editorManager.on(\"BeforeUnload\",(t=>{let e;s.each(D.get(),(t=>{t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&u(t)&&(e=t.translate(\"You have unsaved changes are you sure you want to navigate away?\"))})),e&&(t.preventDefault(),t.returnValue=e)}))})(t),(t=>{(t=>{const e=c(t);o.setEditorInterval(t,(()=>{g(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{y(t),p(t)})),t.focus()})(t)};t.ui.registry.addButton(\"restoredraft\",{tooltip:\"Restore last draft\",icon:\"restore-draft\",onAction:e,onSetup:h(t)}),t.ui.registry.addMenuItem(\"restoredraft\",{text:\"Restore last draft\",icon:\"restore-draft\",onAction:e,onSetup:h(t)})})(t),t.on(\"init\",(()=>{l(t)&&t.dom.isEmpty(t.getBody())&&y(t)})),(t=>({hasDraft:()=>f(t),storeDraft:()=>g(t),restoreDraft:()=>y(t),removeDraft:e=>p(t,e),isEmpty:e=>v(t,e)}))(t))))}();"],"names":["t","tinymce","util","Tools","resolve","e","Array","isArray","r","o","a","String","prototype","isPrototypeOf","s","constructor","name","undefined","n","exec","m","parseInt","i","options","get","u","l","c","d","document","location","replace","pathname","search","hash","id","v","dom","isEmpty","getBody","trim","DOMParser","parseFromString","f","getItem","Date","getTime","p","removeItem","dispatch","g","isDirty","setItem","getContent","format","no_events","toString","y","setContent","D","h","setEnabled","on","off","add","register","value","valid","message","processor","default","editorManager","each","plugins","autosave","storeDraft","translate","preventDefault","returnValue","setEditorInterval","undoManager","transact","focus","ui","registry","addButton","tooltip","icon","onAction","onSetup","addMenuItem","text","hasDraft","restoreDraft","removeDraft"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69385.ea6c8c02fe01a5c3972d.min.js b/src/plone/staticresources/static/bundle-plone/chunks/69385.ea6c8c02fe01a5c3972d.min.js
deleted file mode 100644
index 75d861c38..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/69385.ea6c8c02fe01a5c3972d.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[69385],{69385:function(){!function(){"use strict";function t(t,e){var r=t||e,n=/^(\d+)([ms]?)$/.exec(""+r);return(n[2]?{s:1e3,m:6e4}[n[2]]:1)*parseInt(r,10)}function e(t){var e=document.location;return t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)}function r(t,e){if(f(e))return t.dom.isEmpty(t.getBody());var r=l.trim(e);if(""===r)return!0;var n=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(n)}function n(r){var n=parseInt(m.getItem(e(r)+"time"),10)||0;return!((new Date).getTime()-n>t(r.getParam("autosave_retention"),"20m")&&(v(r,!1),1))}function a(t){var n=e(t);!r(t)&&t.isDirty()&&(m.setItem(n+"draft",t.getContent({format:"raw",no_events:!0})),m.setItem(n+"time",(new Date).getTime().toString()),t.fire("StoreDraft"))}function o(t){var r=e(t);n(t)&&(t.setContent(m.getItem(r+"draft"),{format:"raw"}),t.fire("RestoreDraft"))}function i(t){t.undoManager.transact((function(){o(t),v(t)})),t.focus()}function u(t){return function(e){function r(){return e.setDisabled(!n(t))}return e.setDisabled(!n(t)),t.on("StoreDraft RestoreDraft RemoveDraft",r),function(){return t.off("StoreDraft RestoreDraft RemoveDraft",r)}}}var s=tinymce.util.Tools.resolve("tinymce.PluginManager"),f=function(t){return void 0===t},c=tinymce.util.Tools.resolve("tinymce.util.Delay"),m=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),l=tinymce.util.Tools.resolve("tinymce.util.Tools"),v=function(t,r){var n=e(t);m.removeItem(n+"draft"),m.removeItem(n+"time"),!1!==r&&t.fire("RemoveDraft")},d=tinymce.util.Tools.resolve("tinymce.EditorManager");s.add("autosave",(function(e){var s,f,m,g;return e.editorManager.on("BeforeUnload",(function(t){var e;l.each(d.get(),(function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam("autosave_ask_before_unload",!0)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)})),g=t((m=s=e).getParam("autosave_interval"),"30s"),c.setEditorInterval(m,(function(){a(m)}),g),s.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){i(s)},onSetup:u(s)}),s.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){i(s)},onSetup:u(s)}),e.on("init",(function(){e.getParam("autosave_restore_when_empty",!1)&&e.dom.isEmpty(e.getBody())&&o(e)})),f=e,{hasDraft:function(){return n(f)},storeDraft:function(){return a(f)},restoreDraft:function(){return o(f)},removeDraft:function(t){return v(f,t)},isEmpty:function(t){return r(f,t)}}}))}()}}]);
-//# sourceMappingURL=69385.ea6c8c02fe01a5c3972d.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69385.ea6c8c02fe01a5c3972d.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/69385.ea6c8c02fe01a5c3972d.min.js.map
deleted file mode 100644
index 1f4dd8d93..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/69385.ea6c8c02fe01a5c3972d.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/69385.ea6c8c02fe01a5c3972d.min.js","mappings":"qHAQC,WAAW,aAAa,SAASA,EAAEC,EAAEC,GAAG,IAAIC,EAAEF,GAAGC,EAAEE,EAAE,iBAAiBC,KAAK,GAAGF,GAAG,OAAOC,EAAE,GAAG,CAACE,EAAE,IAAIC,EAAE,KAAKH,EAAE,IAAI,GAAGI,SAASL,EAAE,GAAG,CAAC,SAASC,EAAEH,GAAG,IAAIC,EAAEO,SAASC,SAAS,OAAOT,EAAEU,SAAS,kBAAkB,8CAA8CC,QAAQ,UAAUV,EAAEW,UAAUD,QAAQ,WAAWV,EAAEY,QAAQF,QAAQ,UAAUV,EAAEa,MAAMH,QAAQ,QAAQX,EAAEe,GAAG,CAAC,SAASC,EAAEhB,EAAEC,GAAG,GAAGgB,EAAEhB,GAAG,OAAOD,EAAEkB,IAAIC,QAAQnB,EAAEoB,WAAW,IAAIlB,EAAEmB,EAAEC,KAAKrB,GAAG,GAAG,KAAKC,EAAE,OAAM,EAAG,IAAIC,GAAE,IAAKoB,WAAWC,gBAAgBtB,EAAE,aAAa,OAAOF,EAAEkB,IAAIC,QAAQhB,EAAE,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5B,EAAEF,EAAE,EAAEmB,QAAQ,SAASnB,GAAG,OAAOgB,EAAEd,EAAEF,EAAE,EAAE,GAAE,CAA7mF,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/plugin.min.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n!function(){\"use strict\";function o(t,e){var r=t||e,n=/^(\\d+)([ms]?)$/.exec(\"\"+r);return(n[2]?{s:1e3,m:6e4}[n[2]]:1)*parseInt(r,10)}function n(t){var e=document.location;return t.getParam(\"autosave_prefix\",\"tinymce-autosave-{path}{query}{hash}-{id}-\").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)}function i(t,e){if(a(e))return t.dom.isEmpty(t.getBody());var r=d.trim(e);if(\"\"===r)return!0;var n=(new DOMParser).parseFromString(r,\"text/html\");return t.dom.isEmpty(n)}function u(t){var e=parseInt(v.getItem(n(t)+\"time\"),10)||0;return!((new Date).getTime()-e>o(t.getParam(\"autosave_retention\"),\"20m\")&&(g(t,!1),1))}function s(t){var e=n(t);!i(t)&&t.isDirty()&&(v.setItem(e+\"draft\",t.getContent({format:\"raw\",no_events:!0})),v.setItem(e+\"time\",(new Date).getTime().toString()),t.fire(\"StoreDraft\"))}function f(t){var e=n(t);u(t)&&(t.setContent(v.getItem(e+\"draft\"),{format:\"raw\"}),t.fire(\"RestoreDraft\"))}function c(t){t.undoManager.transact(function(){f(t),g(t)}),t.focus()}function m(r){return function(t){function e(){return t.setDisabled(!u(r))}return t.setDisabled(!u(r)),r.on(\"StoreDraft RestoreDraft RemoveDraft\",e),function(){return r.off(\"StoreDraft RestoreDraft RemoveDraft\",e)}}}var t=tinymce.util.Tools.resolve(\"tinymce.PluginManager\"),a=function(t){return void 0===t},l=tinymce.util.Tools.resolve(\"tinymce.util.Delay\"),v=tinymce.util.Tools.resolve(\"tinymce.util.LocalStorage\"),d=tinymce.util.Tools.resolve(\"tinymce.util.Tools\"),g=function(t,e){var r=n(t);v.removeItem(r+\"draft\"),v.removeItem(r+\"time\"),!1!==e&&t.fire(\"RemoveDraft\")},y=tinymce.util.Tools.resolve(\"tinymce.EditorManager\");t.add(\"autosave\",function(t){var e,r,n,a;return t.editorManager.on(\"BeforeUnload\",function(t){var e;d.each(y.get(),function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam(\"autosave_ask_before_unload\",!0)&&(e=t.translate(\"You have unsaved changes are you sure you want to navigate away?\"))}),e&&(t.preventDefault(),t.returnValue=e)}),n=e=t,a=o(n.getParam(\"autosave_interval\"),\"30s\"),l.setEditorInterval(n,function(){s(n)},a),e.ui.registry.addButton(\"restoredraft\",{tooltip:\"Restore last draft\",icon:\"restore-draft\",onAction:function(){c(e)},onSetup:m(e)}),e.ui.registry.addMenuItem(\"restoredraft\",{text:\"Restore last draft\",icon:\"restore-draft\",onAction:function(){c(e)},onSetup:m(e)}),t.on(\"init\",function(){t.getParam(\"autosave_restore_when_empty\",!1)&&t.dom.isEmpty(t.getBody())&&f(t)}),r=t,{hasDraft:function(){return u(r)},storeDraft:function(){return s(r)},restoreDraft:function(){return f(r)},removeDraft:function(t){return g(r,t)},isEmpty:function(t){return i(r,t)}}})}();"],"names":["o","t","e","r","n","exec","s","m","parseInt","document","location","getParam","replace","pathname","search","hash","id","i","a","dom","isEmpty","getBody","d","trim","DOMParser","parseFromString","u","v","getItem","Date","getTime","g","isDirty","setItem","getContent","format","no_events","toString","fire","f","setContent","c","undoManager","transact","focus","setDisabled","on","off","tinymce","util","Tools","resolve","l","removeItem","y","add","editorManager","each","get","plugins","autosave","storeDraft","translate","preventDefault","returnValue","setEditorInterval","ui","registry","addButton","tooltip","icon","onAction","onSetup","addMenuItem","text","hasDraft","restoreDraft","removeDraft"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69911.e6c23faa20d6846f2492.min.js b/src/plone/staticresources/static/bundle-plone/chunks/69911.e6c23faa20d6846f2492.min.js
new file mode 100644
index 000000000..1c109ebc8
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/69911.e6c23faa20d6846f2492.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[69911],{69911:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.it","
Iniziare la navigazione tramite tastiera
\n\n
\n
Impostare lo stato attivo per la barra dei menu
\n
Windows o Linux: ALT+F9
\n
macOS: ⌥F9
\n
Impostare lo stato attivo per la barra degli strumenti
\n
Windows o Linux: ALT+F10
\n
macOS: ⌥F10
\n
Impostare lo stato attivo per il piè di pagina
\n
Windows o Linux: ALT+F11
\n
macOS: ⌥F11
\n
Impostare lo stato attivo per la barra degli strumenti contestuale
\n
Windows, Linux o macOS: CTRL+F9\n
\n\n
La navigazione inizierà dalla prima voce dell'interfaccia utente, che sarà evidenziata o sottolineata nel caso della prima voce\n nel percorso dell'elemento del piè di pagina.
\n\n
Navigare tra le sezioni dell'interfaccia utente
\n\n
Per passare da una sezione dell'interfaccia utente alla successiva, premere TAB.
\n\n
Per passare da una sezione dell'interfaccia utente alla precedente, premere MAIUSC+TAB.
\n\n
L'ordine di tabulazione di queste sezioni dell'interfaccia utente è:\n\n
\n
Barra dei menu
\n
Ogni gruppo di barre degli strumenti
\n
Barra laterale
\n
Percorso dell'elemento nel piè di pagina
\n
Pulsante di attivazione/disattivazione del conteggio delle parole nel piè di pagina
\n
Collegamento al marchio nel piè di pagina
\n
Quadratino di ridimensionamento dell'editor nel piè di pagina
\n\n\n
Se una sezione dell'interfaccia utente non è presente, viene saltata.
\n\n
Se il piè di pagina ha lo stato attivo per la navigazione tramite tastiera e non è presente alcuna barra laterale visibile, premendo MAIUSC+TAB\n si sposta lo stato attivo sul primo gruppo di barre degli strumenti, non sull'ultimo.\n\n
Navigare all'interno delle sezioni dell'interfaccia utente
\n\n
Per passare da un elemento dell'interfaccia utente al successivo, premere il tasto freccia appropriato.
\n\n
I tasti freccia Sinistra e Destra
\n\n
\n
consentono di spostarsi tra i menu della barra dei menu.
\n
aprono un sottomenu in un menu.
\n
consentono di spostarsi tra i pulsanti di un gruppo di barre degli strumenti.
\n
consentono di spostarsi tra le voci nel percorso dell'elemento del piè di pagina.
\n
\n\n
I tasti freccia Giù e Su\n\n
\n
consentono di spostarsi tra le voci di un menu.
\n
consentono di spostarsi tra le voci di un menu a comparsa della barra degli strumenti.
\n
\n\n
I tasti freccia consentono di spostarsi all'interno della sezione dell'interfaccia utente con stato attivo.
\n\n
Per chiudere un menu aperto, un sottomenu aperto o un menu a comparsa aperto, premere il tasto ESC.\n\n
Se lo stato attivo corrente si trova nella parte superiore di una particolare sezione dell'interfaccia utente, premendo il tasto ESC si esce\n completamente dalla navigazione tramite tastiera.
\n\n
Eseguire una voce di menu o un pulsante della barra degli strumenti
\n\n
Quando la voce di menu o il pulsante della barra degli strumenti desiderati sono evidenziati, premere il tasto diritorno a capo, il tasto Invio\n o la barra spaziatrice per eseguirli.\n\n
Navigare nelle finestre di dialogo non a schede
\n\n
Nelle finestre di dialogo non a schede, all'apertura della finestra di dialogo diventa attivo il primo componente interattivo.
\n\n
Per spostarsi tra i componenti interattivi della finestra di dialogo, premere TAB o MAIUSC+TAB.
\n\n
Navigare nelle finestre di dialogo a schede
\n\n
Nelle finestre di dialogo a schede, all'apertura della finestra di dialogo diventa attivo il primo pulsante del menu della scheda.
\n\n
Per spostarsi tra i componenti interattivi di questa scheda della finestra di dialogo, premere TAB o\n MAIUSC+TAB.
\n\n
Per passare a un'altra scheda della finestra di dialogo, attivare il menu della scheda e premere il tasto freccia\n appropriato per scorrere le schede disponibili.
\n")}}]);
+//# sourceMappingURL=69911.e6c23faa20d6846f2492.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69911.e6c23faa20d6846f2492.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/69911.e6c23faa20d6846f2492.min.js.map
new file mode 100644
index 000000000..b4636fcb6
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/69911.e6c23faa20d6846f2492.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/69911.e6c23faa20d6846f2492.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,kyI","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/it.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.it',\n'
Iniziare la navigazione tramite tastiera
\\n' +\n '\\n' +\n '
\\n' +\n '
Impostare lo stato attivo per la barra dei menu
\\n' +\n '
Windows o Linux: ALT+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Impostare lo stato attivo per la barra degli strumenti
\\n' +\n '
Windows o Linux: ALT+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Impostare lo stato attivo per il piè di pagina
\\n' +\n '
Windows o Linux: ALT+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Impostare lo stato attivo per la barra degli strumenti contestuale
\\n' +\n '
Windows, Linux o macOS: CTRL+F9\\n' +\n '
\\n' +\n '\\n' +\n \"
La navigazione inizierà dalla prima voce dell'interfaccia utente, che sarà evidenziata o sottolineata nel caso della prima voce\\n\" +\n \" nel percorso dell'elemento del piè di pagina.
\\n\" +\n '\\n' +\n \"
Navigare tra le sezioni dell'interfaccia utente
\\n\" +\n '\\n' +\n \"
Per passare da una sezione dell'interfaccia utente alla successiva, premere TAB.
\\n\" +\n '\\n' +\n \"
Per passare da una sezione dell'interfaccia utente alla precedente, premere MAIUSC+TAB.
\\n\" +\n '\\n' +\n \"
L'ordine di tabulazione di queste sezioni dell'interfaccia utente è:\\n\" +\n '\\n' +\n '
\\n' +\n '
Barra dei menu
\\n' +\n '
Ogni gruppo di barre degli strumenti
\\n' +\n '
Barra laterale
\\n' +\n \"
Percorso dell'elemento nel piè di pagina
\\n\" +\n '
Pulsante di attivazione/disattivazione del conteggio delle parole nel piè di pagina
\\n' +\n '
Collegamento al marchio nel piè di pagina
\\n' +\n \"
Quadratino di ridimensionamento dell'editor nel piè di pagina
\\n\" +\n '\\n' +\n '\\n' +\n \"
Se una sezione dell'interfaccia utente non è presente, viene saltata.
\\n\" +\n '\\n' +\n '
Se il piè di pagina ha lo stato attivo per la navigazione tramite tastiera e non è presente alcuna barra laterale visibile, premendo MAIUSC+TAB\\n' +\n \" si sposta lo stato attivo sul primo gruppo di barre degli strumenti, non sull'ultimo.\\n\" +\n '\\n' +\n \"
Navigare all'interno delle sezioni dell'interfaccia utente
\\n\" +\n '\\n' +\n \"
Per passare da un elemento dell'interfaccia utente al successivo, premere il tasto freccia appropriato.
\\n\" +\n '\\n' +\n '
I tasti freccia Sinistra e Destra
\\n' +\n '\\n' +\n '
\\n' +\n '
consentono di spostarsi tra i menu della barra dei menu.
\\n' +\n '
aprono un sottomenu in un menu.
\\n' +\n '
consentono di spostarsi tra i pulsanti di un gruppo di barre degli strumenti.
\\n' +\n \"
consentono di spostarsi tra le voci nel percorso dell'elemento del piè di pagina.
\\n\" +\n '
\\n' +\n '\\n' +\n '
I tasti freccia Giù e Su\\n' +\n '\\n' +\n '
\\n' +\n '
consentono di spostarsi tra le voci di un menu.
\\n' +\n '
consentono di spostarsi tra le voci di un menu a comparsa della barra degli strumenti.
\\n' +\n '
\\n' +\n '\\n' +\n \"
I tasti freccia consentono di spostarsi all'interno della sezione dell'interfaccia utente con stato attivo.
\\n\" +\n '\\n' +\n '
Per chiudere un menu aperto, un sottomenu aperto o un menu a comparsa aperto, premere il tasto ESC.\\n' +\n '\\n' +\n \"
Se lo stato attivo corrente si trova nella parte superiore di una particolare sezione dell'interfaccia utente, premendo il tasto ESC si esce\\n\" +\n ' completamente dalla navigazione tramite tastiera.
\\n' +\n '\\n' +\n '
Eseguire una voce di menu o un pulsante della barra degli strumenti
\\n' +\n '\\n' +\n '
Quando la voce di menu o il pulsante della barra degli strumenti desiderati sono evidenziati, premere il tasto diritorno a capo, il tasto Invio\\n' +\n ' o la barra spaziatrice per eseguirli.\\n' +\n '\\n' +\n '
Navigare nelle finestre di dialogo non a schede
\\n' +\n '\\n' +\n \"
Nelle finestre di dialogo non a schede, all'apertura della finestra di dialogo diventa attivo il primo componente interattivo.
\\n\" +\n '\\n' +\n '
Per spostarsi tra i componenti interattivi della finestra di dialogo, premere TAB o MAIUSC+TAB.
\\n' +\n '\\n' +\n '
Navigare nelle finestre di dialogo a schede
\\n' +\n '\\n' +\n \"
Nelle finestre di dialogo a schede, all'apertura della finestra di dialogo diventa attivo il primo pulsante del menu della scheda.
\\n\" +\n '\\n' +\n '
Per spostarsi tra i componenti interattivi di questa scheda della finestra di dialogo, premere TAB o\\n' +\n ' MAIUSC+TAB.
\\n' +\n '\\n' +\n \"
Per passare a un'altra scheda della finestra di dialogo, attivare il menu della scheda e premere il tasto freccia\\n\" +\n ' appropriato per scorrere le schede disponibili.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69950.d49830f587434564efdb.min.js b/src/plone/staticresources/static/bundle-plone/chunks/69950.d49830f587434564efdb.min.js
new file mode 100644
index 000000000..e045beed8
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/69950.d49830f587434564efdb.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[69950],{69950:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.da","
Start tastaturnavigation
\n\n
\n
Fokuser på menulinjen
\n
Windows eller Linux: Alt+F9
\n
macOS: ⌥F9
\n
Fokuser på værktøjslinjen
\n
Windows eller Linux: Alt+F10
\n
macOS: ⌥F10
\n
Fokuser på sidefoden
\n
Windows eller Linux: Alt+F11
\n
macOS: ⌥F11
\n
Fokuser på kontekstuel værktøjslinje
\n
Windows, Linux eller macOS: Ctrl+F9\n
\n\n
Navigationen starter ved det første UI-element, som fremhæves eller understreges hvad angår det første element i\n sidefodens sti til elementet.
\n\n
Naviger mellem UI-sektioner
\n\n
Gå fra én UI-sektion til den næste ved at trykke på Tab.
\n\n
Gå fra én UI-sektion til den forrige ved at trykke på Shift+Tab.
\n\n
Tab-rækkefølgen af disse UI-sektioner er:\n\n
\n
Menulinje
\n
Hver værktøjsgruppe
\n
Sidepanel
\n
Sti til elementet i sidefoden
\n
Til/fra-knap for ordoptælling i sidefoden
\n
Brandinglink i sidefoden
\n
Tilpasningshåndtag for editor i sidefoden
\n\n\n
Hvis en UI-sektion ikke er til stede, springes den over.
\n\n
Hvis sidefoden har fokus til tastaturnavigation, og der ikke er noget synligt sidepanel, kan der trykkes på Shift+Tab\n for at flytte fokus til den første værktøjsgruppe, ikke den sidste.\n\n
Naviger inden for UI-sektioner
\n\n
Gå fra ét UI-element til det næste ved at trykke på den relevante piletast.
\n\n
Venstre og højre piletast
\n\n
\n
flytter mellem menuerne i menulinjen.
\n
åbner en undermenu i en menu.
\n
flytter mellem knapperne i en værktøjsgruppe.
\n
flytter mellem elementer i sidefodens sti til elementet.
\n
\n\n
Pil ned og op\n\n
\n
flytter mellem menupunkterne i en menu.
\n
flytter mellem punkterne i en genvejsmenu i værktøjslinjen.
\n
\n\n
Piletasterne kører rundt inden for UI-sektionen, der fokuseres på.
\n\n
For at lukke en åben menu, en åben undermenu eller en åben genvejsmenu trykkes der på Esc-tasten.\n\n
Hvis det aktuelle fokus er i 'toppen' af en bestemt UI-sektion, vil tryk på Esc-tasten også afslutte\n tastaturnavigationen helt.
\n\n
Udfør et menupunkt eller en værktøjslinjeknap
\n\n
Når det ønskede menupunkt eller den ønskede værktøjslinjeknap er fremhævet, trykkes der på Retur, Enter\n eller mellemrumstasten for at udføre elementet.\n\n
Naviger i ikke-faneopdelte dialogbokse
\n\n
I ikke-faneopdelte dialogbokse får den første interaktive komponent fokus, når dialogboksen åbnes.
\n\n
Naviger mellem interaktive dialogbokskomponenter ved at trykke på Tab eller Shift+Tab.
\n\n
Naviger i faneopdelte dialogbokse
\n\n
I faneopdelte dialogbokse får den første knap i fanemenuen fokus, når dialogboksen åbnes.
\n\n
Naviger mellem interaktive komponenter i denne dialogboksfane ved at trykke på Tab eller\n Shift+Tab.
\n\n
Skift til en anden dialogboksfane ved at fokusere på fanemenuen og derefter trykke på den relevante piletast\n for at køre igennem de tilgængelige faner.
\n")}}]);
+//# sourceMappingURL=69950.d49830f587434564efdb.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/69950.d49830f587434564efdb.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/69950.d49830f587434564efdb.min.js.map
new file mode 100644
index 000000000..0ae026346
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/69950.d49830f587434564efdb.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/69950.d49830f587434564efdb.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,s7G","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/da.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.da',\n'
Start tastaturnavigation
\\n' +\n '\\n' +\n '
\\n' +\n '
Fokuser på menulinjen
\\n' +\n '
Windows eller Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Fokuser på værktøjslinjen
\\n' +\n '
Windows eller Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Fokuser på sidefoden
\\n' +\n '
Windows eller Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Fokuser på kontekstuel værktøjslinje
\\n' +\n '
Windows, Linux eller macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
Navigationen starter ved det første UI-element, som fremhæves eller understreges hvad angår det første element i\\n' +\n ' sidefodens sti til elementet.
\\n' +\n '\\n' +\n '
Naviger mellem UI-sektioner
\\n' +\n '\\n' +\n '
Gå fra én UI-sektion til den næste ved at trykke på Tab.
\\n' +\n '\\n' +\n '
Gå fra én UI-sektion til den forrige ved at trykke på Shift+Tab.
\\n' +\n '\\n' +\n '
Tab-rækkefølgen af disse UI-sektioner er:\\n' +\n '\\n' +\n '
\\n' +\n '
Menulinje
\\n' +\n '
Hver værktøjsgruppe
\\n' +\n '
Sidepanel
\\n' +\n '
Sti til elementet i sidefoden
\\n' +\n '
Til/fra-knap for ordoptælling i sidefoden
\\n' +\n '
Brandinglink i sidefoden
\\n' +\n '
Tilpasningshåndtag for editor i sidefoden
\\n' +\n '\\n' +\n '\\n' +\n '
Hvis en UI-sektion ikke er til stede, springes den over.
\\n' +\n '\\n' +\n '
Hvis sidefoden har fokus til tastaturnavigation, og der ikke er noget synligt sidepanel, kan der trykkes på Shift+Tab\\n' +\n ' for at flytte fokus til den første værktøjsgruppe, ikke den sidste.\\n' +\n '\\n' +\n '
Naviger inden for UI-sektioner
\\n' +\n '\\n' +\n '
Gå fra ét UI-element til det næste ved at trykke på den relevante piletast.
\\n' +\n '\\n' +\n '
Venstre og højre piletast
\\n' +\n '\\n' +\n '
\\n' +\n '
flytter mellem menuerne i menulinjen.
\\n' +\n '
åbner en undermenu i en menu.
\\n' +\n '
flytter mellem knapperne i en værktøjsgruppe.
\\n' +\n '
flytter mellem elementer i sidefodens sti til elementet.
\\n' +\n '
\\n' +\n '\\n' +\n '
Pil ned og op\\n' +\n '\\n' +\n '
\\n' +\n '
flytter mellem menupunkterne i en menu.
\\n' +\n '
flytter mellem punkterne i en genvejsmenu i værktøjslinjen.
\\n' +\n '
\\n' +\n '\\n' +\n '
Piletasterne kører rundt inden for UI-sektionen, der fokuseres på.
\\n' +\n '\\n' +\n '
For at lukke en åben menu, en åben undermenu eller en åben genvejsmenu trykkes der på Esc-tasten.\\n' +\n '\\n' +\n \"
Hvis det aktuelle fokus er i 'toppen' af en bestemt UI-sektion, vil tryk på Esc-tasten også afslutte\\n\" +\n ' tastaturnavigationen helt.
\\n' +\n '\\n' +\n '
Udfør et menupunkt eller en værktøjslinjeknap
\\n' +\n '\\n' +\n '
Når det ønskede menupunkt eller den ønskede værktøjslinjeknap er fremhævet, trykkes der på Retur, Enter\\n' +\n ' eller mellemrumstasten for at udføre elementet.\\n' +\n '\\n' +\n '
Naviger i ikke-faneopdelte dialogbokse
\\n' +\n '\\n' +\n '
I ikke-faneopdelte dialogbokse får den første interaktive komponent fokus, når dialogboksen åbnes.
\\n' +\n '\\n' +\n '
Naviger mellem interaktive dialogbokskomponenter ved at trykke på Tab eller Shift+Tab.
\\n' +\n '\\n' +\n '
Naviger i faneopdelte dialogbokse
\\n' +\n '\\n' +\n '
I faneopdelte dialogbokse får den første knap i fanemenuen fokus, når dialogboksen åbnes.
\\n' +\n '\\n' +\n '
Naviger mellem interaktive komponenter i denne dialogboksfane ved at trykke på Tab eller\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
Skift til en anden dialogboksfane ved at fokusere på fanemenuen og derefter trykke på den relevante piletast\\n' +\n ' for at køre igennem de tilgængelige faner.
Первый доступный для управления элемент интерфейса будет выделен цветом или подчеркнут (если он находится\n в пути элементов нижнего колонтитула).
\n\n
Переход между разделами пользовательского интерфейса
\n\n
Чтобы перейти из текущего раздела интерфейса в следующий, нажмите Tab.
\n\n
Чтобы перейти из текущего раздела интерфейса в предыдущий, нажмите Shift+Tab.
\n\n
Вкладки разделов интерфейса расположены в следующем порядке:\n\n
\n
Панель меню
\n
Группы панели инструментов
\n
Боковая панель
\n
Путь элементов нижнего колонтитула
\n
Подсчет слов/символов в нижнем колонтитуле
\n
Брендовая ссылка в нижнем колонтитуле
\n
Угол для изменения размера окна редактора
\n\n\n
Если раздел интерфейса отсутствует, он пропускается.
\n\n
Если при управлении с клавиатуры фокус находится на нижнем колонтитуле, а видимая боковая панель отсутствует, то при нажатии сочетания клавиш Shift+Tab\n фокус переносится на первую группу панели инструментов, а не на последнюю.\n\n
Переход между элементами внутри разделов пользовательского интерфейса
\n\n
Чтобы перейти от текущего элемента интерфейса к следующему, нажмите соответствующую клавишу со стрелкой.
\n\n
Клавиши со стрелками влево и вправо позволяют
\n\n
\n
перемещаться между разными меню в панели меню.
\n
открывать разделы меню.
\n
перемещаться между кнопками в группе панели инструментов.
\n
перемещаться между элементами в пути элементов нижнего колонтитула.
\n
\n\n
Клавиши со стрелками вниз и вверх позволяют\n\n
\n
перемещаться между элементами одного меню.
\n
перемещаться между элементами всплывающего меню в панели инструментов.
\n
\n\n
При использовании клавиш со стрелками вы будете циклически перемещаться по элементам в пределах выбранного раздела интерфейса.
\n\n
Чтобы закрыть открытое меню, его раздел или всплывающее меню, нажмите клавишу Esc.\n\n
Если фокус находится наверху какого-либо раздела интерфейса, нажатие клавиши Esc также приведет\n к выходу из режима управления с помощью клавиатуры.
\n\n
Использование элемента меню или кнопки на панели инструментов
\n\n
Когда элемент меню или кнопка панели инструментов будут выделены, нажмите Return, Enter\n или Space, чтобы их активировать.\n\n
Управление в диалоговом окне без вкладок
\n\n
При открытии диалогового окна без вкладок фокус переносится на первый интерактивный компонент.
\n\n
Для перехода между интерактивными компонентами диалогового окна нажимайте Tab или Shift+Tab.
\n\n
Управление в диалоговом окне с вкладками
\n\n
При открытии диалогового окна с вкладками фокус переносится на первую кнопку в меню вкладок.
\n\n
Для перехода между интерактивными компонентами этой вкладки диалогового окна нажимайте Tab или\n Shift+Tab.
\n\n
Для перехода на другую вкладку диалогового окна переместите фокус на меню вкладок, а затем используйте клавиши со стрелками\n для циклического переключения между доступными вкладками.
\n")}}]);
+//# sourceMappingURL=7039.2f54f6631d85b08e1a3f.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/7039.2f54f6631d85b08e1a3f.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/7039.2f54f6631d85b08e1a3f.min.js.map
new file mode 100644
index 000000000..fcaaee3f4
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/7039.2f54f6631d85b08e1a3f.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/7039.2f54f6631d85b08e1a3f.min.js","mappings":"kHAAAA,QAAQC,SAASC,IAAI,mCACrB,41H","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/ru.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.ru',\n'
Начните управление с помощью клавиатуры
\\n' +\n '\\n' +\n '
\\n' +\n '
Фокус на панели меню
\\n' +\n '
Windows или Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Фокус на панели инструментов
\\n' +\n '
Windows или Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Фокус на нижнем колонтитуле
\\n' +\n '
Windows или Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Фокус на контекстной панели инструментов
\\n' +\n '
Windows, Linux или macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
Первый доступный для управления элемент интерфейса будет выделен цветом или подчеркнут (если он находится\\n' +\n ' в пути элементов нижнего колонтитула).
\\n' +\n '\\n' +\n '
Переход между разделами пользовательского интерфейса
\\n' +\n '\\n' +\n '
Чтобы перейти из текущего раздела интерфейса в следующий, нажмите Tab.
\\n' +\n '\\n' +\n '
Чтобы перейти из текущего раздела интерфейса в предыдущий, нажмите Shift+Tab.
\\n' +\n '\\n' +\n '
Вкладки разделов интерфейса расположены в следующем порядке:\\n' +\n '\\n' +\n '
\\n' +\n '
Панель меню
\\n' +\n '
Группы панели инструментов
\\n' +\n '
Боковая панель
\\n' +\n '
Путь элементов нижнего колонтитула
\\n' +\n '
Подсчет слов/символов в нижнем колонтитуле
\\n' +\n '
Брендовая ссылка в нижнем колонтитуле
\\n' +\n '
Угол для изменения размера окна редактора
\\n' +\n '\\n' +\n '\\n' +\n '
Если раздел интерфейса отсутствует, он пропускается.
\\n' +\n '\\n' +\n '
Если при управлении с клавиатуры фокус находится на нижнем колонтитуле, а видимая боковая панель отсутствует, то при нажатии сочетания клавиш Shift+Tab\\n' +\n ' фокус переносится на первую группу панели инструментов, а не на последнюю.\\n' +\n '\\n' +\n '
Переход между элементами внутри разделов пользовательского интерфейса
\\n' +\n '\\n' +\n '
Чтобы перейти от текущего элемента интерфейса к следующему, нажмите соответствующую клавишу со стрелкой.
\\n' +\n '\\n' +\n '
Клавиши со стрелками влево и вправо позволяют
\\n' +\n '\\n' +\n '
\\n' +\n '
перемещаться между разными меню в панели меню.
\\n' +\n '
открывать разделы меню.
\\n' +\n '
перемещаться между кнопками в группе панели инструментов.
\\n' +\n '
перемещаться между элементами в пути элементов нижнего колонтитула.
\\n' +\n '
\\n' +\n '\\n' +\n '
Клавиши со стрелками вниз и вверх позволяют\\n' +\n '\\n' +\n '
\\n' +\n '
перемещаться между элементами одного меню.
\\n' +\n '
перемещаться между элементами всплывающего меню в панели инструментов.
\\n' +\n '
\\n' +\n '\\n' +\n '
При использовании клавиш со стрелками вы будете циклически перемещаться по элементам в пределах выбранного раздела интерфейса.
\\n' +\n '\\n' +\n '
Чтобы закрыть открытое меню, его раздел или всплывающее меню, нажмите клавишу Esc.\\n' +\n '\\n' +\n '
Если фокус находится наверху какого-либо раздела интерфейса, нажатие клавиши Esc также приведет\\n' +\n ' к выходу из режима управления с помощью клавиатуры.
\\n' +\n '\\n' +\n '
Использование элемента меню или кнопки на панели инструментов
\\n' +\n '\\n' +\n '
Когда элемент меню или кнопка панели инструментов будут выделены, нажмите Return, Enter\\n' +\n ' или Space, чтобы их активировать.\\n' +\n '\\n' +\n '
Управление в диалоговом окне без вкладок
\\n' +\n '\\n' +\n '
При открытии диалогового окна без вкладок фокус переносится на первый интерактивный компонент.
\\n' +\n '\\n' +\n '
Для перехода между интерактивными компонентами диалогового окна нажимайте Tab или Shift+Tab.
\\n' +\n '\\n' +\n '
Управление в диалоговом окне с вкладками
\\n' +\n '\\n' +\n '
При открытии диалогового окна с вкладками фокус переносится на первую кнопку в меню вкладок.
\\n' +\n '\\n' +\n '
Для перехода между интерактивными компонентами этой вкладки диалогового окна нажимайте Tab или\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
Для перехода на другую вкладку диалогового окна переместите фокус на меню вкладок, а затем используйте клавиши со стрелками\\n' +\n ' для циклического переключения между доступными вкладками.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/70597.e3482ad97b86d4b97263.min.js b/src/plone/staticresources/static/bundle-plone/chunks/70597.e3482ad97b86d4b97263.min.js
new file mode 100644
index 000000000..695fe0bb8
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/70597.e3482ad97b86d4b97263.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[70597],{70597:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.ms","
Mulakan navigasi papan kekunci
\n\n
\n
Fokus bar Menu
\n
Windows atau Linux: Alt+F9
\n
macOS: ⌥F9
\n
Fokus Bar Alat
\n
Windows atau Linux: Alt+F10
\n
macOS: ⌥F10
\n
Fokus pengaki
\n
Windows atau Linux: Alt+F11
\n
macOS: ⌥F11
\n
Fokus bar alat kontekstual
\n
Windows, Linux atau macOS: Ctrl+F9\n
\n\n
Navigasi akan bermula pada item UI pertama, yang akan diserlahkan atau digaris bawah dalam saiz item pertama dalam\n laluan elemen Pengaki.
\n\n
Navigasi antara bahagian UI
\n\n
Untuk bergerak dari satu bahagian UI ke yang seterusnya, tekan Tab.
\n\n
Untuk bergerak dari satu bahagian UI ke yang sebelumnya, tekan Shift+Tab.
\n\n
Tertib Tab bahagian UI ini ialah:\n\n
\n
Bar menu
\n
Setiap kumpulan bar alat
\n
Bar sisi
\n
Laluan elemen dalam pengaki
\n
Butang togol kiraan perkataan dalam pengaki
\n
Pautan penjenamaan dalam pengaki
\n
Pemegang saiz semula editor dalam pengaki
\n\n\n
Jika bahagian UI tidak wujud, ia dilangkau.
\n\n
Jika pengaki mempunyai fokus navigasi papan kekunci dan tiada bar sisi kelihatan, menekan Shift+Tab\n akan mengalihkan fokus ke kumpulan bar alat pertama, bukannya yang terakhir.\n\n
Navigasi dalam bahagian UI
\n\n
Untuk bergerak dari satu elemen UI ke yang seterusnya, tekan kekunci Anak Panah yang bersesuaian.
\n\n
Kekunci anak panah Kiri dan Kanan
\n\n
\n
bergerak antara menu dalam bar menu.
\n
membukan submenu dalam menu.
\n
bergerak antara butang dalam kumpulan bar alat.
\n
Laluan elemen dalam pengaki.
\n
\n\n
Kekunci anak panah Bawah dan Atas\n\n
\n
bergerak antara item menu dalam menu.
\n
bergerak antara item dalam menu timbul bar alat.
\n
\n\n
Kekunci Anak Panah berkitar dalam bahagian UI difokuskan.
\n\n
Untuk menutup menu buka, submenu terbuka atau menu timbul terbuka, tekan kekunci Esc.\n\n
Jika fokus semasa berada di bahagian 'atas' bahagian UI tertentu, menekan kekunci Esc juga akan keluar daripada\n navigasi papan kekunci sepenuhnya.
\n\n
Laksanakan item menu atau butang bar alat
\n\n
Apabila item menu atau butang bar alat yang diinginkan diserlahkan, tekan Return, Enter,\n atau bar Space untuk melaksanakan item.\n\n
Navigasi ke dialog tidak bertab
\n\n
Dalam dialog tidak bertab, komponen interaksi pertama difokuskan apabila dialog dibuka.
\n\n
Navigasi antara komponen dialog interaktif dengan menekan Tab atau Shift+Tab.
\n\n
Navigasi ke dialog bertab
\n\n
Dalam dialog bertab, butang pertama dalam menu tab difokuskan apabila dialog dibuka.
\n\n
Navigasi antara komponen interaktif tab dialog ini dengan menekan Tab atau\n Shift+Tab.
\n\n
Tukar kepada tab dialog lain dengan memfokuskan menu tab, kemudian menekan kekunci Anak Panah yang bersesuaian\n untuk berkitar menerusi tab yang tersedia.
\n")}}]);
+//# sourceMappingURL=70597.e3482ad97b86d4b97263.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/70597.e3482ad97b86d4b97263.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/70597.e3482ad97b86d4b97263.min.js.map
new file mode 100644
index 000000000..8e313c663
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/70597.e3482ad97b86d4b97263.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/70597.e3482ad97b86d4b97263.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,q0G","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/ms.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.ms',\n'
Mulakan navigasi papan kekunci
\\n' +\n '\\n' +\n '
\\n' +\n '
Fokus bar Menu
\\n' +\n '
Windows atau Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Fokus Bar Alat
\\n' +\n '
Windows atau Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Fokus pengaki
\\n' +\n '
Windows atau Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Fokus bar alat kontekstual
\\n' +\n '
Windows, Linux atau macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
Navigasi akan bermula pada item UI pertama, yang akan diserlahkan atau digaris bawah dalam saiz item pertama dalam\\n' +\n ' laluan elemen Pengaki.
\\n' +\n '\\n' +\n '
Navigasi antara bahagian UI
\\n' +\n '\\n' +\n '
Untuk bergerak dari satu bahagian UI ke yang seterusnya, tekan Tab.
\\n' +\n '\\n' +\n '
Untuk bergerak dari satu bahagian UI ke yang sebelumnya, tekan Shift+Tab.
\\n' +\n '\\n' +\n '
Tertib Tab bahagian UI ini ialah:\\n' +\n '\\n' +\n '
\\n' +\n '
Bar menu
\\n' +\n '
Setiap kumpulan bar alat
\\n' +\n '
Bar sisi
\\n' +\n '
Laluan elemen dalam pengaki
\\n' +\n '
Butang togol kiraan perkataan dalam pengaki
\\n' +\n '
Pautan penjenamaan dalam pengaki
\\n' +\n '
Pemegang saiz semula editor dalam pengaki
\\n' +\n '\\n' +\n '\\n' +\n '
Jika bahagian UI tidak wujud, ia dilangkau.
\\n' +\n '\\n' +\n '
Jika pengaki mempunyai fokus navigasi papan kekunci dan tiada bar sisi kelihatan, menekan Shift+Tab\\n' +\n ' akan mengalihkan fokus ke kumpulan bar alat pertama, bukannya yang terakhir.\\n' +\n '\\n' +\n '
Navigasi dalam bahagian UI
\\n' +\n '\\n' +\n '
Untuk bergerak dari satu elemen UI ke yang seterusnya, tekan kekunci Anak Panah yang bersesuaian.
\\n' +\n '\\n' +\n '
Kekunci anak panah Kiri dan Kanan
\\n' +\n '\\n' +\n '
\\n' +\n '
bergerak antara menu dalam bar menu.
\\n' +\n '
membukan submenu dalam menu.
\\n' +\n '
bergerak antara butang dalam kumpulan bar alat.
\\n' +\n '
Laluan elemen dalam pengaki.
\\n' +\n '
\\n' +\n '\\n' +\n '
Kekunci anak panah Bawah dan Atas\\n' +\n '\\n' +\n '
\\n' +\n '
bergerak antara item menu dalam menu.
\\n' +\n '
bergerak antara item dalam menu timbul bar alat.
\\n' +\n '
\\n' +\n '\\n' +\n '
Kekunci Anak Panah berkitar dalam bahagian UI difokuskan.
\\n' +\n '\\n' +\n '
Untuk menutup menu buka, submenu terbuka atau menu timbul terbuka, tekan kekunci Esc.\\n' +\n '\\n' +\n \"
Jika fokus semasa berada di bahagian 'atas' bahagian UI tertentu, menekan kekunci Esc juga akan keluar daripada\\n\" +\n ' navigasi papan kekunci sepenuhnya.
\\n' +\n '\\n' +\n '
Laksanakan item menu atau butang bar alat
\\n' +\n '\\n' +\n '
Apabila item menu atau butang bar alat yang diinginkan diserlahkan, tekan Return, Enter,\\n' +\n ' atau bar Space untuk melaksanakan item.\\n' +\n '\\n' +\n '
Navigasi ke dialog tidak bertab
\\n' +\n '\\n' +\n '
Dalam dialog tidak bertab, komponen interaksi pertama difokuskan apabila dialog dibuka.
\\n' +\n '\\n' +\n '
Navigasi antara komponen dialog interaktif dengan menekan Tab atau Shift+Tab.
\\n' +\n '\\n' +\n '
Navigasi ke dialog bertab
\\n' +\n '\\n' +\n '
Dalam dialog bertab, butang pertama dalam menu tab difokuskan apabila dialog dibuka.
\\n' +\n '\\n' +\n '
Navigasi antara komponen interaktif tab dialog ini dengan menekan Tab atau\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
Tukar kepada tab dialog lain dengan memfokuskan menu tab, kemudian menekan kekunci Anak Panah yang bersesuaian\\n' +\n ' untuk berkitar menerusi tab yang tersedia.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/71560.c18c5c59990ed1b4eb18.min.js b/src/plone/staticresources/static/bundle-plone/chunks/71560.c18c5c59990ed1b4eb18.min.js
new file mode 100644
index 000000000..37a5a4afd
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/71560.c18c5c59990ed1b4eb18.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[71560],{71560:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.ja","
\n")}}]);
+//# sourceMappingURL=71560.c18c5c59990ed1b4eb18.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/71560.c18c5c59990ed1b4eb18.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/71560.c18c5c59990ed1b4eb18.min.js.map
new file mode 100644
index 000000000..355c9f14c
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/71560.c18c5c59990ed1b4eb18.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/71560.c18c5c59990ed1b4eb18.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,ivE","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/ja.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.ja',\n'
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72040.ffc9fe2ebd6e174db8ed.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72040.ffc9fe2ebd6e174db8ed.min.js
new file mode 100644
index 000000000..3fb4ff07d
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72040.ffc9fe2ebd6e174db8ed.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72040],{72040:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.nl","
Toetsenbordnavigatie starten
\n\n
\n
Focus op de menubalk instellen
\n
Windows of Linux: Alt+F9
\n
macOS: ⌥F9
\n
Focus op de werkbalk instellen
\n
Windows of Linux: Alt+F10
\n
macOS: ⌥F10
\n
Focus op de voettekst instellen
\n
Windows of Linux: Alt+F11
\n
macOS: ⌥F11
\n
Focus op een contextuele werkbalk instellen
\n
Windows, Linux of macOS: Ctrl+F9\n
\n\n
De navigatie start bij het eerste UI-item, dat wordt gemarkeerd of onderstreept als het eerste item zich in\n in het elementenpad van de voettekst bevindt.
\n\n
Navigeren tussen UI-secties
\n\n
Druk op Tab om naar de volgende UI-sectie te gaan.
\n\n
Druk op Shift+Tab om naar de vorige UI-sectie te gaan.
\n\n
De Tab-volgorde van deze UI-secties is:\n\n
\n
Menubalk
\n
Elke werkbalkgroep
\n
Zijbalk
\n
Elementenpad in de voettekst
\n
Wisselknop voor aantal woorden in de voettekst
\n
Merkkoppeling in de voettekst
\n
Greep voor het wijzigen van het formaat van de editor in de voettekst
\n\n\n
Als een UI-sectie niet aanwezig is, wordt deze overgeslagen.
\n\n
Als de focus van de toetsenbordnavigatie is ingesteld op de voettekst en er geen zichtbare zijbalk is, kun je op Shift+Tab drukken\n om de focus naar de eerste werkbalkgroep in plaats van de laatste te verplaatsen.\n\n
Navigeren binnen UI-secties
\n\n
Druk op de pijltjestoets om naar het betreffende UI-element te gaan.
\n\n
Met de pijltjestoetsen Links en Rechts
\n\n
\n
wissel je tussen menu's in de menubalk.
\n
open je een submenu in een menu.
\n
wissel je tussen knoppen in een werkbalkgroep.
\n
wissel je tussen items in het elementenpad in de voettekst.
\n
\n\n
Met de pijltjestoetsen Omlaag en Omhoog\n\n
\n
wissel je tussen menu-items in een menu.
\n
wissel je tussen items in een werkbalkpop-upmenu.
\n
\n\n
Met de pijltjestoetsen wissel je binnen de UI-sectie waarop de focus is ingesteld.
\n\n
Druk op de toets Esc om een geopend menu, submenu of pop-upmenu te sluiten.\n\n
Als de huidige focus is ingesteld 'bovenaan' een bepaalde UI-sectie, kun je op de toets Esc drukken\n om de toetsenbordnavigatie af te sluiten.
\n\n
Een menu-item of werkbalkknop uitvoeren
\n\n
Als het gewenste menu-item of de gewenste werkbalkknop is gemarkeerd, kun je op Return, Enter\n of de spatiebalk drukken om het item uit te voeren.\n\n
Navigeren in dialoogvensters zonder tabblad
\n\n
Als een dialoogvenster zonder tabblad wordt geopend, wordt de focus ingesteld op het eerste interactieve onderdeel.
\n\n
Je kunt navigeren tussen interactieve onderdelen van een dialoogvenster door op Tab of Shift+Tab te drukken.
\n\n
Navigeren in dialoogvensters met tabblad
\n\n
Als een dialoogvenster met tabblad wordt geopend, wordt de focus ingesteld op de eerste knop in het tabbladmenu.
\n\n
Je kunt navigeren tussen interactieve onderdelen van dit tabblad van het dialoogvenster door op Tab of\n Shift+Tab te drukken.
\n\n
Je kunt overschakelen naar een ander tabblad van het dialoogvenster door de focus in te stellen op het tabbladmenu en vervolgens op de juiste pijltjestoets\n te drukken om tussen de beschikbare tabbladen te wisselen.
\n")}}]);
+//# sourceMappingURL=72040.ffc9fe2ebd6e174db8ed.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72040.ffc9fe2ebd6e174db8ed.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72040.ffc9fe2ebd6e174db8ed.min.js.map
new file mode 100644
index 000000000..e2a3cfdc9
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72040.ffc9fe2ebd6e174db8ed.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/72040.ffc9fe2ebd6e174db8ed.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,mCACrB,ksH","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/nl.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.nl',\n'
Toetsenbordnavigatie starten
\\n' +\n '\\n' +\n '
\\n' +\n '
Focus op de menubalk instellen
\\n' +\n '
Windows of Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Focus op de werkbalk instellen
\\n' +\n '
Windows of Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Focus op de voettekst instellen
\\n' +\n '
Windows of Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Focus op een contextuele werkbalk instellen
\\n' +\n '
Windows, Linux of macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
De navigatie start bij het eerste UI-item, dat wordt gemarkeerd of onderstreept als het eerste item zich in\\n' +\n ' in het elementenpad van de voettekst bevindt.
\\n' +\n '\\n' +\n '
Navigeren tussen UI-secties
\\n' +\n '\\n' +\n '
Druk op Tab om naar de volgende UI-sectie te gaan.
\\n' +\n '\\n' +\n '
Druk op Shift+Tab om naar de vorige UI-sectie te gaan.
\\n' +\n '\\n' +\n '
De Tab-volgorde van deze UI-secties is:\\n' +\n '\\n' +\n '
\\n' +\n '
Menubalk
\\n' +\n '
Elke werkbalkgroep
\\n' +\n '
Zijbalk
\\n' +\n '
Elementenpad in de voettekst
\\n' +\n '
Wisselknop voor aantal woorden in de voettekst
\\n' +\n '
Merkkoppeling in de voettekst
\\n' +\n '
Greep voor het wijzigen van het formaat van de editor in de voettekst
\\n' +\n '\\n' +\n '\\n' +\n '
Als een UI-sectie niet aanwezig is, wordt deze overgeslagen.
\\n' +\n '\\n' +\n '
Als de focus van de toetsenbordnavigatie is ingesteld op de voettekst en er geen zichtbare zijbalk is, kun je op Shift+Tab drukken\\n' +\n ' om de focus naar de eerste werkbalkgroep in plaats van de laatste te verplaatsen.\\n' +\n '\\n' +\n '
Navigeren binnen UI-secties
\\n' +\n '\\n' +\n '
Druk op de pijltjestoets om naar het betreffende UI-element te gaan.
\\n' +\n '\\n' +\n '
Met de pijltjestoetsen Links en Rechts
\\n' +\n '\\n' +\n '
\\n' +\n \"
wissel je tussen menu's in de menubalk.
\\n\" +\n '
open je een submenu in een menu.
\\n' +\n '
wissel je tussen knoppen in een werkbalkgroep.
\\n' +\n '
wissel je tussen items in het elementenpad in de voettekst.
\\n' +\n '
\\n' +\n '\\n' +\n '
Met de pijltjestoetsen Omlaag en Omhoog\\n' +\n '\\n' +\n '
\\n' +\n '
wissel je tussen menu-items in een menu.
\\n' +\n '
wissel je tussen items in een werkbalkpop-upmenu.
\\n' +\n '
\\n' +\n '\\n' +\n '
Met de pijltjestoetsen wissel je binnen de UI-sectie waarop de focus is ingesteld.
\\n' +\n '\\n' +\n '
Druk op de toets Esc om een geopend menu, submenu of pop-upmenu te sluiten.\\n' +\n '\\n' +\n \"
Als de huidige focus is ingesteld 'bovenaan' een bepaalde UI-sectie, kun je op de toets Esc drukken\\n\" +\n ' om de toetsenbordnavigatie af te sluiten.
\\n' +\n '\\n' +\n '
Een menu-item of werkbalkknop uitvoeren
\\n' +\n '\\n' +\n '
Als het gewenste menu-item of de gewenste werkbalkknop is gemarkeerd, kun je op Return, Enter\\n' +\n ' of de spatiebalk drukken om het item uit te voeren.\\n' +\n '\\n' +\n '
Navigeren in dialoogvensters zonder tabblad
\\n' +\n '\\n' +\n '
Als een dialoogvenster zonder tabblad wordt geopend, wordt de focus ingesteld op het eerste interactieve onderdeel.
\\n' +\n '\\n' +\n '
Je kunt navigeren tussen interactieve onderdelen van een dialoogvenster door op Tab of Shift+Tab te drukken.
\\n' +\n '\\n' +\n '
Navigeren in dialoogvensters met tabblad
\\n' +\n '\\n' +\n '
Als een dialoogvenster met tabblad wordt geopend, wordt de focus ingesteld op de eerste knop in het tabbladmenu.
\\n' +\n '\\n' +\n '
Je kunt navigeren tussen interactieve onderdelen van dit tabblad van het dialoogvenster door op Tab of\\n' +\n ' Shift+Tab te drukken.
\\n' +\n '\\n' +\n '
Je kunt overschakelen naar een ander tabblad van het dialoogvenster door de focus in te stellen op het tabbladmenu en vervolgens op de juiste pijltjestoets\\n' +\n ' te drukken om tussen de beschikbare tabbladen te wisselen.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72170.248718e66cc8f0f386a1.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72170.248718e66cc8f0f386a1.min.js
deleted file mode 100644
index b75e88034..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/72170.248718e66cc8f0f386a1.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72170],{72170:function(e,s,c){c(53302)}}]);
-//# sourceMappingURL=72170.248718e66cc8f0f386a1.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72170.248718e66cc8f0f386a1.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72170.248718e66cc8f0f386a1.min.js.map
deleted file mode 100644
index ed091cdfe..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/72170.248718e66cc8f0f386a1.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/72170.248718e66cc8f0f386a1.min.js","mappings":"yHAMA,EAAQ,M","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/image/index.js"],"sourcesContent":["// Exports the \"image\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/image')\n// ES2015:\n// import 'tinymce/plugins/image'\nrequire('./plugin.js');"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72170.f1876728df2a55814745.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72170.f1876728df2a55814745.min.js
new file mode 100644
index 000000000..6802a0da6
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72170.f1876728df2a55814745.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72170,53302],{72170:function(e,t,a){a(53302)},53302:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>{var i;return!!a(e,t.prototype)||(null===(i=e.constructor)||void 0===i?void 0:i.name)===t.name},i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,o=e=>t=>typeof t===e,r=i("string"),s=i("object"),n=e=>((e,i)=>s(e)&&a(e,i,((e,a)=>t(e)===a)))(e,Object),l=i("array"),c=(m=null,e=>m===e);var m;const d=o("boolean"),g=e=>!(e=>null==e)(e),u=o("function"),p=o("number"),h=()=>{};class b{constructor(e,t){this.tag=e,this.value=t}static some(e){return new b(!0,e)}static none(){return b.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?b.some(e(this.value)):b.none()}bind(e){return this.tag?e(this.value):b.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:b.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return g(e)?b.some(e):b.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}b.singletonNone=new b(!1);const v=Object.keys,y=Object.hasOwnProperty,f=(e,t,a,i)=>{((e,t)=>{const a=v(e);for(let i=0,o=a.length;i{(t(e,o)?a:i)(e,o)}))},w=(e,t)=>y.call(e,t),A=Array.prototype.push,D=e=>{const t=[];for(let a=0,i=e.length;a((e,t)=>t>=0&&t{((e,t,a)=>{if(!(r(a)||d(a)||p(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)},I=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},U={fromHtml:(e,t)=>{const a=(t||document).createElement("div");if(a.innerHTML=e,!a.hasChildNodes()||a.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return I(a.childNodes[0])},fromTag:(e,t)=>{const a=(t||document).createElement(e);return I(a)},fromText:(e,t)=>{const a=(t||document).createTextNode(e);return I(a)},fromDom:I,fromPoint:(e,t,a)=>b.from(e.dom.elementFromPoint(t,a)).map(I)};var x=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),S=tinymce.util.Tools.resolve("tinymce.util.URI");const N=e=>e.length>0,T=e=>t=>t.options.get(e),E=e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;aMath.max(parseInt(e,10),parseInt(t,10)),W=e=>(e&&(e=e.replace(/px$/,"")),e),$=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),V=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),K=(e,t)=>{const a=e.options.get;return S.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},Z=x.DOM,q=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?W(e.style.marginLeft):"",J=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?W(e.style.marginTop):"",Q=e=>e.style.borderWidth?W(e.style.borderWidth):"",X=(e,t)=>{var a;return e.hasAttribute(t)&&null!==(a=e.getAttribute(t))&&void 0!==a?a:""},Y=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,ee=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},te=e=>{Y(e)?(e=>{const t=e.parentNode;g(t)&&(Z.insertAfter(e,t),Z.remove(t))})(e):(e=>{const t=Z.create("figure",{class:"image"});Z.insertAfter(t,e),t.appendChild(e),t.appendChild(Z.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)},ae=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},ie=(e,t)=>(e,a,i)=>{const o=e.style;o[a]?(o[a]=$(i),ae(e,t)):ee(e,a,i)},oe=(e,t)=>e.style[t]?W(e.style[t]):X(e,t),re=(e,t)=>{const a=$(t);e.style.marginLeft=a,e.style.marginRight=a},se=(e,t)=>{const a=$(t);e.style.marginTop=a,e.style.marginBottom=a},ne=(e,t)=>{const a=$(t);e.style.borderWidth=a},le=(e,t)=>{e.style.borderStyle=t},ce=e=>{var t;return null!==(t=e.style.borderStyle)&&void 0!==t?t:""},me=e=>g(e)&&"FIGURE"===e.nodeName,de=e=>0===Z.getAttrib(e,"alt").length&&"presentation"===Z.getAttrib(e,"role"),ge=e=>de(e)?"":X(e,"alt"),ue=(e,t)=>{var a;const i=document.createElement("img");return ee(i,"style",t.style),(q(i)||""!==t.hspace)&&re(i,t.hspace),(J(i)||""!==t.vspace)&&se(i,t.vspace),(Q(i)||""!==t.border)&&ne(i,t.border),(ce(i)||""!==t.borderStyle)&&le(i,t.borderStyle),e(null!==(a=i.getAttribute("style"))&&void 0!==a?a:"")},pe=(e,t)=>({src:X(t,"src"),alt:ge(t),title:X(t,"title"),width:oe(t,"width"),height:oe(t,"height"),class:X(t,"class"),style:e(X(t,"style")),caption:Y(t),hspace:q(t),vspace:J(t),border:Q(t),borderStyle:ce(t),isDecorative:de(t)}),he=(e,t,a,i,o)=>{a[i]!==t[i]&&o(e,i,String(a[i]))},be=(e,t,a)=>{if(a){Z.setAttrib(e,"role","presentation");const t=U.fromDom(e);C(t,"alt","")}else{if(c(t)){const t=U.fromDom(e);i="alt",t.dom.removeAttribute(i)}else{const a=U.fromDom(e);C(a,"alt",t)}"presentation"===Z.getAttrib(e,"role")&&Z.setAttrib(e,"role","")}var i},ve=(e,t)=>(a,i,o)=>{e(a,o),ae(a,t)},ye=(e,t,a)=>{const i=pe(e,a);he(a,i,t,"caption",((e,t,a)=>te(e))),he(a,i,t,"src",ee),he(a,i,t,"title",ee),he(a,i,t,"width",ie(0,e)),he(a,i,t,"height",ie(0,e)),he(a,i,t,"class",ee),he(a,i,t,"style",ve(((e,t)=>ee(e,"style",t)),e)),he(a,i,t,"hspace",ve(re,e)),he(a,i,t,"vspace",ve(se,e)),he(a,i,t,"border",ve(ne,e)),he(a,i,t,"borderStyle",ve(le,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||be(e,a.alt,a.isDecorative)})(a,i,t)},fe=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},we=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||V(t))?null:t},Ae=(e,t)=>{var a;const i=e.dom,o=((e,t)=>{const a={};var i;return f(e,t,(i=a,(e,t)=>{i[t]=e}),h),a})(e.schema.getTextBlockElements(),((t,a)=>!e.schema.isValidChild(a,"figure"))),r=i.getParent(t.parentNode,(e=>{return t=o,a=e.nodeName,w(t,a)&&void 0!==t[a]&&null!==t[a];var t,a}),e.getBody());return r&&null!==(a=i.split(r,t))&&void 0!==a?a:t},De=(e,t)=>{const a=((e,t)=>{const a=document.createElement("img");if(ye(e,{...t,caption:!1},a),be(a,t.alt,t.isDecorative),t.caption){const e=Z.create("figure",{class:"image"});return e.appendChild(a),e.appendChild(Z.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return a})((t=>fe(e,t)),t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),me(i)){const t=Ae(e,i);e.selection.select(t)}else e.selection.select(i)},_e=(e,t)=>{const a=we(e);if(a)if(ye((t=>fe(e,t)),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),me(a.parentNode)){const t=a.parentNode;Ae(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!L(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)},Ce=(e,t)=>{const a=we(e);if(a){const i={...pe((t=>fe(e,t)),a),...t},o=((e,t)=>{const a=t.src;return{...t,src:K(e,a)?a:""}})(e,i);i.src?_e(e,o):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&De(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})},Ie=(Ue=(e,t)=>n(e)&&n(t)?Ie(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;ar(e.value)?e.value:"",Te=(e,t)=>{const a=[];return Se.each(e,(e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=Te(e.menu,t);a.push({text:i,items:o})}else{const o=t(e);a.push({text:i,value:o})}})),a},Ee=(e=Ne)=>t=>t?b.from(t).map((t=>Te(t,e))):b.none(),Le=(e,t)=>((e,t)=>{for(let a=0;a(e=>w(e,"items"))(e)?Le(e.items,t):e.value===t?b.some(e):b.none())),Oe=Ee,ke=e=>Ee(Ne)(e),Me=(e,t)=>e.bind((e=>Le(e,t))),je=e=>({title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}),Pe=e=>{const t=Oe((t=>e.convertURL(t.value||t.url||"","src"))),a=new Promise((a=>{((e,t)=>{const a=B(e);r(a)?fetch(a).then((e=>{e.ok&&e.json().then(t)})):u(a)?a(t):t(a)})(e,(e=>{a(t(e).map((e=>D([[{text:"None",value:""}],e]))))}))})),i=ke(j(e)),o=O(e),s=k(e),n=(e=>N(e.options.get("images_upload_url")))(e),l=(e=>g(e.options.get("images_upload_handler")))(e),c=(e=>{const t=we(e);return t?pe((t=>fe(e,t)),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),m=P(e),d=R(e),p=L(e),h=z(e),v=H(e),y=F(e),f=b.some(M(e)).filter((e=>r(e)&&e.length>0));return a.then((e=>({image:c,imageList:e,classList:i,hasAdvTab:o,hasUploadTab:s,hasUploadUrl:n,hasUploadHandler:l,hasDescription:m,hasImageTitle:d,hasDimensions:p,hasImageCaption:h,prependURL:f,hasAccessibilityOptions:v,automaticUploads:y})))},Re=e=>{const t=e.imageList.map((e=>({name:"images",type:"listbox",label:"Image list",items:e}))),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map((e=>({name:"classes",type:"listbox",label:"Class",items:e})));return D([[{name:"src",type:"urlinput",filetype:"image",label:"Source"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(o=e.classList.isSome()&&e.hasImageCaption,o?{type:"grid",columns:2}:{type:"panel"}),items:D([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var o},ze=e=>({title:"General",name:"general",items:Re(e)}),Be=Re,He=e=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}),Fe=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),Ge=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),We=(e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?b.none():e.prependURL.bind((e=>t.substring(0,e.length)!==e?b.some(e+t):b.none())))(e,a.src.value).each((e=>{t.setData({src:{value:e,meta:a.src.meta}})}))},$e=(e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const o=Ie({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Me(e.classList,a.class).each((e=>{t.classes=e.value})),e.hasImageCaption&&d(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,o,i),t.setData(o)}},Ve=(e,t,a,i)=>{We(t,i),$e(t,i),((e,t,a,i)=>{const o=i.getData(),r=o.src.value,s=o.src.meta||{};s.width||s.height||!t.hasDimensions||(N(r)?e.imageSize(r).then((e=>{a.open&&i.setData({dimensions:e})})).catch((e=>console.error(e))):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),o=Me(e.imageList,i.src.value);t.prevImage=o,a.setData({images:o.map((e=>e.value)).getOr("")})})(t,a,i)},Ke=(e,t,a,i)=>{const o=i.getData();i.block("Uploading image"),_(o.fileinput).fold((()=>{i.unblock()}),(o=>{const r=URL.createObjectURL(o),s=()=>{i.unblock(),URL.revokeObjectURL(r)},n=o=>{i.setData({src:{value:o,meta:{}}}),i.showTab("general"),Ve(e,t,a,i)};var l;(l=o,new Promise(((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{var e;t(null===(e=a.error)||void 0===e?void 0:e.message)},a.readAsDataURL(l)}))).then((a=>{const l=e.createBlobCache(o,r,a);t.automaticUploads?e.uploadImage(l).then((e=>{n(e.url),s()})).catch((t=>{s(),e.alertErr(t)})):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())}))}))},Ze=(e,t,a)=>(i,o)=>{"src"===o.name?Ve(e,t,a,i):"images"===o.name?((e,t,a,i)=>{const o=i.getData(),r=Me(t.imageList,o.images);r.each((e=>{const t=""===o.alt||a.prevImage.map((e=>e.text===o.alt)).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})})),a.prevImage=r,Ve(e,t,a,i)})(e,t,a,i):"alt"===o.name?a.prevAlt=i.getData().alt:"fileinput"===o.name?Ke(e,t,a,i):"isDecorative"===o.name&&i.setEnabled("alt",!i.getData().isDecorative)},qe=e=>()=>{e.open=!1},Je=e=>{if(e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler){return{type:"tabpanel",tabs:D([[ze(e)],e.hasAdvTab?[je(e)]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[He(e)]:[]])}}return{type:"panel",items:Be(e)}},Qe=(e,t,a)=>i=>{const o=Ie(Fe(t.image),i.getData()),r={...o,style:ue(a.normalizeCss,Ge(o,!1))};e.execCommand("mceUpdateImage",!1,Ge(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Xe=e=>t=>K(e,t)?(e=>new Promise((t=>{const a=document.createElement("img"),i=e=>{a.onload=a.onerror=null,a.parentNode&&a.parentNode.removeChild(a),t(e)};a.onload=()=>{const e={width:G(a.width,a.clientWidth),height:G(a.height,a.clientHeight)};i(Promise.resolve(e))},a.onerror=()=>{i(Promise.reject(`Failed to get image dimensions for: ${e}`))};const o=a.style;o.visibility="hidden",o.position="fixed",o.bottom=o.left="0px",o.width=o.height="auto",document.body.appendChild(a),a.src=e})))(e.documentBaseURI.toAbsolute(t)).then((e=>({width:String(e.width),height:String(e.height)}))):Promise.resolve({width:"",height:""}),Ye=e=>(t,a,i)=>{var o;return e.editorUpload.blobCache.create({blob:t,blobUri:a,name:null===(o=t.name)||void 0===o?void 0:o.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]})},et=e=>t=>{e.editorUpload.blobCache.add(t)},tt=e=>t=>{e.windowManager.alert(t)},at=e=>t=>fe(e,t),it=e=>t=>e.dom.parseStyle(t),ot=e=>(t,a)=>e.dom.serializeStyle(t,a),rt=e=>t=>xe(e).upload([t],!1).then((e=>{var t;return 0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(null===(t=e[0].error)||void 0===t?void 0:t.message):e[0]})),st=e=>{const t={imageSize:Xe(e),addToBlobCache:et(e),createBlobCache:Ye(e),alertErr:tt(e),normalizeCss:at(e),parseStyle:it(e),serializeStyle:ot(e),uploadImage:rt(e)};return{open:()=>{Pe(e).then((a=>{const i=(e=>({prevImage:Me(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:Je(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Fe(a.image),onSubmit:Qe(e,a,t),onChange:Ze(t,a,i),onClose:qe(i)}})).then(e.windowManager.open)}}},nt=e=>{const t=e.attr("class");return g(t)&&/\bimage\b/.test(t)},lt=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const o=t[a];nt(o)&&(o.attr("contenteditable",e?"false":null),Se.each(o.getAll("figcaption"),i))}},ct=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("image",(e=>{E(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("figure",lt(!0)),e.serializer.addNodeFilter("figure",lt(!1))}))})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:st(e).open,onSetup:t=>{t.setActive(g(we(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=ct(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:st(e).open,onSetup:ct(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(me(t)||"IMG"===t.nodeName&&!V(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",st(e).open),e.addCommand("mceUpdateImage",((t,a)=>{e.undoManager.transact((()=>Ce(e,a)))}))})(e)}))}()}}]);
+//# sourceMappingURL=72170.f1876728df2a55814745.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72170.f1876728df2a55814745.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72170.f1876728df2a55814745.min.js.map
new file mode 100644
index 000000000..cfe22fffc
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72170.f1876728df2a55814745.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/72170.f1876728df2a55814745.min.js","mappings":"+HAMA,EAAQ,M,oBCFR,WACI,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAAMC,EAAiBC,OAAOD,eACxBE,EAAW,CAACC,EAAGC,EAAaC,KAChC,IAAIC,EACJ,QAAID,EAAUF,EAAGC,EAAYG,aAGM,QAAxBD,EAAKH,EAAEC,mBAAgC,IAAPE,OAAgB,EAASA,EAAGE,QAAUJ,EAAYI,IAC7F,EAcIC,EAASC,GAAQC,GAZRC,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,GAAkBX,EAASU,EAAGI,QAAQ,CAACC,EAAGC,IAAUA,EAAMC,cAAcF,KAC1E,SAEAJ,CACT,EAE8BO,CAAOT,KAAWD,EAC5CW,EAAeX,GAAQC,UAAgBA,IAAUD,EAGjDY,EAAWb,EAAO,UAClBc,EAAWd,EAAO,UAClBe,EAAgBb,GAHX,EAACA,EAAOP,IAAgBmB,EAASZ,IAAUT,EAASS,EAAOP,GAAa,CAACa,EAAGC,IAAUlB,EAAeiB,KAAOC,IAGxFO,CAAGd,EAAOV,QACnCc,EAAUN,EAAO,SACjBiB,GANKb,EAMO,KANFc,GAAKd,IAAMc,GAAhBd,MAOX,MAAMe,EAAYP,EAAa,WAEzBQ,EAAgBF,IADHA,IAAKA,QACIG,CAAWH,GACjCI,EAAaV,EAAa,YAC1BW,EAAWX,EAAa,UAaxBY,EAAO,OAGb,MAAMC,EACJ,WAAA9B,CAAY+B,EAAKxB,GACfyB,KAAKD,IAAMA,EAC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c,EAAcwN,GAAiBvH,KACnD,MAAMiW,EAAwBjW,EAAOwH,UAAU0O,0BAA0B,sEAAuEH,EAAUC,WAAWG,OAC/JC,EAAiBpB,GAAgBhV,EAAhBgV,CAAwBe,GAC/C,MAAO,KACLE,IACAG,GAAgB,CACjB,IAGLpW,EAAOwV,GAAGC,SAASY,YAAY,QAAS,CACtCV,KAAM,QACNtW,KAAM,WACNwW,SAAU5B,GAAOjU,GAAQ8P,KACzBgG,QAASd,GAAgBhV,KAE3BA,EAAOwV,GAAGC,SAASa,eAAe,QAAS,CAAEC,OAAQtY,GAAW+B,EAAOwH,UAAUyN,eAAiBhQ,GAAShH,IAt6BrE,QAs6ByFA,EAt6BtG+D,WAs6BmHF,EAAmB7D,IAAY,CAAC,SAAW,IAAK,EAO1LmC,CAASJ,GArEMA,KACjBA,EAAOwW,WAAW,WAAYvC,GAAOjU,GAAQ8P,MAC7C9P,EAAOwW,WAAW,kBAAkB,CAACC,EAAKnR,KACxCtF,EAAO0W,YAAYC,UAAS,IAAMpN,GAAoBvJ,EAAQsF,IAAM,GACpE,EAkEAsR,CAAW5W,EAAO,GAMzB,CA39CD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/image/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/image/plugin.js"],"sourcesContent":["// Exports the \"image\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/image')\n// ES2015:\n// import 'tinymce/plugins/image'\nrequire('./plugin.js');","/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const getPrototypeOf = Object.getPrototypeOf;\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const eq = t => a => t === a;\n const is = (value, constructor) => isObject(value) && hasProto(value, constructor, (o, proto) => getPrototypeOf(o) === proto);\n const isString = isType('string');\n const isObject = isType('object');\n const isPlainObject = value => is(value, Object);\n const isArray = isType('array');\n const isNull = eq(null);\n const isBoolean = isSimpleType('boolean');\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n const isFunction = isSimpleType('function');\n const isNumber = isSimpleType('number');\n const isArrayOf = (value, pred) => {\n if (isArray(value)) {\n for (let i = 0, len = value.length; i < len; ++i) {\n if (!pred(value[i])) {\n return false;\n }\n }\n return true;\n }\n return false;\n };\n\n const noop = () => {\n };\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const keys = Object.keys;\n const hasOwnProperty = Object.hasOwnProperty;\n const each = (obj, f) => {\n const props = keys(obj);\n for (let k = 0, len = props.length; k < len; k++) {\n const i = props[k];\n const x = obj[i];\n f(x, i);\n }\n };\n const objAcc = r => (x, i) => {\n r[i] = x;\n };\n const internalFilter = (obj, pred, onTrue, onFalse) => {\n each(obj, (x, i) => {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n };\n const filter = (obj, pred) => {\n const t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n const has = (obj, key) => hasOwnProperty.call(obj, key);\n const hasNonNullableKey = (obj, key) => has(obj, key) && obj[key] !== undefined && obj[key] !== null;\n\n const nativePush = Array.prototype.push;\n const flatten = xs => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n const get = (xs, i) => i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n const head = xs => get(xs, 0);\n const findMap = (arr, f) => {\n for (let i = 0; i < arr.length; i++) {\n const r = f(arr[i], i);\n if (r.isSome()) {\n return r;\n }\n }\n return Optional.none();\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n const rawSet = (dom, key, value) => {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n const set = (element, key, value) => {\n rawSet(element.dom, key, value);\n };\n const remove = (element, key) => {\n element.dom.removeAttribute(key);\n };\n\n const fromHtml = (html, scope) => {\n const doc = scope || document;\n const div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n const message = 'HTML does not have a single root node';\n console.error(message, html);\n throw new Error(message);\n }\n return fromDom(div.childNodes[0]);\n };\n const fromTag = (tag, scope) => {\n const doc = scope || document;\n const node = doc.createElement(tag);\n return fromDom(node);\n };\n const fromText = (text, scope) => {\n const doc = scope || document;\n const node = doc.createTextNode(text);\n return fromDom(node);\n };\n const fromDom = node => {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n const SugarElement = {\n fromHtml,\n fromTag,\n fromText,\n fromDom,\n fromPoint\n };\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n const isNotEmpty = s => s.length > 0;\n\n const option = name => editor => editor.options.get(name);\n const register$2 = editor => {\n const registerOption = editor.options.register;\n registerOption('image_dimensions', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_advtab', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_uploadtab', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_prepend_url', {\n processor: 'string',\n default: ''\n });\n registerOption('image_class_list', { processor: 'object[]' });\n registerOption('image_description', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_title', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_caption', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_list', {\n processor: value => {\n const valid = value === false || isString(value) || isArrayOf(value, isObject) || isFunction(value);\n return valid ? {\n value,\n valid\n } : {\n valid: false,\n message: 'Must be false, a string, an array or a function.'\n };\n },\n default: false\n });\n };\n const hasDimensions = option('image_dimensions');\n const hasAdvTab = option('image_advtab');\n const hasUploadTab = option('image_uploadtab');\n const getPrependUrl = option('image_prepend_url');\n const getClassList = option('image_class_list');\n const hasDescription = option('image_description');\n const hasImageTitle = option('image_title');\n const hasImageCaption = option('image_caption');\n const getImageList = option('image_list');\n const showAccessibilityOptions = option('a11y_advanced_options');\n const isAutomaticUploadsEnabled = option('automatic_uploads');\n const hasUploadUrl = editor => isNotEmpty(editor.options.get('images_upload_url'));\n const hasUploadHandler = editor => isNonNullable(editor.options.get('images_upload_handler'));\n\n const parseIntAndGetMax = (val1, val2) => Math.max(parseInt(val1, 10), parseInt(val2, 10));\n const getImageSize = url => new Promise(callback => {\n const img = document.createElement('img');\n const done = dimensions => {\n img.onload = img.onerror = null;\n if (img.parentNode) {\n img.parentNode.removeChild(img);\n }\n callback(dimensions);\n };\n img.onload = () => {\n const width = parseIntAndGetMax(img.width, img.clientWidth);\n const height = parseIntAndGetMax(img.height, img.clientHeight);\n const dimensions = {\n width,\n height\n };\n done(Promise.resolve(dimensions));\n };\n img.onerror = () => {\n done(Promise.reject(`Failed to get image dimensions for: ${ url }`));\n };\n const style = img.style;\n style.visibility = 'hidden';\n style.position = 'fixed';\n style.bottom = style.left = '0px';\n style.width = style.height = 'auto';\n document.body.appendChild(img);\n img.src = url;\n });\n const removePixelSuffix = value => {\n if (value) {\n value = value.replace(/px$/, '');\n }\n return value;\n };\n const addPixelSuffix = value => {\n if (value.length > 0 && /^[0-9]+$/.test(value)) {\n value += 'px';\n }\n return value;\n };\n const mergeMargins = css => {\n if (css.margin) {\n const splitMargin = String(css.margin).split(' ');\n switch (splitMargin.length) {\n case 1:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[0];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[0];\n break;\n case 2:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 3:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 4:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[3];\n }\n delete css.margin;\n }\n return css;\n };\n const createImageList = (editor, callback) => {\n const imageList = getImageList(editor);\n if (isString(imageList)) {\n fetch(imageList).then(res => {\n if (res.ok) {\n res.json().then(callback);\n }\n });\n } else if (isFunction(imageList)) {\n imageList(callback);\n } else {\n callback(imageList);\n }\n };\n const waitLoadImage = (editor, data, imgElm) => {\n const selectImage = () => {\n imgElm.onload = imgElm.onerror = null;\n if (editor.selection) {\n editor.selection.select(imgElm);\n editor.nodeChanged();\n }\n };\n imgElm.onload = () => {\n if (!data.width && !data.height && hasDimensions(editor)) {\n editor.dom.setAttribs(imgElm, {\n width: String(imgElm.clientWidth),\n height: String(imgElm.clientHeight)\n });\n }\n selectImage();\n };\n imgElm.onerror = selectImage;\n };\n const blobToDataUri = blob => new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => {\n resolve(reader.result);\n };\n reader.onerror = () => {\n var _a;\n reject((_a = reader.error) === null || _a === void 0 ? void 0 : _a.message);\n };\n reader.readAsDataURL(blob);\n });\n const isPlaceholderImage = imgElm => imgElm.nodeName === 'IMG' && (imgElm.hasAttribute('data-mce-object') || imgElm.hasAttribute('data-mce-placeholder'));\n const isSafeImageUrl = (editor, src) => {\n const getOption = editor.options.get;\n return global$2.isDomSafe(src, 'img', {\n allow_html_data_urls: getOption('allow_html_data_urls'),\n allow_script_urls: getOption('allow_script_urls'),\n allow_svg_data_urls: getOption('allow_svg_data_urls')\n });\n };\n\n const DOM = global$3.DOM;\n const getHspace = image => {\n if (image.style.marginLeft && image.style.marginRight && image.style.marginLeft === image.style.marginRight) {\n return removePixelSuffix(image.style.marginLeft);\n } else {\n return '';\n }\n };\n const getVspace = image => {\n if (image.style.marginTop && image.style.marginBottom && image.style.marginTop === image.style.marginBottom) {\n return removePixelSuffix(image.style.marginTop);\n } else {\n return '';\n }\n };\n const getBorder = image => {\n if (image.style.borderWidth) {\n return removePixelSuffix(image.style.borderWidth);\n } else {\n return '';\n }\n };\n const getAttrib = (image, name) => {\n var _a;\n if (image.hasAttribute(name)) {\n return (_a = image.getAttribute(name)) !== null && _a !== void 0 ? _a : '';\n } else {\n return '';\n }\n };\n const hasCaption = image => image.parentNode !== null && image.parentNode.nodeName === 'FIGURE';\n const updateAttrib = (image, name, value) => {\n if (value === '' || value === null) {\n image.removeAttribute(name);\n } else {\n image.setAttribute(name, value);\n }\n };\n const wrapInFigure = image => {\n const figureElm = DOM.create('figure', { class: 'image' });\n DOM.insertAfter(figureElm, image);\n figureElm.appendChild(image);\n figureElm.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figureElm.contentEditable = 'false';\n };\n const removeFigure = image => {\n const figureElm = image.parentNode;\n if (isNonNullable(figureElm)) {\n DOM.insertAfter(image, figureElm);\n DOM.remove(figureElm);\n }\n };\n const toggleCaption = image => {\n if (hasCaption(image)) {\n removeFigure(image);\n } else {\n wrapInFigure(image);\n }\n };\n const normalizeStyle = (image, normalizeCss) => {\n const attrValue = image.getAttribute('style');\n const value = normalizeCss(attrValue !== null ? attrValue : '');\n if (value.length > 0) {\n image.setAttribute('style', value);\n image.setAttribute('data-mce-style', value);\n } else {\n image.removeAttribute('style');\n }\n };\n const setSize = (name, normalizeCss) => (image, name, value) => {\n const styles = image.style;\n if (styles[name]) {\n styles[name] = addPixelSuffix(value);\n normalizeStyle(image, normalizeCss);\n } else {\n updateAttrib(image, name, value);\n }\n };\n const getSize = (image, name) => {\n if (image.style[name]) {\n return removePixelSuffix(image.style[name]);\n } else {\n return getAttrib(image, name);\n }\n };\n const setHspace = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.marginLeft = pxValue;\n image.style.marginRight = pxValue;\n };\n const setVspace = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.marginTop = pxValue;\n image.style.marginBottom = pxValue;\n };\n const setBorder = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.borderWidth = pxValue;\n };\n const setBorderStyle = (image, value) => {\n image.style.borderStyle = value;\n };\n const getBorderStyle = image => {\n var _a;\n return (_a = image.style.borderStyle) !== null && _a !== void 0 ? _a : '';\n };\n const isFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE';\n const isImage = elm => elm.nodeName === 'IMG';\n const getIsDecorative = image => DOM.getAttrib(image, 'alt').length === 0 && DOM.getAttrib(image, 'role') === 'presentation';\n const getAlt = image => {\n if (getIsDecorative(image)) {\n return '';\n } else {\n return getAttrib(image, 'alt');\n }\n };\n const defaultData = () => ({\n src: '',\n alt: '',\n title: '',\n width: '',\n height: '',\n class: '',\n style: '',\n caption: false,\n hspace: '',\n vspace: '',\n border: '',\n borderStyle: '',\n isDecorative: false\n });\n const getStyleValue = (normalizeCss, data) => {\n var _a;\n const image = document.createElement('img');\n updateAttrib(image, 'style', data.style);\n if (getHspace(image) || data.hspace !== '') {\n setHspace(image, data.hspace);\n }\n if (getVspace(image) || data.vspace !== '') {\n setVspace(image, data.vspace);\n }\n if (getBorder(image) || data.border !== '') {\n setBorder(image, data.border);\n }\n if (getBorderStyle(image) || data.borderStyle !== '') {\n setBorderStyle(image, data.borderStyle);\n }\n return normalizeCss((_a = image.getAttribute('style')) !== null && _a !== void 0 ? _a : '');\n };\n const create = (normalizeCss, data) => {\n const image = document.createElement('img');\n write(normalizeCss, {\n ...data,\n caption: false\n }, image);\n setAlt(image, data.alt, data.isDecorative);\n if (data.caption) {\n const figure = DOM.create('figure', { class: 'image' });\n figure.appendChild(image);\n figure.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figure.contentEditable = 'false';\n return figure;\n } else {\n return image;\n }\n };\n const read = (normalizeCss, image) => ({\n src: getAttrib(image, 'src'),\n alt: getAlt(image),\n title: getAttrib(image, 'title'),\n width: getSize(image, 'width'),\n height: getSize(image, 'height'),\n class: getAttrib(image, 'class'),\n style: normalizeCss(getAttrib(image, 'style')),\n caption: hasCaption(image),\n hspace: getHspace(image),\n vspace: getVspace(image),\n border: getBorder(image),\n borderStyle: getBorderStyle(image),\n isDecorative: getIsDecorative(image)\n });\n const updateProp = (image, oldData, newData, name, set) => {\n if (newData[name] !== oldData[name]) {\n set(image, name, String(newData[name]));\n }\n };\n const setAlt = (image, alt, isDecorative) => {\n if (isDecorative) {\n DOM.setAttrib(image, 'role', 'presentation');\n const sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', '');\n } else {\n if (isNull(alt)) {\n const sugarImage = SugarElement.fromDom(image);\n remove(sugarImage, 'alt');\n } else {\n const sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', alt);\n }\n if (DOM.getAttrib(image, 'role') === 'presentation') {\n DOM.setAttrib(image, 'role', '');\n }\n }\n };\n const updateAlt = (image, oldData, newData) => {\n if (newData.alt !== oldData.alt || newData.isDecorative !== oldData.isDecorative) {\n setAlt(image, newData.alt, newData.isDecorative);\n }\n };\n const normalized = (set, normalizeCss) => (image, name, value) => {\n set(image, value);\n normalizeStyle(image, normalizeCss);\n };\n const write = (normalizeCss, newData, image) => {\n const oldData = read(normalizeCss, image);\n updateProp(image, oldData, newData, 'caption', (image, _name, _value) => toggleCaption(image));\n updateProp(image, oldData, newData, 'src', updateAttrib);\n updateProp(image, oldData, newData, 'title', updateAttrib);\n updateProp(image, oldData, newData, 'width', setSize('width', normalizeCss));\n updateProp(image, oldData, newData, 'height', setSize('height', normalizeCss));\n updateProp(image, oldData, newData, 'class', updateAttrib);\n updateProp(image, oldData, newData, 'style', normalized((image, value) => updateAttrib(image, 'style', value), normalizeCss));\n updateProp(image, oldData, newData, 'hspace', normalized(setHspace, normalizeCss));\n updateProp(image, oldData, newData, 'vspace', normalized(setVspace, normalizeCss));\n updateProp(image, oldData, newData, 'border', normalized(setBorder, normalizeCss));\n updateProp(image, oldData, newData, 'borderStyle', normalized(setBorderStyle, normalizeCss));\n updateAlt(image, oldData, newData);\n };\n\n const normalizeCss$1 = (editor, cssText) => {\n const css = editor.dom.styles.parse(cssText);\n const mergedCss = mergeMargins(css);\n const compressed = editor.dom.styles.parse(editor.dom.styles.serialize(mergedCss));\n return editor.dom.styles.serialize(compressed);\n };\n const getSelectedImage = editor => {\n const imgElm = editor.selection.getNode();\n const figureElm = editor.dom.getParent(imgElm, 'figure.image');\n if (figureElm) {\n return editor.dom.select('img', figureElm)[0];\n }\n if (imgElm && (imgElm.nodeName !== 'IMG' || isPlaceholderImage(imgElm))) {\n return null;\n }\n return imgElm;\n };\n const splitTextBlock = (editor, figure) => {\n var _a;\n const dom = editor.dom;\n const textBlockElements = filter(editor.schema.getTextBlockElements(), (_, parentElm) => !editor.schema.isValidChild(parentElm, 'figure'));\n const textBlock = dom.getParent(figure.parentNode, node => hasNonNullableKey(textBlockElements, node.nodeName), editor.getBody());\n if (textBlock) {\n return (_a = dom.split(textBlock, figure)) !== null && _a !== void 0 ? _a : figure;\n } else {\n return figure;\n }\n };\n const readImageDataFromSelection = editor => {\n const image = getSelectedImage(editor);\n return image ? read(css => normalizeCss$1(editor, css), image) : defaultData();\n };\n const insertImageAtCaret = (editor, data) => {\n const elm = create(css => normalizeCss$1(editor, css), data);\n editor.dom.setAttrib(elm, 'data-mce-id', '__mcenew');\n editor.focus();\n editor.selection.setContent(elm.outerHTML);\n const insertedElm = editor.dom.select('*[data-mce-id=\"__mcenew\"]')[0];\n editor.dom.setAttrib(insertedElm, 'data-mce-id', null);\n if (isFigure(insertedElm)) {\n const figure = splitTextBlock(editor, insertedElm);\n editor.selection.select(figure);\n } else {\n editor.selection.select(insertedElm);\n }\n };\n const syncSrcAttr = (editor, image) => {\n editor.dom.setAttrib(image, 'src', image.getAttribute('src'));\n };\n const deleteImage = (editor, image) => {\n if (image) {\n const elm = editor.dom.is(image.parentNode, 'figure.image') ? image.parentNode : image;\n editor.dom.remove(elm);\n editor.focus();\n editor.nodeChanged();\n if (editor.dom.isEmpty(editor.getBody())) {\n editor.setContent('');\n editor.selection.setCursorLocation();\n }\n }\n };\n const writeImageDataToSelection = (editor, data) => {\n const image = getSelectedImage(editor);\n if (image) {\n write(css => normalizeCss$1(editor, css), data, image);\n syncSrcAttr(editor, image);\n if (isFigure(image.parentNode)) {\n const figure = image.parentNode;\n splitTextBlock(editor, figure);\n editor.selection.select(image.parentNode);\n } else {\n editor.selection.select(image);\n waitLoadImage(editor, data, image);\n }\n }\n };\n const sanitizeImageData = (editor, data) => {\n const src = data.src;\n return {\n ...data,\n src: isSafeImageUrl(editor, src) ? src : ''\n };\n };\n const insertOrUpdateImage = (editor, partialData) => {\n const image = getSelectedImage(editor);\n if (image) {\n const selectedImageData = read(css => normalizeCss$1(editor, css), image);\n const data = {\n ...selectedImageData,\n ...partialData\n };\n const sanitizedData = sanitizeImageData(editor, data);\n if (data.src) {\n writeImageDataToSelection(editor, sanitizedData);\n } else {\n deleteImage(editor, image);\n }\n } else if (partialData.src) {\n insertImageAtCaret(editor, {\n ...defaultData(),\n ...partialData\n });\n }\n };\n\n const deep = (old, nu) => {\n const bothObjects = isPlainObject(old) && isPlainObject(nu);\n return bothObjects ? deepMerge(old, nu) : nu;\n };\n const baseMerge = merger => {\n return (...objects) => {\n if (objects.length === 0) {\n throw new Error(`Can't merge zero objects`);\n }\n const ret = {};\n for (let j = 0; j < objects.length; j++) {\n const curObject = objects[j];\n for (const key in curObject) {\n if (has(curObject, key)) {\n ret[key] = merger(ret[key], curObject[key]);\n }\n }\n }\n return ret;\n };\n };\n const deepMerge = baseMerge(deep);\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.ImageUploader');\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const getValue = item => isString(item.value) ? item.value : '';\n const getText = item => {\n if (isString(item.text)) {\n return item.text;\n } else if (isString(item.title)) {\n return item.title;\n } else {\n return '';\n }\n };\n const sanitizeList = (list, extractValue) => {\n const out = [];\n global.each(list, item => {\n const text = getText(item);\n if (item.menu !== undefined) {\n const items = sanitizeList(item.menu, extractValue);\n out.push({\n text,\n items\n });\n } else {\n const value = extractValue(item);\n out.push({\n text,\n value\n });\n }\n });\n return out;\n };\n const sanitizer = (extractor = getValue) => list => {\n if (list) {\n return Optional.from(list).map(list => sanitizeList(list, extractor));\n } else {\n return Optional.none();\n }\n };\n const sanitize = list => sanitizer(getValue)(list);\n const isGroup = item => has(item, 'items');\n const findEntryDelegate = (list, value) => findMap(list, item => {\n if (isGroup(item)) {\n return findEntryDelegate(item.items, value);\n } else if (item.value === value) {\n return Optional.some(item);\n } else {\n return Optional.none();\n }\n });\n const findEntry = (optList, value) => optList.bind(list => findEntryDelegate(list, value));\n const ListUtils = {\n sanitizer,\n sanitize,\n findEntry\n };\n\n const makeTab$2 = _info => ({\n title: 'Advanced',\n name: 'advanced',\n items: [{\n type: 'grid',\n columns: 2,\n items: [\n {\n type: 'input',\n label: 'Vertical space',\n name: 'vspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Horizontal space',\n name: 'hspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Border width',\n name: 'border',\n inputMode: 'numeric'\n },\n {\n type: 'listbox',\n name: 'borderstyle',\n label: 'Border style',\n items: [\n {\n text: 'Select...',\n value: ''\n },\n {\n text: 'Solid',\n value: 'solid'\n },\n {\n text: 'Dotted',\n value: 'dotted'\n },\n {\n text: 'Dashed',\n value: 'dashed'\n },\n {\n text: 'Double',\n value: 'double'\n },\n {\n text: 'Groove',\n value: 'groove'\n },\n {\n text: 'Ridge',\n value: 'ridge'\n },\n {\n text: 'Inset',\n value: 'inset'\n },\n {\n text: 'Outset',\n value: 'outset'\n },\n {\n text: 'None',\n value: 'none'\n },\n {\n text: 'Hidden',\n value: 'hidden'\n }\n ]\n }\n ]\n }]\n });\n const AdvTab = { makeTab: makeTab$2 };\n\n const collect = editor => {\n const urlListSanitizer = ListUtils.sanitizer(item => editor.convertURL(item.value || item.url || '', 'src'));\n const futureImageList = new Promise(completer => {\n createImageList(editor, imageList => {\n completer(urlListSanitizer(imageList).map(items => flatten([\n [{\n text: 'None',\n value: ''\n }],\n items\n ])));\n });\n });\n const classList = ListUtils.sanitize(getClassList(editor));\n const hasAdvTab$1 = hasAdvTab(editor);\n const hasUploadTab$1 = hasUploadTab(editor);\n const hasUploadUrl$1 = hasUploadUrl(editor);\n const hasUploadHandler$1 = hasUploadHandler(editor);\n const image = readImageDataFromSelection(editor);\n const hasDescription$1 = hasDescription(editor);\n const hasImageTitle$1 = hasImageTitle(editor);\n const hasDimensions$1 = hasDimensions(editor);\n const hasImageCaption$1 = hasImageCaption(editor);\n const hasAccessibilityOptions = showAccessibilityOptions(editor);\n const automaticUploads = isAutomaticUploadsEnabled(editor);\n const prependURL = Optional.some(getPrependUrl(editor)).filter(preUrl => isString(preUrl) && preUrl.length > 0);\n return futureImageList.then(imageList => ({\n image,\n imageList,\n classList,\n hasAdvTab: hasAdvTab$1,\n hasUploadTab: hasUploadTab$1,\n hasUploadUrl: hasUploadUrl$1,\n hasUploadHandler: hasUploadHandler$1,\n hasDescription: hasDescription$1,\n hasImageTitle: hasImageTitle$1,\n hasDimensions: hasDimensions$1,\n hasImageCaption: hasImageCaption$1,\n prependURL,\n hasAccessibilityOptions,\n automaticUploads\n }));\n };\n\n const makeItems = info => {\n const imageUrl = {\n name: 'src',\n type: 'urlinput',\n filetype: 'image',\n label: 'Source'\n };\n const imageList = info.imageList.map(items => ({\n name: 'images',\n type: 'listbox',\n label: 'Image list',\n items\n }));\n const imageDescription = {\n name: 'alt',\n type: 'input',\n label: 'Alternative description',\n enabled: !(info.hasAccessibilityOptions && info.image.isDecorative)\n };\n const imageTitle = {\n name: 'title',\n type: 'input',\n label: 'Image title'\n };\n const imageDimensions = {\n name: 'dimensions',\n type: 'sizeinput'\n };\n const isDecorative = {\n type: 'label',\n label: 'Accessibility',\n items: [{\n name: 'isDecorative',\n type: 'checkbox',\n label: 'Image is decorative'\n }]\n };\n const classList = info.classList.map(items => ({\n name: 'classes',\n type: 'listbox',\n label: 'Class',\n items\n }));\n const caption = {\n type: 'label',\n label: 'Caption',\n items: [{\n type: 'checkbox',\n name: 'caption',\n label: 'Show caption'\n }]\n };\n const getDialogContainerType = useColumns => useColumns ? {\n type: 'grid',\n columns: 2\n } : { type: 'panel' };\n return flatten([\n [imageUrl],\n imageList.toArray(),\n info.hasAccessibilityOptions && info.hasDescription ? [isDecorative] : [],\n info.hasDescription ? [imageDescription] : [],\n info.hasImageTitle ? [imageTitle] : [],\n info.hasDimensions ? [imageDimensions] : [],\n [{\n ...getDialogContainerType(info.classList.isSome() && info.hasImageCaption),\n items: flatten([\n classList.toArray(),\n info.hasImageCaption ? [caption] : []\n ])\n }]\n ]);\n };\n const makeTab$1 = info => ({\n title: 'General',\n name: 'general',\n items: makeItems(info)\n });\n const MainTab = {\n makeTab: makeTab$1,\n makeItems\n };\n\n const makeTab = _info => {\n const items = [{\n type: 'dropzone',\n name: 'fileinput'\n }];\n return {\n title: 'Upload',\n name: 'upload',\n items\n };\n };\n const UploadTab = { makeTab };\n\n const createState = info => ({\n prevImage: ListUtils.findEntry(info.imageList, info.image.src),\n prevAlt: info.image.alt,\n open: true\n });\n const fromImageData = image => ({\n src: {\n value: image.src,\n meta: {}\n },\n images: image.src,\n alt: image.alt,\n title: image.title,\n dimensions: {\n width: image.width,\n height: image.height\n },\n classes: image.class,\n caption: image.caption,\n style: image.style,\n vspace: image.vspace,\n border: image.border,\n hspace: image.hspace,\n borderstyle: image.borderStyle,\n fileinput: [],\n isDecorative: image.isDecorative\n });\n const toImageData = (data, removeEmptyAlt) => ({\n src: data.src.value,\n alt: (data.alt === null || data.alt.length === 0) && removeEmptyAlt ? null : data.alt,\n title: data.title,\n width: data.dimensions.width,\n height: data.dimensions.height,\n class: data.classes,\n style: data.style,\n caption: data.caption,\n hspace: data.hspace,\n vspace: data.vspace,\n border: data.border,\n borderStyle: data.borderstyle,\n isDecorative: data.isDecorative\n });\n const addPrependUrl2 = (info, srcURL) => {\n if (!/^(?:[a-zA-Z]+:)?\\/\\//.test(srcURL)) {\n return info.prependURL.bind(prependUrl => {\n if (srcURL.substring(0, prependUrl.length) !== prependUrl) {\n return Optional.some(prependUrl + srcURL);\n }\n return Optional.none();\n });\n }\n return Optional.none();\n };\n const addPrependUrl = (info, api) => {\n const data = api.getData();\n addPrependUrl2(info, data.src.value).each(srcURL => {\n api.setData({\n src: {\n value: srcURL,\n meta: data.src.meta\n }\n });\n });\n };\n const formFillFromMeta2 = (info, data, meta) => {\n if (info.hasDescription && isString(meta.alt)) {\n data.alt = meta.alt;\n }\n if (info.hasAccessibilityOptions) {\n data.isDecorative = meta.isDecorative || data.isDecorative || false;\n }\n if (info.hasImageTitle && isString(meta.title)) {\n data.title = meta.title;\n }\n if (info.hasDimensions) {\n if (isString(meta.width)) {\n data.dimensions.width = meta.width;\n }\n if (isString(meta.height)) {\n data.dimensions.height = meta.height;\n }\n }\n if (isString(meta.class)) {\n ListUtils.findEntry(info.classList, meta.class).each(entry => {\n data.classes = entry.value;\n });\n }\n if (info.hasImageCaption) {\n if (isBoolean(meta.caption)) {\n data.caption = meta.caption;\n }\n }\n if (info.hasAdvTab) {\n if (isString(meta.style)) {\n data.style = meta.style;\n }\n if (isString(meta.vspace)) {\n data.vspace = meta.vspace;\n }\n if (isString(meta.border)) {\n data.border = meta.border;\n }\n if (isString(meta.hspace)) {\n data.hspace = meta.hspace;\n }\n if (isString(meta.borderstyle)) {\n data.borderstyle = meta.borderstyle;\n }\n }\n };\n const formFillFromMeta = (info, api) => {\n const data = api.getData();\n const meta = data.src.meta;\n if (meta !== undefined) {\n const newData = deepMerge({}, data);\n formFillFromMeta2(info, newData, meta);\n api.setData(newData);\n }\n };\n const calculateImageSize = (helpers, info, state, api) => {\n const data = api.getData();\n const url = data.src.value;\n const meta = data.src.meta || {};\n if (!meta.width && !meta.height && info.hasDimensions) {\n if (isNotEmpty(url)) {\n helpers.imageSize(url).then(size => {\n if (state.open) {\n api.setData({ dimensions: size });\n }\n }).catch(e => console.error(e));\n } else {\n api.setData({\n dimensions: {\n width: '',\n height: ''\n }\n });\n }\n }\n };\n const updateImagesDropdown = (info, state, api) => {\n const data = api.getData();\n const image = ListUtils.findEntry(info.imageList, data.src.value);\n state.prevImage = image;\n api.setData({ images: image.map(entry => entry.value).getOr('') });\n };\n const changeSrc = (helpers, info, state, api) => {\n addPrependUrl(info, api);\n formFillFromMeta(info, api);\n calculateImageSize(helpers, info, state, api);\n updateImagesDropdown(info, state, api);\n };\n const changeImages = (helpers, info, state, api) => {\n const data = api.getData();\n const image = ListUtils.findEntry(info.imageList, data.images);\n image.each(img => {\n const updateAlt = data.alt === '' || state.prevImage.map(image => image.text === data.alt).getOr(false);\n if (updateAlt) {\n if (img.value === '') {\n api.setData({\n src: img,\n alt: state.prevAlt\n });\n } else {\n api.setData({\n src: img,\n alt: img.text\n });\n }\n } else {\n api.setData({ src: img });\n }\n });\n state.prevImage = image;\n changeSrc(helpers, info, state, api);\n };\n const changeFileInput = (helpers, info, state, api) => {\n const data = api.getData();\n api.block('Uploading image');\n head(data.fileinput).fold(() => {\n api.unblock();\n }, file => {\n const blobUri = URL.createObjectURL(file);\n const finalize = () => {\n api.unblock();\n URL.revokeObjectURL(blobUri);\n };\n const updateSrcAndSwitchTab = url => {\n api.setData({\n src: {\n value: url,\n meta: {}\n }\n });\n api.showTab('general');\n changeSrc(helpers, info, state, api);\n };\n blobToDataUri(file).then(dataUrl => {\n const blobInfo = helpers.createBlobCache(file, blobUri, dataUrl);\n if (info.automaticUploads) {\n helpers.uploadImage(blobInfo).then(result => {\n updateSrcAndSwitchTab(result.url);\n finalize();\n }).catch(err => {\n finalize();\n helpers.alertErr(err);\n });\n } else {\n helpers.addToBlobCache(blobInfo);\n updateSrcAndSwitchTab(blobInfo.blobUri());\n api.unblock();\n }\n });\n });\n };\n const changeHandler = (helpers, info, state) => (api, evt) => {\n if (evt.name === 'src') {\n changeSrc(helpers, info, state, api);\n } else if (evt.name === 'images') {\n changeImages(helpers, info, state, api);\n } else if (evt.name === 'alt') {\n state.prevAlt = api.getData().alt;\n } else if (evt.name === 'fileinput') {\n changeFileInput(helpers, info, state, api);\n } else if (evt.name === 'isDecorative') {\n api.setEnabled('alt', !api.getData().isDecorative);\n }\n };\n const closeHandler = state => () => {\n state.open = false;\n };\n const makeDialogBody = info => {\n if (info.hasAdvTab || info.hasUploadUrl || info.hasUploadHandler) {\n const tabPanel = {\n type: 'tabpanel',\n tabs: flatten([\n [MainTab.makeTab(info)],\n info.hasAdvTab ? [AdvTab.makeTab(info)] : [],\n info.hasUploadTab && (info.hasUploadUrl || info.hasUploadHandler) ? [UploadTab.makeTab(info)] : []\n ])\n };\n return tabPanel;\n } else {\n const panel = {\n type: 'panel',\n items: MainTab.makeItems(info)\n };\n return panel;\n }\n };\n const submitHandler = (editor, info, helpers) => api => {\n const data = deepMerge(fromImageData(info.image), api.getData());\n const finalData = {\n ...data,\n style: getStyleValue(helpers.normalizeCss, toImageData(data, false))\n };\n editor.execCommand('mceUpdateImage', false, toImageData(finalData, info.hasAccessibilityOptions));\n editor.editorUpload.uploadImagesAuto();\n api.close();\n };\n const imageSize = editor => url => {\n if (!isSafeImageUrl(editor, url)) {\n return Promise.resolve({\n width: '',\n height: ''\n });\n } else {\n return getImageSize(editor.documentBaseURI.toAbsolute(url)).then(dimensions => ({\n width: String(dimensions.width),\n height: String(dimensions.height)\n }));\n }\n };\n const createBlobCache = editor => (file, blobUri, dataUrl) => {\n var _a;\n return editor.editorUpload.blobCache.create({\n blob: file,\n blobUri,\n name: (_a = file.name) === null || _a === void 0 ? void 0 : _a.replace(/\\.[^\\.]+$/, ''),\n filename: file.name,\n base64: dataUrl.split(',')[1]\n });\n };\n const addToBlobCache = editor => blobInfo => {\n editor.editorUpload.blobCache.add(blobInfo);\n };\n const alertErr = editor => message => {\n editor.windowManager.alert(message);\n };\n const normalizeCss = editor => cssText => normalizeCss$1(editor, cssText);\n const parseStyle = editor => cssText => editor.dom.parseStyle(cssText);\n const serializeStyle = editor => (stylesArg, name) => editor.dom.serializeStyle(stylesArg, name);\n const uploadImage = editor => blobInfo => global$1(editor).upload([blobInfo], false).then(results => {\n var _a;\n if (results.length === 0) {\n return Promise.reject('Failed to upload image');\n } else if (results[0].status === false) {\n return Promise.reject((_a = results[0].error) === null || _a === void 0 ? void 0 : _a.message);\n } else {\n return results[0];\n }\n });\n const Dialog = editor => {\n const helpers = {\n imageSize: imageSize(editor),\n addToBlobCache: addToBlobCache(editor),\n createBlobCache: createBlobCache(editor),\n alertErr: alertErr(editor),\n normalizeCss: normalizeCss(editor),\n parseStyle: parseStyle(editor),\n serializeStyle: serializeStyle(editor),\n uploadImage: uploadImage(editor)\n };\n const open = () => {\n collect(editor).then(info => {\n const state = createState(info);\n return {\n title: 'Insert/Edit Image',\n size: 'normal',\n body: makeDialogBody(info),\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n initialData: fromImageData(info.image),\n onSubmit: submitHandler(editor, info, helpers),\n onChange: changeHandler(helpers, info, state),\n onClose: closeHandler(state)\n };\n }).then(editor.windowManager.open);\n };\n return { open };\n };\n\n const register$1 = editor => {\n editor.addCommand('mceImage', Dialog(editor).open);\n editor.addCommand('mceUpdateImage', (_ui, data) => {\n editor.undoManager.transact(() => insertOrUpdateImage(editor, data));\n });\n };\n\n const hasImageClass = node => {\n const className = node.attr('class');\n return isNonNullable(className) && /\\bimage\\b/.test(className);\n };\n const toggleContentEditableState = state => nodes => {\n let i = nodes.length;\n const toggleContentEditable = node => {\n node.attr('contenteditable', state ? 'true' : null);\n };\n while (i--) {\n const node = nodes[i];\n if (hasImageClass(node)) {\n node.attr('contenteditable', state ? 'false' : null);\n global.each(node.getAll('figcaption'), toggleContentEditable);\n }\n }\n };\n const setup = editor => {\n editor.on('PreInit', () => {\n editor.parser.addNodeFilter('figure', toggleContentEditableState(true));\n editor.serializer.addNodeFilter('figure', toggleContentEditableState(false));\n });\n };\n\n const onSetupEditable = editor => api => {\n const nodeChanged = () => {\n api.setEnabled(editor.selection.isEditable());\n };\n editor.on('NodeChange', nodeChanged);\n nodeChanged();\n return () => {\n editor.off('NodeChange', nodeChanged);\n };\n };\n const register = editor => {\n editor.ui.registry.addToggleButton('image', {\n icon: 'image',\n tooltip: 'Insert/edit image',\n onAction: Dialog(editor).open,\n onSetup: buttonApi => {\n buttonApi.setActive(isNonNullable(getSelectedImage(editor)));\n const unbindSelectorChanged = editor.selection.selectorChangedWithUnbind('img:not([data-mce-object]):not([data-mce-placeholder]),figure.image', buttonApi.setActive).unbind;\n const unbindEditable = onSetupEditable(editor)(buttonApi);\n return () => {\n unbindSelectorChanged();\n unbindEditable();\n };\n }\n });\n editor.ui.registry.addMenuItem('image', {\n icon: 'image',\n text: 'Image...',\n onAction: Dialog(editor).open,\n onSetup: onSetupEditable(editor)\n });\n editor.ui.registry.addContextMenu('image', { update: element => editor.selection.isEditable() && (isFigure(element) || isImage(element) && !isPlaceholderImage(element)) ? ['image'] : [] });\n };\n\n var Plugin = () => {\n global$4.add('image', editor => {\n register$2(editor);\n setup(editor);\n register(editor);\n register$1(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$4","tinymce","util","Tools","resolve","getPrototypeOf","Object","hasProto","v","constructor","predicate","_a","prototype","name","isType","type","value","x","t","Array","isArray","String","o","proto","isPrototypeOf","typeOf","isSimpleType","isString","isObject","isPlainObject","is","isNull","a","isBoolean","isNonNullable","isNullable","isFunction","isNumber","noop","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","keys","hasOwnProperty","internalFilter","obj","pred","onTrue","onFalse","f","props","k","len","length","i","has","key","call","nativePush","push","flatten","xs","r","apply","head","get","window","Function","set","element","dom","console","error","setAttribute","rawSet","fromDom","node","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","fromTag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","global$3","global$2","isNotEmpty","s","option","editor","options","register$2","registerOption","register","processor","default","valid","isArrayOf","hasDimensions","hasAdvTab","hasUploadTab","getPrependUrl","getClassList","hasDescription","hasImageTitle","hasImageCaption","getImageList","showAccessibilityOptions","isAutomaticUploadsEnabled","parseIntAndGetMax","val1","val2","Math","max","parseInt","removePixelSuffix","replace","addPixelSuffix","test","isPlaceholderImage","imgElm","nodeName","hasAttribute","isSafeImageUrl","src","getOption","isDomSafe","allow_html_data_urls","allow_script_urls","allow_svg_data_urls","DOM","getHspace","image","style","marginLeft","marginRight","getVspace","marginTop","marginBottom","getBorder","borderWidth","getAttrib","getAttribute","hasCaption","parentNode","updateAttrib","removeAttribute","toggleCaption","figureElm","insertAfter","remove","removeFigure","create","class","appendChild","contentEditable","wrapInFigure","normalizeStyle","normalizeCss","attrValue","setSize","styles","getSize","setHspace","pxValue","setVspace","setBorder","setBorderStyle","borderStyle","getBorderStyle","isFigure","elm","getIsDecorative","getAlt","getStyleValue","data","hspace","vspace","border","read","alt","title","width","height","caption","isDecorative","updateProp","oldData","newData","setAlt","setAttrib","sugarImage","normalized","write","_name","_value","updateAlt","normalizeCss$1","cssText","mergedCss","css","margin","splitMargin","split","mergeMargins","parse","compressed","serialize","getSelectedImage","selection","getNode","getParent","select","splitTextBlock","figure","textBlockElements","schema","getTextBlockElements","_","parentElm","isValidChild","textBlock","hasNonNullableKey","undefined","getBody","insertImageAtCaret","focus","setContent","outerHTML","insertedElm","writeImageDataToSelection","syncSrcAttr","selectImage","onload","onerror","nodeChanged","setAttribs","clientWidth","clientHeight","waitLoadImage","insertOrUpdateImage","partialData","sanitizedData","sanitizeImageData","isEmpty","setCursorLocation","deleteImage","deepMerge","merger","old","nu","objects","ret","j","curObject","global$1","global","getValue","item","sanitizeList","list","extractValue","out","getText","menu","items","sanitizer","extractor","findEntryDelegate","arr","findMap","isGroup","ListUtils","optList","AdvTab","_info","columns","label","inputMode","collect","urlListSanitizer","convertURL","url","futureImageList","Promise","completer","callback","imageList","fetch","then","res","ok","json","createImageList","classList","hasAdvTab$1","hasUploadTab$1","hasUploadUrl$1","hasUploadUrl","hasUploadHandler$1","hasUploadHandler","readImageDataFromSelection","hasDescription$1","hasImageTitle$1","hasDimensions$1","hasImageCaption$1","hasAccessibilityOptions","automaticUploads","prependURL","preUrl","makeItems","info","imageDescription","enabled","filetype","useColumns","MainTab","UploadTab","fromImageData","meta","images","dimensions","classes","borderstyle","fileinput","toImageData","removeEmptyAlt","addPrependUrl","api","getData","srcURL","prependUrl","substring","addPrependUrl2","setData","formFillFromMeta","entry","formFillFromMeta2","changeSrc","helpers","state","imageSize","size","open","catch","e","calculateImageSize","prevImage","updateImagesDropdown","changeFileInput","block","unblock","file","blobUri","URL","createObjectURL","finalize","revokeObjectURL","updateSrcAndSwitchTab","showTab","blob","reject","reader","FileReader","result","readAsDataURL","dataUrl","blobInfo","createBlobCache","uploadImage","err","alertErr","addToBlobCache","changeHandler","evt","img","prevAlt","changeImages","setEnabled","closeHandler","makeDialogBody","tabs","submitHandler","finalData","execCommand","editorUpload","uploadImagesAuto","close","done","removeChild","visibility","position","bottom","left","body","getImageSize","documentBaseURI","toAbsolute","blobCache","filename","base64","add","windowManager","alert","parseStyle","serializeStyle","stylesArg","upload","results","status","Dialog","createState","buttons","primary","initialData","onSubmit","onChange","onClose","hasImageClass","className","attr","toggleContentEditableState","nodes","toggleContentEditable","getAll","onSetupEditable","isEditable","on","off","parser","addNodeFilter","serializer","setup","ui","registry","addToggleButton","icon","tooltip","onAction","onSetup","buttonApi","setActive","unbindSelectorChanged","selectorChangedWithUnbind","unbind","unbindEditable","addMenuItem","addContextMenu","update","addCommand","_ui","undoManager","transact","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72612.3b45c490b12aaee0d196.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72612.3b45c490b12aaee0d196.min.js
new file mode 100644
index 000000000..2fdd61f91
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72612.3b45c490b12aaee0d196.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72612],{72612:function(){!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(r="string",t=>(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(r=o=t,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":e;var r,o,a,s})(t)===r);var r;const o=(a=void 0,t=>a===t);var a,s=tinymce.util.Tools.resolve("tinymce.util.Delay"),n=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),i=tinymce.util.Tools.resolve("tinymce.util.Tools");const u=t=>{const e=/^(\d+)([ms]?)$/.exec(t);return(e&&e[2]?{s:1e3,m:6e4}[e[2]]:1)*parseInt(t,10)},l=t=>e=>e.options.get(t),c=l("autosave_ask_before_unload"),m=l("autosave_restore_when_empty"),d=l("autosave_interval"),v=l("autosave_retention"),f=t=>{const e=document.location;return t.options.get("autosave_prefix").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},p=(t,e)=>{if(o(e))return t.dom.isEmpty(t.getBody());{const r=i.trim(e);if(""===r)return!0;{const e=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(e)}}},g=t=>{var e;const r=parseInt(null!==(e=n.getItem(f(t)+"time"))&&void 0!==e?e:"0",10)||0;return!((new Date).getTime()-r>v(t))||(y(t,!1),!1)},y=(t,e)=>{const r=f(t);n.removeItem(r+"draft"),n.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},h=t=>{const e=f(t);!p(t)&&t.isDirty()&&(n.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),n.setItem(e+"time",(new Date).getTime().toString()),(t=>{t.dispatch("StoreDraft")})(t))},D=t=>{var e;const r=f(t);g(t)&&(t.setContent(null!==(e=n.getItem(r+"draft"))&&void 0!==e?e:"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var _=tinymce.util.Tools.resolve("tinymce.EditorManager");const b=t=>e=>{e.setEnabled(g(t));const r=()=>e.setEnabled(g(t));return t.on("StoreDraft RestoreDraft RemoveDraft",r),()=>t.off("StoreDraft RestoreDraft RemoveDraft",r)},w=t=>{(t=>{const e=d(t);s.setEditorInterval(t,(()=>{h(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{D(t),y(t)})),t.focus()})(t)};t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:b(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:b(t)})};t.add("autosave",(t=>((t=>{const r=t.options.register,o=t=>{const r=e(t);return r?{value:u(t),valid:r}:{valid:!1,message:"Must be a string."}};r("autosave_ask_before_unload",{processor:"boolean",default:!0}),r("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),r("autosave_restore_when_empty",{processor:"boolean",default:!1}),r("autosave_interval",{processor:o,default:"30s"}),r("autosave_retention",{processor:o,default:"20m"})})(t),(t=>{t.editorManager.on("BeforeUnload",(t=>{let e;i.each(_.get(),(t=>{t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&c(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))})(t),w(t),t.on("init",(()=>{m(t)&&t.dom.isEmpty(t.getBody())&&D(t)})),(t=>({hasDraft:()=>g(t),storeDraft:()=>h(t),restoreDraft:()=>D(t),removeDraft:e=>y(t,e),isEmpty:e=>p(t,e)}))(t))))}()}}]);
+//# sourceMappingURL=72612.3b45c490b12aaee0d196.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72612.3b45c490b12aaee0d196.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72612.3b45c490b12aaee0d196.min.js.map
new file mode 100644
index 000000000..563717167
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72612.3b45c490b12aaee0d196.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/72612.3b45c490b12aaee0d196.min.js","mappings":"qHAIA,WACI,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAsBMC,GAFSC,EAES,SAFDC,GAZRC,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,IAAuCG,EAdlCC,EAcsBL,GAdnBM,EAcsBC,QAZZC,UAYwCC,cAAcL,KAThD,QAAxBM,EAAKL,EAAEC,mBAAgC,IAAPI,OAAgB,EAASA,EAAGC,QAAUL,EAAYK,MAUpF,SAEAV,EAHwC,IAACG,EAdlCC,EAAGC,EACfI,CAiBJ,EAE8BE,CAAOb,KAAWD,GAAnCA,MAGf,MAAMe,GAFKZ,OAEYa,EAFPC,GAAKd,IAAMc,GAAhBd,MAIPe,EAAWvB,QAAQC,KAAKC,MAAMC,QAAQ,sBAEtCqB,EAAWxB,QAAQC,KAAKC,MAAMC,QAAQ,6BAEtCsB,EAAWzB,QAAQC,KAAKC,MAAMC,Q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ACNH,KAAM,gBACNT,WACAU,QAASpB,EAAiB/C,IAC1B,EAIFnC,EAASyG,IAAI,YAAYtE,IAnKRA,KACjB,MAAMuE,EAAiBvE,EAAOC,QAAQoD,SAChCmB,EAAgBpG,IACpB,MAAMqG,EAAQvG,EAASE,GACvB,OAAIqG,EACK,CACLrG,MAAOoB,EAAMpB,GACbqG,SAGK,CACLA,OAAO,EACPC,QAAS,oBAEb,EAEFH,EAAe,6BAA8B,CAC3CI,UAAW,UACXC,SAAS,IAEXL,EAAe,kBAAmB,CAChCI,UAAW,SACXC,QAAS,+CAEXL,EAAe,8BAA+B,CAC5CI,UAAW,UACXC,SAAS,IAEXL,EAAe,oBAAqB,CAClCI,UAAWH,EACXI,QAAS,QAEXL,EAAe,qBAAsB,CACnCI,UAAWH,EACXI,QAAS,OACT,EAiIAC,CAAW7E,GA7CDA,KACZA,EAAO8E,cAAc3B,GAAG,gBAAgB4B,IACtC,IAAIC,EACJzF,EAAS0F,KAAKnC,EAAO5C,OAAOF,IACtBA,EAAOkF,QAAQC,UACjBnF,EAAOkF,QAAQC,SAAShD,cAErB6C,GAAOhF,EAAOoC,WAAajC,EAAsBH,KACpDgF,EAAMhF,EAAOoF,UAAU,oEACzB,IAEEJ,IACFD,EAAEM,iBACFN,EAAEO,YAAcN,EAClB,GACA,EA+BAO,CAAMvF,GACNqD,EAASrD,GACTA,EAAOmD,GAAG,QAAQ,KACZ/C,EAAuBJ,IAAWA,EAAOiB,IAAIF,QAAQf,EAAOkB,YAC9DyB,EAAa3C,EACf,IA7DMA,KAAU,CACpBwB,SAAU,IAAMA,EAASxB,GACzBmC,WAAY,IAAMA,EAAWnC,GAC7B2C,aAAc,IAAMA,EAAa3C,GACjC6B,YAAaC,GAAQD,EAAY7B,EAAQ8B,GACzCf,QAASC,GAAQD,EAAQf,EAAQgB,KA0DxBd,CAAIF,KAMlB,CApOD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const eq = t => a => t === a;\n const isString = isType('string');\n const isUndefined = eq(undefined);\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.LocalStorage');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const fireRestoreDraft = editor => editor.dispatch('RestoreDraft');\n const fireStoreDraft = editor => editor.dispatch('StoreDraft');\n const fireRemoveDraft = editor => editor.dispatch('RemoveDraft');\n\n const parse = timeString => {\n const multiples = {\n s: 1000,\n m: 60000\n };\n const parsedTime = /^(\\d+)([ms]?)$/.exec(timeString);\n return (parsedTime && parsedTime[2] ? multiples[parsedTime[2]] : 1) * parseInt(timeString, 10);\n };\n\n const option = name => editor => editor.options.get(name);\n const register$1 = editor => {\n const registerOption = editor.options.register;\n const timeProcessor = value => {\n const valid = isString(value);\n if (valid) {\n return {\n value: parse(value),\n valid\n };\n } else {\n return {\n valid: false,\n message: 'Must be a string.'\n };\n }\n };\n registerOption('autosave_ask_before_unload', {\n processor: 'boolean',\n default: true\n });\n registerOption('autosave_prefix', {\n processor: 'string',\n default: 'tinymce-autosave-{path}{query}{hash}-{id}-'\n });\n registerOption('autosave_restore_when_empty', {\n processor: 'boolean',\n default: false\n });\n registerOption('autosave_interval', {\n processor: timeProcessor,\n default: '30s'\n });\n registerOption('autosave_retention', {\n processor: timeProcessor,\n default: '20m'\n });\n };\n const shouldAskBeforeUnload = option('autosave_ask_before_unload');\n const shouldRestoreWhenEmpty = option('autosave_restore_when_empty');\n const getAutoSaveInterval = option('autosave_interval');\n const getAutoSaveRetention = option('autosave_retention');\n const getAutoSavePrefix = editor => {\n const location = document.location;\n return editor.options.get('autosave_prefix').replace(/{path}/g, location.pathname).replace(/{query}/g, location.search).replace(/{hash}/g, location.hash).replace(/{id}/g, editor.id);\n };\n\n const isEmpty = (editor, html) => {\n if (isUndefined(html)) {\n return editor.dom.isEmpty(editor.getBody());\n } else {\n const trimmedHtml = global$1.trim(html);\n if (trimmedHtml === '') {\n return true;\n } else {\n const fragment = new DOMParser().parseFromString(trimmedHtml, 'text/html');\n return editor.dom.isEmpty(fragment);\n }\n }\n };\n const hasDraft = editor => {\n var _a;\n const time = parseInt((_a = global$2.getItem(getAutoSavePrefix(editor) + 'time')) !== null && _a !== void 0 ? _a : '0', 10) || 0;\n if (new Date().getTime() - time > getAutoSaveRetention(editor)) {\n removeDraft(editor, false);\n return false;\n }\n return true;\n };\n const removeDraft = (editor, fire) => {\n const prefix = getAutoSavePrefix(editor);\n global$2.removeItem(prefix + 'draft');\n global$2.removeItem(prefix + 'time');\n if (fire !== false) {\n fireRemoveDraft(editor);\n }\n };\n const storeDraft = editor => {\n const prefix = getAutoSavePrefix(editor);\n if (!isEmpty(editor) && editor.isDirty()) {\n global$2.setItem(prefix + 'draft', editor.getContent({\n format: 'raw',\n no_events: true\n }));\n global$2.setItem(prefix + 'time', new Date().getTime().toString());\n fireStoreDraft(editor);\n }\n };\n const restoreDraft = editor => {\n var _a;\n const prefix = getAutoSavePrefix(editor);\n if (hasDraft(editor)) {\n editor.setContent((_a = global$2.getItem(prefix + 'draft')) !== null && _a !== void 0 ? _a : '', { format: 'raw' });\n fireRestoreDraft(editor);\n }\n };\n const startStoreDraft = editor => {\n const interval = getAutoSaveInterval(editor);\n global$3.setEditorInterval(editor, () => {\n storeDraft(editor);\n }, interval);\n };\n const restoreLastDraft = editor => {\n editor.undoManager.transact(() => {\n restoreDraft(editor);\n removeDraft(editor);\n });\n editor.focus();\n };\n\n const get = editor => ({\n hasDraft: () => hasDraft(editor),\n storeDraft: () => storeDraft(editor),\n restoreDraft: () => restoreDraft(editor),\n removeDraft: fire => removeDraft(editor, fire),\n isEmpty: html => isEmpty(editor, html)\n });\n\n var global = tinymce.util.Tools.resolve('tinymce.EditorManager');\n\n const setup = editor => {\n editor.editorManager.on('BeforeUnload', e => {\n let msg;\n global$1.each(global.get(), editor => {\n if (editor.plugins.autosave) {\n editor.plugins.autosave.storeDraft();\n }\n if (!msg && editor.isDirty() && shouldAskBeforeUnload(editor)) {\n msg = editor.translate('You have unsaved changes are you sure you want to navigate away?');\n }\n });\n if (msg) {\n e.preventDefault();\n e.returnValue = msg;\n }\n });\n };\n\n const makeSetupHandler = editor => api => {\n api.setEnabled(hasDraft(editor));\n const editorEventCallback = () => api.setEnabled(hasDraft(editor));\n editor.on('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n return () => editor.off('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n };\n const register = editor => {\n startStoreDraft(editor);\n const onAction = () => {\n restoreLastDraft(editor);\n };\n editor.ui.registry.addButton('restoredraft', {\n tooltip: 'Restore last draft',\n icon: 'restore-draft',\n onAction,\n onSetup: makeSetupHandler(editor)\n });\n editor.ui.registry.addMenuItem('restoredraft', {\n text: 'Restore last draft',\n icon: 'restore-draft',\n onAction,\n onSetup: makeSetupHandler(editor)\n });\n };\n\n var Plugin = () => {\n global$4.add('autosave', editor => {\n register$1(editor);\n setup(editor);\n register(editor);\n editor.on('init', () => {\n if (shouldRestoreWhenEmpty(editor) && editor.dom.isEmpty(editor.getBody())) {\n restoreDraft(editor);\n }\n });\n return get(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$4","tinymce","util","Tools","resolve","isString","type","value","x","t","Array","isArray","o","v","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isUndefined","undefined","a","global$3","global$2","global$1","parse","timeString","parsedTime","exec","s","m","parseInt","option","editor","options","get","shouldAskBeforeUnload","shouldRestoreWhenEmpty","getAutoSaveInterval","getAutoSaveRetention","getAutoSavePrefix","location","document","replace","pathname","search","hash","id","isEmpty","html","dom","getBody","trimmedHtml","trim","fragment","DOMParser","parseFromString","hasDraft","time","getItem","Date","getTime","removeDraft","fire","prefix","removeItem","dispatch","fireRemoveDraft","storeDraft","isDirty","setItem","getContent","format","no_events","toString","fireStoreDraft","restoreDraft","setContent","fireRestoreDraft","global","makeSetupHandler","api","setEnabled","editorEventCallback","on","off","register","interval","setEditorInterval","startStoreDraft","onAction","undoManager","transact","focus","restoreLastDraft","ui","registry","addButton","tooltip","icon","onSetup","addMenuItem","text","add","registerOption","timeProcessor","valid","message","processor","default","register$1","editorManager","e","msg","each","plugins","autosave","translate","preventDefault","returnValue","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72612.77fe80c53a1a71c7ab1e.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72612.77fe80c53a1a71c7ab1e.min.js
deleted file mode 100644
index c8133019d..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/72612.77fe80c53a1a71c7ab1e.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72612],{72612:function(){!function(){"use strict";var t,e=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=(t=void 0,function(e){return t===e}),n=tinymce.util.Tools.resolve("tinymce.util.Delay"),o=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(t,e){var r=t||e,n=/^(\d+)([ms]?)$/.exec(""+r);return(n[2]?{s:1e3,m:6e4}[n[2]]:1)*parseInt(r,10)},u=function(t){var e=document.location;return t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},s=function(t,e){if(r(e))return t.dom.isEmpty(t.getBody());var n=a.trim(e);if(""===n)return!0;var o=(new DOMParser).parseFromString(n,"text/html");return t.dom.isEmpty(o)},f=function(t){var e=parseInt(o.getItem(u(t)+"time"),10)||0;return!((new Date).getTime()-e>function(t){return i(t.getParam("autosave_retention"),"20m")}(t))||(c(t,!1),!1)},c=function(t,e){var r=u(t);o.removeItem(r+"draft"),o.removeItem(r+"time"),!1!==e&&function(t){t.fire("RemoveDraft")}(t)},m=function(t){var e=u(t);!s(t)&&t.isDirty()&&(o.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),o.setItem(e+"time",(new Date).getTime().toString()),function(t){t.fire("StoreDraft")}(t))},l=function(t){var e=u(t);f(t)&&(t.setContent(o.getItem(e+"draft"),{format:"raw"}),function(t){t.fire("RestoreDraft")}(t))},v=function(t){var e=function(t){return i(t.getParam("autosave_interval"),"30s")}(t);n.setEditorInterval(t,(function(){m(t)}),e)},d=function(t){t.undoManager.transact((function(){l(t),c(t)})),t.focus()},g=tinymce.util.Tools.resolve("tinymce.EditorManager"),y=function(t){return function(e){e.setDisabled(!f(t));var r=function(){return e.setDisabled(!f(t))};return t.on("StoreDraft RestoreDraft RemoveDraft",r),function(){return t.off("StoreDraft RestoreDraft RemoveDraft",r)}}};e.add("autosave",(function(t){return function(t){t.editorManager.on("BeforeUnload",(function(t){var e;a.each(g.get(),(function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&function(t){return t.getParam("autosave_ask_before_unload",!0)}(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))}(t),function(t){v(t),t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){d(t)},onSetup:y(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){d(t)},onSetup:y(t)})}(t),t.on("init",(function(){(function(t){return t.getParam("autosave_restore_when_empty",!1)})(t)&&t.dom.isEmpty(t.getBody())&&l(t)})),function(t){return{hasDraft:function(){return f(t)},storeDraft:function(){return m(t)},restoreDraft:function(){return l(t)},removeDraft:function(e){return c(t,e)},isEmpty:function(e){return s(t,e)}}}(t)}))}()}}]);
-//# sourceMappingURL=72612.77fe80c53a1a71c7ab1e.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72612.77fe80c53a1a71c7ab1e.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72612.77fe80c53a1a71c7ab1e.min.js.map
deleted file mode 100644
index 946f3b260..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/72612.77fe80c53a1a71c7ab1e.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/72612.77fe80c53a1a71c7ab1e.min.js","mappings":"qHAQC,WACG,aAEA,IAEmBA,EAFfC,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAOtCC,GALeN,OAKEO,EAJZ,SAAUC,GACf,OAAOR,IAAMQ,CACf,GAIEC,EAAWP,QAAQC,KAAKC,MAAMC,QAAQ,sBAEtCK,EAAWR,QAAQC,KAAKC,MAAMC,QAAQ,6BAEtCM,EAAWT,QAAQC,KAAKC,MAAMC,QAAQ,sBAYtCO,EAAQ,SAAUC,EAAYC,GAChC,IAIIC,EAAUF,GAAcC,EACxBE,EAAa,iBAAiBC,KAAK,GAAKF,GAC5C,OAAQC,EAAW,GANH,CACdE,EAAG,IACHC,EAAG,KAI6BH,EAAW,IAAM,GAAKI,SAASL,EAAS,GAC5E,EAKIM,EAAoB,SAAUC,GAChC,IAAIC,EAAWC,SAASD,SACxB,OAAOD,EAAOG,SAAS,kBAAmB,8CAA8CC,QAAQ,UAAWH,EAASI,UAAUD,QAAQ,WAAYH,EAASK,QAAQF,QAAQ,UAAWH,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,KAAM,qBACNJ,KAAM,gBACNC,SAAU,WACR7B,EAAiB5C,EACnB,EACA0E,QAASzB,EAAiBjD,IAE9B,CAKI6E,CAAS7E,GACTA,EAAOqD,GAAG,QAAQ,YAnJO,SAAUrD,GACrC,OAAOA,EAAOG,SAAS,+BAA+B,EACxD,EAkJU2E,CAAuB9E,IAAWA,EAAOW,IAAIF,QAAQT,EAAOY,YAC9DyB,EAAarC,EAEjB,IAhFM,SAAUA,GAClB,MAAO,CACLkB,SAAU,WACR,OAAOA,EAASlB,EAClB,EACA6B,WAAY,WACV,OAAOA,EAAW7B,EACpB,EACAqC,aAAc,WACZ,OAAOA,EAAarC,EACtB,EACAwB,YAAa,SAAUC,GACrB,OAAOD,EAAYxB,EAAQyB,EAC7B,EACAhB,QAAS,SAAUC,GACjB,OAAOD,EAAQT,EAAQU,EACzB,EAEJ,CA+DWkD,CAAI5D,EACb,GAKN,CA3MA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/autosave/plugin.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var eq = function (t) {\n return function (a) {\n return t === a;\n };\n };\n var isUndefined = eq(undefined);\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.LocalStorage');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var fireRestoreDraft = function (editor) {\n return editor.fire('RestoreDraft');\n };\n var fireStoreDraft = function (editor) {\n return editor.fire('StoreDraft');\n };\n var fireRemoveDraft = function (editor) {\n return editor.fire('RemoveDraft');\n };\n\n var parse = function (timeString, defaultTime) {\n var multiples = {\n s: 1000,\n m: 60000\n };\n var toParse = timeString || defaultTime;\n var parsedTime = /^(\\d+)([ms]?)$/.exec('' + toParse);\n return (parsedTime[2] ? multiples[parsedTime[2]] : 1) * parseInt(toParse, 10);\n };\n\n var shouldAskBeforeUnload = function (editor) {\n return editor.getParam('autosave_ask_before_unload', true);\n };\n var getAutoSavePrefix = function (editor) {\n var location = document.location;\n return editor.getParam('autosave_prefix', 'tinymce-autosave-{path}{query}{hash}-{id}-').replace(/{path}/g, location.pathname).replace(/{query}/g, location.search).replace(/{hash}/g, location.hash).replace(/{id}/g, editor.id);\n };\n var shouldRestoreWhenEmpty = function (editor) {\n return editor.getParam('autosave_restore_when_empty', false);\n };\n var getAutoSaveInterval = function (editor) {\n return parse(editor.getParam('autosave_interval'), '30s');\n };\n var getAutoSaveRetention = function (editor) {\n return parse(editor.getParam('autosave_retention'), '20m');\n };\n\n var isEmpty = function (editor, html) {\n if (isUndefined(html)) {\n return editor.dom.isEmpty(editor.getBody());\n } else {\n var trimmedHtml = global$1.trim(html);\n if (trimmedHtml === '') {\n return true;\n } else {\n var fragment = new DOMParser().parseFromString(trimmedHtml, 'text/html');\n return editor.dom.isEmpty(fragment);\n }\n }\n };\n var hasDraft = function (editor) {\n var time = parseInt(global$2.getItem(getAutoSavePrefix(editor) + 'time'), 10) || 0;\n if (new Date().getTime() - time > getAutoSaveRetention(editor)) {\n removeDraft(editor, false);\n return false;\n }\n return true;\n };\n var removeDraft = function (editor, fire) {\n var prefix = getAutoSavePrefix(editor);\n global$2.removeItem(prefix + 'draft');\n global$2.removeItem(prefix + 'time');\n if (fire !== false) {\n fireRemoveDraft(editor);\n }\n };\n var storeDraft = function (editor) {\n var prefix = getAutoSavePrefix(editor);\n if (!isEmpty(editor) && editor.isDirty()) {\n global$2.setItem(prefix + 'draft', editor.getContent({\n format: 'raw',\n no_events: true\n }));\n global$2.setItem(prefix + 'time', new Date().getTime().toString());\n fireStoreDraft(editor);\n }\n };\n var restoreDraft = function (editor) {\n var prefix = getAutoSavePrefix(editor);\n if (hasDraft(editor)) {\n editor.setContent(global$2.getItem(prefix + 'draft'), { format: 'raw' });\n fireRestoreDraft(editor);\n }\n };\n var startStoreDraft = function (editor) {\n var interval = getAutoSaveInterval(editor);\n global$3.setEditorInterval(editor, function () {\n storeDraft(editor);\n }, interval);\n };\n var restoreLastDraft = function (editor) {\n editor.undoManager.transact(function () {\n restoreDraft(editor);\n removeDraft(editor);\n });\n editor.focus();\n };\n\n var get = function (editor) {\n return {\n hasDraft: function () {\n return hasDraft(editor);\n },\n storeDraft: function () {\n return storeDraft(editor);\n },\n restoreDraft: function () {\n return restoreDraft(editor);\n },\n removeDraft: function (fire) {\n return removeDraft(editor, fire);\n },\n isEmpty: function (html) {\n return isEmpty(editor, html);\n }\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.EditorManager');\n\n var setup = function (editor) {\n editor.editorManager.on('BeforeUnload', function (e) {\n var msg;\n global$1.each(global.get(), function (editor) {\n if (editor.plugins.autosave) {\n editor.plugins.autosave.storeDraft();\n }\n if (!msg && editor.isDirty() && shouldAskBeforeUnload(editor)) {\n msg = editor.translate('You have unsaved changes are you sure you want to navigate away?');\n }\n });\n if (msg) {\n e.preventDefault();\n e.returnValue = msg;\n }\n });\n };\n\n var makeSetupHandler = function (editor) {\n return function (api) {\n api.setDisabled(!hasDraft(editor));\n var editorEventCallback = function () {\n return api.setDisabled(!hasDraft(editor));\n };\n editor.on('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n return function () {\n return editor.off('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);\n };\n };\n };\n var register = function (editor) {\n startStoreDraft(editor);\n editor.ui.registry.addButton('restoredraft', {\n tooltip: 'Restore last draft',\n icon: 'restore-draft',\n onAction: function () {\n restoreLastDraft(editor);\n },\n onSetup: makeSetupHandler(editor)\n });\n editor.ui.registry.addMenuItem('restoredraft', {\n text: 'Restore last draft',\n icon: 'restore-draft',\n onAction: function () {\n restoreLastDraft(editor);\n },\n onSetup: makeSetupHandler(editor)\n });\n };\n\n function Plugin () {\n global$4.add('autosave', function (editor) {\n setup(editor);\n register(editor);\n editor.on('init', function () {\n if (shouldRestoreWhenEmpty(editor) && editor.dom.isEmpty(editor.getBody())) {\n restoreDraft(editor);\n }\n });\n return get(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["t","global$4","tinymce","util","Tools","resolve","isUndefined","undefined","a","global$3","global$2","global$1","parse","timeString","defaultTime","toParse","parsedTime","exec","s","m","parseInt","getAutoSavePrefix","editor","location","document","getParam","replace","pathname","search","hash","id","isEmpty","html","dom","getBody","trimmedHtml","trim","fragment","DOMParser","parseFromString","hasDraft","time","getItem","Date","getTime","getAutoSaveRetention","removeDraft","fire","prefix","removeItem","fireRemoveDraft","storeDraft","isDirty","setItem","getContent","format","no_events","toString","fireStoreDraft","restoreDraft","setContent","fireRestoreDraft","startStoreDraft","interval","getAutoSaveInterval","setEditorInterval","restoreLastDraft","undoManager","transact","focus","global","makeSetupHandler","api","setDisabled","editorEventCallback","on","off","add","editorManager","e","msg","each","get","plugins","autosave","shouldAskBeforeUnload","translate","preventDefault","returnValue","setup","ui","registry","addButton","tooltip","icon","onAction","onSetup","addMenuItem","text","register","shouldRestoreWhenEmpty"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72682.27748d9dd623c628765a.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72682.27748d9dd623c628765a.min.js
deleted file mode 100644
index 85cde5741..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/72682.27748d9dd623c628765a.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72682,27384],{72682:function(n,t,e){e(27384)},27384:function(){!function(){"use strict";var n,t,e,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.util.VK"),i=function(n){return function(t){return r=typeof(e=t),(null===e?"null":"object"===r&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":r)===n;var e,r}},u=function(n){return function(t){return typeof t===n}},a=i("string"),c=i("array"),l=(n=null,function(t){return n===t}),f=u("boolean"),s=u("function"),m=function(){},g=function(n){return function(){return n}},d=function(n){return n},h=function(n,t){return n===t},v=g(!1),p=g(!0),k=function(){return y},y={fold:function(n,t){return n()},isSome:v,isNone:p,getOr:e=d,getOrThunk:t=function(n){return n()},getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:g(null),getOrUndefined:g(void 0),or:e,orThunk:t,map:k,each:m,bind:k,exists:v,forall:p,filter:function(){return k()},toArray:function(){return[]},toString:g("none()")},x=function(n){var t=g(n),e=function(){return o},r=function(t){return t(n)},o={fold:function(t,e){return e(n)},isSome:p,isNone:v,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:e,orThunk:e,map:function(t){return x(t(n))},each:function(t){t(n)},bind:r,exists:r,forall:r,filter:function(t){return t(n)?o:y},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};return o},b={some:x,none:k,from:function(n){return null==n?y:x(n)}},O=Array.prototype.indexOf,w=Array.prototype.push,C=function(n,t){return function(n,t){return O.call(n,t)}(n,t)>-1},N=function(n){for(var t=[],e=0,r=n.length;e0?n.concat(e):e}(r):o(r);return i.length>0?function(n){return I.trim(n.sort().join(" "))}(i):""},en=function(n,t){return t=t||n.selection.getNode(),an(t)?n.dom.select("a[href]",t)[0]:n.dom.getParent(t,"a[href]")},rn=function(n,t){return function(n){return n.replace(/\uFEFF/g,"")}(t?t.innerText||t.textContent:n.getContent({format:"text"}))},on=function(n){return I.grep(n,Q).length>0},un=function(n){var t=n.schema.getTextInlineElements();return 0===Y(n.selection.getRng(),(function(n){return 1===n.nodeType&&!$(n)&&!G(t,n.nodeName.toLowerCase())})).length},an=function(n){return n&&"FIGURE"===n.nodeName&&/\bimage\b/i.test(n.className)},cn=function(n,t){var e=q({},t);if(!(E(n).length>0)&&!1===U(n)){var r=tn(e.rel,"_blank"===e.target);e.rel=r||null}return b.from(e.target).isNone()&&!1===L(n)&&(e.target=D(n)),e.href=function(n,t){return"http"!==t&&"https"!==t||Z(n)?n:t+"://"+n}(e.href,R(n)),e},ln=function(n,t,e){var r=n.selection.getNode(),o=en(n,r),i=cn(n,function(n){var t,e,r;return t=["title","rel","class","target"],e=function(t,e){return n[e].each((function(n){t[e]=n.length>0?n:null})),t},r={href:n.href},function(n,t){for(var e=0,r=n.length;e0;return void 0!==o?vn(o,e).map((function(t){return{url:{value:t.value,meta:{text:i?n:t.text,attach:m}},text:i?n:t.text}})):b.none()},kn=function(n,t){var e={text:n.text,title:n.title},r=function(n){var t,r=(t=n.url,_(e.text.length<=0,b.from(t.meta.text).getOr(t.value))),o=function(n){return _(e.title.length<=0,b.from(n.meta.title).getOr(""))}(n.url);return r.isSome()||o.isSome()?b.some(q(q({},r.map((function(n){return{text:n}})).getOr({})),o.map((function(n){return{title:n}})).getOr({}))):b.none()},o=function(n,r){var o,i,u=(o=t,i=r.name,"link"===i?o.link:"anchor"===i?o.anchor:b.none()).getOr([]);return pn(e.text,r.name,u,n)};return{onChange:function(n,t){var i=t.name;return"url"===i?r(n()):C(["anchor","link"],i)?o(n(),t):"text"===i||"title"===i?(e[i]=n()[i],b.none()):b.none()}}},yn=tinymce.util.Tools.resolve("tinymce.util.Delay"),xn=tinymce.util.Tools.resolve("tinymce.util.Promise"),bn=function(n){var t=n.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?b.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:function(n){return q(q({},n),{href:"mailto:"+t})}}):b.none()},On=function(n,t){return function(e){var r=e.href;return 1===n&&!Z(r)||0===n&&/^\s*www(\.|\d\.)/i.test(r)?b.some({message:"The URL you entered seems to be an external link. Do you want to add the required "+t+":// prefix?",preprocess:function(n){return q(q({},n),{href:t+"://"+r})}}):b.none()}},wn=function(n,t){return T([bn,On(R(n),B(n))],(function(n){return n(t)})).fold((function(){return xn.resolve(t)}),(function(e){return new xn((function(r){!function(n,t,e){var r=n.selection.getRng();yn.setEditorTimeout(n,(function(){n.windowManager.confirm(t,(function(t){n.selection.setRng(r),e(t)}))}))}(n,e.message,(function(n){r(n?e.preprocess(t):t)}))}))}))},Cn=function(n){var t=n.dom.select("a:not([href])"),e=A(t,(function(n){var t=n.name||n.id;return t?[{text:t,value:"#"+t}]:[]}));return e.length>0?b.some([{text:"None",value:""}].concat(e)):b.none()},Nn=function(n){var t=function(n){return n.getParam("link_class_list",[],"array")}(n);return t.length>0?V.sanitize(t):b.none()},An=tinymce.util.Tools.resolve("tinymce.util.XHR"),Tn=function(n){var t=function(t){return n.convertURL(t.value||t.url,"href")},e=function(n){return n.getParam("link_list")}(n);return new xn((function(n){a(e)?An.send({url:e,success:function(t){return n(function(n){try{return b.some(JSON.parse(n))}catch(n){return b.none()}}(t))},error:function(t){return n(b.none())}}):s(e)?e((function(t){return n(b.some(t))})):n(b.from(e))})).then((function(n){return n.bind(V.sanitizeWith(t)).map((function(n){if(n.length>0){return[{text:"None",value:""}].concat(n)}return n}))}))},Pn=function(n,t){var e=E(n);if(e.length>0){var r=P(t,"_blank");return(!1===U(n)?V.sanitizeWith((function(n){return tn(V.getValue(n),r)})):V.sanitize)(e)}return b.none()},Sn=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],_n=function(n){var t=L(n);return c(t)?V.sanitize(t).orThunk((function(){return b.some(Sn)})):!1===t?b.none():b.some(Sn)},Rn=function(n,t,e){var r=n.getAttrib(t,e);return null!==r&&r.length>0?b.some(r):b.none()},Dn=function(n,t){return Tn(n).then((function(e){var r=function(n,t){var e=n.dom,r=un(n)?b.some(rn(n.selection,t)):b.none(),o=t?b.some(e.getAttrib(t,"href")):b.none(),i=t?b.from(e.getAttrib(t,"target")):b.none(),u=Rn(e,t,"rel"),a=Rn(e,t,"class");return{url:o,text:r,title:Rn(e,t,"title"),target:i,rel:u,linkClass:a}}(n,t);return{anchor:r,catalogs:{targets:_n(n),rels:Pn(n,r.target),classes:Nn(n),anchor:Cn(n),link:e},optNode:b.from(t),flags:{titleEnabled:M(n)}}}))},Ln=function(n){var t=function(n){var t=en(n);return Dn(n,t)}(n);t.then((function(t){var e=function(n,t){return function(e){var r=e.getData();if(!r.url.value)return mn(n),void e.close();var o=function(n){return b.from(r[n]).filter((function(e){return!P(t.anchor[n],e)}))},i={href:r.url.value,text:o("text"),target:o("target"),rel:o("rel"),class:o("linkClass"),title:o("title")},u={href:r.url.value,attach:void 0!==r.url.meta&&r.url.meta.attach?r.url.meta.attach:m};wn(n,i).then((function(t){sn(n,u,t)})),e.close()}}(n,t);return function(n,t,e){var r=n.anchor.text.map((function(){return{name:"text",type:"input",label:"Text to display"}})).toArray(),o=n.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],i=function(n,t){var e=n.anchor,r=e.url.getOr("");return{url:{value:r,meta:{original:{value:r}}},text:e.text.getOr(""),title:e.title.getOr(""),anchor:r,link:r,rel:e.rel.getOr(""),target:e.target.or(t).getOr(""),linkClass:e.linkClass.getOr("")}}(n,b.from(D(e))),u=n.catalogs,a=kn(i,u);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:N([[{name:"url",type:"urlinput",filetype:"file",label:"URL"}],r,o,S([u.anchor.map(V.createUi("anchor","Anchors")),u.rels.map(V.createUi("rel","Rel")),u.targets.map(V.createUi("target","Open link in...")),u.link.map(V.createUi("link","Link list")),u.classes.map(V.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:i,onChange:function(n,t){var e=t.name;a.onChange(n.getData,{name:e}).each((function(t){n.setData(t)}))},onSubmit:t}}(t,e,n)})).then((function(t){n.windowManager.open(t)}))},En=function(n){var t=document.createElement("a");t.target="_blank",t.href=n,t.rel="noreferrer noopener";var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),function(n,t){document.body.appendChild(n),n.dispatchEvent(t),document.body.removeChild(n)}(t,e)},Mn=function(n,t){return n.dom.getParent(t,"a[href]")},Un=function(n){return Mn(n,n.selection.getStart())},Bn=function(n,t){if(t){var e=nn(t);if(/^#/.test(e)){var r=n.$(e);r.length&&n.selection.scrollIntoView(r[0],!0)}else En(t.href)}},In=function(n){return function(){Ln(n)}},Kn=function(n){return function(){Bn(n,Un(n))}},zn=function(n,t){return n.on("NodeChange",t),function(){return n.off("NodeChange",t)}},jn=function(n){return function(t){var e=function(){return t.setActive(!n.mode.isReadOnly()&&null!==en(n,n.selection.getNode()))};return e(),zn(n,e)}},Vn=function(n){return function(t){var e=function(){return t.setDisabled(null===en(n,n.selection.getNode()))};return e(),zn(n,e)}},qn=function(n){return function(t){var e=function(t){return on(t)||(e=n.selection.getRng(),Y(e,Q).length>0);var e},r=n.dom.getParents(n.selection.getStart());return t.setDisabled(!e(r)),zn(n,(function(n){return t.setDisabled(!e(n.parents))}))}},Fn=function(n){var t=function(t){var e=n.selection.getNode();return t.setDisabled(!en(n,e)),m};n.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:jn(n)},label:"Link",predicate:function(t){return!!en(n,t)&&function(n){return n.getParam("link_context_toolbar",!1,"boolean")}(n)},initValue:function(){var t=en(n);return t?nn(t):""},commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:function(t){var e=n.selection.getNode();return t.setActive(!!en(n,e)),jn(n)(t)},onAction:function(t){var e=t.getValue(),r=function(t){var e=en(n),r=un(n);if(!e&&r){var o=rn(n.selection,e);return b.some(o.length>0?o:t)}return b.none()}(e);sn(n,{href:e,attach:m},{href:e,text:r,title:b.none(),rel:b.none(),target:b.none(),class:b.none()}),function(n){n.selection.collapse(!1)}(n),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:t,onAction:function(t){mn(n),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:t,onAction:function(t){Kn(n)(),t.hide()}}]})};r.add("link",(function(n){!function(n){n.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:In(n),onSetup:jn(n)}),n.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Kn(n),onSetup:Vn(n)}),n.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:function(){return mn(n)},onSetup:qn(n)})}(n),function(n){n.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Kn(n),onSetup:Vn(n)}),n.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:In(n)}),n.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:function(){return mn(n)},onSetup:qn(n)})}(n),function(n){n.ui.registry.addContextMenu("link",{update:function(t){return on(n.dom.getParents(t,"a"))?"link unlink openlink":"link"}})}(n),Fn(n),function(n){n.on("click",(function(t){var e=Mn(n,t.target);e&&o.metaKeyPressed(t)&&(t.preventDefault(),Bn(n,e))})),n.on("keydown",(function(t){var e=Un(n);e&&13===t.keyCode&&function(n){return!0===n.altKey&&!1===n.shiftKey&&!1===n.ctrlKey&&!1===n.metaKey}(t)&&(t.preventDefault(),Bn(n,e))}))}(n),function(n){n.addCommand("mceLink",(function(){!function(n){return n.getParam("link_quicklink",!1,"boolean")}(n)?In(n)():n.fire("contexttoolbar-show",{toolbarKey:"quicklink"})}))}(n),function(n){n.addShortcut("Meta+K","",(function(){n.execCommand("mceLink")}))}(n)}))}()}}]);
-//# sourceMappingURL=72682.27748d9dd623c628765a.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72682.27748d9dd623c628765a.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72682.27748d9dd623c628765a.min.js.map
deleted file mode 100644
index f289b205a..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/72682.27748d9dd623c628765a.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/72682.27748d9dd623c628765a.min.js","mappings":"+HAMA,EAAQ,M,oBCEP,WACG,aAEA,IA0BmBA,EA+BbC,EAGAC,EA5DFC,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAEtCC,EAAWJ,QAAQC,KAAKC,MAAMC,QAAQ,mBActCE,EAAS,SAAUC,GACrB,OAAO,SAAUC,GACf,OAbEX,SADiBY,EAcLD,IAZN,OAANC,EACK,OACQ,WAANZ,IAAmBa,MAAMC,UAAUC,cAAcH,IAAMA,EAAEI,aAAsC,UAAvBJ,EAAEI,YAAYC,MACxF,QACQ,WAANjB,IAAmBkB,OAAOJ,UAAUC,cAAcH,IAAMA,EAAEI,aAAsC,WAAvBJ,EAAEI,YAAYC,MACzF,SAEAjB,KAKkBU,EAdhB,IAAUE,EACjBZ,CAcJ,CACF,EACImB,EAAe,SAAUT,GAC3B,OAAO,SAAUC,GACf,cAAcA,IAAUD,CAC1B,CACF,EAMIU,EAAWX,EAAO,UAClBY,EAAUZ,EAAO,SACjBa,GAPetB,EAOH,KANP,SAAUuB,GACf,OAAOvB,IAAMuB,CACf,GAKEC,EAAYL,EAAa,WACzBM,EAAaN,EAAa,YAE1BO,EAAO,WACX,EACIC,EAAW,SAAUhB,GACvB,OAAO,WACL,OAAOA,CACT,CACF,EACIiB,EAAW,SAAUhB,GACvB,OAAOA,CACT,EACIiB,EAAe,SAAUN,EAAGO,GAC9B,OAAOP,IAAMO,CACf,EACIC,EAAQJ,GAAS,GACjBK,EAASL,GAAS,GAElBM,EAAO,WACT,OAAOC,CACT,EACIA,EAKO,CACPC,KAAM,SAAUC,EAAGC,GACjB,OAAOD,GACT,EACAE,OAAQP,EACRQ,OAAQP,EACRQ,MAPEtC,EAAK0B,EAQPa,WAXExC,EAAO,SAAUyC,GACnB,OA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,EAAEiC,iBACFrD,GAAS7R,EAAQyI,GAErB,GACF,CAyMIgN,CAAezV,GAnKJ,SAAUA,GACvBA,EAAO0V,WAAW,WAAW,YA91BZ,SAAU1V,GAC3B,OAAOA,EAAOE,SAAS,kBAAkB,EAAO,UAClD,CA61BQyV,CAAa3V,GAGfiS,GAAWjS,EAAXiS,GAFAjS,EAAO4V,KAAK,sBAAuB,CAAEC,WAAY,aAIrD,GACF,CA4JIC,CAAS9V,GA1JD,SAAUA,GACpBA,EAAO+V,YAAY,SAAU,IAAI,WAC/B/V,EAAO+H,YAAY,UACrB,GACF,CAuJIiO,CAAMhW,EACR,GAKN,CApwCA,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/link/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/link/plugin.js"],"sourcesContent":["// Exports the \"link\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/link')\n// ES2015:\n// import 'tinymce/plugins/link'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$7 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var global$6 = tinymce.util.Tools.resolve('tinymce.util.VK');\n\n var typeOf = function (x) {\n var t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {\n return 'array';\n } else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {\n return 'string';\n } else {\n return t;\n }\n };\n var isType = function (type) {\n return function (value) {\n return typeOf(value) === type;\n };\n };\n var isSimpleType = function (type) {\n return function (value) {\n return typeof value === type;\n };\n };\n var eq = function (t) {\n return function (a) {\n return t === a;\n };\n };\n var isString = isType('string');\n var isArray = isType('array');\n var isNull = eq(null);\n var isBoolean = isSimpleType('boolean');\n var isFunction = isSimpleType('function');\n\n var noop = function () {\n };\n var constant = function (value) {\n return function () {\n return value;\n };\n };\n var identity = function (x) {\n return x;\n };\n var tripleEquals = function (a, b) {\n return a === b;\n };\n var never = constant(false);\n var always = constant(true);\n\n var none = function () {\n return NONE;\n };\n var NONE = function () {\n var call = function (thunk) {\n return thunk();\n };\n var id = identity;\n var me = {\n fold: function (n, _s) {\n return n();\n },\n isSome: never,\n isNone: always,\n getOr: id,\n getOrThunk: call,\n getOrDie: function (msg) {\n throw new Error(msg || 'error: getOrDie called on none.');\n },\n getOrNull: constant(null),\n getOrUndefined: constant(undefined),\n or: id,\n orThunk: call,\n map: none,\n each: noop,\n bind: none,\n exists: never,\n forall: always,\n filter: function () {\n return none();\n },\n toArray: function () {\n return [];\n },\n toString: constant('none()')\n };\n return me;\n }();\n var some = function (a) {\n var constant_a = constant(a);\n var self = function () {\n return me;\n };\n var bind = function (f) {\n return f(a);\n };\n var me = {\n fold: function (n, s) {\n return s(a);\n },\n isSome: always,\n isNone: never,\n getOr: constant_a,\n getOrThunk: constant_a,\n getOrDie: constant_a,\n getOrNull: constant_a,\n getOrUndefined: constant_a,\n or: self,\n orThunk: self,\n map: function (f) {\n return some(f(a));\n },\n each: function (f) {\n f(a);\n },\n bind: bind,\n exists: bind,\n forall: bind,\n filter: function (f) {\n return f(a) ? me : NONE;\n },\n toArray: function () {\n return [a];\n },\n toString: function () {\n return 'some(' + a + ')';\n }\n };\n return me;\n };\n var from = function (value) {\n return value === null || value === undefined ? NONE : some(value);\n };\n var Optional = {\n some: some,\n none: none,\n from: from\n };\n\n var nativeIndexOf = Array.prototype.indexOf;\n var nativePush = Array.prototype.push;\n var rawIndexOf = function (ts, t) {\n return nativeIndexOf.call(ts, t);\n };\n var contains = function (xs, x) {\n return rawIndexOf(xs, x) > -1;\n };\n var map = function (xs, f) {\n var len = xs.length;\n var r = new Array(len);\n for (var i = 0; i < len; i++) {\n var x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n var each$1 = function (xs, f) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n f(x, i);\n }\n };\n var foldl = function (xs, f, acc) {\n each$1(xs, function (x, i) {\n acc = f(acc, x, i);\n });\n return acc;\n };\n var flatten = function (xs) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n var bind = function (xs, f) {\n return flatten(map(xs, f));\n };\n var findMap = function (arr, f) {\n for (var i = 0; i < arr.length; i++) {\n var r = f(arr[i], i);\n if (r.isSome()) {\n return r;\n }\n }\n return Optional.none();\n };\n\n var is = function (lhs, rhs, comparator) {\n if (comparator === void 0) {\n comparator = tripleEquals;\n }\n return lhs.exists(function (left) {\n return comparator(left, rhs);\n });\n };\n var cat = function (arr) {\n var r = [];\n var push = function (x) {\n r.push(x);\n };\n for (var i = 0; i < arr.length; i++) {\n arr[i].each(push);\n }\n return r;\n };\n var someIf = function (b, a) {\n return b ? Optional.some(a) : Optional.none();\n };\n\n var assumeExternalTargets = function (editor) {\n var externalTargets = editor.getParam('link_assume_external_targets', false);\n if (isBoolean(externalTargets) && externalTargets) {\n return 1;\n } else if (isString(externalTargets) && (externalTargets === 'http' || externalTargets === 'https')) {\n return externalTargets;\n }\n return 0;\n };\n var hasContextToolbar = function (editor) {\n return editor.getParam('link_context_toolbar', false, 'boolean');\n };\n var getLinkList = function (editor) {\n return editor.getParam('link_list');\n };\n var getDefaultLinkTarget = function (editor) {\n return editor.getParam('default_link_target');\n };\n var getTargetList = function (editor) {\n return editor.getParam('target_list', true);\n };\n var getRelList = function (editor) {\n return editor.getParam('rel_list', [], 'array');\n };\n var getLinkClassList = function (editor) {\n return editor.getParam('link_class_list', [], 'array');\n };\n var shouldShowLinkTitle = function (editor) {\n return editor.getParam('link_title', true, 'boolean');\n };\n var allowUnsafeLinkTarget = function (editor) {\n return editor.getParam('allow_unsafe_link_target', false, 'boolean');\n };\n var useQuickLink = function (editor) {\n return editor.getParam('link_quicklink', false, 'boolean');\n };\n var getDefaultLinkProtocol = function (editor) {\n return editor.getParam('link_default_protocol', 'http', 'string');\n };\n\n var global$5 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var getValue = function (item) {\n return isString(item.value) ? item.value : '';\n };\n var getText = function (item) {\n if (isString(item.text)) {\n return item.text;\n } else if (isString(item.title)) {\n return item.title;\n } else {\n return '';\n }\n };\n var sanitizeList = function (list, extractValue) {\n var out = [];\n global$5.each(list, function (item) {\n var text = getText(item);\n if (item.menu !== undefined) {\n var items = sanitizeList(item.menu, extractValue);\n out.push({\n text: text,\n items: items\n });\n } else {\n var value = extractValue(item);\n out.push({\n text: text,\n value: value\n });\n }\n });\n return out;\n };\n var sanitizeWith = function (extracter) {\n if (extracter === void 0) {\n extracter = getValue;\n }\n return function (list) {\n return Optional.from(list).map(function (list) {\n return sanitizeList(list, extracter);\n });\n };\n };\n var sanitize = function (list) {\n return sanitizeWith(getValue)(list);\n };\n var createUi = function (name, label) {\n return function (items) {\n return {\n name: name,\n type: 'listbox',\n label: label,\n items: items\n };\n };\n };\n var ListOptions = {\n sanitize: sanitize,\n sanitizeWith: sanitizeWith,\n createUi: createUi,\n getValue: getValue\n };\n\n var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s)\n if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };\n\n var keys = Object.keys;\n var hasOwnProperty = Object.hasOwnProperty;\n var each = function (obj, f) {\n var props = keys(obj);\n for (var k = 0, len = props.length; k < len; k++) {\n var i = props[k];\n var x = obj[i];\n f(x, i);\n }\n };\n var objAcc = function (r) {\n return function (x, i) {\n r[i] = x;\n };\n };\n var internalFilter = function (obj, pred, onTrue, onFalse) {\n var r = {};\n each(obj, function (x, i) {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n return r;\n };\n var filter = function (obj, pred) {\n var t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n var has = function (obj, key) {\n return hasOwnProperty.call(obj, key);\n };\n var hasNonNullableKey = function (obj, key) {\n return has(obj, key) && obj[key] !== undefined && obj[key] !== null;\n };\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n var isAnchor = function (elm) {\n return elm && elm.nodeName.toLowerCase() === 'a';\n };\n var isLink = function (elm) {\n return isAnchor(elm) && !!getHref(elm);\n };\n var collectNodesInRange = function (rng, predicate) {\n if (rng.collapsed) {\n return [];\n } else {\n var contents = rng.cloneContents();\n var walker = new global$4(contents.firstChild, contents);\n var elements = [];\n var current = contents.firstChild;\n do {\n if (predicate(current)) {\n elements.push(current);\n }\n } while (current = walker.next());\n return elements;\n }\n };\n var hasProtocol = function (url) {\n return /^\\w+:/i.test(url);\n };\n var getHref = function (elm) {\n var href = elm.getAttribute('data-mce-href');\n return href ? href : elm.getAttribute('href');\n };\n var applyRelTargetRules = function (rel, isUnsafe) {\n var rules = ['noopener'];\n var rels = rel ? rel.split(/\\s+/) : [];\n var toString = function (rels) {\n return global$5.trim(rels.sort().join(' '));\n };\n var addTargetRules = function (rels) {\n rels = removeTargetRules(rels);\n return rels.length > 0 ? rels.concat(rules) : rules;\n };\n var removeTargetRules = function (rels) {\n return rels.filter(function (val) {\n return global$5.inArray(rules, val) === -1;\n });\n };\n var newRels = isUnsafe ? addTargetRules(rels) : removeTargetRules(rels);\n return newRels.length > 0 ? toString(newRels) : '';\n };\n var trimCaretContainers = function (text) {\n return text.replace(/\\uFEFF/g, '');\n };\n var getAnchorElement = function (editor, selectedElm) {\n selectedElm = selectedElm || editor.selection.getNode();\n if (isImageFigure(selectedElm)) {\n return editor.dom.select('a[href]', selectedElm)[0];\n } else {\n return editor.dom.getParent(selectedElm, 'a[href]');\n }\n };\n var getAnchorText = function (selection, anchorElm) {\n var text = anchorElm ? anchorElm.innerText || anchorElm.textContent : selection.getContent({ format: 'text' });\n return trimCaretContainers(text);\n };\n var hasLinks = function (elements) {\n return global$5.grep(elements, isLink).length > 0;\n };\n var hasLinksInSelection = function (rng) {\n return collectNodesInRange(rng, isLink).length > 0;\n };\n var isOnlyTextSelected = function (editor) {\n var inlineTextElements = editor.schema.getTextInlineElements();\n var isElement = function (elm) {\n return elm.nodeType === 1 && !isAnchor(elm) && !has(inlineTextElements, elm.nodeName.toLowerCase());\n };\n var elements = collectNodesInRange(editor.selection.getRng(), isElement);\n return elements.length === 0;\n };\n var isImageFigure = function (elm) {\n return elm && elm.nodeName === 'FIGURE' && /\\bimage\\b/i.test(elm.className);\n };\n var getLinkAttrs = function (data) {\n var attrs = [\n 'title',\n 'rel',\n 'class',\n 'target'\n ];\n return foldl(attrs, function (acc, key) {\n data[key].each(function (value) {\n acc[key] = value.length > 0 ? value : null;\n });\n return acc;\n }, { href: data.href });\n };\n var handleExternalTargets = function (href, assumeExternalTargets) {\n if ((assumeExternalTargets === 'http' || assumeExternalTargets === 'https') && !hasProtocol(href)) {\n return assumeExternalTargets + '://' + href;\n }\n return href;\n };\n var applyLinkOverrides = function (editor, linkAttrs) {\n var newLinkAttrs = __assign({}, linkAttrs);\n if (!(getRelList(editor).length > 0) && allowUnsafeLinkTarget(editor) === false) {\n var newRel = applyRelTargetRules(newLinkAttrs.rel, newLinkAttrs.target === '_blank');\n newLinkAttrs.rel = newRel ? newRel : null;\n }\n if (Optional.from(newLinkAttrs.target).isNone() && getTargetList(editor) === false) {\n newLinkAttrs.target = getDefaultLinkTarget(editor);\n }\n newLinkAttrs.href = handleExternalTargets(newLinkAttrs.href, assumeExternalTargets(editor));\n return newLinkAttrs;\n };\n var updateLink = function (editor, anchorElm, text, linkAttrs) {\n text.each(function (text) {\n if (has(anchorElm, 'innerText')) {\n anchorElm.innerText = text;\n } else {\n anchorElm.textContent = text;\n }\n });\n editor.dom.setAttribs(anchorElm, linkAttrs);\n editor.selection.select(anchorElm);\n };\n var createLink = function (editor, selectedElm, text, linkAttrs) {\n if (isImageFigure(selectedElm)) {\n linkImageFigure(editor, selectedElm, linkAttrs);\n } else {\n text.fold(function () {\n editor.execCommand('mceInsertLink', false, linkAttrs);\n }, function (text) {\n editor.insertContent(editor.dom.createHTML('a', linkAttrs, editor.dom.encode(text)));\n });\n }\n };\n var linkDomMutation = function (editor, attachState, data) {\n var selectedElm = editor.selection.getNode();\n var anchorElm = getAnchorElement(editor, selectedElm);\n var linkAttrs = applyLinkOverrides(editor, getLinkAttrs(data));\n editor.undoManager.transact(function () {\n if (data.href === attachState.href) {\n attachState.attach();\n }\n if (anchorElm) {\n editor.focus();\n updateLink(editor, anchorElm, data.text, linkAttrs);\n } else {\n createLink(editor, selectedElm, data.text, linkAttrs);\n }\n });\n };\n var unlinkSelection = function (editor) {\n var dom = editor.dom, selection = editor.selection;\n var bookmark = selection.getBookmark();\n var rng = selection.getRng().cloneRange();\n var startAnchorElm = dom.getParent(rng.startContainer, 'a[href]', editor.getBody());\n var endAnchorElm = dom.getParent(rng.endContainer, 'a[href]', editor.getBody());\n if (startAnchorElm) {\n rng.setStartBefore(startAnchorElm);\n }\n if (endAnchorElm) {\n rng.setEndAfter(endAnchorElm);\n }\n selection.setRng(rng);\n editor.execCommand('unlink');\n selection.moveToBookmark(bookmark);\n };\n var unlinkDomMutation = function (editor) {\n editor.undoManager.transact(function () {\n var node = editor.selection.getNode();\n if (isImageFigure(node)) {\n unlinkImageFigure(editor, node);\n } else {\n unlinkSelection(editor);\n }\n editor.focus();\n });\n };\n var unwrapOptions = function (data) {\n var cls = data.class, href = data.href, rel = data.rel, target = data.target, text = data.text, title = data.title;\n return filter({\n class: cls.getOrNull(),\n href: href,\n rel: rel.getOrNull(),\n target: target.getOrNull(),\n text: text.getOrNull(),\n title: title.getOrNull()\n }, function (v, _k) {\n return isNull(v) === false;\n });\n };\n var sanitizeData = function (editor, data) {\n var href = data.href;\n return __assign(__assign({}, data), { href: global$3.isDomSafe(href, 'a', editor.settings) ? href : '' });\n };\n var link = function (editor, attachState, data) {\n var sanitizedData = sanitizeData(editor, data);\n editor.hasPlugin('rtc', true) ? editor.execCommand('createlink', false, unwrapOptions(sanitizedData)) : linkDomMutation(editor, attachState, sanitizedData);\n };\n var unlink = function (editor) {\n editor.hasPlugin('rtc', true) ? editor.execCommand('unlink') : unlinkDomMutation(editor);\n };\n var unlinkImageFigure = function (editor, fig) {\n var img = editor.dom.select('img', fig)[0];\n if (img) {\n var a = editor.dom.getParents(img, 'a[href]', fig)[0];\n if (a) {\n a.parentNode.insertBefore(img, a);\n editor.dom.remove(a);\n }\n }\n };\n var linkImageFigure = function (editor, fig, attrs) {\n var img = editor.dom.select('img', fig)[0];\n if (img) {\n var a = editor.dom.create('a', attrs);\n img.parentNode.insertBefore(a, img);\n a.appendChild(img);\n }\n };\n\n var isListGroup = function (item) {\n return hasNonNullableKey(item, 'items');\n };\n var findTextByValue = function (value, catalog) {\n return findMap(catalog, function (item) {\n if (isListGroup(item)) {\n return findTextByValue(value, item.items);\n } else {\n return someIf(item.value === value, item);\n }\n });\n };\n var getDelta = function (persistentText, fieldName, catalog, data) {\n var value = data[fieldName];\n var hasPersistentText = persistentText.length > 0;\n return value !== undefined ? findTextByValue(value, catalog).map(function (i) {\n return {\n url: {\n value: i.value,\n meta: {\n text: hasPersistentText ? persistentText : i.text,\n attach: noop\n }\n },\n text: hasPersistentText ? persistentText : i.text\n };\n }) : Optional.none();\n };\n var findCatalog = function (catalogs, fieldName) {\n if (fieldName === 'link') {\n return catalogs.link;\n } else if (fieldName === 'anchor') {\n return catalogs.anchor;\n } else {\n return Optional.none();\n }\n };\n var init = function (initialData, linkCatalog) {\n var persistentData = {\n text: initialData.text,\n title: initialData.title\n };\n var getTitleFromUrlChange = function (url) {\n return someIf(persistentData.title.length <= 0, Optional.from(url.meta.title).getOr(''));\n };\n var getTextFromUrlChange = function (url) {\n return someIf(persistentData.text.length <= 0, Optional.from(url.meta.text).getOr(url.value));\n };\n var onUrlChange = function (data) {\n var text = getTextFromUrlChange(data.url);\n var title = getTitleFromUrlChange(data.url);\n if (text.isSome() || title.isSome()) {\n return Optional.some(__assign(__assign({}, text.map(function (text) {\n return { text: text };\n }).getOr({})), title.map(function (title) {\n return { title: title };\n }).getOr({})));\n } else {\n return Optional.none();\n }\n };\n var onCatalogChange = function (data, change) {\n var catalog = findCatalog(linkCatalog, change.name).getOr([]);\n return getDelta(persistentData.text, change.name, catalog, data);\n };\n var onChange = function (getData, change) {\n var name = change.name;\n if (name === 'url') {\n return onUrlChange(getData());\n } else if (contains([\n 'anchor',\n 'link'\n ], name)) {\n return onCatalogChange(getData(), change);\n } else if (name === 'text' || name === 'title') {\n persistentData[name] = getData()[name];\n return Optional.none();\n } else {\n return Optional.none();\n }\n };\n return { onChange: onChange };\n };\n var DialogChanges = {\n init: init,\n getDelta: getDelta\n };\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.Promise');\n\n var delayedConfirm = function (editor, message, callback) {\n var rng = editor.selection.getRng();\n global$2.setEditorTimeout(editor, function () {\n editor.windowManager.confirm(message, function (state) {\n editor.selection.setRng(rng);\n callback(state);\n });\n });\n };\n var tryEmailTransform = function (data) {\n var url = data.href;\n var suggestMailTo = url.indexOf('@') > 0 && url.indexOf('/') === -1 && url.indexOf('mailto:') === -1;\n return suggestMailTo ? Optional.some({\n message: 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?',\n preprocess: function (oldData) {\n return __assign(__assign({}, oldData), { href: 'mailto:' + url });\n }\n }) : Optional.none();\n };\n var tryProtocolTransform = function (assumeExternalTargets, defaultLinkProtocol) {\n return function (data) {\n var url = data.href;\n var suggestProtocol = assumeExternalTargets === 1 && !hasProtocol(url) || assumeExternalTargets === 0 && /^\\s*www(\\.|\\d\\.)/i.test(url);\n return suggestProtocol ? Optional.some({\n message: 'The URL you entered seems to be an external link. Do you want to add the required ' + defaultLinkProtocol + ':// prefix?',\n preprocess: function (oldData) {\n return __assign(__assign({}, oldData), { href: defaultLinkProtocol + '://' + url });\n }\n }) : Optional.none();\n };\n };\n var preprocess = function (editor, data) {\n return findMap([\n tryEmailTransform,\n tryProtocolTransform(assumeExternalTargets(editor), getDefaultLinkProtocol(editor))\n ], function (f) {\n return f(data);\n }).fold(function () {\n return global$1.resolve(data);\n }, function (transform) {\n return new global$1(function (callback) {\n delayedConfirm(editor, transform.message, function (state) {\n callback(state ? transform.preprocess(data) : data);\n });\n });\n });\n };\n var DialogConfirms = { preprocess: preprocess };\n\n var getAnchors = function (editor) {\n var anchorNodes = editor.dom.select('a:not([href])');\n var anchors = bind(anchorNodes, function (anchor) {\n var id = anchor.name || anchor.id;\n return id ? [{\n text: id,\n value: '#' + id\n }] : [];\n });\n return anchors.length > 0 ? Optional.some([{\n text: 'None',\n value: ''\n }].concat(anchors)) : Optional.none();\n };\n var AnchorListOptions = { getAnchors: getAnchors };\n\n var getClasses = function (editor) {\n var list = getLinkClassList(editor);\n if (list.length > 0) {\n return ListOptions.sanitize(list);\n }\n return Optional.none();\n };\n var ClassListOptions = { getClasses: getClasses };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.XHR');\n\n var parseJson = function (text) {\n try {\n return Optional.some(JSON.parse(text));\n } catch (err) {\n return Optional.none();\n }\n };\n var getLinks = function (editor) {\n var extractor = function (item) {\n return editor.convertURL(item.value || item.url, 'href');\n };\n var linkList = getLinkList(editor);\n return new global$1(function (callback) {\n if (isString(linkList)) {\n global.send({\n url: linkList,\n success: function (text) {\n return callback(parseJson(text));\n },\n error: function (_) {\n return callback(Optional.none());\n }\n });\n } else if (isFunction(linkList)) {\n linkList(function (output) {\n return callback(Optional.some(output));\n });\n } else {\n callback(Optional.from(linkList));\n }\n }).then(function (optItems) {\n return optItems.bind(ListOptions.sanitizeWith(extractor)).map(function (items) {\n if (items.length > 0) {\n var noneItem = [{\n text: 'None',\n value: ''\n }];\n return noneItem.concat(items);\n } else {\n return items;\n }\n });\n });\n };\n var LinkListOptions = { getLinks: getLinks };\n\n var getRels = function (editor, initialTarget) {\n var list = getRelList(editor);\n if (list.length > 0) {\n var isTargetBlank_1 = is(initialTarget, '_blank');\n var enforceSafe = allowUnsafeLinkTarget(editor) === false;\n var safeRelExtractor = function (item) {\n return applyRelTargetRules(ListOptions.getValue(item), isTargetBlank_1);\n };\n var sanitizer = enforceSafe ? ListOptions.sanitizeWith(safeRelExtractor) : ListOptions.sanitize;\n return sanitizer(list);\n }\n return Optional.none();\n };\n var RelOptions = { getRels: getRels };\n\n var fallbacks = [\n {\n text: 'Current window',\n value: ''\n },\n {\n text: 'New window',\n value: '_blank'\n }\n ];\n var getTargets = function (editor) {\n var list = getTargetList(editor);\n if (isArray(list)) {\n return ListOptions.sanitize(list).orThunk(function () {\n return Optional.some(fallbacks);\n });\n } else if (list === false) {\n return Optional.none();\n }\n return Optional.some(fallbacks);\n };\n var TargetOptions = { getTargets: getTargets };\n\n var nonEmptyAttr = function (dom, elem, name) {\n var val = dom.getAttrib(elem, name);\n return val !== null && val.length > 0 ? Optional.some(val) : Optional.none();\n };\n var extractFromAnchor = function (editor, anchor) {\n var dom = editor.dom;\n var onlyText = isOnlyTextSelected(editor);\n var text = onlyText ? Optional.some(getAnchorText(editor.selection, anchor)) : Optional.none();\n var url = anchor ? Optional.some(dom.getAttrib(anchor, 'href')) : Optional.none();\n var target = anchor ? Optional.from(dom.getAttrib(anchor, 'target')) : Optional.none();\n var rel = nonEmptyAttr(dom, anchor, 'rel');\n var linkClass = nonEmptyAttr(dom, anchor, 'class');\n var title = nonEmptyAttr(dom, anchor, 'title');\n return {\n url: url,\n text: text,\n title: title,\n target: target,\n rel: rel,\n linkClass: linkClass\n };\n };\n var collect = function (editor, linkNode) {\n return LinkListOptions.getLinks(editor).then(function (links) {\n var anchor = extractFromAnchor(editor, linkNode);\n return {\n anchor: anchor,\n catalogs: {\n targets: TargetOptions.getTargets(editor),\n rels: RelOptions.getRels(editor, anchor.target),\n classes: ClassListOptions.getClasses(editor),\n anchor: AnchorListOptions.getAnchors(editor),\n link: links\n },\n optNode: Optional.from(linkNode),\n flags: { titleEnabled: shouldShowLinkTitle(editor) }\n };\n });\n };\n var DialogInfo = { collect: collect };\n\n var handleSubmit = function (editor, info) {\n return function (api) {\n var data = api.getData();\n if (!data.url.value) {\n unlink(editor);\n api.close();\n return;\n }\n var getChangedValue = function (key) {\n return Optional.from(data[key]).filter(function (value) {\n return !is(info.anchor[key], value);\n });\n };\n var changedData = {\n href: data.url.value,\n text: getChangedValue('text'),\n target: getChangedValue('target'),\n rel: getChangedValue('rel'),\n class: getChangedValue('linkClass'),\n title: getChangedValue('title')\n };\n var attachState = {\n href: data.url.value,\n attach: data.url.meta !== undefined && data.url.meta.attach ? data.url.meta.attach : noop\n };\n DialogConfirms.preprocess(editor, changedData).then(function (pData) {\n link(editor, attachState, pData);\n });\n api.close();\n };\n };\n var collectData = function (editor) {\n var anchorNode = getAnchorElement(editor);\n return DialogInfo.collect(editor, anchorNode);\n };\n var getInitialData = function (info, defaultTarget) {\n var anchor = info.anchor;\n var url = anchor.url.getOr('');\n return {\n url: {\n value: url,\n meta: { original: { value: url } }\n },\n text: anchor.text.getOr(''),\n title: anchor.title.getOr(''),\n anchor: url,\n link: url,\n rel: anchor.rel.getOr(''),\n target: anchor.target.or(defaultTarget).getOr(''),\n linkClass: anchor.linkClass.getOr('')\n };\n };\n var makeDialog = function (settings, onSubmit, editor) {\n var urlInput = [{\n name: 'url',\n type: 'urlinput',\n filetype: 'file',\n label: 'URL'\n }];\n var displayText = settings.anchor.text.map(function () {\n return {\n name: 'text',\n type: 'input',\n label: 'Text to display'\n };\n }).toArray();\n var titleText = settings.flags.titleEnabled ? [{\n name: 'title',\n type: 'input',\n label: 'Title'\n }] : [];\n var defaultTarget = Optional.from(getDefaultLinkTarget(editor));\n var initialData = getInitialData(settings, defaultTarget);\n var catalogs = settings.catalogs;\n var dialogDelta = DialogChanges.init(initialData, catalogs);\n var body = {\n type: 'panel',\n items: flatten([\n urlInput,\n displayText,\n titleText,\n cat([\n catalogs.anchor.map(ListOptions.createUi('anchor', 'Anchors')),\n catalogs.rels.map(ListOptions.createUi('rel', 'Rel')),\n catalogs.targets.map(ListOptions.createUi('target', 'Open link in...')),\n catalogs.link.map(ListOptions.createUi('link', 'Link list')),\n catalogs.classes.map(ListOptions.createUi('linkClass', 'Class'))\n ])\n ])\n };\n return {\n title: 'Insert/Edit Link',\n size: 'normal',\n body: body,\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n initialData: initialData,\n onChange: function (api, _a) {\n var name = _a.name;\n dialogDelta.onChange(api.getData, { name: name }).each(function (newData) {\n api.setData(newData);\n });\n },\n onSubmit: onSubmit\n };\n };\n var open$1 = function (editor) {\n var data = collectData(editor);\n data.then(function (info) {\n var onSubmit = handleSubmit(editor, info);\n return makeDialog(info, onSubmit, editor);\n }).then(function (spec) {\n editor.windowManager.open(spec);\n });\n };\n\n var appendClickRemove = function (link, evt) {\n document.body.appendChild(link);\n link.dispatchEvent(evt);\n document.body.removeChild(link);\n };\n var open = function (url) {\n var link = document.createElement('a');\n link.target = '_blank';\n link.href = url;\n link.rel = 'noreferrer noopener';\n var evt = document.createEvent('MouseEvents');\n evt.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);\n appendClickRemove(link, evt);\n };\n\n var getLink = function (editor, elm) {\n return editor.dom.getParent(elm, 'a[href]');\n };\n var getSelectedLink = function (editor) {\n return getLink(editor, editor.selection.getStart());\n };\n var hasOnlyAltModifier = function (e) {\n return e.altKey === true && e.shiftKey === false && e.ctrlKey === false && e.metaKey === false;\n };\n var gotoLink = function (editor, a) {\n if (a) {\n var href = getHref(a);\n if (/^#/.test(href)) {\n var targetEl = editor.$(href);\n if (targetEl.length) {\n editor.selection.scrollIntoView(targetEl[0], true);\n }\n } else {\n open(a.href);\n }\n }\n };\n var openDialog = function (editor) {\n return function () {\n open$1(editor);\n };\n };\n var gotoSelectedLink = function (editor) {\n return function () {\n gotoLink(editor, getSelectedLink(editor));\n };\n };\n var setupGotoLinks = function (editor) {\n editor.on('click', function (e) {\n var link = getLink(editor, e.target);\n if (link && global$6.metaKeyPressed(e)) {\n e.preventDefault();\n gotoLink(editor, link);\n }\n });\n editor.on('keydown', function (e) {\n var link = getSelectedLink(editor);\n if (link && e.keyCode === 13 && hasOnlyAltModifier(e)) {\n e.preventDefault();\n gotoLink(editor, link);\n }\n });\n };\n var toggleState = function (editor, toggler) {\n editor.on('NodeChange', toggler);\n return function () {\n return editor.off('NodeChange', toggler);\n };\n };\n var toggleActiveState = function (editor) {\n return function (api) {\n var updateState = function () {\n return api.setActive(!editor.mode.isReadOnly() && getAnchorElement(editor, editor.selection.getNode()) !== null);\n };\n updateState();\n return toggleState(editor, updateState);\n };\n };\n var toggleEnabledState = function (editor) {\n return function (api) {\n var updateState = function () {\n return api.setDisabled(getAnchorElement(editor, editor.selection.getNode()) === null);\n };\n updateState();\n return toggleState(editor, updateState);\n };\n };\n var toggleUnlinkState = function (editor) {\n return function (api) {\n var hasLinks$1 = function (parents) {\n return hasLinks(parents) || hasLinksInSelection(editor.selection.getRng());\n };\n var parents = editor.dom.getParents(editor.selection.getStart());\n api.setDisabled(!hasLinks$1(parents));\n return toggleState(editor, function (e) {\n return api.setDisabled(!hasLinks$1(e.parents));\n });\n };\n };\n\n var register = function (editor) {\n editor.addCommand('mceLink', function () {\n if (useQuickLink(editor)) {\n editor.fire('contexttoolbar-show', { toolbarKey: 'quicklink' });\n } else {\n openDialog(editor)();\n }\n });\n };\n\n var setup = function (editor) {\n editor.addShortcut('Meta+K', '', function () {\n editor.execCommand('mceLink');\n });\n };\n\n var setupButtons = function (editor) {\n editor.ui.registry.addToggleButton('link', {\n icon: 'link',\n tooltip: 'Insert/edit link',\n onAction: openDialog(editor),\n onSetup: toggleActiveState(editor)\n });\n editor.ui.registry.addButton('openlink', {\n icon: 'new-tab',\n tooltip: 'Open link',\n onAction: gotoSelectedLink(editor),\n onSetup: toggleEnabledState(editor)\n });\n editor.ui.registry.addButton('unlink', {\n icon: 'unlink',\n tooltip: 'Remove link',\n onAction: function () {\n return unlink(editor);\n },\n onSetup: toggleUnlinkState(editor)\n });\n };\n var setupMenuItems = function (editor) {\n editor.ui.registry.addMenuItem('openlink', {\n text: 'Open link',\n icon: 'new-tab',\n onAction: gotoSelectedLink(editor),\n onSetup: toggleEnabledState(editor)\n });\n editor.ui.registry.addMenuItem('link', {\n icon: 'link',\n text: 'Link...',\n shortcut: 'Meta+K',\n onAction: openDialog(editor)\n });\n editor.ui.registry.addMenuItem('unlink', {\n icon: 'unlink',\n text: 'Remove link',\n onAction: function () {\n return unlink(editor);\n },\n onSetup: toggleUnlinkState(editor)\n });\n };\n var setupContextMenu = function (editor) {\n var inLink = 'link unlink openlink';\n var noLink = 'link';\n editor.ui.registry.addContextMenu('link', {\n update: function (element) {\n return hasLinks(editor.dom.getParents(element, 'a')) ? inLink : noLink;\n }\n });\n };\n var setupContextToolbars = function (editor) {\n var collapseSelectionToEnd = function (editor) {\n editor.selection.collapse(false);\n };\n var onSetupLink = function (buttonApi) {\n var node = editor.selection.getNode();\n buttonApi.setDisabled(!getAnchorElement(editor, node));\n return noop;\n };\n var getLinkText = function (value) {\n var anchor = getAnchorElement(editor);\n var onlyText = isOnlyTextSelected(editor);\n if (!anchor && onlyText) {\n var text = getAnchorText(editor.selection, anchor);\n return Optional.some(text.length > 0 ? text : value);\n } else {\n return Optional.none();\n }\n };\n editor.ui.registry.addContextForm('quicklink', {\n launch: {\n type: 'contextformtogglebutton',\n icon: 'link',\n tooltip: 'Link',\n onSetup: toggleActiveState(editor)\n },\n label: 'Link',\n predicate: function (node) {\n return !!getAnchorElement(editor, node) && hasContextToolbar(editor);\n },\n initValue: function () {\n var elm = getAnchorElement(editor);\n return !!elm ? getHref(elm) : '';\n },\n commands: [\n {\n type: 'contextformtogglebutton',\n icon: 'link',\n tooltip: 'Link',\n primary: true,\n onSetup: function (buttonApi) {\n var node = editor.selection.getNode();\n buttonApi.setActive(!!getAnchorElement(editor, node));\n return toggleActiveState(editor)(buttonApi);\n },\n onAction: function (formApi) {\n var value = formApi.getValue();\n var text = getLinkText(value);\n var attachState = {\n href: value,\n attach: noop\n };\n link(editor, attachState, {\n href: value,\n text: text,\n title: Optional.none(),\n rel: Optional.none(),\n target: Optional.none(),\n class: Optional.none()\n });\n collapseSelectionToEnd(editor);\n formApi.hide();\n }\n },\n {\n type: 'contextformbutton',\n icon: 'unlink',\n tooltip: 'Remove link',\n onSetup: onSetupLink,\n onAction: function (formApi) {\n unlink(editor);\n formApi.hide();\n }\n },\n {\n type: 'contextformbutton',\n icon: 'new-tab',\n tooltip: 'Open link',\n onSetup: onSetupLink,\n onAction: function (formApi) {\n gotoSelectedLink(editor)();\n formApi.hide();\n }\n }\n ]\n });\n };\n\n function Plugin () {\n global$7.add('link', function (editor) {\n setupButtons(editor);\n setupMenuItems(editor);\n setupContextMenu(editor);\n setupContextToolbars(editor);\n setupGotoLinks(editor);\n register(editor);\n setup(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["t","call","id","global$7","tinymce","util","Tools","resolve","global$6","isType","type","value","x","Array","prototype","isPrototypeOf","constructor","name","String","isSimpleType","isString","isArray","isNull","a","isBoolean","isFunction","noop","constant","identity","tripleEquals","b","never","always","none","NONE","fold","n","_s","isSome","isNone","getOr","getOrThunk","thunk","getOrDie","msg","Error","getOrNull","getOrUndefined","undefined","or","orThunk","map","each","bind","exists","forall","filter","toArray","toString","some","constant_a","self","me","f","s","Optional","from","nativeIndexOf","indexOf","nativePush","push","contains","xs","ts","rawIndexOf","flatten","r","i","len","length","apply","findMap","arr","is","lhs","rhs","comparator","left","cat","someIf","assumeExternalTargets","editor","externalTargets","getParam","getDefaultLinkTarget","getTargetList","getRelList","shouldShowLinkTitle","allowUnsafeLinkTarget","getDefaultLinkProtocol","global$5","getValue","item","sanitizeList","list","extractValue","out","text","title","getText","menu","items","sanitizeWith","extracter","ListOptions","sanitize","createUi","label","__assign","Object","assign","arguments","p","hasOwnProperty","this","keys","internalFilter","obj","pred","onTrue","onFalse","props","k","has","key","global$4","global$3","isAnchor","elm","nodeName","toLowerCase","isLink","getHref","collectNodesInRange","rng","predicate","collapsed","contents","cloneContents","walker","firstChild","elements","current","next","hasProtocol","url","test","href","getAttribute","applyRelTargetRules","rel","isUnsafe","rules","rels","split","removeTargetRules","val","inArray","newRels","concat","addTargetRules","trim","sort","join","getAnchorElement","selectedElm","selection","getNode","isImageFigure","dom","select","getParent","getAnchorText","anchorElm","replace","trimCaretContainers","innerText","textContent","getContent","format","hasLinks","grep","isOnlyTextSelected","inlineTextElements","schema","getTextInlineElements","getRng","nodeType","className","applyLinkOverrides","linkAttrs","newLinkAttrs","newRel","target","handleExternalTargets","linkDomMutation","attachState","data","acc","each$1","getLinkAttrs","undoManager","transact","attach","focus","setAttribs","updateLink","linkImageFigure","execCommand","insertContent","createHTML","encode","createLink","unwrapOptions","cls","class","v","_k","link","sanitizedData","isDomSafe","settings","sanitizeData","hasPlugin","unlink","node","unlinkImageFigure","bookmark","getBookmark","cloneRange","startAnchorElm","startContainer","getBody","endAnchorElm","endContainer","setStartBefore","setEndAfter","setRng","moveToBookmark","unlinkSelection","unlinkDomMutation","fig","img","getParents","parentNode","insertBefore","remove","attrs","create","appendChild","isListGroup","findTextByValue","catalog","getDelta","persistentText","fieldName","hasPersistentText","meta","DialogChanges","initialData","linkCatalog","persistentData","onUrlChange","getTitleFromUrlChange","onCatalogChange","change","catalogs","anchor","onChange","getData","global$2","global$1","tryEmailTransform","message","preprocess","oldData","tryProtocolTransform","defaultLinkProtocol","DialogConfirms","transform","callback","setEditorTimeout","windowManager","confirm","state","delayedConfirm","AnchorListOptions","anchorNodes","anchors","ClassListOptions","getLinkClassList","global","LinkListOptions","extractor","convertURL","linkList","getLinkList","send","success","JSON","parse","err","parseJson","error","_","output","then","optItems","RelOptions","initialTarget","isTargetBlank_1","fallbacks","TargetOptions","nonEmptyAttr","elem","getAttrib","DialogInfo","linkNode","links","linkClass","extractFromAnchor","targets","classes","optNode","flags","titleEnabled","open$1","anchorNode","collectData","info","onSubmit","api","close","getChangedValue","changedData","pData","handleSubmit","displayText","titleText","defaultTarget","original","getInitialData","dialogDelta","size","body","filetype","buttons","primary","_a","newData","setData","makeDialog","spec","open","document","createElement","evt","createEvent","initMouseEvent","window","dispatchEvent","removeChild","appendClickRemove","getLink","getSelectedLink","getStart","gotoLink","targetEl","$","scrollIntoView","openDialog","gotoSelectedLink","toggleState","toggler","on","off","toggleActiveState","updateState","setActive","mode","isReadOnly","toggleEnabledState","setDisabled","toggleUnlinkState","hasLinks$1","parents","e","setupContextToolbars","onSetupLink","buttonApi","ui","registry","addContextForm","launch","icon","tooltip","onSetup","hasContextToolbar","initValue","commands","onAction","formApi","onlyText","getLinkText","collapse","collapseSelectionToEnd","hide","add","addToggleButton","addButton","setupButtons","addMenuItem","shortcut","setupMenuItems","addContextMenu","update","element","setupContextMenu","metaKeyPressed","preventDefault","keyCode","altKey","shiftKey","ctrlKey","metaKey","hasOnlyAltModifier","setupGotoLinks","addCommand","useQuickLink","fire","toolbarKey","register","addShortcut","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72682.34c0acaf254d0f7d702a.min.js b/src/plone/staticresources/static/bundle-plone/chunks/72682.34c0acaf254d0f7d702a.min.js
new file mode 100644
index 000000000..e7ddb8aba
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72682.34c0acaf254d0f7d702a.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[72682,27384],{72682:function(e,t,n){n(27384)},27384:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,o=(l=String).prototype,o.isPrototypeOf(n)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===l.name)?"string":t;var n,o;var r,l,i})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),l=t("array"),i=(a=null,e=>a===e);var a;const s=n("boolean"),c=e=>!(e=>null==e)(e),u=n("function"),g=(e,t)=>{if(l(e)){for(let n=0,o=e.length;n{},m=(e,t)=>e===t;class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return c(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const f=Array.prototype.indexOf,p=Array.prototype.push,k=(e,t)=>((e,t)=>f.call(e,t))(e,t)>-1,v=e=>{const t=[];for(let n=0,o=e.length;nv(((e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r{for(let n=0;ne.exists((e=>n(e,t))),_=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;te?h.some(t):h.none(),C=e=>t=>t.options.get(e),O=C("link_assume_external_targets"),N=C("link_context_toolbar"),A=C("link_list"),S=C("link_default_target"),E=C("link_default_protocol"),T=C("link_target_list"),R=C("link_rel_list"),P=C("link_class_list"),L=C("link_title"),M=C("allow_unsafe_link_target"),D=C("link_quicklink");var U=tinymce.util.Tools.resolve("tinymce.util.Tools");const B=e=>o(e.value)?e.value:"",I=(e,t)=>{const n=[];return U.each(e,(e=>{const r=(e=>o(e.text)?e.text:o(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=I(e.menu,t);n.push({text:r,items:o})}else{const o=t(e);n.push({text:r,value:o})}})),n},j=(e=B)=>t=>h.from(t).map((t=>I(t,e))),K={sanitize:e=>j(B)(e),sanitizeWith:j,createUi:(e,t)=>n=>({name:e,type:"listbox",label:t,items:n}),getValue:B},z=Object.keys,q=Object.hasOwnProperty,V=(e,t,n,o)=>{((e,t)=>{const n=z(e);for(let o=0,r=n.length;o{(t(e,r)?n:o)(e,r)}))},F=(e,t)=>q.call(e,t);var W=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),$=tinymce.util.Tools.resolve("tinymce.util.URI");const G=e=>c(e)&&"a"===e.nodeName.toLowerCase(),H=e=>G(e)&&!!X(e),J=(e,t)=>{if(e.collapsed)return[];{const n=e.cloneContents(),o=n.firstChild,r=new W(o,n),l=[];let i=o;do{t(i)&&l.push(i)}while(i=r.next());return l}},Q=e=>/^\w+:/i.test(e),X=e=>{var t,n;return null!==(n=null!==(t=e.getAttribute("data-mce-href"))&&void 0!==t?t:e.getAttribute("href"))&&void 0!==n?n:""},Y=(e,t)=>{const n=["noopener"],o=e?e.split(/\s+/):[],r=e=>e.filter((e=>-1===U.inArray(n,e))),l=t?(e=>(e=r(e)).length>0?e.concat(n):n)(o):r(o);return l.length>0?(e=>U.trim(e.sort().join(" ")))(l):""},Z=(e,t)=>(t=t||ne(e.selection.getRng())[0]||e.selection.getNode(),ie(t)?h.from(e.dom.select("a[href]",t)[0]):h.from(e.dom.getParent(t,"a[href]"))),ee=(e,t)=>Z(e,t).isSome(),te=(e,t)=>(e=>e.replace(/\uFEFF/g,""))(t.fold((()=>e.getContent({format:"text"})),(e=>e.innerText||e.textContent||""))),ne=e=>J(e,H),oe=e=>U.grep(e,H),re=e=>oe(e).length>0,le=e=>{const t=e.schema.getTextInlineElements(),n=e=>1===e.nodeType&&!G(e)&&!F(t,e.nodeName.toLowerCase());if(Z(e).exists((e=>e.hasAttribute("data-mce-block"))))return!1;const o=e.selection.getRng();if(o.collapsed)return!0;return 0===J(o,n).length},ie=e=>c(e)&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className),ae=(e,t)=>{const n={...t};if(0===R(e).length&&!M(e)){const e=Y(n.rel,"_blank"===n.target);n.rel=e||null}return h.from(n.target).isNone()&&!1===T(e)&&(n.target=S(e)),n.href=((e,t)=>"http"!==t&&"https"!==t||Q(e)?e:t+"://"+e)(n.href,O(e)),n},se=(e,t,n)=>{const o=e.selection.getNode(),r=Z(e,o),l=ae(e,(e=>{return t=["title","rel","class","target"],n=(t,n)=>(e[n].each((e=>{t[n]=e.length>0?e:null})),t),o={href:e.href},((e,t)=>{for(let n=0,o=e.length;n{o=n(o,e,t)})),o;var t,n,o})(n));e.undoManager.transact((()=>{n.href===t.href&&t.attach(),r.fold((()=>{((e,t,n,o)=>{const r=e.dom;ie(t)?me(r,t,o):n.fold((()=>{e.execCommand("mceInsertLink",!1,o)}),(t=>{e.insertContent(r.createHTML("a",o,r.encode(t)))}))})(e,o,n.text,l)}),(t=>{e.focus(),((e,t,n,o)=>{n.each((e=>{F(t,"innerText")?t.innerText=e:t.textContent=e})),e.dom.setAttribs(t,o),e.selection.select(t)})(e,t,n.text,l)}))}))},ce=e=>{const{class:t,href:n,rel:o,target:r,text:l,title:a}=e;return((e,t)=>{const n={};var o;return V(e,t,(o=n,(e,t)=>{o[t]=e}),d),n})({class:t.getOrNull(),href:n,rel:o.getOrNull(),target:r.getOrNull(),text:l.getOrNull(),title:a.getOrNull()},((e,t)=>!1===i(e)))},ue=(e,t,n)=>{const o=((e,t)=>{const n=e.options.get,o={allow_html_data_urls:n("allow_html_data_urls"),allow_script_urls:n("allow_script_urls"),allow_svg_data_urls:n("allow_svg_data_urls")},r=t.href;return{...t,href:$.isDomSafe(r,"a",o)?r:""}})(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,ce(o)):se(e,t,o)},ge=e=>{e.hasPlugin("rtc",!0)?e.execCommand("unlink"):(e=>{e.undoManager.transact((()=>{const t=e.selection.getNode();ie(t)?de(e,t):(e=>{const t=e.dom,n=e.selection,o=n.getBookmark(),r=n.getRng().cloneRange(),l=t.getParent(r.startContainer,"a[href]",e.getBody()),i=t.getParent(r.endContainer,"a[href]",e.getBody());l&&r.setStartBefore(l),i&&r.setEndAfter(i),n.setRng(r),e.execCommand("unlink"),n.moveToBookmark(o)})(e),e.focus()}))})(e)},de=(e,t)=>{var n;const o=e.dom.select("img",t)[0];if(o){const r=e.dom.getParents(o,"a[href]",t)[0];r&&(null===(n=r.parentNode)||void 0===n||n.insertBefore(o,r),e.dom.remove(r))}},me=(e,t,n)=>{var o;const r=e.select("img",t)[0];if(r){const t=e.create("a",n);null===(o=r.parentNode)||void 0===o||o.insertBefore(t,r),t.appendChild(r)}},he=e=>{return F(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n},fe=(e,t)=>x(t,(t=>he(t)?fe(e,t.items):w(t.value===e,t))),pe=(e,t,n,o)=>{const r=o[t],l=e.length>0;return void 0!==r?fe(r,n).map((t=>({url:{value:t.value,meta:{text:l?e:t.text,attach:d}},text:l?e:t.text}))):h.none()},ke=(e,t)=>{const n={text:e.text,title:e.title},o=e=>{const t=(o=e.url,w(n.text.length<=0,h.from(null===(r=o.meta)||void 0===r?void 0:r.text).getOr(o.value)));var o,r;const l=(e=>{var t;return w(n.title.length<=0,h.from(null===(t=e.meta)||void 0===t?void 0:t.title).getOr(""))})(e.url);return t.isSome()||l.isSome()?h.some({...t.map((e=>({text:e}))).getOr({}),...l.map((e=>({title:e}))).getOr({})}):h.none()},r=(e,o)=>{const r=(l=t,i=o,"link"===i?l.link:"anchor"===i?l.anchor:h.none()).getOr([]);var l,i;return pe(n.text,o,r,e)};return{onChange:(e,t)=>{const l=t.name;return"url"===l?o(e()):k(["anchor","link"],l)?r(e(),l):"text"===l||"title"===l?(n[l]=e()[l],h.none()):h.none()}}};var ve=tinymce.util.Tools.resolve("tinymce.util.Delay");const ye=e=>{const t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?h.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:e=>({...e,href:"mailto:"+t})}):h.none()},xe=(e,t)=>n=>{const o=n.href;return 1===e&&!Q(o)||0===e&&/^\s*www(\.|\d\.)/i.test(o)?h.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${t}:// prefix?`,preprocess:e=>({...e,href:t+"://"+o})}):h.none()},be=(e,t)=>x([ye,xe(O(e),E(e))],(e=>e(t))).fold((()=>Promise.resolve(t)),(n=>new Promise((o=>{((e,t,n)=>{const o=e.selection.getRng();ve.setEditorTimeout(e,(()=>{e.windowManager.confirm(t,(t=>{e.selection.setRng(o),n(t)}))}))})(e,n.message,(e=>{o(e?n.preprocess(t):t)}))})))),_e=e=>{const t=e.dom.select("a:not([href])"),n=y(t,(e=>{const t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]}));return n.length>0?h.some([{text:"None",value:""}].concat(n)):h.none()},we=e=>{const t=P(e);return t.length>0?K.sanitize(t):h.none()},Ce=e=>{try{return h.some(JSON.parse(e))}catch(e){return h.none()}},Oe=e=>{const t=t=>e.convertURL(t.value||t.url||"","href"),n=A(e);return new Promise((e=>{o(n)?fetch(n).then((e=>e.ok?e.text().then(Ce):Promise.reject())).then(e,(()=>e(h.none()))):u(n)?n((t=>e(h.some(t)))):e(h.from(n))})).then((e=>e.bind(K.sanitizeWith(t)).map((e=>{if(e.length>0){return[{text:"None",value:""}].concat(e)}return e}))))},Ne=(e,t)=>{const n=R(e);if(n.length>0){const o=b(t,"_blank"),r=e=>Y(K.getValue(e),o);return(!1===M(e)?K.sanitizeWith(r):K.sanitize)(n)}return h.none()},Ae=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],Se=e=>{const t=T(e);return l(t)?K.sanitize(t).orThunk((()=>h.some(Ae))):!1===t?h.none():h.some(Ae)},Ee=(e,t,n)=>{const o=e.getAttrib(t,n);return null!==o&&o.length>0?h.some(o):h.none()},Te=(e,t)=>Oe(e).then((n=>{const o=((e,t)=>{const n=e.dom,o=le(e)?h.some(te(e.selection,t)):h.none(),r=t.bind((e=>h.from(n.getAttrib(e,"href")))),l=t.bind((e=>h.from(n.getAttrib(e,"target")))),i=t.bind((e=>Ee(n,e,"rel"))),a=t.bind((e=>Ee(n,e,"class")));return{url:r,text:o,title:t.bind((e=>Ee(n,e,"title"))),target:l,rel:i,linkClass:a}})(e,t);return{anchor:o,catalogs:{targets:Se(e),rels:Ne(e,o.target),classes:we(e),anchor:_e(e),link:n},optNode:t,flags:{titleEnabled:L(e)}}})),Re=e=>{const t=(e=>{const t=Z(e);return Te(e,t)})(e);t.then((t=>{const n=((e,t)=>n=>{const o=n.getData();if(!o.url.value)return ge(e),void n.close();const r=e=>h.from(o[e]).filter((n=>!b(t.anchor[e],n))),l={href:o.url.value,text:r("text"),target:r("target"),rel:r("rel"),class:r("linkClass"),title:r("title")},i={href:o.url.value,attach:void 0!==o.url.meta&&o.url.meta.attach?o.url.meta.attach:d};be(e,l).then((t=>{ue(e,i,t)})),n.close()})(e,t);return((e,t,n)=>{const o=e.anchor.text.map((()=>({name:"text",type:"input",label:"Text to display"}))).toArray(),r=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],l=((e,t)=>{const n=e.anchor,o=n.url.getOr("");return{url:{value:o,meta:{original:{value:o}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:o,link:o,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr("")}})(e,h.from(S(n))),i=e.catalogs,a=ke(l,i);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:v([[{name:"url",type:"urlinput",filetype:"file",label:"URL"}],o,r,_([i.anchor.map(K.createUi("anchor","Anchors")),i.rels.map(K.createUi("rel","Rel")),i.targets.map(K.createUi("target","Open link in...")),i.link.map(K.createUi("link","Link list")),i.classes.map(K.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:l,onChange:(e,{name:t})=>{a.onChange(e.getData,{name:t}).each((t=>{e.setData(t)}))},onSubmit:t}})(t,n,e)})).then((t=>{e.windowManager.open(t)}))};var Pe=tinymce.util.Tools.resolve("tinymce.util.VK");const Le=e=>{const t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),((e,t)=>{document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)})(t,n)},Me=(e,t)=>e.dom.getParent(t,"a[href]"),De=e=>Me(e,e.selection.getStart()),Ue=(e,t)=>{if(t){const n=X(t);if(/^#/.test(n)){const t=e.dom.select(n);t.length&&e.selection.scrollIntoView(t[0],!0)}else Le(t.href)}},Be=e=>()=>{e.execCommand("mceLink",!1,{dialog:!0})},Ie=e=>()=>{Ue(e,De(e))},je=(e,t)=>(e.on("NodeChange",t),()=>e.off("NodeChange",t)),Ke=e=>t=>{const n=()=>{t.setActive(!e.mode.isReadOnly()&&ee(e,e.selection.getNode())),t.setEnabled(e.selection.isEditable())};return n(),je(e,n)},ze=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return n(),je(e,n)},qe=e=>t=>{const n=()=>t.setEnabled((e=>1===(e.selection.isCollapsed()?oe(e.dom.getParents(e.selection.getStart())):ne(e.selection.getRng())).length)(e));return n(),je(e,n)},Ve=e=>t=>{const n=t=>{return re(t)||(n=e.selection.getRng(),ne(n).length>0);var n},o=e.dom.getParents(e.selection.getStart()),r=o=>{t.setEnabled(n(o)&&e.selection.isEditable())};return r(o),je(e,(e=>r(e.parents)))},Fe=e=>{const t=t=>{const n=e.selection.getNode();return t.setEnabled(ee(e,n)),d};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Ke(e)},label:"Link",predicate:t=>N(e)&&ee(e,t),initValue:()=>{return Z(e).fold((t="",()=>t),X);var t},commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:t=>{const n=e.selection.getNode();return t.setActive(ee(e,n)),Ke(e)(t)},onAction:t=>{const n=t.getValue(),o=(t=>{const n=Z(e),o=le(e);if(n.isNone()&&o){const o=te(e.selection,n);return w(0===o.length,t)}return h.none()})(n);ue(e,{href:n,attach:d},{href:n,text:o,title:h.none(),rel:h.none(),target:h.none(),class:h.none()}),(e=>{e.selection.collapse(!1)})(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:t,onAction:t=>{ge(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:t,onAction:t=>{Ie(e)(),t.hide()}}]})};e.add("link",(e=>{(e=>{const t=e.options.register;t("link_assume_external_targets",{processor:e=>{const t=o(e)||s(e);return t?!0===e?{value:1,valid:t}:"http"===e||"https"===e?{value:e,valid:t}:{value:0,valid:t}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),t("link_context_toolbar",{processor:"boolean",default:!1}),t("link_list",{processor:e=>o(e)||u(e)||g(e,r)}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"}),t("link_target_list",{processor:e=>s(e)||g(e,r),default:!0}),t("link_rel_list",{processor:"object[]",default:[]}),t("link_class_list",{processor:"object[]",default:[]}),t("link_title",{processor:"boolean",default:!0}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("link_quicklink",{processor:"boolean",default:!1})})(e),(e=>{e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:Be(e),onSetup:Ke(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Ie(e),onSetup:qe(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>ge(e),onSetup:Ve(e)})})(e),(e=>{e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Ie(e),onSetup:qe(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onSetup:ze(e),onAction:Be(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>ge(e),onSetup:Ve(e)})})(e),(e=>{e.ui.registry.addContextMenu("link",{update:t=>e.dom.isEditable(t)?re(e.dom.getParents(t,"a"))?"link unlink openlink":"link":""})})(e),Fe(e),(e=>{e.on("click",(t=>{const n=Me(e,t.target);n&&Pe.metaKeyPressed(t)&&(t.preventDefault(),Ue(e,n))})),e.on("keydown",(t=>{if(!t.isDefaultPrevented()&&13===t.keyCode&&(e=>!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey)(t)){const n=De(e);n&&(t.preventDefault(),Ue(e,n))}}))})(e),(e=>{e.addCommand("mceLink",((t,n)=>{!0!==(null==n?void 0:n.dialog)&&D(e)?e.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"}):Re(e)}))})(e),(e=>{e.addShortcut("Meta+K","",(()=>{e.execCommand("mceLink")}))})(e)}))}()}}]);
+//# sourceMappingURL=72682.34c0acaf254d0f7d702a.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/72682.34c0acaf254d0f7d702a.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/72682.34c0acaf254d0f7d702a.min.js.map
new file mode 100644
index 000000000..1ff458a84
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/72682.34c0acaf254d0f7d702a.min.js.map
@@ -0,0 +1 @@
+{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AAE2C,UAAmC,IAAd3C,EAAE4C,QA8BxBC,CAAmB7C,GAAI,CACxE,MAAMhL,EAAOqJ,GAAgBnS,GACzB8I,IACFgL,EAAEsC,iBACF/D,GAASrS,EAAQ8I,GAErB,IACA,EAiMA8N,CAAe5W,GApQFA,KACfA,EAAO6W,WAAW,WAAW,CAACC,EAAKxc,MACoC,KAAhEA,aAAqC,EAASA,EAAMmY,SAAqB5R,EAAab,GAGzFA,EAAO+W,SAAS,sBAAuB,CAAEC,WAAY,cAFrDpH,GAAO5P,EAGT,GACA,EA8PAoV,CAASpV,GA1JCA,KACZA,EAAOiX,YAAY,SAAU,IAAI,KAC/BjX,EAAOkI,YAAY,UAAU,GAC7B,EAwJAgP,CAAMlX,EAAO,GAMpB,CAptCD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/link/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/link/plugin.js"],"sourcesContent":["// Exports the \"link\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/link')\n// ES2015:\n// import 'tinymce/plugins/link'\nrequire('./plugin.js');","/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$5 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const eq = t => a => t === a;\n const isString = isType('string');\n const isObject = isType('object');\n const isArray = isType('array');\n const isNull = eq(null);\n const isBoolean = isSimpleType('boolean');\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n const isFunction = isSimpleType('function');\n const isArrayOf = (value, pred) => {\n if (isArray(value)) {\n for (let i = 0, len = value.length; i < len; ++i) {\n if (!pred(value[i])) {\n return false;\n }\n }\n return true;\n }\n return false;\n };\n\n const noop = () => {\n };\n const constant = value => {\n return () => {\n return value;\n };\n };\n const tripleEquals = (a, b) => {\n return a === b;\n };\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const nativeIndexOf = Array.prototype.indexOf;\n const nativePush = Array.prototype.push;\n const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);\n const contains = (xs, x) => rawIndexOf(xs, x) > -1;\n const map = (xs, f) => {\n const len = xs.length;\n const r = new Array(len);\n for (let i = 0; i < len; i++) {\n const x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n const each$1 = (xs, f) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n f(x, i);\n }\n };\n const foldl = (xs, f, acc) => {\n each$1(xs, (x, i) => {\n acc = f(acc, x, i);\n });\n return acc;\n };\n const flatten = xs => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n const bind = (xs, f) => flatten(map(xs, f));\n const findMap = (arr, f) => {\n for (let i = 0; i < arr.length; i++) {\n const r = f(arr[i], i);\n if (r.isSome()) {\n return r;\n }\n }\n return Optional.none();\n };\n\n const is = (lhs, rhs, comparator = tripleEquals) => lhs.exists(left => comparator(left, rhs));\n const cat = arr => {\n const r = [];\n const push = x => {\n r.push(x);\n };\n for (let i = 0; i < arr.length; i++) {\n arr[i].each(push);\n }\n return r;\n };\n const someIf = (b, a) => b ? Optional.some(a) : Optional.none();\n\n const option = name => editor => editor.options.get(name);\n const register$1 = editor => {\n const registerOption = editor.options.register;\n registerOption('link_assume_external_targets', {\n processor: value => {\n const valid = isString(value) || isBoolean(value);\n if (valid) {\n if (value === true) {\n return {\n value: 1,\n valid\n };\n } else if (value === 'http' || value === 'https') {\n return {\n value,\n valid\n };\n } else {\n return {\n value: 0,\n valid\n };\n }\n } else {\n return {\n valid: false,\n message: 'Must be a string or a boolean.'\n };\n }\n },\n default: false\n });\n registerOption('link_context_toolbar', {\n processor: 'boolean',\n default: false\n });\n registerOption('link_list', { processor: value => isString(value) || isFunction(value) || isArrayOf(value, isObject) });\n registerOption('link_default_target', { processor: 'string' });\n registerOption('link_default_protocol', {\n processor: 'string',\n default: 'https'\n });\n registerOption('link_target_list', {\n processor: value => isBoolean(value) || isArrayOf(value, isObject),\n default: true\n });\n registerOption('link_rel_list', {\n processor: 'object[]',\n default: []\n });\n registerOption('link_class_list', {\n processor: 'object[]',\n default: []\n });\n registerOption('link_title', {\n processor: 'boolean',\n default: true\n });\n registerOption('allow_unsafe_link_target', {\n processor: 'boolean',\n default: false\n });\n registerOption('link_quicklink', {\n processor: 'boolean',\n default: false\n });\n };\n const assumeExternalTargets = option('link_assume_external_targets');\n const hasContextToolbar = option('link_context_toolbar');\n const getLinkList = option('link_list');\n const getDefaultLinkTarget = option('link_default_target');\n const getDefaultLinkProtocol = option('link_default_protocol');\n const getTargetList = option('link_target_list');\n const getRelList = option('link_rel_list');\n const getLinkClassList = option('link_class_list');\n const shouldShowLinkTitle = option('link_title');\n const allowUnsafeLinkTarget = option('allow_unsafe_link_target');\n const useQuickLink = option('link_quicklink');\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const getValue = item => isString(item.value) ? item.value : '';\n const getText = item => {\n if (isString(item.text)) {\n return item.text;\n } else if (isString(item.title)) {\n return item.title;\n } else {\n return '';\n }\n };\n const sanitizeList = (list, extractValue) => {\n const out = [];\n global$4.each(list, item => {\n const text = getText(item);\n if (item.menu !== undefined) {\n const items = sanitizeList(item.menu, extractValue);\n out.push({\n text,\n items\n });\n } else {\n const value = extractValue(item);\n out.push({\n text,\n value\n });\n }\n });\n return out;\n };\n const sanitizeWith = (extracter = getValue) => list => Optional.from(list).map(list => sanitizeList(list, extracter));\n const sanitize = list => sanitizeWith(getValue)(list);\n const createUi = (name, label) => items => ({\n name,\n type: 'listbox',\n label,\n items\n });\n const ListOptions = {\n sanitize,\n sanitizeWith,\n createUi,\n getValue\n };\n\n const keys = Object.keys;\n const hasOwnProperty = Object.hasOwnProperty;\n const each = (obj, f) => {\n const props = keys(obj);\n for (let k = 0, len = props.length; k < len; k++) {\n const i = props[k];\n const x = obj[i];\n f(x, i);\n }\n };\n const objAcc = r => (x, i) => {\n r[i] = x;\n };\n const internalFilter = (obj, pred, onTrue, onFalse) => {\n each(obj, (x, i) => {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n };\n const filter = (obj, pred) => {\n const t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n const has = (obj, key) => hasOwnProperty.call(obj, key);\n const hasNonNullableKey = (obj, key) => has(obj, key) && obj[key] !== undefined && obj[key] !== null;\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n const isAnchor = elm => isNonNullable(elm) && elm.nodeName.toLowerCase() === 'a';\n const isLink = elm => isAnchor(elm) && !!getHref(elm);\n const collectNodesInRange = (rng, predicate) => {\n if (rng.collapsed) {\n return [];\n } else {\n const contents = rng.cloneContents();\n const firstChild = contents.firstChild;\n const walker = new global$3(firstChild, contents);\n const elements = [];\n let current = firstChild;\n do {\n if (predicate(current)) {\n elements.push(current);\n }\n } while (current = walker.next());\n return elements;\n }\n };\n const hasProtocol = url => /^\\w+:/i.test(url);\n const getHref = elm => {\n var _a, _b;\n return (_b = (_a = elm.getAttribute('data-mce-href')) !== null && _a !== void 0 ? _a : elm.getAttribute('href')) !== null && _b !== void 0 ? _b : '';\n };\n const applyRelTargetRules = (rel, isUnsafe) => {\n const rules = ['noopener'];\n const rels = rel ? rel.split(/\\s+/) : [];\n const toString = rels => global$4.trim(rels.sort().join(' '));\n const addTargetRules = rels => {\n rels = removeTargetRules(rels);\n return rels.length > 0 ? rels.concat(rules) : rules;\n };\n const removeTargetRules = rels => rels.filter(val => global$4.inArray(rules, val) === -1);\n const newRels = isUnsafe ? addTargetRules(rels) : removeTargetRules(rels);\n return newRels.length > 0 ? toString(newRels) : '';\n };\n const trimCaretContainers = text => text.replace(/\\uFEFF/g, '');\n const getAnchorElement = (editor, selectedElm) => {\n selectedElm = selectedElm || getLinksInSelection(editor.selection.getRng())[0] || editor.selection.getNode();\n if (isImageFigure(selectedElm)) {\n return Optional.from(editor.dom.select('a[href]', selectedElm)[0]);\n } else {\n return Optional.from(editor.dom.getParent(selectedElm, 'a[href]'));\n }\n };\n const isInAnchor = (editor, selectedElm) => getAnchorElement(editor, selectedElm).isSome();\n const getAnchorText = (selection, anchorElm) => {\n const text = anchorElm.fold(() => selection.getContent({ format: 'text' }), anchorElm => anchorElm.innerText || anchorElm.textContent || '');\n return trimCaretContainers(text);\n };\n const getLinksInSelection = rng => collectNodesInRange(rng, isLink);\n const getLinks$1 = elements => global$4.grep(elements, isLink);\n const hasLinks = elements => getLinks$1(elements).length > 0;\n const hasLinksInSelection = rng => getLinksInSelection(rng).length > 0;\n const isOnlyTextSelected = editor => {\n const inlineTextElements = editor.schema.getTextInlineElements();\n const isElement = elm => elm.nodeType === 1 && !isAnchor(elm) && !has(inlineTextElements, elm.nodeName.toLowerCase());\n const isInBlockAnchor = getAnchorElement(editor).exists(anchor => anchor.hasAttribute('data-mce-block'));\n if (isInBlockAnchor) {\n return false;\n }\n const rng = editor.selection.getRng();\n if (!rng.collapsed) {\n const elements = collectNodesInRange(rng, isElement);\n return elements.length === 0;\n } else {\n return true;\n }\n };\n const isImageFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE' && /\\bimage\\b/i.test(elm.className);\n const getLinkAttrs = data => {\n const attrs = [\n 'title',\n 'rel',\n 'class',\n 'target'\n ];\n return foldl(attrs, (acc, key) => {\n data[key].each(value => {\n acc[key] = value.length > 0 ? value : null;\n });\n return acc;\n }, { href: data.href });\n };\n const handleExternalTargets = (href, assumeExternalTargets) => {\n if ((assumeExternalTargets === 'http' || assumeExternalTargets === 'https') && !hasProtocol(href)) {\n return assumeExternalTargets + '://' + href;\n }\n return href;\n };\n const applyLinkOverrides = (editor, linkAttrs) => {\n const newLinkAttrs = { ...linkAttrs };\n if (getRelList(editor).length === 0 && !allowUnsafeLinkTarget(editor)) {\n const newRel = applyRelTargetRules(newLinkAttrs.rel, newLinkAttrs.target === '_blank');\n newLinkAttrs.rel = newRel ? newRel : null;\n }\n if (Optional.from(newLinkAttrs.target).isNone() && getTargetList(editor) === false) {\n newLinkAttrs.target = getDefaultLinkTarget(editor);\n }\n newLinkAttrs.href = handleExternalTargets(newLinkAttrs.href, assumeExternalTargets(editor));\n return newLinkAttrs;\n };\n const updateLink = (editor, anchorElm, text, linkAttrs) => {\n text.each(text => {\n if (has(anchorElm, 'innerText')) {\n anchorElm.innerText = text;\n } else {\n anchorElm.textContent = text;\n }\n });\n editor.dom.setAttribs(anchorElm, linkAttrs);\n editor.selection.select(anchorElm);\n };\n const createLink = (editor, selectedElm, text, linkAttrs) => {\n const dom = editor.dom;\n if (isImageFigure(selectedElm)) {\n linkImageFigure(dom, selectedElm, linkAttrs);\n } else {\n text.fold(() => {\n editor.execCommand('mceInsertLink', false, linkAttrs);\n }, text => {\n editor.insertContent(dom.createHTML('a', linkAttrs, dom.encode(text)));\n });\n }\n };\n const linkDomMutation = (editor, attachState, data) => {\n const selectedElm = editor.selection.getNode();\n const anchorElm = getAnchorElement(editor, selectedElm);\n const linkAttrs = applyLinkOverrides(editor, getLinkAttrs(data));\n editor.undoManager.transact(() => {\n if (data.href === attachState.href) {\n attachState.attach();\n }\n anchorElm.fold(() => {\n createLink(editor, selectedElm, data.text, linkAttrs);\n }, elm => {\n editor.focus();\n updateLink(editor, elm, data.text, linkAttrs);\n });\n });\n };\n const unlinkSelection = editor => {\n const dom = editor.dom, selection = editor.selection;\n const bookmark = selection.getBookmark();\n const rng = selection.getRng().cloneRange();\n const startAnchorElm = dom.getParent(rng.startContainer, 'a[href]', editor.getBody());\n const endAnchorElm = dom.getParent(rng.endContainer, 'a[href]', editor.getBody());\n if (startAnchorElm) {\n rng.setStartBefore(startAnchorElm);\n }\n if (endAnchorElm) {\n rng.setEndAfter(endAnchorElm);\n }\n selection.setRng(rng);\n editor.execCommand('unlink');\n selection.moveToBookmark(bookmark);\n };\n const unlinkDomMutation = editor => {\n editor.undoManager.transact(() => {\n const node = editor.selection.getNode();\n if (isImageFigure(node)) {\n unlinkImageFigure(editor, node);\n } else {\n unlinkSelection(editor);\n }\n editor.focus();\n });\n };\n const unwrapOptions = data => {\n const {\n class: cls,\n href,\n rel,\n target,\n text,\n title\n } = data;\n return filter({\n class: cls.getOrNull(),\n href,\n rel: rel.getOrNull(),\n target: target.getOrNull(),\n text: text.getOrNull(),\n title: title.getOrNull()\n }, (v, _k) => isNull(v) === false);\n };\n const sanitizeData = (editor, data) => {\n const getOption = editor.options.get;\n const uriOptions = {\n allow_html_data_urls: getOption('allow_html_data_urls'),\n allow_script_urls: getOption('allow_script_urls'),\n allow_svg_data_urls: getOption('allow_svg_data_urls')\n };\n const href = data.href;\n return {\n ...data,\n href: global$2.isDomSafe(href, 'a', uriOptions) ? href : ''\n };\n };\n const link = (editor, attachState, data) => {\n const sanitizedData = sanitizeData(editor, data);\n editor.hasPlugin('rtc', true) ? editor.execCommand('createlink', false, unwrapOptions(sanitizedData)) : linkDomMutation(editor, attachState, sanitizedData);\n };\n const unlink = editor => {\n editor.hasPlugin('rtc', true) ? editor.execCommand('unlink') : unlinkDomMutation(editor);\n };\n const unlinkImageFigure = (editor, fig) => {\n var _a;\n const img = editor.dom.select('img', fig)[0];\n if (img) {\n const a = editor.dom.getParents(img, 'a[href]', fig)[0];\n if (a) {\n (_a = a.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(img, a);\n editor.dom.remove(a);\n }\n }\n };\n const linkImageFigure = (dom, fig, attrs) => {\n var _a;\n const img = dom.select('img', fig)[0];\n if (img) {\n const a = dom.create('a', attrs);\n (_a = img.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(a, img);\n a.appendChild(img);\n }\n };\n\n const isListGroup = item => hasNonNullableKey(item, 'items');\n const findTextByValue = (value, catalog) => findMap(catalog, item => {\n if (isListGroup(item)) {\n return findTextByValue(value, item.items);\n } else {\n return someIf(item.value === value, item);\n }\n });\n const getDelta = (persistentText, fieldName, catalog, data) => {\n const value = data[fieldName];\n const hasPersistentText = persistentText.length > 0;\n return value !== undefined ? findTextByValue(value, catalog).map(i => ({\n url: {\n value: i.value,\n meta: {\n text: hasPersistentText ? persistentText : i.text,\n attach: noop\n }\n },\n text: hasPersistentText ? persistentText : i.text\n })) : Optional.none();\n };\n const findCatalog = (catalogs, fieldName) => {\n if (fieldName === 'link') {\n return catalogs.link;\n } else if (fieldName === 'anchor') {\n return catalogs.anchor;\n } else {\n return Optional.none();\n }\n };\n const init = (initialData, linkCatalog) => {\n const persistentData = {\n text: initialData.text,\n title: initialData.title\n };\n const getTitleFromUrlChange = url => {\n var _a;\n return someIf(persistentData.title.length <= 0, Optional.from((_a = url.meta) === null || _a === void 0 ? void 0 : _a.title).getOr(''));\n };\n const getTextFromUrlChange = url => {\n var _a;\n return someIf(persistentData.text.length <= 0, Optional.from((_a = url.meta) === null || _a === void 0 ? void 0 : _a.text).getOr(url.value));\n };\n const onUrlChange = data => {\n const text = getTextFromUrlChange(data.url);\n const title = getTitleFromUrlChange(data.url);\n if (text.isSome() || title.isSome()) {\n return Optional.some({\n ...text.map(text => ({ text })).getOr({}),\n ...title.map(title => ({ title })).getOr({})\n });\n } else {\n return Optional.none();\n }\n };\n const onCatalogChange = (data, change) => {\n const catalog = findCatalog(linkCatalog, change).getOr([]);\n return getDelta(persistentData.text, change, catalog, data);\n };\n const onChange = (getData, change) => {\n const name = change.name;\n if (name === 'url') {\n return onUrlChange(getData());\n } else if (contains([\n 'anchor',\n 'link'\n ], name)) {\n return onCatalogChange(getData(), name);\n } else if (name === 'text' || name === 'title') {\n persistentData[name] = getData()[name];\n return Optional.none();\n } else {\n return Optional.none();\n }\n };\n return { onChange };\n };\n const DialogChanges = {\n init,\n getDelta\n };\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n const delayedConfirm = (editor, message, callback) => {\n const rng = editor.selection.getRng();\n global$1.setEditorTimeout(editor, () => {\n editor.windowManager.confirm(message, state => {\n editor.selection.setRng(rng);\n callback(state);\n });\n });\n };\n const tryEmailTransform = data => {\n const url = data.href;\n const suggestMailTo = url.indexOf('@') > 0 && url.indexOf('/') === -1 && url.indexOf('mailto:') === -1;\n return suggestMailTo ? Optional.some({\n message: 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?',\n preprocess: oldData => ({\n ...oldData,\n href: 'mailto:' + url\n })\n }) : Optional.none();\n };\n const tryProtocolTransform = (assumeExternalTargets, defaultLinkProtocol) => data => {\n const url = data.href;\n const suggestProtocol = assumeExternalTargets === 1 && !hasProtocol(url) || assumeExternalTargets === 0 && /^\\s*www(\\.|\\d\\.)/i.test(url);\n return suggestProtocol ? Optional.some({\n message: `The URL you entered seems to be an external link. Do you want to add the required ${ defaultLinkProtocol }:// prefix?`,\n preprocess: oldData => ({\n ...oldData,\n href: defaultLinkProtocol + '://' + url\n })\n }) : Optional.none();\n };\n const preprocess = (editor, data) => findMap([\n tryEmailTransform,\n tryProtocolTransform(assumeExternalTargets(editor), getDefaultLinkProtocol(editor))\n ], f => f(data)).fold(() => Promise.resolve(data), transform => new Promise(callback => {\n delayedConfirm(editor, transform.message, state => {\n callback(state ? transform.preprocess(data) : data);\n });\n }));\n const DialogConfirms = { preprocess };\n\n const getAnchors = editor => {\n const anchorNodes = editor.dom.select('a:not([href])');\n const anchors = bind(anchorNodes, anchor => {\n const id = anchor.name || anchor.id;\n return id ? [{\n text: id,\n value: '#' + id\n }] : [];\n });\n return anchors.length > 0 ? Optional.some([{\n text: 'None',\n value: ''\n }].concat(anchors)) : Optional.none();\n };\n const AnchorListOptions = { getAnchors };\n\n const getClasses = editor => {\n const list = getLinkClassList(editor);\n if (list.length > 0) {\n return ListOptions.sanitize(list);\n }\n return Optional.none();\n };\n const ClassListOptions = { getClasses };\n\n const parseJson = text => {\n try {\n return Optional.some(JSON.parse(text));\n } catch (err) {\n return Optional.none();\n }\n };\n const getLinks = editor => {\n const extractor = item => editor.convertURL(item.value || item.url || '', 'href');\n const linkList = getLinkList(editor);\n return new Promise(resolve => {\n if (isString(linkList)) {\n fetch(linkList).then(res => res.ok ? res.text().then(parseJson) : Promise.reject()).then(resolve, () => resolve(Optional.none()));\n } else if (isFunction(linkList)) {\n linkList(output => resolve(Optional.some(output)));\n } else {\n resolve(Optional.from(linkList));\n }\n }).then(optItems => optItems.bind(ListOptions.sanitizeWith(extractor)).map(items => {\n if (items.length > 0) {\n const noneItem = [{\n text: 'None',\n value: ''\n }];\n return noneItem.concat(items);\n } else {\n return items;\n }\n }));\n };\n const LinkListOptions = { getLinks };\n\n const getRels = (editor, initialTarget) => {\n const list = getRelList(editor);\n if (list.length > 0) {\n const isTargetBlank = is(initialTarget, '_blank');\n const enforceSafe = allowUnsafeLinkTarget(editor) === false;\n const safeRelExtractor = item => applyRelTargetRules(ListOptions.getValue(item), isTargetBlank);\n const sanitizer = enforceSafe ? ListOptions.sanitizeWith(safeRelExtractor) : ListOptions.sanitize;\n return sanitizer(list);\n }\n return Optional.none();\n };\n const RelOptions = { getRels };\n\n const fallbacks = [\n {\n text: 'Current window',\n value: ''\n },\n {\n text: 'New window',\n value: '_blank'\n }\n ];\n const getTargets = editor => {\n const list = getTargetList(editor);\n if (isArray(list)) {\n return ListOptions.sanitize(list).orThunk(() => Optional.some(fallbacks));\n } else if (list === false) {\n return Optional.none();\n }\n return Optional.some(fallbacks);\n };\n const TargetOptions = { getTargets };\n\n const nonEmptyAttr = (dom, elem, name) => {\n const val = dom.getAttrib(elem, name);\n return val !== null && val.length > 0 ? Optional.some(val) : Optional.none();\n };\n const extractFromAnchor = (editor, anchor) => {\n const dom = editor.dom;\n const onlyText = isOnlyTextSelected(editor);\n const text = onlyText ? Optional.some(getAnchorText(editor.selection, anchor)) : Optional.none();\n const url = anchor.bind(anchorElm => Optional.from(dom.getAttrib(anchorElm, 'href')));\n const target = anchor.bind(anchorElm => Optional.from(dom.getAttrib(anchorElm, 'target')));\n const rel = anchor.bind(anchorElm => nonEmptyAttr(dom, anchorElm, 'rel'));\n const linkClass = anchor.bind(anchorElm => nonEmptyAttr(dom, anchorElm, 'class'));\n const title = anchor.bind(anchorElm => nonEmptyAttr(dom, anchorElm, 'title'));\n return {\n url,\n text,\n title,\n target,\n rel,\n linkClass\n };\n };\n const collect = (editor, linkNode) => LinkListOptions.getLinks(editor).then(links => {\n const anchor = extractFromAnchor(editor, linkNode);\n return {\n anchor,\n catalogs: {\n targets: TargetOptions.getTargets(editor),\n rels: RelOptions.getRels(editor, anchor.target),\n classes: ClassListOptions.getClasses(editor),\n anchor: AnchorListOptions.getAnchors(editor),\n link: links\n },\n optNode: linkNode,\n flags: { titleEnabled: shouldShowLinkTitle(editor) }\n };\n });\n const DialogInfo = { collect };\n\n const handleSubmit = (editor, info) => api => {\n const data = api.getData();\n if (!data.url.value) {\n unlink(editor);\n api.close();\n return;\n }\n const getChangedValue = key => Optional.from(data[key]).filter(value => !is(info.anchor[key], value));\n const changedData = {\n href: data.url.value,\n text: getChangedValue('text'),\n target: getChangedValue('target'),\n rel: getChangedValue('rel'),\n class: getChangedValue('linkClass'),\n title: getChangedValue('title')\n };\n const attachState = {\n href: data.url.value,\n attach: data.url.meta !== undefined && data.url.meta.attach ? data.url.meta.attach : noop\n };\n DialogConfirms.preprocess(editor, changedData).then(pData => {\n link(editor, attachState, pData);\n });\n api.close();\n };\n const collectData = editor => {\n const anchorNode = getAnchorElement(editor);\n return DialogInfo.collect(editor, anchorNode);\n };\n const getInitialData = (info, defaultTarget) => {\n const anchor = info.anchor;\n const url = anchor.url.getOr('');\n return {\n url: {\n value: url,\n meta: { original: { value: url } }\n },\n text: anchor.text.getOr(''),\n title: anchor.title.getOr(''),\n anchor: url,\n link: url,\n rel: anchor.rel.getOr(''),\n target: anchor.target.or(defaultTarget).getOr(''),\n linkClass: anchor.linkClass.getOr('')\n };\n };\n const makeDialog = (settings, onSubmit, editor) => {\n const urlInput = [{\n name: 'url',\n type: 'urlinput',\n filetype: 'file',\n label: 'URL'\n }];\n const displayText = settings.anchor.text.map(() => ({\n name: 'text',\n type: 'input',\n label: 'Text to display'\n })).toArray();\n const titleText = settings.flags.titleEnabled ? [{\n name: 'title',\n type: 'input',\n label: 'Title'\n }] : [];\n const defaultTarget = Optional.from(getDefaultLinkTarget(editor));\n const initialData = getInitialData(settings, defaultTarget);\n const catalogs = settings.catalogs;\n const dialogDelta = DialogChanges.init(initialData, catalogs);\n const body = {\n type: 'panel',\n items: flatten([\n urlInput,\n displayText,\n titleText,\n cat([\n catalogs.anchor.map(ListOptions.createUi('anchor', 'Anchors')),\n catalogs.rels.map(ListOptions.createUi('rel', 'Rel')),\n catalogs.targets.map(ListOptions.createUi('target', 'Open link in...')),\n catalogs.link.map(ListOptions.createUi('link', 'Link list')),\n catalogs.classes.map(ListOptions.createUi('linkClass', 'Class'))\n ])\n ])\n };\n return {\n title: 'Insert/Edit Link',\n size: 'normal',\n body,\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n initialData,\n onChange: (api, {name}) => {\n dialogDelta.onChange(api.getData, { name }).each(newData => {\n api.setData(newData);\n });\n },\n onSubmit\n };\n };\n const open$1 = editor => {\n const data = collectData(editor);\n data.then(info => {\n const onSubmit = handleSubmit(editor, info);\n return makeDialog(info, onSubmit, editor);\n }).then(spec => {\n editor.windowManager.open(spec);\n });\n };\n\n const register = editor => {\n editor.addCommand('mceLink', (_ui, value) => {\n if ((value === null || value === void 0 ? void 0 : value.dialog) === true || !useQuickLink(editor)) {\n open$1(editor);\n } else {\n editor.dispatch('contexttoolbar-show', { toolbarKey: 'quicklink' });\n }\n });\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.VK');\n\n const appendClickRemove = (link, evt) => {\n document.body.appendChild(link);\n link.dispatchEvent(evt);\n document.body.removeChild(link);\n };\n const open = url => {\n const link = document.createElement('a');\n link.target = '_blank';\n link.href = url;\n link.rel = 'noreferrer noopener';\n const evt = document.createEvent('MouseEvents');\n evt.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);\n appendClickRemove(link, evt);\n };\n\n const getLink = (editor, elm) => editor.dom.getParent(elm, 'a[href]');\n const getSelectedLink = editor => getLink(editor, editor.selection.getStart());\n const hasOnlyAltModifier = e => {\n return e.altKey === true && e.shiftKey === false && e.ctrlKey === false && e.metaKey === false;\n };\n const gotoLink = (editor, a) => {\n if (a) {\n const href = getHref(a);\n if (/^#/.test(href)) {\n const targetEl = editor.dom.select(href);\n if (targetEl.length) {\n editor.selection.scrollIntoView(targetEl[0], true);\n }\n } else {\n open(a.href);\n }\n }\n };\n const openDialog = editor => () => {\n editor.execCommand('mceLink', false, { dialog: true });\n };\n const gotoSelectedLink = editor => () => {\n gotoLink(editor, getSelectedLink(editor));\n };\n const setupGotoLinks = editor => {\n editor.on('click', e => {\n const link = getLink(editor, e.target);\n if (link && global.metaKeyPressed(e)) {\n e.preventDefault();\n gotoLink(editor, link);\n }\n });\n editor.on('keydown', e => {\n if (!e.isDefaultPrevented() && e.keyCode === 13 && hasOnlyAltModifier(e)) {\n const link = getSelectedLink(editor);\n if (link) {\n e.preventDefault();\n gotoLink(editor, link);\n }\n }\n });\n };\n const toggleState = (editor, toggler) => {\n editor.on('NodeChange', toggler);\n return () => editor.off('NodeChange', toggler);\n };\n const toggleLinkState = editor => api => {\n const updateState = () => {\n api.setActive(!editor.mode.isReadOnly() && isInAnchor(editor, editor.selection.getNode()));\n api.setEnabled(editor.selection.isEditable());\n };\n updateState();\n return toggleState(editor, updateState);\n };\n const toggleLinkMenuState = editor => api => {\n const updateState = () => {\n api.setEnabled(editor.selection.isEditable());\n };\n updateState();\n return toggleState(editor, updateState);\n };\n const hasExactlyOneLinkInSelection = editor => {\n const links = editor.selection.isCollapsed() ? getLinks$1(editor.dom.getParents(editor.selection.getStart())) : getLinksInSelection(editor.selection.getRng());\n return links.length === 1;\n };\n const toggleGotoLinkState = editor => api => {\n const updateState = () => api.setEnabled(hasExactlyOneLinkInSelection(editor));\n updateState();\n return toggleState(editor, updateState);\n };\n const toggleUnlinkState = editor => api => {\n const hasLinks$1 = parents => hasLinks(parents) || hasLinksInSelection(editor.selection.getRng());\n const parents = editor.dom.getParents(editor.selection.getStart());\n const updateEnabled = parents => {\n api.setEnabled(hasLinks$1(parents) && editor.selection.isEditable());\n };\n updateEnabled(parents);\n return toggleState(editor, e => updateEnabled(e.parents));\n };\n\n const setup = editor => {\n editor.addShortcut('Meta+K', '', () => {\n editor.execCommand('mceLink');\n });\n };\n\n const setupButtons = editor => {\n editor.ui.registry.addToggleButton('link', {\n icon: 'link',\n tooltip: 'Insert/edit link',\n onAction: openDialog(editor),\n onSetup: toggleLinkState(editor)\n });\n editor.ui.registry.addButton('openlink', {\n icon: 'new-tab',\n tooltip: 'Open link',\n onAction: gotoSelectedLink(editor),\n onSetup: toggleGotoLinkState(editor)\n });\n editor.ui.registry.addButton('unlink', {\n icon: 'unlink',\n tooltip: 'Remove link',\n onAction: () => unlink(editor),\n onSetup: toggleUnlinkState(editor)\n });\n };\n const setupMenuItems = editor => {\n editor.ui.registry.addMenuItem('openlink', {\n text: 'Open link',\n icon: 'new-tab',\n onAction: gotoSelectedLink(editor),\n onSetup: toggleGotoLinkState(editor)\n });\n editor.ui.registry.addMenuItem('link', {\n icon: 'link',\n text: 'Link...',\n shortcut: 'Meta+K',\n onSetup: toggleLinkMenuState(editor),\n onAction: openDialog(editor)\n });\n editor.ui.registry.addMenuItem('unlink', {\n icon: 'unlink',\n text: 'Remove link',\n onAction: () => unlink(editor),\n onSetup: toggleUnlinkState(editor)\n });\n };\n const setupContextMenu = editor => {\n const inLink = 'link unlink openlink';\n const noLink = 'link';\n editor.ui.registry.addContextMenu('link', {\n update: element => {\n const isEditable = editor.dom.isEditable(element);\n if (!isEditable) {\n return '';\n }\n return hasLinks(editor.dom.getParents(element, 'a')) ? inLink : noLink;\n }\n });\n };\n const setupContextToolbars = editor => {\n const collapseSelectionToEnd = editor => {\n editor.selection.collapse(false);\n };\n const onSetupLink = buttonApi => {\n const node = editor.selection.getNode();\n buttonApi.setEnabled(isInAnchor(editor, node));\n return noop;\n };\n const getLinkText = value => {\n const anchor = getAnchorElement(editor);\n const onlyText = isOnlyTextSelected(editor);\n if (anchor.isNone() && onlyText) {\n const text = getAnchorText(editor.selection, anchor);\n return someIf(text.length === 0, value);\n } else {\n return Optional.none();\n }\n };\n editor.ui.registry.addContextForm('quicklink', {\n launch: {\n type: 'contextformtogglebutton',\n icon: 'link',\n tooltip: 'Link',\n onSetup: toggleLinkState(editor)\n },\n label: 'Link',\n predicate: node => hasContextToolbar(editor) && isInAnchor(editor, node),\n initValue: () => {\n const elm = getAnchorElement(editor);\n return elm.fold(constant(''), getHref);\n },\n commands: [\n {\n type: 'contextformtogglebutton',\n icon: 'link',\n tooltip: 'Link',\n primary: true,\n onSetup: buttonApi => {\n const node = editor.selection.getNode();\n buttonApi.setActive(isInAnchor(editor, node));\n return toggleLinkState(editor)(buttonApi);\n },\n onAction: formApi => {\n const value = formApi.getValue();\n const text = getLinkText(value);\n const attachState = {\n href: value,\n attach: noop\n };\n link(editor, attachState, {\n href: value,\n text,\n title: Optional.none(),\n rel: Optional.none(),\n target: Optional.none(),\n class: Optional.none()\n });\n collapseSelectionToEnd(editor);\n formApi.hide();\n }\n },\n {\n type: 'contextformbutton',\n icon: 'unlink',\n tooltip: 'Remove link',\n onSetup: onSetupLink,\n onAction: formApi => {\n unlink(editor);\n formApi.hide();\n }\n },\n {\n type: 'contextformbutton',\n icon: 'new-tab',\n tooltip: 'Open link',\n onSetup: onSetupLink,\n onAction: formApi => {\n gotoSelectedLink(editor)();\n formApi.hide();\n }\n }\n ]\n });\n };\n\n var Plugin = () => {\n global$5.add('link', editor => {\n register$1(editor);\n setupButtons(editor);\n setupMenuItems(editor);\n setupContextMenu(editor);\n setupContextToolbars(editor);\n setupGotoLinks(editor);\n register(editor);\n setup(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$5","tinymce","util","Tools","resolve","isType","type","value","x","t","Array","isArray","o","v","proto","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isSimpleType","isString","isObject","isNull","a","isBoolean","isNonNullable","isNullable","isFunction","isArrayOf","pred","i","len","length","noop","tripleEquals","b","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","nativeIndexOf","indexOf","nativePush","push","contains","xs","ts","call","rawIndexOf","flatten","r","apply","f","findMap","arr","is","lhs","rhs","comparator","left","cat","someIf","option","editor","options","get","assumeExternalTargets","hasContextToolbar","getLinkList","getDefaultLinkTarget","getDefaultLinkProtocol","getTargetList","getRelList","getLinkClassList","shouldShowLinkTitle","allowUnsafeLinkTarget","useQuickLink","global$4","getValue","item","sanitizeList","list","extractValue","out","text","title","getText","undefined","menu","items","sanitizeWith","extracter","ListOptions","sanitize","createUi","label","keys","Object","hasOwnProperty","internalFilter","obj","onTrue","onFalse","props","k","has","key","global$3","global$2","isAnchor","elm","nodeName","toLowerCase","isLink","getHref","collectNodesInRange","rng","collapsed","contents","cloneContents","firstChild","walker","elements","current","next","hasProtocol","url","test","_b","getAttribute","applyRelTargetRules","rel","isUnsafe","rules","rels","split","removeTargetRules","val","inArray","newRels","concat","addTargetRules","trim","sort","join","getAnchorElement","selectedElm","getLinksInSelection","selection","getRng","getNode","isImageFigure","dom","select","getParent","isInAnchor","getAnchorText","anchorElm","replace","trimCaretContainers","getContent","format","innerText","textContent","getLinks$1","grep","hasLinks","isOnlyTextSelected","inlineTextElements","schema","getTextInlineElements","isElement","nodeType","anchor","hasAttribute","className","applyLinkOverrides","linkAttrs","newLinkAttrs","newRel","target","href","handleExternalTargets","linkDomMutation","attachState","data","acc","each$1","getLinkAttrs","undoManager","transact","attach","linkImageFigure","execCommand","insertContent","createHTML","encode","createLink","focus","setAttribs","updateLink","unwrapOptions","class","cls","_k","link","sanitizedData","getOption","uriOptions","allow_html_data_urls","allow_script_urls","allow_svg_data_urls","isDomSafe","sanitizeData","hasPlugin","unlink","node","unlinkImageFigure","bookmark","getBookmark","cloneRange","startAnchorElm","startContainer","getBody","endAnchorElm","endContainer","setStartBefore","setEndAfter","setRng","moveToBookmark","unlinkSelection","unlinkDomMutation","fig","img","getParents","parentNode","insertBefore","remove","attrs","create","appendChild","isListGroup","hasNonNullableKey","findTextByValue","catalog","getDelta","persistentText","fieldName","hasPersistentText","meta","DialogChanges","initialData","linkCatalog","persistentData","onUrlChange","getTitleFromUrlChange","onCatalogChange","change","catalogs","onChange","getData","global$1","tryEmailTransform","preprocess","oldData","tryProtocolTransform","defaultLinkProtocol","DialogConfirms","Promise","transform","callback","setEditorTimeout","windowManager","confirm","state","delayedConfirm","AnchorListOptions","anchorNodes","anchors","id","ClassListOptions","parseJson","JSON","parse","err","LinkListOptions","extractor","convertURL","linkList","fetch","then","res","ok","reject","output","optItems","RelOptions","initialTarget","isTargetBlank","safeRelExtractor","fallbacks","TargetOptions","nonEmptyAttr","elem","getAttrib","DialogInfo","linkNode","links","linkClass","extractFromAnchor","targets","classes","optNode","flags","titleEnabled","open$1","anchorNode","collectData","info","onSubmit","api","close","getChangedValue","changedData","pData","handleSubmit","settings","displayText","titleText","defaultTarget","original","getInitialData","dialogDelta","size","body","filetype","buttons","primary","newData","setData","makeDialog","spec","open","global","document","createElement","evt","createEvent","initMouseEvent","window","dispatchEvent","removeChild","appendClickRemove","getLink","getSelectedLink","getStart","gotoLink","targetEl","scrollIntoView","openDialog","dialog","gotoSelectedLink","toggleState","toggler","on","off","toggleLinkState","updateState","setActive","mode","isReadOnly","setEnabled","isEditable","toggleLinkMenuState","toggleGotoLinkState","isCollapsed","hasExactlyOneLinkInSelection","toggleUnlinkState","hasLinks$1","parents","updateEnabled","e","setupContextToolbars","onSetupLink","buttonApi","ui","registry","addContextForm","launch","icon","tooltip","onSetup","initValue","commands","onAction","formApi","onlyText","getLinkText","collapse","collapseSelectionToEnd","hide","add","registerOption","register","processor","valid","default","register$1","addToggleButton","addButton","setupButtons","addMenuItem","shortcut","setupMenuItems","addContextMenu","update","element","setupContextMenu","metaKeyPressed","preventDefault","isDefaultPrevented","keyCode","altKey","shiftKey","ctrlKey","metaKey","hasOnlyAltModifier","setupGotoLinks","addCommand","_ui","dispatch","toolbarKey","addShortcut","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/73253.817e6a91bf64d79eaef5.min.js b/src/plone/staticresources/static/bundle-plone/chunks/73253.817e6a91bf64d79eaef5.min.js
deleted file mode 100644
index ae6e94425..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/73253.817e6a91bf64d79eaef5.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[73253],{73253:function(t,n,e){!function(){"use strict";var t,n,r,o=function(t){var n=t;return{get:function(){return n},set:function(t){n=t}}},i=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=tinymce.util.Tools.resolve("tinymce.util.Tools"),a=(t="array",function(n){return r=typeof(e=n),(null===e?"null":"object"===r&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===r&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":r)===t;var e,r}),c=function(t){return!function(t){return null==t}(t)},f=function(t){return function(n){return typeof n===t}}("function"),s=function(){},l=function(t){return function(){return t}},d=function(t){return t},m=l(!1),h=l(!0),g=function(){return p},p={fold:function(t,n){return t()},isSome:m,isNone:h,getOr:r=d,getOrThunk:n=function(t){return t()},getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:l(null),getOrUndefined:l(void 0),or:r,orThunk:n,map:g,each:s,bind:g,exists:m,forall:h,filter:function(){return g()},toArray:function(){return[]},toString:l("none()")},v=function(t){var n=l(t),e=function(){return o},r=function(n){return n(t)},o={fold:function(n,e){return e(t)},isSome:h,isNone:m,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:e,orThunk:e,map:function(n){return v(n(t))},each:function(n){n(t)},bind:r,exists:r,forall:r,filter:function(n){return n(t)?o:p},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};return o},y={some:v,none:g,from:function(t){return null==t?p:v(t)}},w={},b={exports:w};!function(t,n,r,o){var i,u;i=this,u=function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self?self:{},n={exports:{}};!function(n){!function(t){var e=setTimeout;function r(){}function o(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],s(t,this)}function i(t,n){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,o._immediateFn((function(){var e=1===t._state?n.onFulfilled:n.onRejected;if(null!==e){var r;try{r=e(t._value)}catch(t){return void a(n.promise,t)}u(n.promise,r)}else(1===t._state?u:a)(n.promise,t._value)}))):t._deferreds.push(n)}function u(t,n){try{if(n===t)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var e=n.then;if(n instanceof o)return t._state=3,t._value=n,void c(t);if("function"==typeof e)return void s((r=e,i=n,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=n,c(t)}catch(n){a(t,n)}var r,i}function a(t,n){t._state=2,t._value=n,c(t)}function c(t){2===t._state&&0===t._deferreds.length&&o._immediateFn((function(){t._handled||o._unhandledRejectionFn(t._value)}));for(var n=0,e=t._deferreds.length;n-1;var e,r},O=function(t,n){for(var e=0,r=t.length;e=300},nt=function(t,n){var e={"Content-Type":"application/json;charset=UTF-8","tiny-api-key":n};return V(function(t,n){var e=-1===t.indexOf("?")?"?":"&";return/[?&]apiKey=/.test(t)?t:t+e+"apiKey="+encodeURIComponent(n)}(t,n),e).then((function(t){return tt(t.status)?(n=t.status,e=t.blob,function(t,n){return"application/json"===(null==n?void 0:n.type)&&(400===t||403===t||404===t||500===t)}(n,e)?Z(e):X(n)):_.resolve(t.blob);var n,e}))},et=function(t,n,e){return void 0===e&&(e=!1),n?nt(t,n):function(t,n){return V(t,{},n).then((function(t){return tt(t.status)?X(t.status):_.resolve(t.blob)}))}(t,e)},rt=function(t){return N(t)},ot=function(t){if(null==t)throw new Error("Node cannot be null or undefined");return{dom:t}},it={fromHtml:function(t,n){var e=(n||document).createElement("div");if(e.innerHTML=t,!e.hasChildNodes()||e.childNodes.length>1)throw console.error("HTML does not have a single root node",t),new Error("HTML must have a single root node");return ot(e.childNodes[0])},fromTag:function(t,n){var e=(n||document).createElement(t);return ot(e)},fromText:function(t,n){var e=(n||document).createTextNode(t);return ot(e)},fromDom:ot,fromPoint:function(t,n,e){return y.from(t.dom.elementFromPoint(n,e)).map(ot)}};"undefined"!=typeof window?window:Function("return this;")();var ut=function(t,n){return function(t,n){return C(t.dom.childNodes,(function(t){return n(it.fromDom(t))})).map(it.fromDom)}(t,(function(t){return function(t,n){var e=t.dom;if(1!==e.nodeType)return!1;var r=e;if(void 0!==r.matches)return r.matches(n);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(n);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(n);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")}(t,n)}))},at=tinymce.util.Tools.resolve("tinymce.util.Delay"),ct=tinymce.util.Tools.resolve("tinymce.util.Promise"),ft=tinymce.util.Tools.resolve("tinymce.util.URI"),st=function(t){return t.getParam("imagetools_toolbar","rotateleft rotateright flipv fliph editimage imageoptions")},lt=function(t){return t.getParam("imagetools_proxy")},dt=function(t){var n,e,r=function(t){return/^[0-9\.]+px$/.test(t)};return n=t.style.width,e=t.style.height,n||e?r(n)&&r(e)?{w:parseInt(n,10),h:parseInt(e,10)}:null:(n=t.width,e=t.height,n&&e?{w:parseInt(n,10),h:parseInt(e,10)}:null)},mt=function(t){return{w:t.naturalWidth,h:t.naturalHeight}},ht=0,gt=function(t){return ut(it.fromDom(t),"img")},pt=function(t,n){return t.dom.is(n,"figure")},vt=function(t,n){return t.dom.is(n,"img:not([data-mce-object],[data-mce-placeholder])")},yt=function(t,n){var e=function(n){return vt(t,n)&&(Et(t,n)||Tt(t,n)||c(lt(t)))};return pt(t,n)?gt(n).bind((function(t){return e(t.dom)?y.some(t.dom):y.none()})):e(n)?y.some(n):y.none()},wt=function(t,n){t.notificationManager.open({text:n,type:"error"})},bt=function(t){var n=t.selection.getNode(),e=t.dom.getParent(n,"figure.image");return null!==e&&pt(t,e)?gt(e):vt(t,n)?y.some(it.fromDom(n)):y.none()},_t=function(t,n,e){var r=n.match(/(?:\/|^)(([^\/\?]+)\.(?:[a-z0-9.]+))(?:\?|$)/i);return c(r)?t.dom.encode(r[e]):null},Et=function(t,n){var e=n.src;return 0===e.indexOf("data:")||0===e.indexOf("blob:")||new ft(e).host===t.documentBaseURI.host},Tt=function(t,n){return-1!==u.inArray(function(t){return t.getParam("imagetools_cors_hosts",[],"string[]")}(t),new ft(n.src).host)},xt=function(t,n){if(Tt(t,n))return et(n.src,null,function(t,n){return-1!==u.inArray(function(t){return t.getParam("imagetools_credentials_hosts",[],"string[]")}(t),new ft(n.src).host)}(t,n));if(!Et(t,n)){var e=lt(t),r=e+(-1===e.indexOf("?")?"?":"&")+"url="+encodeURIComponent(n.src),o=function(t){return t.getParam("api_key",t.getParam("imagetools_api_key","","string"),"string")}(t);return et(r,o,!1)}return S(n)},It=function(t,n){return function(t){return y.from(t.getParam("imagetools_fetch_image",null,"function"))}(t).fold((function(){return xt(t,n)}),(function(t){return t(n)}))},Rt=function(t,n){var e=t.editorUpload.blobCache.getByUri(n.src);return e?ct.resolve(e.blob()):It(t,n)},Ut=function(t){at.clearTimeout(t.get())},At=function(t,n,e,r,o,i,u){return e.toBlob().then((function(a){var f,s,l,d,m=t.editorUpload.blobCache;f=i.src;var h=n.type===a.type;return function(t){return t.getParam("images_reuse_filename",!1,"boolean")}(t)&&(d=m.getByUri(f),c(d)?(f=d.uri(),s=d.name(),l=d.filename()):(s=_t(t,f,2),l=_t(t,f,1))),d=m.create({id:"imagetools"+ht++,blob:a,base64:e.toBase64(),uri:f,name:s,filename:h?l:void 0}),m.add(d),t.undoManager.transact((function(){var n=function(){t.$(i).off("load",n),t.nodeChanged(),r?t.editorUpload.uploadImagesAuto():(Ut(o),function(t,n){var e=at.setEditorTimeout(t,(function(){t.editorUpload.uploadImagesAuto()}),function(t){return t.getParam("images_upload_timeout",3e4,"number")}(t));n.set(e)}(t,o))};t.$(i).on("load",n),u&&t.$(i).attr({width:u.w,height:u.h}),t.$(i).attr({src:d.blobUri()}).removeAttr("data-mce-src")})),d}))},jt=function(t,n,e,r){return function(){return bt(t).fold((function(){wt(t,"Could not find selected image")}),(function(o){return t._scanForImages().then((function(){return Rt(t,o.dom)})).then((function(i){return rt(i).then(e).then((function(e){return At(t,i,e,!1,n,o.dom,r)}))})).catch((function(n){wt(t,n)}))}))}},kt=function(t,n,e){return function(){var r=bt(t).map((function(t){var n=dt(t.dom);return n?{w:n.h,h:n.w}:null})).getOrNull();return jt(t,n,(function(t){return $(t,e)}),r)()}},St=function(t,n,e){return function(){return jt(t,n,(function(t){return W(t,e)}))()}},Mt=function(t,n,e,r,o){return function(t){return R(t)}(o).then((function(t){var n=mt(t);return r.w===n.w&&r.h===n.h||dt(e)&&function(t,n){var e,r;n&&(e=t.style.width,r=t.style.height,(e||r)&&(t.style.width=n.w+"px",t.style.height=n.h+"px",t.removeAttribute("data-mce-style")),e=t.width,r=t.height,(e||r)&&(t.setAttribute("width",String(n.w)),t.setAttribute("height",String(n.h))))}(e,n),URL.revokeObjectURL(t.src),o})).then(rt).then((function(r){return At(t,o,r,!0,n,e)}))},Pt=function(t,n){return function(){var e=bt(t),r=e.map((function(t){return mt(t.dom)}));e.each((function(o){yt(t,o.dom).each((function(i){Rt(t,o.dom).then((function(o){var i=function(t){return{blob:t,url:URL.createObjectURL(t)}}(o);t.windowManager.open({title:"Edit Image",size:"large",body:{type:"panel",items:[{type:"imagetools",name:"imagetools",label:"Edit Image",currentState:i}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0,disabled:!0}],onSubmit:function(o){var i=o.getData().imagetools.blob;e.each((function(e){r.each((function(r){Mt(t,n,e.dom,r,i)}))})),o.close()},onCancel:s,onAction:function(t,n){switch(n.name){case"save-state":n.value?t.enable("save"):t.disable("save");break;case"disable":t.disable("save"),t.disable("cancel");break;case"enable":t.enable("cancel")}}})}))}))}))}};i.add("imagetools",(function(t){var n=o(0),e=o(null);!function(t,n){u.each({mceImageRotateLeft:kt(t,n,-90),mceImageRotateRight:kt(t,n,90),mceImageFlipVertical:St(t,n,"v"),mceImageFlipHorizontal:St(t,n,"h"),mceEditImage:Pt(t,n)},(function(n,e){t.addCommand(e,n)}))}(t,n),function(t){var n=[],e=function(n){return function(){return t.execCommand(n)}},r=function(){return bt(t).exists((function(n){return yt(t,n.dom).isSome()}))},o=function(t){var e=function(n){return t.setDisabled(!n)};return e(r()),n=n.concat([e]),function(){n=function(t,n){for(var e=[],r=0,o=t.length;r -1;\n };\n var each$1 = function (xs, f) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n f(x, i);\n }\n };\n var filter = function (xs, pred) {\n var r = [];\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n var foldl = function (xs, f, acc) {\n each$1(xs, function (x, i) {\n acc = f(acc, x, i);\n });\n return acc;\n };\n var findUntil = function (xs, pred, until) {\n for (var i = 0, len = xs.length; i < len; i++) {\n var x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n var find = function (xs, pred) {\n return findUntil(xs, pred, never);\n };\n var forall = function (xs, pred) {\n for (var i = 0, len = xs.length; i < len; ++i) {\n var x = xs[i];\n if (pred(x, i) !== true) {\n return false;\n }\n }\n return true;\n };\n\n var keys = Object.keys;\n var each = function (obj, f) {\n var props = keys(obj);\n for (var k = 0, len = props.length; k < len; k++) {\n var i = props[k];\n var x = obj[i];\n f(x, i);\n }\n };\n\n var generate = function (cases) {\n if (!isArray(cases)) {\n throw new Error('cases must be an array');\n }\n if (cases.length === 0) {\n throw new Error('there must be at least one case');\n }\n var constructors = [];\n var adt = {};\n each$1(cases, function (acase, count) {\n var keys$1 = keys(acase);\n if (keys$1.length !== 1) {\n throw new Error('one and only one name per case');\n }\n var key = keys$1[0];\n var value = acase[key];\n if (adt[key] !== undefined) {\n throw new Error('duplicate key detected:' + key);\n } else if (key === 'cata') {\n throw new Error('cannot have a case named cata (sorry)');\n } else if (!isArray(value)) {\n throw new Error('case arguments must be an array');\n }\n constructors.push(key);\n adt[key] = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var argLength = args.length;\n if (argLength !== value.length) {\n throw new Error('Wrong number of arguments to case ' + key + '. Expected ' + value.length + ' (' + value + '), got ' + argLength);\n }\n var match = function (branches) {\n var branchKeys = keys(branches);\n if (constructors.length !== branchKeys.length) {\n throw new Error('Wrong number of arguments to match. Expected: ' + constructors.join(',') + '\\nActual: ' + branchKeys.join(','));\n }\n var allReqd = forall(constructors, function (reqKey) {\n return contains(branchKeys, reqKey);\n });\n if (!allReqd) {\n throw new Error('Not all branches were specified when using match. Specified: ' + branchKeys.join(', ') + '\\nRequired: ' + constructors.join(', '));\n }\n return branches[key].apply(null, args);\n };\n return {\n fold: function () {\n var foldArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n foldArgs[_i] = arguments[_i];\n }\n if (foldArgs.length !== cases.length) {\n throw new Error('Wrong number of arguments to fold. Expected ' + cases.length + ', got ' + foldArgs.length);\n }\n var target = foldArgs[count];\n return target.apply(null, args);\n },\n match: match,\n log: function (label) {\n console.log(label, {\n constructors: constructors,\n constructor: key,\n params: args\n });\n }\n };\n };\n });\n return adt;\n };\n var Adt = { generate: generate };\n\n Adt.generate([\n {\n bothErrors: [\n 'error1',\n 'error2'\n ]\n },\n {\n firstError: [\n 'error1',\n 'value2'\n ]\n },\n {\n secondError: [\n 'value1',\n 'error2'\n ]\n },\n {\n bothValues: [\n 'value1',\n 'value2'\n ]\n }\n ]);\n\n var create = function (getCanvas, blob, uri) {\n var initialType = blob.type;\n var getType = constant(initialType);\n var toBlob = function () {\n return Promise$1.resolve(blob);\n };\n var toDataURL = constant(uri);\n var toBase64 = function () {\n return uri.split(',')[1];\n };\n var toAdjustedBlob = function (type, quality) {\n return getCanvas.then(function (canvas) {\n return canvasToBlob(canvas, type, quality);\n });\n };\n var toAdjustedDataURL = function (type, quality) {\n return getCanvas.then(function (canvas) {\n return canvasToDataURL(canvas, type, quality);\n });\n };\n var toAdjustedBase64 = function (type, quality) {\n return toAdjustedDataURL(type, quality).then(function (dataurl) {\n return dataurl.split(',')[1];\n });\n };\n var toCanvas = function () {\n return getCanvas.then(clone);\n };\n return {\n getType: getType,\n toBlob: toBlob,\n toDataURL: toDataURL,\n toBase64: toBase64,\n toAdjustedBlob: toAdjustedBlob,\n toAdjustedDataURL: toAdjustedDataURL,\n toAdjustedBase64: toAdjustedBase64,\n toCanvas: toCanvas\n };\n };\n var fromBlob = function (blob) {\n return blobToDataUri(blob).then(function (uri) {\n return create(blobToCanvas(blob), blob, uri);\n });\n };\n var fromCanvas = function (canvas, type) {\n return canvasToBlob(canvas, type).then(function (blob) {\n return create(Promise$1.resolve(canvas), blob, canvas.toDataURL());\n });\n };\n\n var ceilWithPrecision = function (num, precision) {\n if (precision === void 0) {\n precision = 2;\n }\n var mul = Math.pow(10, precision);\n var upper = Math.round(num * mul);\n return Math.ceil(upper / mul);\n };\n var rotate$2 = function (ir, angle) {\n return ir.toCanvas().then(function (canvas) {\n return applyRotate(canvas, ir.getType(), angle);\n });\n };\n var applyRotate = function (image, type, angle) {\n var degrees = angle < 0 ? 360 + angle : angle;\n var rad = degrees * Math.PI / 180;\n var width = image.width;\n var height = image.height;\n var sin = Math.sin(rad);\n var cos = Math.cos(rad);\n var newWidth = ceilWithPrecision(Math.abs(width * cos) + Math.abs(height * sin));\n var newHeight = ceilWithPrecision(Math.abs(width * sin) + Math.abs(height * cos));\n var canvas = create$1(newWidth, newHeight);\n var context = get2dContext(canvas);\n context.translate(newWidth / 2, newHeight / 2);\n context.rotate(rad);\n context.drawImage(image, -width / 2, -height / 2);\n return fromCanvas(canvas, type);\n };\n var flip$2 = function (ir, axis) {\n return ir.toCanvas().then(function (canvas) {\n return applyFlip(canvas, ir.getType(), axis);\n });\n };\n var applyFlip = function (image, type, axis) {\n var canvas = create$1(image.width, image.height);\n var context = get2dContext(canvas);\n if (axis === 'v') {\n context.scale(1, -1);\n context.drawImage(image, 0, -canvas.height);\n } else {\n context.scale(-1, 1);\n context.drawImage(image, -canvas.width, 0);\n }\n return fromCanvas(canvas, type);\n };\n\n var flip$1 = function (ir, axis) {\n return flip$2(ir, axis);\n };\n var rotate$1 = function (ir, angle) {\n return rotate$2(ir, angle);\n };\n\n var sendRequest = function (url, headers, withCredentials) {\n if (withCredentials === void 0) {\n withCredentials = false;\n }\n return new Promise$1(function (resolve) {\n var xhr = new XMLHttpRequest();\n xhr.onreadystatechange = function () {\n if (xhr.readyState === 4) {\n resolve({\n status: xhr.status,\n blob: xhr.response\n });\n }\n };\n xhr.open('GET', url, true);\n xhr.withCredentials = withCredentials;\n each(headers, function (value, key) {\n xhr.setRequestHeader(key, value);\n });\n xhr.responseType = 'blob';\n xhr.send();\n });\n };\n var readBlobText = function (blob) {\n return new Promise$1(function (resolve, reject) {\n var reader = new FileReader();\n reader.onload = function () {\n resolve(reader.result);\n };\n reader.onerror = function (e) {\n reject(e);\n };\n reader.readAsText(blob);\n });\n };\n var parseJson = function (text) {\n try {\n return Optional.some(JSON.parse(text));\n } catch (ex) {\n return Optional.none();\n }\n };\n\n var friendlyHttpErrors = [\n {\n code: 404,\n message: 'Could not find Image Proxy'\n },\n {\n code: 403,\n message: 'Rejected request'\n },\n {\n code: 0,\n message: 'Incorrect Image Proxy URL'\n }\n ];\n var friendlyServiceErrors = [\n {\n type: 'not_found',\n message: 'Failed to load image.'\n },\n {\n type: 'key_missing',\n message: 'The request did not include an api key.'\n },\n {\n type: 'key_not_found',\n message: 'The provided api key could not be found.'\n },\n {\n type: 'domain_not_trusted',\n message: 'The api key is not valid for the request origins.'\n }\n ];\n var traverseJson = function (json, path) {\n var value = foldl(path, function (result, key) {\n return isNonNullable(result) ? result[key] : undefined;\n }, json);\n return Optional.from(value);\n };\n var isServiceErrorCode = function (code, blob) {\n return (blob === null || blob === void 0 ? void 0 : blob.type) === 'application/json' && (code === 400 || code === 403 || code === 404 || code === 500);\n };\n var getHttpErrorMsg = function (status) {\n var message = find(friendlyHttpErrors, function (error) {\n return status === error.code;\n }).fold(constant('Unknown ImageProxy error'), function (error) {\n return error.message;\n });\n return 'ImageProxy HTTP error: ' + message;\n };\n var handleHttpError = function (status) {\n var message = getHttpErrorMsg(status);\n return Promise$1.reject(message);\n };\n var getServiceErrorMsg = function (type) {\n return find(friendlyServiceErrors, function (error) {\n return error.type === type;\n }).fold(constant('Unknown service error'), function (error) {\n return error.message;\n });\n };\n var getServiceError = function (text) {\n var serviceError = parseJson(text);\n var errorMsg = serviceError.bind(function (err) {\n return traverseJson(err, [\n 'error',\n 'type'\n ]).map(getServiceErrorMsg);\n }).getOr('Invalid JSON in service error message');\n return 'ImageProxy Service error: ' + errorMsg;\n };\n var handleServiceError = function (blob) {\n return readBlobText(blob).then(function (text) {\n var serviceError = getServiceError(text);\n return Promise$1.reject(serviceError);\n });\n };\n var handleServiceErrorResponse = function (status, blob) {\n return isServiceErrorCode(status, blob) ? handleServiceError(blob) : handleHttpError(status);\n };\n\n var appendApiKey = function (url, apiKey) {\n var separator = url.indexOf('?') === -1 ? '?' : '&';\n if (/[?&]apiKey=/.test(url)) {\n return url;\n } else {\n return url + separator + 'apiKey=' + encodeURIComponent(apiKey);\n }\n };\n var isError = function (status) {\n return status < 200 || status >= 300;\n };\n var requestServiceBlob = function (url, apiKey) {\n var headers = {\n 'Content-Type': 'application/json;charset=UTF-8',\n 'tiny-api-key': apiKey\n };\n return sendRequest(appendApiKey(url, apiKey), headers).then(function (result) {\n return isError(result.status) ? handleServiceErrorResponse(result.status, result.blob) : Promise$1.resolve(result.blob);\n });\n };\n var requestBlob = function (url, withCredentials) {\n return sendRequest(url, {}, withCredentials).then(function (result) {\n return isError(result.status) ? handleHttpError(result.status) : Promise$1.resolve(result.blob);\n });\n };\n var getUrl = function (url, apiKey, withCredentials) {\n if (withCredentials === void 0) {\n withCredentials = false;\n }\n return apiKey ? requestServiceBlob(url, apiKey) : requestBlob(url, withCredentials);\n };\n\n var blobToImageResult = function (blob) {\n return fromBlob(blob);\n };\n\n var ELEMENT = 1;\n\n var fromHtml = function (html, scope) {\n var doc = scope || document;\n var div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n console.error('HTML does not have a single root node', html);\n throw new Error('HTML must have a single root node');\n }\n return fromDom(div.childNodes[0]);\n };\n var fromTag = function (tag, scope) {\n var doc = scope || document;\n var node = doc.createElement(tag);\n return fromDom(node);\n };\n var fromText = function (text, scope) {\n var doc = scope || document;\n var node = doc.createTextNode(text);\n return fromDom(node);\n };\n var fromDom = function (node) {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n var fromPoint = function (docElm, x, y) {\n return Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n };\n var SugarElement = {\n fromHtml: fromHtml,\n fromTag: fromTag,\n fromText: fromText,\n fromDom: fromDom,\n fromPoint: fromPoint\n };\n\n var is = function (element, selector) {\n var dom = element.dom;\n if (dom.nodeType !== ELEMENT) {\n return false;\n } else {\n var elem = dom;\n if (elem.matches !== undefined) {\n return elem.matches(selector);\n } else if (elem.msMatchesSelector !== undefined) {\n return elem.msMatchesSelector(selector);\n } else if (elem.webkitMatchesSelector !== undefined) {\n return elem.webkitMatchesSelector(selector);\n } else if (elem.mozMatchesSelector !== undefined) {\n return elem.mozMatchesSelector(selector);\n } else {\n throw new Error('Browser lacks native selectors');\n }\n }\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n var child$1 = function (scope, predicate) {\n var pred = function (node) {\n return predicate(SugarElement.fromDom(node));\n };\n var result = find(scope.dom.childNodes, pred);\n return result.map(SugarElement.fromDom);\n };\n\n var child = function (scope, selector) {\n return child$1(scope, function (e) {\n return is(e, selector);\n });\n };\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.Promise');\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n var getToolbarItems = function (editor) {\n return editor.getParam('imagetools_toolbar', 'rotateleft rotateright flipv fliph editimage imageoptions');\n };\n var getProxyUrl = function (editor) {\n return editor.getParam('imagetools_proxy');\n };\n var getCorsHosts = function (editor) {\n return editor.getParam('imagetools_cors_hosts', [], 'string[]');\n };\n var getCredentialsHosts = function (editor) {\n return editor.getParam('imagetools_credentials_hosts', [], 'string[]');\n };\n var getFetchImage = function (editor) {\n return Optional.from(editor.getParam('imagetools_fetch_image', null, 'function'));\n };\n var getApiKey = function (editor) {\n return editor.getParam('api_key', editor.getParam('imagetools_api_key', '', 'string'), 'string');\n };\n var getUploadTimeout = function (editor) {\n return editor.getParam('images_upload_timeout', 30000, 'number');\n };\n var shouldReuseFilename = function (editor) {\n return editor.getParam('images_reuse_filename', false, 'boolean');\n };\n\n var getImageSize = function (img) {\n var width, height;\n var isPxValue = function (value) {\n return /^[0-9\\.]+px$/.test(value);\n };\n width = img.style.width;\n height = img.style.height;\n if (width || height) {\n if (isPxValue(width) && isPxValue(height)) {\n return {\n w: parseInt(width, 10),\n h: parseInt(height, 10)\n };\n }\n return null;\n }\n width = img.width;\n height = img.height;\n if (width && height) {\n return {\n w: parseInt(width, 10),\n h: parseInt(height, 10)\n };\n }\n return null;\n };\n var setImageSize = function (img, size) {\n var width, height;\n if (size) {\n width = img.style.width;\n height = img.style.height;\n if (width || height) {\n img.style.width = size.w + 'px';\n img.style.height = size.h + 'px';\n img.removeAttribute('data-mce-style');\n }\n width = img.width;\n height = img.height;\n if (width || height) {\n img.setAttribute('width', String(size.w));\n img.setAttribute('height', String(size.h));\n }\n }\n };\n var getNaturalImageSize = function (img) {\n return {\n w: img.naturalWidth,\n h: img.naturalHeight\n };\n };\n\n var count = 0;\n var getFigureImg = function (elem) {\n return child(SugarElement.fromDom(elem), 'img');\n };\n var isFigure = function (editor, elem) {\n return editor.dom.is(elem, 'figure');\n };\n var isImage = function (editor, imgNode) {\n return editor.dom.is(imgNode, 'img:not([data-mce-object],[data-mce-placeholder])');\n };\n var getEditableImage = function (editor, node) {\n var isEditable = function (imgNode) {\n return isImage(editor, imgNode) && (isLocalImage(editor, imgNode) || isCorsImage(editor, imgNode) || isNonNullable(getProxyUrl(editor)));\n };\n if (isFigure(editor, node)) {\n return getFigureImg(node).bind(function (img) {\n return isEditable(img.dom) ? Optional.some(img.dom) : Optional.none();\n });\n } else {\n return isEditable(node) ? Optional.some(node) : Optional.none();\n }\n };\n var displayError = function (editor, error) {\n editor.notificationManager.open({\n text: error,\n type: 'error'\n });\n };\n var getSelectedImage = function (editor) {\n var elem = editor.selection.getNode();\n var figureElm = editor.dom.getParent(elem, 'figure.image');\n if (figureElm !== null && isFigure(editor, figureElm)) {\n return getFigureImg(figureElm);\n } else if (isImage(editor, elem)) {\n return Optional.some(SugarElement.fromDom(elem));\n } else {\n return Optional.none();\n }\n };\n var extractFilename = function (editor, url, group) {\n var m = url.match(/(?:\\/|^)(([^\\/\\?]+)\\.(?:[a-z0-9.]+))(?:\\?|$)/i);\n return isNonNullable(m) ? editor.dom.encode(m[group]) : null;\n };\n var createId = function () {\n return 'imagetools' + count++;\n };\n var isLocalImage = function (editor, img) {\n var url = img.src;\n return url.indexOf('data:') === 0 || url.indexOf('blob:') === 0 || new global$1(url).host === editor.documentBaseURI.host;\n };\n var isCorsImage = function (editor, img) {\n return global$4.inArray(getCorsHosts(editor), new global$1(img.src).host) !== -1;\n };\n var isCorsWithCredentialsImage = function (editor, img) {\n return global$4.inArray(getCredentialsHosts(editor), new global$1(img.src).host) !== -1;\n };\n var defaultFetchImage = function (editor, img) {\n if (isCorsImage(editor, img)) {\n return getUrl(img.src, null, isCorsWithCredentialsImage(editor, img));\n }\n if (!isLocalImage(editor, img)) {\n var proxyUrl = getProxyUrl(editor);\n var src = proxyUrl + (proxyUrl.indexOf('?') === -1 ? '?' : '&') + 'url=' + encodeURIComponent(img.src);\n var apiKey = getApiKey(editor);\n return getUrl(src, apiKey, false);\n }\n return imageToBlob$1(img);\n };\n var imageToBlob = function (editor, img) {\n return getFetchImage(editor).fold(function () {\n return defaultFetchImage(editor, img);\n }, function (customFetchImage) {\n return customFetchImage(img);\n });\n };\n var findBlob = function (editor, img) {\n var blobInfo = editor.editorUpload.blobCache.getByUri(img.src);\n if (blobInfo) {\n return global$2.resolve(blobInfo.blob());\n }\n return imageToBlob(editor, img);\n };\n var startTimedUpload = function (editor, imageUploadTimerState) {\n var imageUploadTimer = global$3.setEditorTimeout(editor, function () {\n editor.editorUpload.uploadImagesAuto();\n }, getUploadTimeout(editor));\n imageUploadTimerState.set(imageUploadTimer);\n };\n var cancelTimedUpload = function (imageUploadTimerState) {\n global$3.clearTimeout(imageUploadTimerState.get());\n };\n var updateSelectedImage = function (editor, origBlob, ir, uploadImmediately, imageUploadTimerState, selectedImage, size) {\n return ir.toBlob().then(function (blob) {\n var uri, name, filename, blobInfo;\n var blobCache = editor.editorUpload.blobCache;\n uri = selectedImage.src;\n var useFilename = origBlob.type === blob.type;\n if (shouldReuseFilename(editor)) {\n blobInfo = blobCache.getByUri(uri);\n if (isNonNullable(blobInfo)) {\n uri = blobInfo.uri();\n name = blobInfo.name();\n filename = blobInfo.filename();\n } else {\n name = extractFilename(editor, uri, 2);\n filename = extractFilename(editor, uri, 1);\n }\n }\n blobInfo = blobCache.create({\n id: createId(),\n blob: blob,\n base64: ir.toBase64(),\n uri: uri,\n name: name,\n filename: useFilename ? filename : undefined\n });\n blobCache.add(blobInfo);\n editor.undoManager.transact(function () {\n var imageLoadedHandler = function () {\n editor.$(selectedImage).off('load', imageLoadedHandler);\n editor.nodeChanged();\n if (uploadImmediately) {\n editor.editorUpload.uploadImagesAuto();\n } else {\n cancelTimedUpload(imageUploadTimerState);\n startTimedUpload(editor, imageUploadTimerState);\n }\n };\n editor.$(selectedImage).on('load', imageLoadedHandler);\n if (size) {\n editor.$(selectedImage).attr({\n width: size.w,\n height: size.h\n });\n }\n editor.$(selectedImage).attr({ src: blobInfo.blobUri() }).removeAttr('data-mce-src');\n });\n return blobInfo;\n });\n };\n var selectedImageOperation = function (editor, imageUploadTimerState, fn, size) {\n return function () {\n var imgOpt = getSelectedImage(editor);\n return imgOpt.fold(function () {\n displayError(editor, 'Could not find selected image');\n }, function (img) {\n return editor._scanForImages().then(function () {\n return findBlob(editor, img.dom);\n }).then(function (blob) {\n return blobToImageResult(blob).then(fn).then(function (imageResult) {\n return updateSelectedImage(editor, blob, imageResult, false, imageUploadTimerState, img.dom, size);\n });\n }).catch(function (error) {\n displayError(editor, error);\n });\n });\n };\n };\n var rotate = function (editor, imageUploadTimerState, angle) {\n return function () {\n var imgOpt = getSelectedImage(editor);\n var flippedSize = imgOpt.map(function (img) {\n var size = getImageSize(img.dom);\n return size ? {\n w: size.h,\n h: size.w\n } : null;\n }).getOrNull();\n return selectedImageOperation(editor, imageUploadTimerState, function (imageResult) {\n return rotate$1(imageResult, angle);\n }, flippedSize)();\n };\n };\n var flip = function (editor, imageUploadTimerState, axis) {\n return function () {\n return selectedImageOperation(editor, imageUploadTimerState, function (imageResult) {\n return flip$1(imageResult, axis);\n })();\n };\n };\n var handleDialogBlob = function (editor, imageUploadTimerState, img, originalSize, blob) {\n return blobToImage(blob).then(function (newImage) {\n var newSize = getNaturalImageSize(newImage);\n if (originalSize.w !== newSize.w || originalSize.h !== newSize.h) {\n if (getImageSize(img)) {\n setImageSize(img, newSize);\n }\n }\n URL.revokeObjectURL(newImage.src);\n return blob;\n }).then(blobToImageResult).then(function (imageResult) {\n return updateSelectedImage(editor, blob, imageResult, true, imageUploadTimerState, img);\n });\n };\n\n var saveState = 'save-state';\n var disable = 'disable';\n var enable = 'enable';\n\n var createState = function (blob) {\n return {\n blob: blob,\n url: URL.createObjectURL(blob)\n };\n };\n var makeOpen = function (editor, imageUploadTimerState) {\n return function () {\n var getLoadedSpec = function (currentState) {\n return {\n title: 'Edit Image',\n size: 'large',\n body: {\n type: 'panel',\n items: [{\n type: 'imagetools',\n name: 'imagetools',\n label: 'Edit Image',\n currentState: currentState\n }]\n },\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true,\n disabled: true\n }\n ],\n onSubmit: function (api) {\n var blob = api.getData().imagetools.blob;\n originalImgOpt.each(function (originalImg) {\n originalSizeOpt.each(function (originalSize) {\n handleDialogBlob(editor, imageUploadTimerState, originalImg.dom, originalSize, blob);\n });\n });\n api.close();\n },\n onCancel: noop,\n onAction: function (api, details) {\n switch (details.name) {\n case saveState:\n if (details.value) {\n api.enable('save');\n } else {\n api.disable('save');\n }\n break;\n case disable:\n api.disable('save');\n api.disable('cancel');\n break;\n case enable:\n api.enable('cancel');\n break;\n }\n }\n };\n };\n var originalImgOpt = getSelectedImage(editor);\n var originalSizeOpt = originalImgOpt.map(function (origImg) {\n return getNaturalImageSize(origImg.dom);\n });\n originalImgOpt.each(function (img) {\n getEditableImage(editor, img.dom).each(function (_) {\n findBlob(editor, img.dom).then(function (blob) {\n var state = createState(blob);\n editor.windowManager.open(getLoadedSpec(state));\n });\n });\n });\n };\n };\n\n var register$2 = function (editor, imageUploadTimerState) {\n global$4.each({\n mceImageRotateLeft: rotate(editor, imageUploadTimerState, -90),\n mceImageRotateRight: rotate(editor, imageUploadTimerState, 90),\n mceImageFlipVertical: flip(editor, imageUploadTimerState, 'v'),\n mceImageFlipHorizontal: flip(editor, imageUploadTimerState, 'h'),\n mceEditImage: makeOpen(editor, imageUploadTimerState)\n }, function (fn, cmd) {\n editor.addCommand(cmd, fn);\n });\n };\n\n var setup = function (editor, imageUploadTimerState, lastSelectedImageState) {\n editor.on('NodeChange', function (e) {\n var lastSelectedImage = lastSelectedImageState.get();\n var selectedImage = getEditableImage(editor, e.element);\n if (lastSelectedImage && !selectedImage.exists(function (img) {\n return lastSelectedImage.src === img.src;\n })) {\n cancelTimedUpload(imageUploadTimerState);\n editor.editorUpload.uploadImagesAuto();\n lastSelectedImageState.set(null);\n }\n selectedImage.each(lastSelectedImageState.set);\n });\n };\n\n var register$1 = function (editor) {\n var changeHandlers = [];\n var cmd = function (command) {\n return function () {\n return editor.execCommand(command);\n };\n };\n var isEditableImage = function () {\n return getSelectedImage(editor).exists(function (element) {\n return getEditableImage(editor, element.dom).isSome();\n });\n };\n var onSetup = function (api) {\n var handler = function (isEditableImage) {\n return api.setDisabled(!isEditableImage);\n };\n handler(isEditableImage());\n changeHandlers = changeHandlers.concat([handler]);\n return function () {\n changeHandlers = filter(changeHandlers, function (h) {\n return h !== handler;\n });\n };\n };\n editor.on('NodeChange', function () {\n var isEditable = isEditableImage();\n each$1(changeHandlers, function (handler) {\n return handler(isEditable);\n });\n });\n editor.ui.registry.addButton('rotateleft', {\n tooltip: 'Rotate counterclockwise',\n icon: 'rotate-left',\n onAction: cmd('mceImageRotateLeft'),\n onSetup: onSetup\n });\n editor.ui.registry.addButton('rotateright', {\n tooltip: 'Rotate clockwise',\n icon: 'rotate-right',\n onAction: cmd('mceImageRotateRight'),\n onSetup: onSetup\n });\n editor.ui.registry.addButton('flipv', {\n tooltip: 'Flip vertically',\n icon: 'flip-vertically',\n onAction: cmd('mceImageFlipVertical'),\n onSetup: onSetup\n });\n editor.ui.registry.addButton('fliph', {\n tooltip: 'Flip horizontally',\n icon: 'flip-horizontally',\n onAction: cmd('mceImageFlipHorizontal'),\n onSetup: onSetup\n });\n editor.ui.registry.addButton('editimage', {\n tooltip: 'Edit image',\n icon: 'edit-image',\n onAction: cmd('mceEditImage'),\n onSetup: onSetup\n });\n editor.ui.registry.addButton('imageoptions', {\n tooltip: 'Image options',\n icon: 'image',\n onAction: cmd('mceImage')\n });\n editor.ui.registry.addContextMenu('imagetools', {\n update: function (element) {\n return getEditableImage(editor, element).map(function (_) {\n return {\n text: 'Edit image',\n icon: 'edit-image',\n onAction: cmd('mceEditImage')\n };\n }).toArray();\n }\n });\n };\n\n var register = function (editor) {\n editor.ui.registry.addContextToolbar('imagetools', {\n items: getToolbarItems(editor),\n predicate: function (elem) {\n return getEditableImage(editor, elem).isSome();\n },\n position: 'node',\n scope: 'node'\n });\n };\n\n function Plugin () {\n global$5.add('imagetools', function (editor) {\n var imageUploadTimerState = Cell(0);\n var lastSelectedImageState = Cell(null);\n register$2(editor, imageUploadTimerState);\n register$1(editor);\n register(editor);\n setup(editor, imageUploadTimerState, lastSelectedImageState);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["type","call","id","Cell","initial","value","get","set","v","global$5","tinymce","util","Tools","resolve","global$4","isArray","t","x","Array","prototype","isPrototypeOf","constructor","name","String","isNonNullable","a","isNullable","isFunction","isSimpleType","noop","constant","identity","never","always","none","NONE","fold","n","_s","isSome","isNone","getOr","getOrThunk","thunk","getOrDie","msg","Error","getOrNull","getOrUndefined","undefined","or","orThunk","map","each","bind","exists","forall","filter","toArray","toString","some","constant_a","self","me","f","s","Optional","from","exports$1","module","exports","define","require","global","factory","this","commonjsGlobal","globalThis","window","g","promise","root","setTimeoutFunc","setTimeout","Promise","fn","TypeError","_state","_handled","_value","_deferreds","doResolve","handle","deferred","_immediateFn","cb","onFulfilled","onRejected","ret","e","reject","push","newValue","then","finale","thisArg","apply","arguments","length","_unhandledRejectionFn","i","len","Handler","done","reason","ex","prom","all","arr","args","slice","remaining","res","val","race","values","setImmediate","err","console","warn","_setImmediateFn","_setUnhandledRejectionFn","promisePolyfill","boltExport","Function","amd","EphoxContactWrapper","Promise$1","create$1","width","height","resize","document","createElement","clone","canvas","tCanvas","get2dContext","drawImage","getContext","blobToImage$1","blob","blobUrl","URL","createObjectURL","image","Image","removeListeners","removeEventListener","loaded","error","addEventListener","src","complete","anyUriToBlob","url","xhr","XMLHttpRequest","open","responseType","onload","status","response","onerror","obj","_this","code","send","dataUriToBlob","uri","data","split","matches","exec","mimetype","base64","sliceSize","byteCharacters","atob","bytesLength","slicesCount","Math","ceil","byteArrays","sliceIndex","begin","end","min","bytes","offset","charCodeAt","Uint8Array","Blob","dataUriToBlobSync","canvasToBlob","quality","HTMLCanvasElement","toBlob","toDataURL","revokeImageUrl","revokeObjectURL","imageToBlob$1","indexOf","imageToBlob$2","nativeIndexOf","contains","xs","ts","each$1","find","pred","until","findUntil","keys","Object","Adt","cases","constructors","adt","acase","count","keys$1","key","_i","argLength","foldArgs","match","branches","branchKeys","join","reqKey","log","label","params","bothErrors","firstError","secondError","bothValues","create","getCanvas","initialType","getType","toAdjustedDataURL","canvasToDataURL","toBase64","toAdjustedBlob","toAdjustedBase64","dataurl","toCanvas","fromBlob","reader","FileReader","onloadend","result","readAsDataURL","blobToDataUri","naturalWidth","getWidth","naturalHeight","getHeight","blobToCanvas","fromCanvas","ceilWithPrecision","num","precision","mul","pow","upper","round","applyRotate","angle","rad","PI","sin","cos","newWidth","abs","newHeight","context","translate","rotate","applyFlip","axis","scale","flip$1","ir","flip$2","rotate$1","rotate$2","sendRequest","headers","withCredentials","onreadystatechange","readyState","props","k","setRequestHeader","friendlyHttpErrors","message","friendlyServiceErrors","traverseJson","json","path","acc","handleHttpError","getHttpErrorMsg","getServiceErrorMsg","getServiceError","text","serviceError","JSON","parse","parseJson","handleServiceError","readAsText","readBlobText","isError","requestServiceBlob","apiKey","separator","test","encodeURIComponent","appendApiKey","isServiceErrorCode","getUrl","requestBlob","blobToImageResult","fromDom","node","dom","SugarElement","fromHtml","html","scope","div","innerHTML","hasChildNodes","childNodes","fromTag","tag","fromText","createTextNode","fromPoint","docElm","y","elementFromPoint","child","selector","predicate","child$1","element","nodeType","elem","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","is","global$3","global$2","global$1","getToolbarItems","editor","getParam","getProxyUrl","getImageSize","img","isPxValue","style","w","parseInt","h","getNaturalImageSize","getFigureImg","isFigure","isImage","imgNode","getEditableImage","isEditable","isLocalImage","isCorsImage","displayError","notificationManager","getSelectedImage","selection","getNode","figureElm","getParent","extractFilename","group","m","encode","host","documentBaseURI","inArray","getCorsHosts","defaultFetchImage","getCredentialsHosts","isCorsWithCredentialsImage","proxyUrl","getApiKey","imageToBlob","getFetchImage","customFetchImage","findBlob","blobInfo","editorUpload","blobCache","getByUri","cancelTimedUpload","imageUploadTimerState","clearTimeout","updateSelectedImage","origBlob","uploadImmediately","selectedImage","size","filename","useFilename","shouldReuseFilename","add","undoManager","transact","imageLoadedHandler","$","off","nodeChanged","uploadImagesAuto","imageUploadTimer","setEditorTimeout","getUploadTimeout","startTimedUpload","on","attr","blobUri","removeAttr","selectedImageOperation","_scanForImages","imageResult","catch","flippedSize","flip","handleDialogBlob","originalSize","blobToImage","newImage","newSize","removeAttribute","setAttribute","setImageSize","makeOpen","originalImgOpt","originalSizeOpt","origImg","_","state","createState","windowManager","title","body","items","currentState","buttons","primary","disabled","onSubmit","api","getData","imagetools","originalImg","close","onCancel","onAction","details","enable","disable","lastSelectedImageState","mceImageRotateLeft","mceImageRotateRight","mceImageFlipVertical","mceImageFlipHorizontal","mceEditImage","cmd","addCommand","register$2","changeHandlers","command","execCommand","isEditableImage","onSetup","handler","setDisabled","concat","r","ui","registry","addButton","tooltip","icon","addContextMenu","update","register$1","addContextToolbar","position","register","lastSelectedImage","setup"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/73956.baa749280570bec3bbde.min.js b/src/plone/staticresources/static/bundle-plone/chunks/73956.baa749280570bec3bbde.min.js
new file mode 100644
index 000000000..6e72ef6b6
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/73956.baa749280570bec3bbde.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[73956,38006],{53286:function(e,t,n){n(38006)},38006:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("insertdatetime_dateformat"),a=t("insertdatetime_timeformat"),r=t("insertdatetime_formats"),s=t("insertdatetime_element"),i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),c="January February March April May June July August September October November December".split(" "),m=(e,t)=>{if((e=""+e).lengtht=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",m(n.getMonth()+1,2))).replace("%d",m(n.getDate(),2))).replace("%H",""+m(n.getHours(),2))).replace("%M",""+m(n.getMinutes(),2))).replace("%S",""+m(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(c[n.getMonth()]))).replace("%b",""+e.translate(l[n.getMonth()]))).replace("%A",""+e.translate(o[n.getDay()]))).replace("%a",""+e.translate(i[n.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)){const n=d(e,t);let a;a=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,n,a)=>{const r=e.dom.create("time",{datetime:n},a);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,a,n):e.insertContent('")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",n),n(),()=>{e.off("NodeChange",n)}},y=e=>{const t=r(e),n=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:a(e)})(e)),s=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===n.get(),fetch:n=>{n(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{s(n.get())},onItemAction:(e,t)=>{n.set(t),s(t)},onSetup:g(e)});const i=e=>()=>{n.set(e),s(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:i(t)}))),onSetup:g(e)})};e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,a)=>{u(e,null!=a?a:n(e))})),e.addCommand("mceInsertTime",((t,n)=>{u(e,null!=n?n:a(e))}))})(e),y(e)}))}()}}]);
+//# sourceMappingURL=73956.baa749280570bec3bbde.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/73956.baa749280570bec3bbde.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/73956.baa749280570bec3bbde.min.js.map
new file mode 100644
index 000000000..65ef36674
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/73956.baa749280570bec3bbde.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/73956.baa749280570bec3bbde.min.js","mappings":"+HAMA,EAAQ,M,oBCFR,WACI,aAEA,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAAMC,EAASC,GAAQC,GAAUA,EAAOC,QAAQC,IAAIH,GAyB9CI,EAAgBL,EAAO,6BACvBM,EAAgBN,EAAO,6BACvBO,EAAaP,EAAO,0BACpBQ,EAA0BR,EAAO,0BAMjCS,EAAY,kCAAkCC,MAAM,KACpDC,EAAW,kEAAkED,MAAM,KACnFE,EAAc,kDAAkDF,MAAM,KACtEG,EAAa,wFAAwFH,MAAM,KAC3GI,EAAW,CAACC,EAAOC,KAEvB,IADAD,EAAQ,GAAKA,GACHE,OAASD,EACjB,IAAK,IAAIE,EAAI,EAAGA,EAAIF,EAAMD,EAAME,OAAQC,IACtCH,EAAQ,IAAMA,EAGlB,OAAOA,CAAK,EAERI,EAAc,CAACjB,EAAQkB,EAAKC,EAAO,IAAIC,OAgB3CF,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,GADAA,EAAMA,EAAIG,QAAQ,KAAM,aACdA,QAAQ,KAAM,gBACdA,QAAQ,KAAM,GAAKF,EAAKG,gBACxBD,QAAQ,KAAM,GAAKF,EAAKI,YACxBF,QAAQ,KAAMT,EAASO,EAAKK,WAAa,EAAG,KAC5CH,QAAQ,KAAMT,EAASO,EAAKM,UAAW,KACvCJ,QAAQ,KAAM,GAAKT,EAASO,EAAKO,WAAY,KAC7CL,QAAQ,KAAM,GAAKT,EAASO,EAAKQ,aAAc,KAC/CN,QAAQ,KAAM,GAAKT,EAASO,EAAKS,aAAc,KAC/CP,QAAQ,KAAM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EAAO6B,UAAU,cAE5BsD,EAAe,yBAA0B,CACvCC,UAAW,WACXC,QAAS,CACP,WACA,WACA,cACA,QAGJF,EAAe,yBAA0B,CACvCC,UAAW,UACXC,SAAS,GACT,EAkJAC,CAAWtF,GA7EIA,KACjBA,EAAOuF,WAAW,iBAAiB,CAACC,EAAK3E,KACvCkB,EAAe/B,EAAQa,QAAqCA,EAAQV,EAAcH,GAAQ,IAE5FA,EAAOuF,WAAW,iBAAiB,CAACC,EAAK3E,KACvCkB,EAAe/B,EAAQa,QAAqCA,EAAQT,EAAcJ,GAAQ,GAC1F,EAwEAyF,CAAWzF,GACXwD,EAASxD,EAAO,GAMvB,CAtLD,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/plugin.js"],"sourcesContent":["// Exports the \"insertdatetime\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/insertdatetime')\n// ES2015:\n// import 'tinymce/plugins/insertdatetime'\nrequire('./plugin.js');","/**\n * TinyMCE version 6.7.1 (2023-10-19)\n */\n\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const option = name => editor => editor.options.get(name);\n const register$2 = editor => {\n const registerOption = editor.options.register;\n registerOption('insertdatetime_dateformat', {\n processor: 'string',\n default: editor.translate('%Y-%m-%d')\n });\n registerOption('insertdatetime_timeformat', {\n processor: 'string',\n default: editor.translate('%H:%M:%S')\n });\n registerOption('insertdatetime_formats', {\n processor: 'string[]',\n default: [\n '%H:%M:%S',\n '%Y-%m-%d',\n '%I:%M:%S %p',\n '%D'\n ]\n });\n registerOption('insertdatetime_element', {\n processor: 'boolean',\n default: false\n });\n };\n const getDateFormat = option('insertdatetime_dateformat');\n const getTimeFormat = option('insertdatetime_timeformat');\n const getFormats = option('insertdatetime_formats');\n const shouldInsertTimeElement = option('insertdatetime_element');\n const getDefaultDateTime = editor => {\n const formats = getFormats(editor);\n return formats.length > 0 ? formats[0] : getTimeFormat(editor);\n };\n\n const daysShort = 'Sun Mon Tue Wed Thu Fri Sat Sun'.split(' ');\n const daysLong = 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday'.split(' ');\n const monthsShort = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ');\n const monthsLong = 'January February March April May June July August September October November December'.split(' ');\n const addZeros = (value, len) => {\n value = '' + value;\n if (value.length < len) {\n for (let i = 0; i < len - value.length; i++) {\n value = '0' + value;\n }\n }\n return value;\n };\n const getDateTime = (editor, fmt, date = new Date()) => {\n fmt = fmt.replace('%D', '%m/%d/%Y');\n fmt = fmt.replace('%r', '%I:%M:%S %p');\n fmt = fmt.replace('%Y', '' + date.getFullYear());\n fmt = fmt.replace('%y', '' + date.getYear());\n fmt = fmt.replace('%m', addZeros(date.getMonth() + 1, 2));\n fmt = fmt.replace('%d', addZeros(date.getDate(), 2));\n fmt = fmt.replace('%H', '' + addZeros(date.getHours(), 2));\n fmt = fmt.replace('%M', '' + addZeros(date.getMinutes(), 2));\n fmt = fmt.replace('%S', '' + addZeros(date.getSeconds(), 2));\n fmt = fmt.replace('%I', '' + ((date.getHours() + 11) % 12 + 1));\n fmt = fmt.replace('%p', '' + (date.getHours() < 12 ? 'AM' : 'PM'));\n fmt = fmt.replace('%B', '' + editor.translate(monthsLong[date.getMonth()]));\n fmt = fmt.replace('%b', '' + editor.translate(monthsShort[date.getMonth()]));\n fmt = fmt.replace('%A', '' + editor.translate(daysLong[date.getDay()]));\n fmt = fmt.replace('%a', '' + editor.translate(daysShort[date.getDay()]));\n fmt = fmt.replace('%%', '%');\n return fmt;\n };\n const updateElement = (editor, timeElm, computerTime, userTime) => {\n const newTimeElm = editor.dom.create('time', { datetime: computerTime }, userTime);\n editor.dom.replace(newTimeElm, timeElm);\n editor.selection.select(newTimeElm, true);\n editor.selection.collapse(false);\n };\n const insertDateTime = (editor, format) => {\n if (shouldInsertTimeElement(editor)) {\n const userTime = getDateTime(editor, format);\n let computerTime;\n if (/%[HMSIp]/.test(format)) {\n computerTime = getDateTime(editor, '%Y-%m-%dT%H:%M');\n } else {\n computerTime = getDateTime(editor, '%Y-%m-%d');\n }\n const timeElm = editor.dom.getParent(editor.selection.getStart(), 'time');\n if (timeElm) {\n updateElement(editor, timeElm, computerTime, userTime);\n } else {\n editor.insertContent('');\n }\n } else {\n editor.insertContent(getDateTime(editor, format));\n }\n };\n\n const register$1 = editor => {\n editor.addCommand('mceInsertDate', (_ui, value) => {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getDateFormat(editor));\n });\n editor.addCommand('mceInsertTime', (_ui, value) => {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getTimeFormat(editor));\n });\n };\n\n const Cell = initial => {\n let value = initial;\n const get = () => {\n return value;\n };\n const set = v => {\n value = v;\n };\n return {\n get,\n set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const onSetupEditable = editor => api => {\n const nodeChanged = () => {\n api.setEnabled(editor.selection.isEditable());\n };\n editor.on('NodeChange', nodeChanged);\n nodeChanged();\n return () => {\n editor.off('NodeChange', nodeChanged);\n };\n };\n const register = editor => {\n const formats = getFormats(editor);\n const defaultFormat = Cell(getDefaultDateTime(editor));\n const insertDateTime = format => editor.execCommand('mceInsertDate', false, format);\n editor.ui.registry.addSplitButton('insertdatetime', {\n icon: 'insert-time',\n tooltip: 'Insert date/time',\n select: value => value === defaultFormat.get(),\n fetch: done => {\n done(global.map(formats, format => ({\n type: 'choiceitem',\n text: getDateTime(editor, format),\n value: format\n })));\n },\n onAction: _api => {\n insertDateTime(defaultFormat.get());\n },\n onItemAction: (_api, value) => {\n defaultFormat.set(value);\n insertDateTime(value);\n },\n onSetup: onSetupEditable(editor)\n });\n const makeMenuItemHandler = format => () => {\n defaultFormat.set(format);\n insertDateTime(format);\n };\n editor.ui.registry.addNestedMenuItem('insertdatetime', {\n icon: 'insert-time',\n text: 'Date/time',\n getSubmenuItems: () => global.map(formats, format => ({\n type: 'menuitem',\n text: getDateTime(editor, format),\n onAction: makeMenuItemHandler(format)\n })),\n onSetup: onSetupEditable(editor)\n });\n };\n\n var Plugin = () => {\n global$1.add('insertdatetime', editor => {\n register$2(editor);\n register$1(editor);\n register(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$1","tinymce","util","Tools","resolve","option","name","editor","options","get","getDateFormat","getTimeFormat","getFormats","shouldInsertTimeElement","daysShort","split","daysLong","monthsShort","monthsLong","addZeros","value","len","length","i","getDateTime","fmt","date","Date","replace","getFullYear","getYear","getMonth","getDate","getHours","getMinutes","getSeconds","translate","getDay","insertDateTime","format","userTime","computerTime","test","timeElm","dom","getParent","selection","getStart","newTimeElm","create","datetime","select","collapse","updateElement","insertContent","global","onSetupEditable","api","nodeChanged","setEnabled","isEditable","on","off","register","formats","defaultFormat","initial","set","v","Cell","getDefaultDateTime","execCommand","ui","registry","addSplitButton","icon","tooltip","fetch","done","map","type","text","onAction","_api","onItemAction","onSetup","makeMenuItemHandler","addNestedMenuItem","getSubmenuItems","add","registerOption","processor","default","register$2","addCommand","_ui","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/73956.ffb6fd0bd0e59f5329fa.min.js b/src/plone/staticresources/static/bundle-plone/chunks/73956.ffb6fd0bd0e59f5329fa.min.js
deleted file mode 100644
index bb851754b..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/73956.ffb6fd0bd0e59f5329fa.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[73956,38006],{53286:function(e,t,n){n(38006)},38006:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},n=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),a="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),o="January February March April May June July August September October November December".split(" "),u=function(e,t){if((e=""+e).length'+n+"")}else e.insertContent(c(e,t))},l=tinymce.util.Tools.resolve("tinymce.util.Tools"),m=function(e){var r,a,i=n(e),o=(r=function(e){var r=n(e);return r.length>0?r[0]:t(e)}(e),a=r,{get:function(){return a},set:function(e){a=e}}),u=function(t){return e.execCommand("mceInsertDate",!1,t)};e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===o.get()},fetch:function(t){t(l.map(i,(function(t){return{type:"choiceitem",text:c(e,t),value:t}})))},onAction:function(e){u(o.get())},onItemAction:function(e,t){o.set(t),u(t)}});var s=function(e){return function(){o.set(e),u(e)}};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return l.map(i,(function(t){return{type:"menuitem",text:c(e,t),onAction:s(t)}}))}})};e.add("insertdatetime",(function(e){!function(e){e.addCommand("mceInsertDate",(function(t,n){s(e,null!=n?n:function(e){return e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d"))}(e))})),e.addCommand("mceInsertTime",(function(n,r){s(e,null!=r?r:t(e))}))}(e),m(e)}))}()}}]);
-//# sourceMappingURL=73956.ffb6fd0bd0e59f5329fa.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/73956.ffb6fd0bd0e59f5329fa.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/73956.ffb6fd0bd0e59f5329fa.min.js.map
deleted file mode 100644
index b7a652013..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/73956.ffb6fd0bd0e59f5329fa.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/73956.ffb6fd0bd0e59f5329fa.min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E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/index.js","webpack://plone.staticresources/./node_modules/tinymce/plugins/insertdatetime/plugin.js"],"sourcesContent":["// Exports the \"insertdatetime\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/insertdatetime')\n// ES2015:\n// import 'tinymce/plugins/insertdatetime'\nrequire('./plugin.js');","/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n var getDateFormat = function (editor) {\n return editor.getParam('insertdatetime_dateformat', editor.translate('%Y-%m-%d'));\n };\n var getTimeFormat = function (editor) {\n return editor.getParam('insertdatetime_timeformat', editor.translate('%H:%M:%S'));\n };\n var getFormats = function (editor) {\n return editor.getParam('insertdatetime_formats', [\n '%H:%M:%S',\n '%Y-%m-%d',\n '%I:%M:%S %p',\n '%D'\n ]);\n };\n var getDefaultDateTime = function (editor) {\n var formats = getFormats(editor);\n return formats.length > 0 ? formats[0] : getTimeFormat(editor);\n };\n var shouldInsertTimeElement = function (editor) {\n return editor.getParam('insertdatetime_element', false);\n };\n\n var daysShort = 'Sun Mon Tue Wed Thu Fri Sat Sun'.split(' ');\n var daysLong = 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday'.split(' ');\n var monthsShort = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split(' ');\n var monthsLong = 'January February March April May June July August September October November December'.split(' ');\n var addZeros = function (value, len) {\n value = '' + value;\n if (value.length < len) {\n for (var i = 0; i < len - value.length; i++) {\n value = '0' + value;\n }\n }\n return value;\n };\n var getDateTime = function (editor, fmt, date) {\n if (date === void 0) {\n date = new Date();\n }\n fmt = fmt.replace('%D', '%m/%d/%Y');\n fmt = fmt.replace('%r', '%I:%M:%S %p');\n fmt = fmt.replace('%Y', '' + date.getFullYear());\n fmt = fmt.replace('%y', '' + date.getYear());\n fmt = fmt.replace('%m', addZeros(date.getMonth() + 1, 2));\n fmt = fmt.replace('%d', addZeros(date.getDate(), 2));\n fmt = fmt.replace('%H', '' + addZeros(date.getHours(), 2));\n fmt = fmt.replace('%M', '' + addZeros(date.getMinutes(), 2));\n fmt = fmt.replace('%S', '' + addZeros(date.getSeconds(), 2));\n fmt = fmt.replace('%I', '' + ((date.getHours() + 11) % 12 + 1));\n fmt = fmt.replace('%p', '' + (date.getHours() < 12 ? 'AM' : 'PM'));\n fmt = fmt.replace('%B', '' + editor.translate(monthsLong[date.getMonth()]));\n fmt = fmt.replace('%b', '' + editor.translate(monthsShort[date.getMonth()]));\n fmt = fmt.replace('%A', '' + editor.translate(daysLong[date.getDay()]));\n fmt = fmt.replace('%a', '' + editor.translate(daysShort[date.getDay()]));\n fmt = fmt.replace('%%', '%');\n return fmt;\n };\n var updateElement = function (editor, timeElm, computerTime, userTime) {\n var newTimeElm = editor.dom.create('time', { datetime: computerTime }, userTime);\n timeElm.parentNode.insertBefore(newTimeElm, timeElm);\n editor.dom.remove(timeElm);\n editor.selection.select(newTimeElm, true);\n editor.selection.collapse(false);\n };\n var insertDateTime = function (editor, format) {\n if (shouldInsertTimeElement(editor)) {\n var userTime = getDateTime(editor, format);\n var computerTime = void 0;\n if (/%[HMSIp]/.test(format)) {\n computerTime = getDateTime(editor, '%Y-%m-%dT%H:%M');\n } else {\n computerTime = getDateTime(editor, '%Y-%m-%d');\n }\n var timeElm = editor.dom.getParent(editor.selection.getStart(), 'time');\n if (timeElm) {\n updateElement(editor, timeElm, computerTime, userTime);\n } else {\n editor.insertContent('');\n }\n } else {\n editor.insertContent(getDateTime(editor, format));\n }\n };\n\n var register$1 = function (editor) {\n editor.addCommand('mceInsertDate', function (_ui, value) {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getDateFormat(editor));\n });\n editor.addCommand('mceInsertTime', function (_ui, value) {\n insertDateTime(editor, value !== null && value !== void 0 ? value : getTimeFormat(editor));\n });\n };\n\n var Cell = function (initial) {\n var value = initial;\n var get = function () {\n return value;\n };\n var set = function (v) {\n value = v;\n };\n return {\n get: get,\n set: set\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n var register = function (editor) {\n var formats = getFormats(editor);\n var defaultFormat = Cell(getDefaultDateTime(editor));\n var insertDateTime = function (format) {\n return editor.execCommand('mceInsertDate', false, format);\n };\n editor.ui.registry.addSplitButton('insertdatetime', {\n icon: 'insert-time',\n tooltip: 'Insert date/time',\n select: function (value) {\n return value === defaultFormat.get();\n },\n fetch: function (done) {\n done(global.map(formats, function (format) {\n return {\n type: 'choiceitem',\n text: getDateTime(editor, format),\n value: format\n };\n }));\n },\n onAction: function (_api) {\n insertDateTime(defaultFormat.get());\n },\n onItemAction: function (_api, value) {\n defaultFormat.set(value);\n insertDateTime(value);\n }\n });\n var makeMenuItemHandler = function (format) {\n return function () {\n defaultFormat.set(format);\n insertDateTime(format);\n };\n };\n editor.ui.registry.addNestedMenuItem('insertdatetime', {\n icon: 'insert-time',\n text: 'Date/time',\n getSubmenuItems: function () {\n return global.map(formats, function (format) {\n return {\n type: 'menuitem',\n text: getDateTime(editor, format),\n onAction: makeMenuItemHandler(format)\n };\n });\n }\n });\n };\n\n function Plugin () {\n global$1.add('insertdatetime', function (editor) {\n register$1(editor);\n register(editor);\n });\n }\n\n Plugin();\n\n}());\n"],"names":["global$1","tinymce","util","Tools","resolve","getTimeFormat","editor","getParam","translate","getFormats","daysShort","split","daysLong","monthsShort","monthsLong","addZeros","value","len","length","i","getDateTime","fmt","date","Date","replace","getFullYear","getYear","getMonth","getDate","getHours","getMinutes","getSeconds","getDay","insertDateTime","format","shouldInsertTimeElement","userTime","computerTime","test","timeElm","dom","getParent","selection","getStart","newTimeElm","create","datetime","parentNode","insertBefore","remove","select","collapse","updateElement","insertContent","global","register","initial","formats","defaultFormat","getDefaultDateTime","get","set","v","execCommand","ui","registry","addSplitButton","icon","tooltip","fetch","done","map","type","text","onAction","_api","onItemAction","makeMenuItemHandler","addNestedMenuItem","getSubmenuItems","add","addCommand","_ui","getDateFormat","register$1"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/74019.c9a7af7ce8457e294eed.min.js b/src/plone/staticresources/static/bundle-plone/chunks/74019.c9a7af7ce8457e294eed.min.js
new file mode 100644
index 000000000..2661b4829
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/74019.c9a7af7ce8457e294eed.min.js
@@ -0,0 +1,2 @@
+(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[74019],{74019:function(){tinymce.Resource.add("tinymce.html-i18n.help-keynav.pt_BR","
Iniciar navegação pelo teclado
\n\n
\n
Foco na barra de menus
\n
Windows ou Linux: Alt+F9
\n
macOS: ⌥F9
\n
Foco na barra de ferramentas
\n
Windows ou Linux: Alt+F10
\n
macOS: ⌥F10
\n
Foco no rodapé
\n
Windows ou Linux: Alt+F11
\n
macOS: ⌥F11
\n
Foco na barra de ferramentas contextual
\n
Windows, Linux ou macOS: Ctrl+F9\n
\n\n
A navegação inicia no primeiro item da IU, que será destacado ou sublinhado no caso do primeiro item no\n caminho do elemento Rodapé.
\n\n
Navegar entre seções da IU
\n\n
Para ir de uma seção da IU para a seguinte, pressione Tab.
\n\n
Para ir de uma seção da IU para a anterior, pressione Shift+Tab.
\n\n
A ordem de Tab destas seções da IU é:\n\n
\n
Barra de menus
\n
Cada grupo da barra de ferramentas
\n
Barra lateral
\n
Caminho do elemento no rodapé
\n
Botão de alternar contagem de palavras no rodapé
\n
Link da marca no rodapé
\n
Alça de redimensionamento do editor no rodapé
\n\n\n
Se não houver uma seção da IU, ela será pulada.
\n\n
Se o rodapé tiver o foco da navegação pelo teclado e não houver uma barra lateral visível, pressionar Shift+Tab\n move o foco para o primeiro grupo da barra de ferramentas, não para o último.\n\n
Navegar dentro das seções da IU
\n\n
Para ir de um elemento da IU para o seguinte, pressione a Seta correspondente.
\n\n
As teclas de seta Esquerda e Direita
\n\n
\n
movem entre menus na barra de menus.
\n
abrem um submenu em um menu.
\n
movem entre botões em um grupo da barra de ferramentas.
\n
movem entre itens no caminho do elemento do rodapé.
\n
\n\n
As teclas de seta Abaixo e Acima\n\n
\n
movem entre itens de menu em um menu.
\n
movem entre itens em um menu suspenso da barra de ferramentas.
\n
\n\n
As teclas de Seta alternam dentre a seção da IU em foco.
\n\n
Para fechar um menu aberto, um submenu aberto ou um menu suspenso aberto, pressione Esc.\n\n
Se o foco atual estiver no ‘alto’ de determinada seção da IU, pressionar Esc também sai\n totalmente da navegação pelo teclado.
\n\n
Executar um item de menu ou botão da barra de ferramentas
\n\n
Com o item de menu ou botão da barra de ferramentas desejado destacado, pressione Return, Enter,\n ou a Barra de espaço para executar o item.\n\n
Navegar por caixas de diálogo sem guias
\n\n
Em caixas de diálogo sem guias, o primeiro componente interativo recebe o foco quando a caixa de diálogo abre.
\n\n
Navegue entre componentes interativos de caixa de diálogo pressionando Tab ou Shift+Tab.
\n\n
Navegar por caixas de diálogo com guias
\n\n
Em caixas de diálogo com guias, o primeiro botão no menu da guia recebe o foco quando a caixa de diálogo abre.
\n\n
Navegue entre componentes interativos dessa guia da caixa de diálogo pressionando Tab ou\n Shift+Tab.
\n\n
Alterne para outra guia da caixa de diálogo colocando o foco no menu da guia e pressionando a Seta\n adequada para percorrer as guias disponíveis.
\n")}}]);
+//# sourceMappingURL=74019.c9a7af7ce8457e294eed.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/74019.c9a7af7ce8457e294eed.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/74019.c9a7af7ce8457e294eed.min.js.map
new file mode 100644
index 000000000..f7abc4235
--- /dev/null
+++ b/src/plone/staticresources/static/bundle-plone/chunks/74019.c9a7af7ce8457e294eed.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"chunks/74019.c9a7af7ce8457e294eed.min.js","mappings":"oHAAAA,QAAQC,SAASC,IAAI,sCACrB,o/G","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/help/js/i18n/keynav/pt_BR.js"],"sourcesContent":["tinymce.Resource.add('tinymce.html-i18n.help-keynav.pt_BR',\n'
Iniciar navegação pelo teclado
\\n' +\n '\\n' +\n '
\\n' +\n '
Foco na barra de menus
\\n' +\n '
Windows ou Linux: Alt+F9
\\n' +\n '
macOS: ⌥F9
\\n' +\n '
Foco na barra de ferramentas
\\n' +\n '
Windows ou Linux: Alt+F10
\\n' +\n '
macOS: ⌥F10
\\n' +\n '
Foco no rodapé
\\n' +\n '
Windows ou Linux: Alt+F11
\\n' +\n '
macOS: ⌥F11
\\n' +\n '
Foco na barra de ferramentas contextual
\\n' +\n '
Windows, Linux ou macOS: Ctrl+F9\\n' +\n '
\\n' +\n '\\n' +\n '
A navegação inicia no primeiro item da IU, que será destacado ou sublinhado no caso do primeiro item no\\n' +\n ' caminho do elemento Rodapé.
\\n' +\n '\\n' +\n '
Navegar entre seções da IU
\\n' +\n '\\n' +\n '
Para ir de uma seção da IU para a seguinte, pressione Tab.
\\n' +\n '\\n' +\n '
Para ir de uma seção da IU para a anterior, pressione Shift+Tab.
\\n' +\n '\\n' +\n '
A ordem de Tab destas seções da IU é:\\n' +\n '\\n' +\n '
\\n' +\n '
Barra de menus
\\n' +\n '
Cada grupo da barra de ferramentas
\\n' +\n '
Barra lateral
\\n' +\n '
Caminho do elemento no rodapé
\\n' +\n '
Botão de alternar contagem de palavras no rodapé
\\n' +\n '
Link da marca no rodapé
\\n' +\n '
Alça de redimensionamento do editor no rodapé
\\n' +\n '\\n' +\n '\\n' +\n '
Se não houver uma seção da IU, ela será pulada.
\\n' +\n '\\n' +\n '
Se o rodapé tiver o foco da navegação pelo teclado e não houver uma barra lateral visível, pressionar Shift+Tab\\n' +\n ' move o foco para o primeiro grupo da barra de ferramentas, não para o último.\\n' +\n '\\n' +\n '
Navegar dentro das seções da IU
\\n' +\n '\\n' +\n '
Para ir de um elemento da IU para o seguinte, pressione a Seta correspondente.
\\n' +\n '\\n' +\n '
As teclas de seta Esquerda e Direita
\\n' +\n '\\n' +\n '
\\n' +\n '
movem entre menus na barra de menus.
\\n' +\n '
abrem um submenu em um menu.
\\n' +\n '
movem entre botões em um grupo da barra de ferramentas.
\\n' +\n '
movem entre itens no caminho do elemento do rodapé.
\\n' +\n '
\\n' +\n '\\n' +\n '
As teclas de seta Abaixo e Acima\\n' +\n '\\n' +\n '
\\n' +\n '
movem entre itens de menu em um menu.
\\n' +\n '
movem entre itens em um menu suspenso da barra de ferramentas.
\\n' +\n '
\\n' +\n '\\n' +\n '
As teclas de Seta alternam dentre a seção da IU em foco.
\\n' +\n '\\n' +\n '
Para fechar um menu aberto, um submenu aberto ou um menu suspenso aberto, pressione Esc.\\n' +\n '\\n' +\n '
Se o foco atual estiver no ‘alto’ de determinada seção da IU, pressionar Esc também sai\\n' +\n ' totalmente da navegação pelo teclado.
\\n' +\n '\\n' +\n '
Executar um item de menu ou botão da barra de ferramentas
\\n' +\n '\\n' +\n '
Com o item de menu ou botão da barra de ferramentas desejado destacado, pressione Return, Enter,\\n' +\n ' ou a Barra de espaço para executar o item.\\n' +\n '\\n' +\n '
Navegar por caixas de diálogo sem guias
\\n' +\n '\\n' +\n '
Em caixas de diálogo sem guias, o primeiro componente interativo recebe o foco quando a caixa de diálogo abre.
\\n' +\n '\\n' +\n '
Navegue entre componentes interativos de caixa de diálogo pressionando Tab ou Shift+Tab.
\\n' +\n '\\n' +\n '
Navegar por caixas de diálogo com guias
\\n' +\n '\\n' +\n '
Em caixas de diálogo com guias, o primeiro botão no menu da guia recebe o foco quando a caixa de diálogo abre.
\\n' +\n '\\n' +\n '
Navegue entre componentes interativos dessa guia da caixa de diálogo pressionando Tab ou\\n' +\n ' Shift+Tab.
\\n' +\n '\\n' +\n '
Alterne para outra guia da caixa de diálogo colocando o foco no menu da guia e pressionando a Seta\\n' +\n ' adequada para percorrer as guias disponíveis.
\\n');"],"names":["tinymce","Resource","add"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/74315.44268699277bce2a61b1.min.js b/src/plone/staticresources/static/bundle-plone/chunks/74315.44268699277bce2a61b1.min.js
deleted file mode 100644
index c4defa4da..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/74315.44268699277bce2a61b1.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[74315],{74315:function(){!function(){"use strict";function e(e){var t=e;return{get:function(){return t},set:function(e){t=e}}}function t(e){return e.getParam("fullpage_hide_in_source_view")}function n(e){return e.getParam("fullpage_default_encoding")}function l(e){return e.getParam("fullpage_default_font_family")}function i(e){return e.getParam("fullpage_default_font_size")}function o(e,t){return d({validate:!1,root_name:"#document"},e.schema).parse(t,{format:"xhtml"})}function r(e){return e.replace(/<\/?[A-Z]+/g,(function(e){return e.toLowerCase()}))}var a=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=function(){return(c=Object.assign||function(e){for(var t,n=1,l=arguments.length;n"),(d=f.getAll("title")[0])&&d.firstChild&&(g.title=d.firstChild.value),s.each(f.getAll("meta"),(function(e){var t,n=e.attr("name"),l=e.attr("http-equiv");n?g[n.toLowerCase()]=e.attr("content"):"Content-Type"===l&&(t=/charset\s*=\s*(.*)\s*/gi.exec(e.attr("content")))&&(g.docencoding=t[1])})),(d=f.getAll("html")[0])&&(g.langcode=h(d,"lang")||h(d,"xml:lang")),g.stylesheets=[],s.each(f.getAll("link"),(function(e){"stylesheet"===e.attr("rel")&&g.stylesheets.push(e.attr("href"))})),(d=f.getAll("body")[0])&&(g.langdir=h(d,"dir"),g.style=h(d,"style"),g.visited_color=h(d,"vlink"),g.link_color=h(d,"link"),g.active_color=h(d,"alink")),n=g,r=c(c({},{title:"",keywords:"",description:"",robots:"",author:"",docencoding:""}),n),e.windowManager.open({title:"Metadata and Document Properties",size:"normal",body:{type:"panel",items:[{name:"title",type:"input",label:"Title"},{name:"keywords",type:"input",label:"Keywords"},{name:"description",type:"input",label:"Description"},{name:"robots",type:"input",label:"Robots"},{name:"author",type:"input",label:"Author"},{name:"docencoding",type:"input",label:"Encoding"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:r,onSubmit:function(l){var i=l.getData(),r=function(e,t,n){function l(e,t,n){e.attr(t,n||void 0)}function i(e){p.firstChild?p.insert(e,p.firstChild):p.append(e)}var r,a,c=e.dom,d=o(e,n),p=d.getAll("head")[0];p||(r=d.getAll("html")[0],p=new u("head",1),r.firstChild?r.insert(p,r.firstChild,!0):r.append(p)),r=d.firstChild,t.xml_pi?(a='version="1.0"',t.docencoding&&(a+=' encoding="'+t.docencoding+'"'),7!==r.type&&(r=new u("xml",7),d.insert(r,d.firstChild,!0)),r.value=a):r&&7===r.type&&r.remove(),r=d.getAll("#doctype")[0],t.doctype?(r||(r=new u("#doctype",10),t.xml_pi?d.insert(r,d.firstChild):i(r)),r.value=t.doctype.substring(9,t.doctype.length-1)):r&&r.remove(),r=null,s.each(d.getAll("meta"),(function(e){"Content-Type"===e.attr("http-equiv")&&(r=e)})),t.docencoding?(r||((r=new u("meta",1)).attr("http-equiv","Content-Type"),r.shortEnded=!0,i(r)),r.attr("content","text/html; charset="+t.docencoding)):r&&r.remove(),r=d.getAll("title")[0],t.title?(r?r.empty():i(r=new u("title",1)),r.append(new u("#text",3)).value=t.title):r&&r.remove(),s.each("keywords,description,author,copyright,robots".split(","),(function(e){for(var n,l=d.getAll("meta"),o=t[e],a=0;a"))}(e,s.extend(n,i),t.get());t.set(r),l.close()}})})),(d=a).ui.registry.addButton("fullpage",{tooltip:"Metadata and document properties",icon:"document-properties",onAction:function(){d.execCommand("mceFullPageProperties")}}),d.ui.registry.addMenuItem("fullpage",{text:"Metadata and document properties",icon:"document-properties",onAction:function(){d.execCommand("mceFullPageProperties")}}),g=_,h=b,(f=a).on("BeforeSetContent",(function(e){!function(e,a,c,d){var u,m,f,g,h,y,v,_,b,k,x,C,A,w="",P=e.dom;d.selection||(g=e.getParam("protect"),h=d.content,s.each(g,(function(e){h=h.replace(e,(function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"}))})),f=h,"raw"===d.format&&a.get()||d.source_view&&t(e)||(-1!==(u=(f=(f=0!==f.length||d.source_view?f:s.trim(a.get())+"\n"+s.trim(f)+"\n"+s.trim(c.get())).replace(/<(\/?)BODY/gi,"<$1body")).indexOf("",u),a.set(r(f.substring(0,u+1))),-1===(m=f.indexOf("\n'),C+=k.getParam("fullpage_default_doctype",""),C+="\n\n\n",(x=k.getParam("fullpage_default_title"))&&(C+=""+x+"\n"),(x=n(k))&&(C+='\n'),(x=l(k))&&(A+="font-family: "+x+";"),(x=i(k))&&(A+="font-size: "+x+";"),(x=k.getParam("fullpage_default_text_color"))&&(A+="color: "+x+";"),C+="\n\n")),c.set("\n\n")),y=o(e,a.get()),p(y.getAll("style"),(function(e){e.firstChild&&(w+=e.firstChild.value)})),(v=y.getAll("body")[0])&&P.setAttribs(e.getBody(),{style:v.attr("style")||"",dir:v.attr("dir")||"",vLink:v.attr("vlink")||"",link:v.attr("link")||"",aLink:v.attr("alink")||""}),P.remove("fullpage_styles"),_=e.getDoc().getElementsByTagName("head")[0],w&&P.add(_,"style",{id:"fullpage_styles"}).appendChild(document.createTextNode(w)),b={},s.each(_.getElementsByTagName("link"),(function(e){"stylesheet"===e.rel&&e.getAttribute("data-mce-fullpage")&&(b[e.href]=e)})),s.each(y.getAll("link"),(function(e){var t=e.attr("href");if(!t)return!0;b[t]||"stylesheet"!==e.attr("rel")||P.add(_,"link",{rel:"stylesheet",text:"text/css",href:t,"data-mce-fullpage":"1"}),delete b[t]})),s.each(b,(function(e){e.parentNode.removeChild(e)}))))}(f,g,h,e)})),f.on("GetContent",(function(e){var n,l,i,o;n=f,l=g.get(),i=h.get(),"html"!==(o=e).format||o.selection||o.source_view&&t(n)||(o.content=(s.trim(l)+"\n"+s.trim(o.content)+"\n"+s.trim(i)).replace(//g,(function(e,t){return unescape(t)})))}))}))}()}}]);
-//# sourceMappingURL=74315.44268699277bce2a61b1.min.js.map
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/74315.44268699277bce2a61b1.min.js.map b/src/plone/staticresources/static/bundle-plone/chunks/74315.44268699277bce2a61b1.min.js.map
deleted file mode 100644
index 66b590a4a..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/74315.44268699277bce2a61b1.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"chunks/74315.44268699277bce2a61b1.min.js","mappings":"qHAQC,WAAW,aAAa,SAASA,EAAEC,GAAG,IAAIC,EAAED,EAAE,MAAM,CAACE,IAAI,WAAW,OAAOD,CAAC,EAAEE,IAAI,SAASH,GAAGC,EAAED,CAAC,EAAE,CAAC,SAASI,EAAEJ,GAAG,OAAOA,EAAEK,SAAS,+BAA+B,CAAC,SAASC,EAAEN,GAAG,OAAOA,EAAEK,SAAS,4BAA4B,CAAC,SAASE,EAAEP,GAAG,OAAOA,EAAEK,SAAS,+BAA+B,CAAC,SAASG,EAAER,GAAG,OAAOA,EAAEK,SAAS,6BAA6B,CAAC,SAASI,EAAET,EAAEC,GAAG,OAAOS,EAAE,CAACC,UAAS,EAAGC,UAAU,aAAaZ,EAAEa,QAAQC,MAAMb,EAAE,CAACc,OAAO,SAAS,CAAquH,SAASC,EAAEhB,GAAG,OAAOA,EAAEiB,QAAQ,eAAc,SAASjB,GAAG,OAAOA,EAAEkB,aAAa,GAAE,CAAq7D,IAAIlB,EAAEmB,QAAQC,KAAKC,MAAMC,QAAQ,yBAAyBC,EAAE,WAAW,OAAOA,EAAEC,OAAOC,QAAQ,SAASzB,GAAG,IAAI,IAAIC,EAAES,EAAE,EAAEgB,EAAEC,UAAUC,OAAOlB,EAAEgB,EAAEhB,IAAI,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YAAYtI,EAAE,KAAI,CAA06B+C,CAAEP,EAAEC,EAAEC,EAAE1C,EAAE,IAAGwC,EAAE6E,GAAG,cAAa,SAASrH,GAAG,IAAIC,EAAES,EAAEgB,EAAE3B,EAAEE,EAAEuC,EAAE9B,EAAE+B,EAAEvC,MAAMwB,EAAEgB,EAAExC,MAAM,UAAUH,EAAEC,GAAGe,QAAQhB,EAAE0H,WAAW1H,EAAE6H,aAAaxH,EAAEH,KAAKF,EAAE2H,SAASxF,EAAE2F,KAAKnH,GAAG,KAAKwB,EAAE2F,KAAK9H,EAAE2H,SAAS,KAAKxF,EAAE2F,KAAKnG,IAAIT,QAAQ,oCAAmC,SAASjB,EAAEC,GAAG,OAAOsI,SAAStI,EAAE,IAAG,GAAE,GAAE,CAA12O,E","sources":["webpack://plone.staticresources/./node_modules/tinymce/plugins/fullpage/plugin.min.js"],"sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n *\n * Version: 5.10.7 (2022-12-06)\n */\n!function(){\"use strict\";function i(e){var t=e;return{get:function(){return t},set:function(e){t=e}}}function _(e){return e.getParam(\"fullpage_hide_in_source_view\")}function b(e){return e.getParam(\"fullpage_default_encoding\")}function x(e){return e.getParam(\"fullpage_default_font_family\")}function k(e){return e.getParam(\"fullpage_default_font_size\")}function C(e,t){return n({validate:!1,root_name:\"#document\"},e.schema).parse(t,{format:\"xhtml\"})}function c(u,m){u.addCommand(\"mceFullPageProperties\",function(){var l,i,o,e,t,n,r,a,c,s;function d(e,t){return e.attr(t)||\"\"}t=l=u,n=(i=m).get(),c=C(t,n),(s={}).fontface=x(t),s.fontsize=k(t),7===(r=c.firstChild).type&&(s.xml_pi=!0,(a=/encoding=\"([^\"]+)\"/.exec(r.value))&&(s.docencoding=a[1])),(r=c.getAll(\"#doctype\")[0])&&(s.doctype=\"\"),(r=c.getAll(\"title\")[0])&&r.firstChild&&(s.title=r.firstChild.value),w.each(c.getAll(\"meta\"),function(e){var t,n=e.attr(\"name\"),l=e.attr(\"http-equiv\");n?s[n.toLowerCase()]=e.attr(\"content\"):\"Content-Type\"===l&&(t=/charset\\s*=\\s*(.*)\\s*/gi.exec(e.attr(\"content\")))&&(s.docencoding=t[1])}),(r=c.getAll(\"html\")[0])&&(s.langcode=d(r,\"lang\")||d(r,\"xml:lang\")),s.stylesheets=[],w.each(c.getAll(\"link\"),function(e){\"stylesheet\"===e.attr(\"rel\")&&s.stylesheets.push(e.attr(\"href\"))}),(r=c.getAll(\"body\")[0])&&(s.langdir=d(r,\"dir\"),s.style=d(r,\"style\"),s.visited_color=d(r,\"vlink\"),s.link_color=d(r,\"link\"),s.active_color=d(r,\"alink\")),o=s,e=g(g({},{title:\"\",keywords:\"\",description:\"\",robots:\"\",author:\"\",docencoding:\"\"}),o),l.windowManager.open({title:\"Metadata and Document Properties\",size:\"normal\",body:{type:\"panel\",items:[{name:\"title\",type:\"input\",label:\"Title\"},{name:\"keywords\",type:\"input\",label:\"Keywords\"},{name:\"description\",type:\"input\",label:\"Description\"},{name:\"robots\",type:\"input\",label:\"Robots\"},{name:\"author\",type:\"input\",label:\"Author\"},{name:\"docencoding\",type:\"input\",label:\"Encoding\"}]},buttons:[{type:\"cancel\",name:\"cancel\",text:\"Cancel\"},{type:\"submit\",name:\"save\",text:\"Save\",primary:!0}],initialData:e,onSubmit:function(e){var t=e.getData(),n=function(e,o,t){function n(e,t,n){e.attr(t,n||void 0)}function r(e){s.firstChild?s.insert(e,s.firstChild):s.append(e)}var a,l,i=e.dom,c=C(e,t),s=c.getAll(\"head\")[0];s||(a=c.getAll(\"html\")[0],s=new f(\"head\",1),a.firstChild?a.insert(s,a.firstChild,!0):a.append(s)),a=c.firstChild,o.xml_pi?(l='version=\"1.0\"',o.docencoding&&(l+=' encoding=\"'+o.docencoding+'\"'),7!==a.type&&(a=new f(\"xml\",7),c.insert(a,c.firstChild,!0)),a.value=l):a&&7===a.type&&a.remove(),a=c.getAll(\"#doctype\")[0],o.doctype?(a||(a=new f(\"#doctype\",10),o.xml_pi?c.insert(a,c.firstChild):r(a)),a.value=o.doctype.substring(9,o.doctype.length-1)):a&&a.remove(),a=null,w.each(c.getAll(\"meta\"),function(e){\"Content-Type\"===e.attr(\"http-equiv\")&&(a=e)}),o.docencoding?(a||((a=new f(\"meta\",1)).attr(\"http-equiv\",\"Content-Type\"),a.shortEnded=!0,r(a)),a.attr(\"content\",\"text/html; charset=\"+o.docencoding)):a&&a.remove(),a=c.getAll(\"title\")[0],o.title?(a?a.empty():r(a=new f(\"title\",1)),a.append(new f(\"#text\",3)).value=o.title):a&&a.remove(),w.each(\"keywords,description,author,copyright,robots\".split(\",\"),function(e){for(var t,n=c.getAll(\"meta\"),l=o[e],i=0;i\"))}(l,w.extend(o,t),i.get());i.set(n),e.close()}})})}function A(e){return e.replace(/<\\/?[A-Z]+/g,function(e){return e.toLowerCase()})}function s(e,t,n,l){var i,o,r,a,c,s,d,u,m,g,f,p,h,y=\"\",v=e.dom;l.selection||(a=e.getParam(\"protect\"),c=l.content,w.each(a,function(e){c=c.replace(e,function(e){return\"\\x3c!--mce:protected \"+escape(e)+\"--\\x3e\"})}),r=c,\"raw\"===l.format&&t.get()||l.source_view&&_(e)||(-1!==(i=(r=(r=0!==r.length||l.source_view?r:w.trim(t.get())+\"\\n\"+w.trim(r)+\"\\n\"+w.trim(n.get())).replace(/<(\\/?)BODY/gi,\"<$1body\")).indexOf(\"\",i),t.set(A(r.substring(0,i+1))),-1===(o=r.indexOf(\"\\n'),p+=g.getParam(\"fullpage_default_doctype\",\"\"),p+=\"\\n\\n\\n\",(f=g.getParam(\"fullpage_default_title\"))&&(p+=\"\"+f+\"\\n\"),(f=b(g))&&(p+='\\n'),(f=x(g))&&(h+=\"font-family: \"+f+\";\"),(f=k(g))&&(h+=\"font-size: \"+f+\";\"),(f=g.getParam(\"fullpage_default_text_color\"))&&(h+=\"color: \"+f+\";\"),p+=\"\\n\\n\")),n.set(\"\\n\\n\")),s=C(e,t.get()),P(s.getAll(\"style\"),function(e){e.firstChild&&(y+=e.firstChild.value)}),(d=s.getAll(\"body\")[0])&&v.setAttribs(e.getBody(),{style:d.attr(\"style\")||\"\",dir:d.attr(\"dir\")||\"\",vLink:d.attr(\"vlink\")||\"\",link:d.attr(\"link\")||\"\",aLink:d.attr(\"alink\")||\"\"}),v.remove(\"fullpage_styles\"),u=e.getDoc().getElementsByTagName(\"head\")[0],y&&v.add(u,\"style\",{id:\"fullpage_styles\"}).appendChild(document.createTextNode(y)),m={},w.each(u.getElementsByTagName(\"link\"),function(e){\"stylesheet\"===e.rel&&e.getAttribute(\"data-mce-fullpage\")&&(m[e.href]=e)}),w.each(s.getAll(\"link\"),function(e){var t=e.attr(\"href\");if(!t)return!0;m[t]||\"stylesheet\"!==e.attr(\"rel\")||v.add(u,\"link\",{rel:\"stylesheet\",text:\"text/css\",href:t,\"data-mce-fullpage\":\"1\"}),delete m[t]}),w.each(m,function(e){e.parentNode.removeChild(e)})))}var e=tinymce.util.Tools.resolve(\"tinymce.PluginManager\"),g=function(){return(g=Object.assign||function(e){for(var t,n=1,l=arguments.length;n/g,function(e,t){return unescape(t)}))})})}();"],"names":["i","e","t","get","set","_","getParam","b","x","k","C","n","validate","root_name","schema","parse","format","A","replace","toLowerCase","tinymce","util","Tools","resolve","g","Object","assign","l","arguments","length","prototype","hasOwnProperty","call","apply","this","w","f","p","P","each","add","o","r","a","u","m","addCommand","c","s","d","attr","fontface","fontsize","firstChild","type","xml_pi","exec","value","docencoding","getAll","doctype","title","langcode","stylesheets","push","langdir","style","visited_color","link_color","active_color","keywords","description","robots","author","windowManager","open","size","body","items","name","label","buttons","text","primary","initialData","onSubmit","getData","insert","append","dom","remove","substring","shortEnded","empty","split","rel","href","setAttribs","getBody","dir","vLink","link","aLink","indent","indent_before","indent_after","serialize","indexOf","extend","close","ui","registry","addButton","tooltip","icon","onAction","execCommand","addMenuItem","on","h","y","v","selection","content","escape","source_view","trim","getDoc","getElementsByTagName","id","appendChild","document","createTextNode","getAttribute","parentNode","removeChild","unescape"],"sourceRoot":""}
\ No newline at end of file
diff --git a/src/plone/staticresources/static/bundle-plone/chunks/74870.89d474a903aebd54cf8e.min.js b/src/plone/staticresources/static/bundle-plone/chunks/74870.89d474a903aebd54cf8e.min.js
deleted file mode 100644
index 250de4dc4..000000000
--- a/src/plone/staticresources/static/bundle-plone/chunks/74870.89d474a903aebd54cf8e.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[74870],{74870:function(){!function(){"use strict";function e(e){return function(){return e}}function t(e){return e}var n,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(e){return typeof e===n};function o(e){return e.getParam("template_mdate_classes","mdate")}function c(e){return e.getParam("template_replace_values")}function l(e){return e.getParam("template_mdate_format",e.translate("%Y-%m-%d"))}function i(e,t){if((e=""+e).length")&&(i="",u=a.getParam("content_style","","string"),m=a.getParam("content_css_cors",!1,"boolean")?' crossorigin="anonymous"':"",v.each(a.contentCSS,(function(e){i+='"})),u&&(i+='"),f=-1===(T=(h=a).getParam("body_class","","string")).indexOf("=")?T:(b=h).getParam("body_class","","hash")[b.id]||"",p=a.dom.encode,d='