UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

5 lines • 299 kB
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"*Change %0 content*":"*Change %0 content*","*Change to:* %0":"*Change to:* %0","*Check item*":"*Check item*","*Format:* %0":"*Format:* %0","*Format:* change table cell properties":"*Format:* change table cell properties","*Format:* change table properties":"*Format:* change table properties","*Format:* insert into %0":"*Format:* insert into %0","*Format:* remove from %0":"*Format:* remove from %0","*Format:* resize table":"*Format:* resize table","*Format:* set order to regular":"*Format:* set order to regular","*Format:* set order to reversed":"*Format:* set order to reversed","*Format:* set start index to %0":"*Format:* set start index to %0","*Indent:* %0":"*Indent:* %0","*Insert:* %0":"*Insert:* %0","*Merge cells*":"*Merge cells*","*Merge:* %0":"*Merge:* %0","*Outdent:* %0":"*Outdent:* %0","*Remove all formatting*":"*Remove all formatting*","*Remove format:* %0":"*Remove format:* %0","*Remove highlight*":"*Remove highlight*","*Remove image text alternative*":"*Remove image text alternative*","*Remove link*":"*Remove link*","*Remove:* %0":"*Remove:* %0","*Replace image*":"*Replace image*","*Replace table cells*":"*Replace table cells*","*Reset font background color*":"*Reset font background color*","*Reset font color*":"*Reset font color*","*Reset font family*":"*Reset font family*","*Reset font size*":"*Reset font size*","*Reset image width*":"*Reset image width*","*Set bookmark:* %0":"*Set bookmark:* %0","*Set font background color:* %0":"*Set font background color:* %0","*Set font color:* %0":"*Set font color:* %0","*Set font family:* %0":"*Set font family:* %0","*Set font size:* %0":"*Set font size:* %0","*Set format to:* %0":"*Set format to:* %0","*Set format:* %0":"*Set format:* %0","*Set highlight:* %0":"*Set highlight:* %0","*Set image text alternative:* %0":"*Set image text alternative:* %0","*Set image width:* %0":"*Set image width:* %0","*Set link:* %0":"*Set link:* %0","*Set table type:* %0":"*Set table type:* %0","*Split cell:* horizontally":"*Split cell:* horizontally","*Split cell:* vertically":"*Split cell:* vertically","*Split:* %0":"*Split:* %0","*Uncheck item*":"*Uncheck item*","Accept all selected suggestions":"Accept all selected suggestions","Accept all suggestions":"Accept all suggestions","Accept suggestion":"Accept suggestion","Discard all selected suggestions":"Discard all selected suggestions","Discard all suggestions":"Discard all suggestions","Discard suggestion":"Discard suggestion",ELEMENT_BLOCK_QUOTE:"block quote",ELEMENT_BOOKMARK:["bookmark","%0 bookmarks"],ELEMENT_BULLETED_LIST:"bulleted list",ELEMENT_BULLETED_LIST_CIRCLE:"bulleted list (circle)",ELEMENT_BULLETED_LIST_DEFAULT:"bulleted list (default)",ELEMENT_BULLETED_LIST_DISC:"bulleted list (disc)",ELEMENT_BULLETED_LIST_SQUARE:"bulleted list (square)",ELEMENT_CAPTION:"caption",ELEMENT_CODE_BLOCK:["code block","%0 code blocks"],ELEMENT_CONTENT_TABLE:["content table","%0 content tables"],ELEMENT_DEFAULT_LIST_DEFAULT:"default list style",ELEMENT_HEADING:["heading (level %1)","%0 headings (level %1)"],ELEMENT_HEADING_CUSTOM:["heading (%1)","%0 headings (%1)"],ELEMENT_HORIZONTAL_LINE:["horizontal line","%0 horizontal lines"],ELEMENT_HTML_EMBED:["HTML embed","%0 HTML embeds"],ELEMENT_IMAGE:["image","%0 images"],ELEMENT_INLINE_IMAGE:["image","%0 images"],ELEMENT_LAYOUT_TABLE:["layout table","%0 layout tables"],ELEMENT_LINE_BREAK:["line break","%0 line breaks"],ELEMENT_LIST_ITEM:["list item","%0 list items"],ELEMENT_MEDIA:["media item","%0 media items"],ELEMENT_MERGE_FIELD:["merge field","%0 merge fields"],ELEMENT_MULTI_LEVEL_LIST:"multi-level list",ELEMENT_NUMBERED_LIST:"numbered list",ELEMENT_NUMBERED_LIST_DECIMAL:"numbered list (decimal)",ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO:"numbered list (decimal with leading zero)",ELEMENT_NUMBERED_LIST_DEFAULT:"numbered list (default)",ELEMENT_NUMBERED_LIST_LOWER_LATIN:"numbered list (lower-latin)",ELEMENT_NUMBERED_LIST_LOWER_ROMAN:"numbered list (lower-roman)",ELEMENT_NUMBERED_LIST_UPPER_LATIN:"numbered list (upper-latin)",ELEMENT_NUMBERED_LIST_UPPER_ROMAN:"numbered list (upper-roman)",ELEMENT_PAGE_BREAK:["page break","%0 page breaks"],ELEMENT_PARAGRAPH:["paragraph","%0 paragraphs"],ELEMENT_SPACE:["space","%0 spaces"],ELEMENT_TABLE:["table","%0 tables"],ELEMENT_TABLE_COLUMN:["table column","%0 table columns"],ELEMENT_TABLE_COLUMN_WITH_TEXT:["table column *with text* %1","%0 table columns *with text* %1"],ELEMENT_TABLE_OF_CONTENTS:["table of contents","%0 tables of contents"],ELEMENT_TABLE_ROW:["table row","%0 table rows"],ELEMENT_TABLE_ROW_WITH_TEXT:["table row *with text* %1","%0 table rows *with text* %1"],ELEMENT_TABLE_WITH_TEXT:"table *with text* %0",ELEMENT_TITLE:"title",ELEMENT_TODO_LIST:"to-do list",ENTER_DELETION_SUGGESTION_ANNOUNCEMENT:"Entering deletion suggestion. Press %0 to go to the discussion.",ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Entering formatting suggestion. Press %0 to go to the discussion.",ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT:"Entering insertion suggestion. Press %0 to go to the discussion.",EXTERNAL_IMPORT_WORD_SUGGESTION:"This suggestion comes from an imported Word file.",EXTERNAL_SUGGESTION:"This suggestion comes from an external source.","Final content preview":"Final content preview",FORMAT_ALIGN_TO_CENTER:"align to center",FORMAT_ALIGN_TO_LEFT:"align to left",FORMAT_ALIGN_TO_RIGHT:"align to right",FORMAT_ALIGNMENT:"alignment",FORMAT_BOLD:"bold",FORMAT_CODE:"code",FORMAT_FONT_BACKGROUND:"font background color",FORMAT_FONT_COLOR:"font color",FORMAT_FONT_FAMILY:"font family",FORMAT_FONT_SIZE:"font size",FORMAT_HEADER_COLUMN:"header column",FORMAT_HEADER_ROW:"header row",FORMAT_HIGHLIGHT:"highlight",FORMAT_IMAGE_SIZE:"image size",FORMAT_INDENT:"indent",FORMAT_ITALIC:"italic",FORMAT_JUSTIFY_TEXT:"justify",FORMAT_LINE_HEIGHT:"line height",FORMAT_LIST_REVERSED:"list reversed",FORMAT_LIST_START:"list start",FORMAT_REGULAR_COLUMN:"regular column",FORMAT_REGULAR_ROW:"regular row",FORMAT_RESTRICTED_DISABLED:"*Disable in restricted editing mode*",FORMAT_RESTRICTED_ENABLED:"*Enable in restricted editing mode*",FORMAT_SIDE_IMAGE:"side image",FORMAT_STRIKETHROUGH:"strikethrough",FORMAT_STYLE:"style",FORMAT_SUBSCRIPT:"subscript",FORMAT_SUPERSCRIPT:"superscript",FORMAT_UNDERLINE:"underline",LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT:"Leaving deletion suggestion.",LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Leaving formatting suggestion.",LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT:"Leaving insertion suggestion.",PENDING_ACTION_SUGGESTION:"Unsaved change in suggestion.","Preview final content":"Preview final content",REPLACE_TEXT:"*Replace:* %0 *with* %1",SUGGESTION_THREAD_ARIA_LABEL:["Suggestion by %1. Created on %2. %0 reply. %3","Suggestion by %1. Created on %2. %0 replies. %3"],SUGGESTION_THREAD_DESCRIPTION:"Press Enter for more options. Press Escape to exit.","Track changes":"Track changes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), /*! * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},209:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var s=n(168),r=n.n(s),i=n(433),o=n.n(i)()(r());o.push([t.id,".ck.ck-track-changes-preview{max-height:80vh;max-width:80vw;overflow-x:hidden;user-select:text}.ck.ck-content.ck-track-changes-preview__root-container[data-ck-root-name]{border:none;margin:0}",""]);const a=o},211:(t,e,n)=>{t.exports=n(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var s=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},331:(t,e,n)=>{t.exports=n(237)("./src/clipboard.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",s=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),s&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),s&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,s,r,i){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},507:(t,e,n)=>{t.exports=n(237)("./src/enter.js")},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function s(t,e,s,r){var i;if(s)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,o&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,i);else{var a=document.createTextNode(i),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,n=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){s(n,e,!1,t)},remove:function(t){s(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,s=0;s<e.length;s++)if(e[s].identifier===t){n=s;break}return n}function s(t,s){for(var i={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=i[u]||0,f="".concat(u," ").concat(l);i[u]=l+1;var h=n(f),g={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)e[h].references++,e[h].updater(g);else{var d=r(g,s);s.byIndex=a,e.splice(a,0,{identifier:f,updater:d,references:1})}o.push(f)}return o}function r(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,r){var i=s(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<i.length;o++){var a=n(i[o]);e[a].references--}for(var c=s(t,r),u=0;u<i.length;u++){var l=n(i[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}i=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},834:(t,e,n)=>{t.exports=n(237)("./src/typing.js")},901:(t,e,n)=>{t.exports=n(237)("./src/widget.js")}},e={};function n(s){var r=e[s];if(void 0!==r)return r.exports;var i=e[s]={id:s,exports:{}};return t[s](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var s in e)n.o(e,s)&&!n.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{AcceptSuggestionCommand:()=>d,BaseSuggestionThreadView:()=>Ki,DiscardSuggestionCommand:()=>b,ExecuteOnAllSuggestionsCommand:()=>O,ExecuteOnSelectedSuggestionsCommand:()=>B,PreviewFinalContentCommand:()=>Co,Suggestion:()=>Ft,SuggestionDescriptionFactory:()=>Gt,SuggestionThreadView:()=>Yi,SuggestionView:()=>to,TrackChanges:()=>uo,TrackChangesCommand:()=>f,TrackChangesData:()=>po,TrackChangesDataGetter:()=>mo,TrackChangesEditing:()=>Li,TrackChangesPreview:()=>Ho,_SuggestionsPreviewView:()=>Ao,_TRACK_CHANGES_RENAME_ATTRIBUTE_KEY:()=>yi});var t=n(782),e=n(584),r=n(355),i=n(311),o=n(211),a=n(783),c=n(901);const u=l;function l(t,e){const n=h();return(l=function(t,e){return n[t-=500]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(316631===parseInt(e(505))/1*(-parseInt(e(516))/2)+-parseInt(e(501))/3+-parseInt(e(518))/4+-parseInt(e(500))/5*(parseInt(e(513))/6)+parseInt(e(511))/7+-parseInt(e(504))/8*(parseInt(e(523))/9)+parseInt(e(507))/10*(parseInt(e(525))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class f extends t.Command{[u(522)];constructor(t,e){const n=u;super(t),this[n(522)]=e,this[n(512)]=!1,this[n(515)](),this[n(506)]=!1}[u(515)](){this[u(521)]=!0}[u(503)](){const t=u;this[t(512)]=!this[t(512)],this[t(512)]?this[t(509)]():this[t(524)]()}[u(509)](){const t=u;for(const e of this[t(510)][t(520)][t(520)]())e[t(517)]&&!this[t(522)][t(508)](e)&&e[t(514)](t(519))}[u(524)](){const t=u;for(const e of this[t(510)][t(520)][t(520)]())e[t(517)]&&!this[t(522)][t(508)](e)&&e[t(502)](t(519))}}function h(){const t=["247149cDNyFR","clearForceDisabled","execute","216CvHtsw","203445WwbJdg","_isEnabledBasedOnSelection","1550gYWEBx","has","_disableUnsupportedCommands","editor","1869434NhhGDo","value","252486cOyXha","forceDisabled","refresh","2uRitgF","affectsData","199688xzgWhg","TrackChangesCommand","commands","isEnabled","_enabledCommands","145269UVGTKK","_enableCommands","85151qJYCjc","45GLXwmr"];return(h=function(){return t})()}const g=p;!function(t){const e=p,n=t();for(;;)try{if(355271===-parseInt(e(460))/1+-parseInt(e(461))/2*(-parseInt(e(467))/3)+-parseInt(e(451))/4+parseInt(e(445))/5+-parseInt(e(454))/6+-parseInt(e(447))/7+-parseInt(e(459))/8*(-parseInt(e(446))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class d extends t.Command{[g(463)];constructor(t,e){const n=g;super(t),this[n(463)]=e,this[n(464)](),this[n(458)]=!1}[g(464)](){this[g(457)]=!0}[g(448)](t){const n=g,s=this[n(463)][n(453)](t);if(!s)throw new e.CKEditorError(n(452),this);const r=s[n(450)]();this[n(449)][n(465)][n(462)](r)&&this[n(449)][n(455)][n(453)](n(466))[n(456)](s)}}function p(t,e){const n=m();return(p=function(t,e){return n[t-=445]})(t,e)}function m(){const t=["canEditAt","_suggestions","refresh","model","TrackChangesEditing","485763ICjbsu","611730jsQBbU","693VOYcPR","4067014zRLKRZ","execute","editor","getRanges","1537420hNGiQR","track-changes-accept-suggestion-not-found","get","3751452OOaaNS","plugins","acceptSuggestion","isEnabled","_isEnabledBasedOnSelection","223384XCamyb","488468tabQIV","2WuIAuy"];return(m=function(){return t})()}const I=E;function E(t,e){const n=T();return(E=function(t,e){return n[t-=458]})(t,e)}function T(){const t=["getRanges","editor","plugins","329MESGNS","_isEnabledBasedOnSelection","3175670dLzOrh","canEditAt","isEnabled","1240820isepyJ","113718wwdzpg","461677bYhTEK","execute","discardSuggestion","track-changes-discard-suggestion-not-found","model","refresh","3382776CWdmaH","get","_suggestions","156rerVWP","7893896WkKFTm","8TpAnWL","TrackChangesEditing","22MhQqcb","29410StmdtH"];return(T=function(){return t})()}!function(t){const e=E,n=t();for(;;)try{if(548561===parseInt(e(463))/1+-parseInt(e(477))/2*(parseInt(e(472))/3)+parseInt(e(474))/4*(parseInt(e(461))/5)+parseInt(e(462))/6*(-parseInt(e(481))/7)+parseInt(e(473))/8+-parseInt(e(469))/9+-parseInt(e(458))/10*(-parseInt(e(476))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class b extends t.Command{[I(471)];constructor(t,e){const n=I;super(t),this[n(471)]=e,this[n(468)](),this[n(482)]=!1}[I(468)](){this[I(460)]=!0}[I(464)](t){const n=I,s=this[n(471)][n(470)](t);if(!s)throw new e.CKEditorError(n(466),this);const r=s[n(478)]();this[n(479)][n(467)][n(459)](r)&&this[n(479)][n(480)][n(470)](n(475))[n(465)](s)}}function _(t,e){const n=A;let s="";return s+=t[n(340)]("*")[n(316)]((t,e)=>e%2!=0?n(294)+y(t)+n(300):y(t))[n(303)](""),e&&(s+=n(333)+e[n(318)]+n(330)+e[n(293)]+n(301)),s}function A(t,e){const n=C();return(A=function(t,e){return n[t-=285]})(t,e)}function y(t){const e=A,n=document[e(337)](e(324));return n[e(338)]=t,n[e(339)]}function k(t){const e=A;return t[e(336)]((t,n)=>e(292)===t[e(289)]&&e(292)!==n[e(289)]?-1:e(292)!==t[e(289)]&&e(292)===n[e(289)]?1:e(311)==t[e(289)]&&e(311)!=n[e(289)]?-1:e(311)!=t[e(289)]&&e(311)==n[e(289)]?1:0)}function L(t,e){const n=A;let s,r=0;const i=[],o=e[n(321)];for(;r<t[n(326)];){const a=t[r],c=t[r+1];s||(s=e[n(307)](a)),R(e,a,c)||(i[n(298)](e[n(299)](s,o[n(302)](a)?e[n(332)](a):e[n(319)](a,n(320)))),s=null),r++}return i}function C(){const t=["createRange","</span>",'"></span>',"isObject","join","120015SLduCC","6GEZtSI","348wEWKsJ","createPositionBefore","isArray","11961gqTyrY","splice","deletion","execute","4cmVFNi","isIntersecting","2189045rHiSch","map","5495390gJFphP","value","createPositionAt","end","schema","isInContent","isCollapsed","span","change","length","add","replace","isMultiRange",'" title="',"isTouching","createPositionAfter",'<span class="ck-suggestion-color" style="background-color: ',"904jkXoEc"," [color ","sort","createElement","innerText","innerHTML","split","67365ypFiyX","color","start","1287ALwqPG","next","type","798214omnYqh","54972oWORvg","attribute","title",'<span class="ck-suggestion-type">',"from","getRanges","content","push"];return(C=function(){return t})()}function R(t,e,n){const s=A;if(!n)return!1;const r=t[s(332)](e),i=t[s(307)](n);return r[s(331)](i)}!function(t){const e=A,n=t();for(;;)try{if(555899===-parseInt(e(290))/1+-parseInt(e(306))/2*(-parseInt(e(309))/3)+parseInt(e(313))/4*(parseInt(e(315))/5)+-parseInt(e(305))/6*(parseInt(e(304))/7)+-parseInt(e(334))/8*(parseInt(e(341))/9)+parseInt(e(317))/10+parseInt(e(287))/11*(parseInt(e(291))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(C);function N(t,e,n){const s=A;for(;n[s(326)];){const r=n[s(310)](0,100);t[s(325)](()=>{const t=s;for(const n of r)n[t(322)]&&e[t(312)](n.id)})}}const S=M;function M(t,e){const n=w();return(M=function(t,e){return n[t-=488]})(t,e)}function w(){const t=["_suggestions","some","97026eEuwzS","26230muCSUQ","_isEnabledBasedOnSelection","1818276mosiww","model","363iIpmja","isEnabled","_command","40790AAwNCv","91xipxvU","editor","getRanges","812775ISmLGh","39WTROVI","refresh","4288KVnmIJ","canEditAt","4NfsFib","1060155TpdENT","6093SQvCjC","values","2NKSURB","execute","from","isInContent"];return(w=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(252437===parseInt(e(503))/1+parseInt(e(496))/2*(parseInt(e(514))/3)+parseInt(e(492))/4*(-parseInt(e(493))/5)+-parseInt(e(502))/6*(-parseInt(e(511))/7)+-parseInt(e(490))/8*(parseInt(e(494))/9)+-parseInt(e(510))/10*(parseInt(e(507))/11)+parseInt(e(505))/12*(parseInt(e(488))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class O extends t.Command{[S(509)];[S(500)];constructor(t,e,n){const s=S;super(t),this[s(509)]=e,this[s(500)]=n,this[s(489)](),this[s(504)]=!1}[S(489)](){const t=S,e=Array[t(498)](this[t(500)][t(495)]())[t(501)](e=>e[t(499)]);this[t(508)]=this[t(509)][t(508)]&&e}[S(497)](){const t=S,e=k(Array[t(498)](this[t(500)][t(495)]()));for(const n of e){const e=n[t(513)]();if(!this[t(512)][t(506)][t(491)](e))return}N(this[t(512)][t(506)],this[t(509)],e)}}const v=F;function F(t,e){const n=D();return(F=function(t,e){return n[t-=217]})(t,e)}function D(){const t=["5812024uRpncZ","29435052vNiFwk","execute","editor","_command","_suggestions","92824tjKDif","refresh","from","10AiChpj","size","36596QHULNR","selection","3120330DtbXtW","8595400QRPmJE","getRanges","model","isEnabled","9sJwEuJ","canEditAt","111fOYvcJ","49pPutTL","values","_isEnabledBasedOnSelection","document","6FPcyUq","8328866mXggkQ","_selectedSuggestions"];return(D=function(){return t})()}!function(t){const e=F,n=t();for(;;)try{if(622100===parseInt(e(243))/1*(parseInt(e(233))/2)+parseInt(e(242))/3*(-parseInt(e(228))/4)+-parseInt(e(235))/5*(parseInt(e(219))/6)+-parseInt(e(220))/7+parseInt(e(222))/8*(parseInt(e(240))/9)+parseInt(e(231))/10*(-parseInt(e(236))/11)+parseInt(e(223))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class B extends t.Command{[v(226)];[v(227)];[v(221)];constructor(t,e,n){const s=v;super(t),this[s(226)]=e,this[s(227)]=n,this[s(221)]=new Set,this[s(229)](),this[s(217)]=!1}[v(229)](){const t=v,e=this[t(225)][t(238)][t(218)][t(234)],n=Array[t(230)](this[t(227)][t(244)]());this[t(221)]=function(t,e){const n=A,s=Array[n(295)](t[n(296)]()),r=new Set;for(const i of e)if(i[n(322)])for(const e of s)for(const s of i[n(296)]())(e[n(314)](s)||t[n(323)]&&!i[n(329)]&&i[n(288)]&&s[n(320)][n(331)](e[n(286)]))&&r[n(327)](i);return r}(e,n),this[t(239)]=this[t(226)][t(239)]&&!!this[t(221)][t(232)]}[v(224)](){const t=v,e=k(Array[t(230)](this[t(221)]));for(const n of e){const e=n[t(237)]();if(!this[t(225)][t(238)][t(241)](e))return}N(this[t(225)][t(238)],this[t(226)],e)}}function P(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function x(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const U="[object RegExp]",G="[object String]",V="[object Number]",H="[object Boolean]",j="[object Arguments]",W="[object Symbol]",z="[object Date]",K="[object Map]",X="[object Set]",q="[object Array]",Y="[object ArrayBuffer]",J="[object Object]",Z="[object DataView]",Q="[object Uint8Array]",$="[object Uint8ClampedArray]",tt="[object Uint16Array]",et="[object Uint32Array]",nt="[object Int8Array]",st="[object Int16Array]",rt="[object Int32Array]",it="[object Float32Array]",ot="[object Float64Array]";function at(t,e,n,s=new Map,r=void 0){const i=r?.(t,e,n,s);if(null!=i)return i;if(null==(o=t)||"object"!=typeof o&&"function"!=typeof o)return t;var o,a;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let i=0;i<t.length;i++)e[i]=at(t[i],i,n,s,r);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[i,o]of t)e.set(i,at(o,i,n,s,r));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const i of t)e.add(at(i,void 0,n,s,r));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(a=t,ArrayBuffer.isView(a)&&!(a instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let i=0;i<t.length;i++)e[i]=at(t[i],i,n,s,r);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),ct(e,t,n,s,r),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),ct(e,t,n,s,r),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),ct(e,t,n,s,r),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,ct(e,t,n,s,r),e}if("object"==typeof t&&function(t){switch(x(t)){case j:case q:case Y:case Z:case H:case z:case it:case ot:case nt:case st:case rt:case K:case V:case J:case U:case X:case G:case W:case Q:case $:case tt:case et:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),ct(e,t,n,s,r),e}return t}function ct(t,e,n=t,s,r){const i=[...Object.keys(e),...P(e)];for(let o=0;o<i.length;o++){const a=i[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=at(e[a],a,n,s,r))}}function ut(t,e){return function(t,e){return at(t,void 0,t,new Map,e)}(t,(n,s,r,i)=>{const o=e?.(n,s,r,i);if(null!=o)return o;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case V:case G:case H:{const e=new t.constructor(t?.valueOf());return ct(e,t),e}case j:{const e={};return ct(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function lt(t){return ut(t)}function ft(t){return"__proto__"===t}function ht(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const gt=(t,e,n)=>{const s=t[e];Object.hasOwn(t,e)&&ht(s,n)&&(void 0!==n||e in t)||(t[e]=n)},dt=/^(?:0|[1-9]\d*)$/;function pt(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return dt.test(t)}}const mt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/;function Et(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(It.test(t)||!mt.test(t))||null!=e&&Object.hasOwn(e,t)))}function Tt(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function bt(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function _t(t){const e=[],n=t.length;if(0===n)return e;let s=0,r="",i="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<n;){const a=t[s];i?"\\"===a&&s+1<n?(s++,r+=t[s]):a===i?i="":r+=a:o?'"'===a||"'"===a?i=a:"]"===a?(o=!1,e.push(r),r=""):r+=a:"["===a?(o=!0,r&&(e.push(r),r="")):"."===a?r&&(e.push(r),r=""):r+=a,s++}return r&&e.push(r),e}function At(t,e,n){return function(t,e,n,s){if(null==t&&!bt(t))return t;const r=Et(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?_t(e):[e];let i=t;for(let e=0;e<r.length&&null!=i;e++){const o=Tt(r[e]);if(ft(o))continue;let a;if(e===r.length-1)a=n(i[o]);else{const n=i[o],c=s?.(n,o,t);a=void 0!==c?c:bt(n)?n:pt(r[e+1])?[]:{}}gt(i,o,a),i=i[o]}return t}(t,e,()=>n,()=>{})}function yt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function kt(t,e,n,s,r,i,o){const a=o(t,e,n,s,r,i);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return Lt(t,e,i,o)}return Lt(t,e,i,o)}function Lt(t,e,n,s){if(Object.is(t,e))return!0;let r=x(t),i=x(e);if(r===j&&(r=J),i===j&&(i=J),r!==i)return!1;switch(r){case G:return t.toString()===e.toString();case V:return ht(t.valueOf(),e.valueOf());case H:case z:case W:return Object.is(t.valueOf(),e.valueOf());case U:return t.source===e.source&&t.flags===e.flags;case"[object Function]":return t===e}const o=(n=n??new Map).get(t),a=n.get(e);if(null!=o&&null!=a)return o===e;n.set(t,e),n.set(e,t);try{switch(r){case K:if(t.size!==e.size)return!1;for(const[r,i]of t.entries())if(!e.has(r)||!kt(i,e.get(r),r,t,e,n,s))return!1;return!0;case X:{if(t.size!==e.size)return!1;const r=Array.from(t.values()),i=Array.from(e.values());for(let o=0;o<r.length;o++){const a=r[o],c=i.findIndex(r=>kt(a,r,void 0,t,e,n,s));if(-1===c)return!1;i.splice(c,1)}return!0}case q:case Q:case $:case tt:case et:case"[object BigUint64Array]":case nt:case st:case rt:case"[object BigInt64Array]":case it:case ot:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(e))return!1;if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!kt(t[r],e[r],r,t,e,n,s))return!1;return!0;case Y:return t.byteLength===e.byteLength&&Lt(new Uint8Array(t),new Uint8Array(e),n,s);case Z:return t.byteLength===e.byteLength&&t.byteOffset===e.byteOffset&&Lt(new Uint8Array(t),new Uint8Array(e),n,s);case"[object Error]":return t.name===e.name&&t.message===e.message;case J:{if(!(Lt(t.constructor,e.constructor,n,s)||yt(t)&&yt(e)))return!1;const r=[...Object.keys(t),...P(t)],i=[...Object.keys(e),...P(e)];if(r.length!==i.length)return!1;for(let i=0;i<r.length;i++){const o=r[i],a=t[o];if(!Object.hasOwn(e,o))return!1;if(!kt(a,e[o],o,t,e,n,s))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(e)}}function Ct(){}function Rt(t,e){return function(t,e,n){return kt(t,e,void 0,void 0,void 0,void 0,n)}(t,e,Ct)}function Nt(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function St(t,e,n){if(null==t)return n;switch(typeof e){case"string":{if(ft(e))return n;const s=t[e];return void 0===s?Nt(e)?St(t,_t(e),n):n:s}case"number":case"symbol":{"number"==typeof e&&(e=Tt(e));const s=t[e];return void 0===s?n:s}default:{if(Array.isArray(e))return function(t,e,n){if(0===e.length)return n;let s=t;for(let t=0;t<e.length;t++){if(null==s)return n;if(ft(e[t]))return n;s=s[e[t]]}if(void 0===s)return n;return s}(t,e,n);if(ft(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return n;const s=t[e];return void 0===s?n:s}}}function Mt(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return wt(t,e);if("number"==typeof e?e=Tt(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),ft(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Nt(e))return wt(t,_t(e));if(ft(e))return!1;try{return delete t[e],!0}catch{return!1}}}function wt(t,e){const n=St(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===n?.[s])return!0;if(ft(s))return!1;try{return delete n[s],!0}catch{return!1}}const Ot=vt;function vt(t,e){const n=Dt();return(vt=function(t,e){return n[t-=149]})(t,e)}!function(t){const e=vt,n=t();for(;;)try{if(102262===-parseInt(e(203))/1+parseInt(e(169))/2*(-parseInt(e(188))/3)+parseInt(e(180))/4*(parseInt(e(197))/5)+-parseInt(e(212))/6*(parseInt(e(231))/7)+-parseInt(e(229))/8*(parseInt(e(185))/9)+-parseInt(e(213))/10+parseInt(e(215))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Dt);class Ft extends((0,e.ObservableMixin)()){id;[Ot(177)];[Ot(209)];[Ot(172)];[Ot(232)];[Ot(192)];[Ot(158)];[Ot(187)];[Ot(218)];[Ot(214)]=!1;[Ot(225)];[Ot(224)];[Ot(168)];[Ot(207)];[Ot(151)];constructor(t,e){const n=Ot;super(),this.id=e.id,this[n(177)]=e[n(177)],this[n(209)]=e[n(209)]||null,this[n(172)]=e[n(172)],this[n(232)]=e[n(232)]||e[n(172)],this[n(192)]=Boolean(e[n(193)]&&e[n(193)][n(149)]),this[n(158)]=null,this[n(218)]=e[n(154)]||null,this[n(225)]=t,this[n(224)]=e[n(164)],this[n(168)]=e[n(157)],this[n(207)]=e[n(190)],this[n(151)]=new Set,this[n(187)]=null,this[n(163)](n(199),null),this[n(163)](n(193),e[n(193)]||{}),this[n(163)](n(167),null),this[n(163)](n(191),null),this[n(163)](n(161),null),this[n(163)](n(150),!1),this[n(201)](n(153)),this[n(201)](n(230))}get[Ot(156)](){const t=Ot;let e=this;for(;e[t(167)];)e=e[t(167)];return e}get[Ot(204)](){const t=Ot;return!!this[t(161)]&&this[t(161)][t(223)]>0}get[Ot(200)](){const t=Ot;return 0!=this[t(151)][t(220)]&&6==Array[t(184)](this[t(151)])[0][t(170)](":")[t(223)]}get[Ot(216)](){return null!==this[Ot(174)]()}[Ot(160)](t){const e=Ot;this[e(151)][e(179)](t)}[Ot(166)](){const t=Ot;return Array[t(184)](this[t(151)])}[Ot(205)](){const t=Ot;return this[t(166)]()[t(178)](e=>this[t(225)][t(194)][t(211)](e))[t(228)](t=>t)}[Ot(174)](){return this[Ot(205)]()[0]||null}[Ot(226)](){const t=Ot;this[t(225)][t(217)](e=>{const n=t;for(const t of this[n(205)]())e[n(196)](t)}),this[t(151)][t(165)]()}[Ot(196)](t){const e=Ot;this[e(225)][e(217)](n=>{n[e(196)](t)}),this[e(151)][e(202)](t)}[Ot(210)](t){const e=Ot,n=e(221)+this[e(177)]+":"+this[e(209)]+":"+this.id+":"+this[e(232)].id+":"+Ft[e(155)]();this[e(160)](n),this[e(225)][e(217)](s=>{s[e(219)](n,{range:t,usingOperation:!0,affectsData:!0})})}[Ot(173)](t){const e=Ot;for(const n of this[e(159)]())if(n[e(189)](t))return!0;return!1}[Ot(159)](){const t=Ot;return this[t(205)]()[t(178)](e=>e[t(182)]())}[Ot(152)](){const t=Ot;return this[t(159)]()[t(181)]((e,n)=>[...e,...n[t(152)]()],[])}[Ot(162)](){const t=Ot;return this[t(174)]()?.[t(182)]()||null}[Ot(222)](){const t=Ot,e=this[t(159)]();if(1!=e[t(223)])return null;const n=e[0],s=n[t(171)][t(227)],r=n[t(206)][t(175)];return s instanceof a.ModelElement?s!=r?null:s:null}[Ot(153)](){const t=Ot;this[t(224)](this[t(159)](),this[t(158)],this[t(193)]),this[t(226)]()}[Ot(230)](){const t=Ot;this[t(168)](this[t(159)](),this[t(158)],this[t(193)]),this[t(226)]()}[Ot(186)](){const t=Ot,e=[];let n=this[t(156)];for(;n;)e[t(183)](n),n=n[t(191)];return e}[Ot(198)](t,e){const n=Ot,s=lt(this[n(193)]);At(s,t,e),Rt(s,this[n(193)])||(this[n(193)]=s,this[n(207)](s))}[Ot(208)](t){const e=Ot,n=lt(this[e(193)]);Mt(n,t),Rt(n,this[e(193)])||(this[e(193)]=n,this[e(207)](this[e(193)]))}[Ot(176)](){const t=Ot;return{id:this.id,type:this[t(209)]?this[t(177)]+":"+this[t(209)]:this[t(177)],authorId:this[t(232)].id,createdAt:this[t(187)],hasComments:this[t(204)],data:this[t(158)],attributes:this[t(193)]}}static[Ot(155)](){const t=Ot;return(0,e.uid)()[t(195)](1,5)}}function Dt(){const t=["discard","63Ekkmrd","creator","@external","_saved","_markerNames","getItems","accept","originalSuggestionId","getMultiRangeId","head","onDiscard","data","getRanges","addMarkerName","commentThread","getFirstRange","set","onAccept","clear","getMarkerNames","previous","_onDiscard","38OAIFbT","split","start","author","isIntersectingWithRange","getFirstMarker","nodeBefore","toJSON","type","map","add","4276IPweOn","reduce","getRange","push","from","171iJGtbP","getAllAdjacentSuggestions","createdAt","93XzLUjE","isIntersecting","onAttributesChange","next","isExternal","attributes","markers","substr","removeMarker","55SLfzEw","setAttribute","authoredAt","isMultiRange","decorate","delete","27426rfhjyv","hasComments","getMarkers","end","_onAttributesChange","removeAttribute","subType","addRange","get","97938mVPuxC","1764320UAeaWm","_isDataLoaded","5972934rQFgzO","isInContent","change","_originalSuggestionId","addMarker","size","suggestion:","getContainedElement","length","_onAccept","_model","removeMarkers","nodeAfter","filter","42584tPrFGn"];return(Dt=function(){return t})()}function Bt(t,e,n){const s=t.t,r=t.t;switch(e){case"Track changes":return r("Track changes");case"Accept suggestion":return r("Accept suggestion");case"Discard suggestion":return r("Discard suggestion");case"Accept all suggestions":return r("Accept all suggestions");case"Accept all selected suggestions":return r("Accept all selected suggestions");case"Discard all suggestions":return r("Discard all suggestions");case"Discard all selected suggestions":return r("Discard all selected suggestions");case"Preview final content":return r("Preview final content");case"Final content preview":return r("Final content preview");case"*Reset font size*":return r("*Reset font size*");case"*Reset font family*":return r("*Reset font family*");case"*Reset font color*":return r("*Reset font color*");case"*Reset font background color*":return r("*Reset font background color*");case"*Remove image text alternative*":return r("*Remove image text alternative*");case"*Reset image width*":return r("*Reset image width*");case"*Remove link*":return r("*Remove link*");case"*Check item*":return r("*Check item*");case"*Uncheck item*":return r("*Uncheck item*");case"*Remove all formatting*":return r("*Remove all formatting*");case"*Replace table cells*":return r("*Replace table cells*");case"*Merge cells*":return r("*Merge cells*");case"*Split cell:* vertically":return r("*Split cell:* vertically");case"*Split cell:* horizontally":return r("*Split cell:* horizontally");case"*Indent:* %0":return r("*Indent:* %0",n);case"*Outdent:* %0":return r("*Outdent:* %0",n);case"*Change to:* %0":return r("*Change to:* %0",n);case"*Insert:* %0":return r("*Insert:* %0",n);case"*Format:* %0":return r("*Format:* %0",n);case"*Format:* change table properties":return r("*Format:* change table properties");case"*Format:* change table cell properties":return r("*Format:* change table cell properties");case"*Format:* insert into %0":return r("*Format:* insert into %0",n);case"*Format:* remove from %0":return r("*Format:* remove from %0",n);case"*Replace image*":return r("*Replace image*");case"*Format:* resize table":return r("*Format:* resize table");case"*Format:* set order to reversed":return r("*Format:* set order to reversed");case"*Format:* set order to regular":return r("*Format:* set order to regular");case"*Format:* set start index to %0":return r("*Format:* set start index to %0",n);case"*Change %0 content*":return r("*Change %0 content*",n);case"*Remove:* %0":return r("*Remove:* %0",n);case"*Merge:* %0":return r("*Merge:* %0",n);case"*Split:* %0":return r("*Split:* %0",n);case"*Remove format:* %0":return r("*Remove format:* %0",n);case"*Set bookmark:* %0":return r("*Set bookmark:* %0",n);case"*Set font size:* %0":return r("*Set font size:* %0",n);case"*Set font family:* %0":return r("*Set font family:* %0",n);case"*Set format to:* %0":return r("*Set format to:* %0",n);case"*Set font color:* %0":return r("*Set font color:* %0",n);case"*Set font background color:* %0":return r("*Set font background color:* %0",n);case"*Set format:* %0":return r("*Set format:* %0",n);case"*Set image text alternative:* %0":return r("*Set image text alternative:* %0",n);case"*Set image width:* %0":return r("*Set image width:* %0",n);case"*Set link:* %0":return r("*Set link:* %0",n);case"*Set highlight:* %0":return r("*Set highlight:* %0",n);case"*Set table type:* %0":return r("*Set table type:* %0",n);case"*Remove highlight*":return r("*Remove highlight*");case"FORMAT_HIGHLIGHT":return r({string:"highlight",id:"FORMAT_HIGHLIGHT"});case"FORMAT_RESTRICTED_ENABLED":return r({string:"*Enable in restricted editing mode*",id:"FORMAT_RESTRICTED_ENABLED"});case"FORMAT_RESTRICTED_DISABLED":return r({string:"*Disable in restricted editing mode*",id:"FORMAT_RESTRICTED_DISABLED"});case"ELEMENT_TABLE":return r({string:"table",plural:"%0 tables",id:"ELEMENT_TABLE"},n);case"ELEMENT_CONTENT_TABLE":return r({string:"content table",plural:"%0 content tables",id:"ELEMENT_CONTENT_TABLE"},n);case"ELEMENT_LAYOUT_TABLE":return r({string:"layout table",plural:"%0 layout tables",id:"ELEMENT_LAYOUT_TABLE"},n);case"ELEMENT_PARAGRAPH":return r({string:"paragraph",plural:"%0 paragraphs",id:"ELEMENT_PARAGRAPH"},n);case"ELEMENT_PAGE_BREAK":return r({string:"page break",plural:"%0 page breaks",id:"ELEMENT_PAGE_BREAK"},n);case"ELEMENT_MEDIA":return r({string:"media item",plural:"%0 media items",id:"ELEMENT_MEDIA"},n);case"ELEMENT_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_IMAGE"},n);case"ELEMENT_INLINE_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_INLINE_IMAGE"},n);case"FORMAT_SIDE_IMAGE":return r({string:"side image",id:"FORMAT_SIDE_IMAGE"});case"ELEMENT_CAPTION":return r({string:"caption",id:"ELEMENT_CAPTION"});case"ELEMENT_HORIZONTAL_LINE":return r({string:"horizontal line",plural:"%0 horizontal lines",id:"ELEMENT_HORIZONTAL_LINE"},n);case"ELEMENT_HTML_EMBED":return r({string:"HTML embed",plural:"%0 HTML embeds",id:"ELEMENT_HTML_EMBED"},n);case"ELEMENT_HEADING":return r({string:"heading (level %1)",plural:"%0 headings (level %1)",id:"ELEMENT_HEADING"},n);case"ELEMENT_HEADING_CUSTOM":return r({string:"heading (%1)",plural:"%0 headings (%1)",id:"ELEMENT_HEADING_CUSTOM"},n);case"ELEMENT_LIST_ITEM":return r({string:"list item",plural:"%0 list items",id:"ELEMENT_LIST_ITEM"},n);case"ELEMENT_DEFAULT_LIST_DEFAULT":return r({string:"default list style",id:"ELEMENT_DEFAULT_LIST_DEFAULT"});case"ELEMENT_BULLETED_LIST":return r({string:"bulleted list",id:"ELEMENT_BULLETED_LIST"});case"ELEMENT_BULLETED_LIST_DEFAULT":return r({string:"bulleted list (default)",id:"ELEMENT_BULLETED_LIST_DEFAULT"});case"ELEMENT_BULLETED_LIST_CIRCLE":return r({string:"bulleted list (circle)",id:"ELEMENT_BULLETED_LIST_CIRCLE"});case"ELEMENT_BULLETED_LIST_DISC":return r({string:"bulleted list (disc)",id:"ELEMENT_BULLETED_LIST_DISC"});case"ELEMENT_BULLETED_LIST_SQUARE":return r({string:"bulleted list (square)",id:"ELEMENT_BULLETED_LIST_SQUARE"});case"ELEMENT_NUMBERED_LIST_DEFAULT":return r({string:"numbered list (default)",id:"ELEMENT_NUMBERED_LIST_DEFAULT"});case"ELEMENT_NUMBERED_LIST":return r({string:"numbered list",id:"ELEMENT_NUMBERED_LIST"});case"ELEMENT_NUMBERED_LIST_DECIMAL":return r({string:"numbered list (decimal)",id:"ELEMENT_NUMBERED_LIST_DECIMAL"});case"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO":return r({string:"numbered list (decimal with leading zero)",id:"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"});case"ELEMENT_NUMBERED_LIST_LOWER_LATIN":return r({string:"numbered list (lower-latin)",id:"ELEMENT_NUMBERED_LIST_LOWER_LATIN"});case"ELEMENT_NUMBERED_LIST_LOWER_ROMAN":return r({string:"numbered list (lower-roman)",id:"ELEMENT_NUMBERED_LIST_LOWER_ROMAN"});case"ELEMENT_NUMBERED_LIST_UPPER_LATIN":return r({string:"numbered list (upper-latin)",id:"ELEMENT_NUMBERED_LIST_UPPER_LATIN"});case"ELEMENT_NUMBERED_LIST_UPPER_ROMAN":return r({string:"numbered list (upper-roman)",id:"ELEMENT_NUMBERED_LIST_UPPER_ROMAN"});case"ELEMENT_TODO_LIST":return r({string:"to-do list",id:"ELEMENT_TODO_LIST"});case"ELEMENT_MULTI_LEVEL_LIST":return r({string:"multi-level list",id:"ELEMENT_MULTI_LEVEL_LIST"});case"REPLACE_TEXT":return r({string:"*Replace:* %0 *with* %1",id:"REPLACE_TEXT"},n);case"ELEMENT_SPACE":return r({string:"space",plural:"%0 spaces",id:"ELEMENT_SPACE"},n);case"FORMAT_ALIGNMENT":return r({string:"alignment",id:"FORMAT_ALIGNMENT"});case"FORMAT_ALIGN_TO_LEFT":return r({string:"align to left",id:"FORMAT_ALIGN_TO_LEFT"});case"FORMAT_ALIGN_TO_RIGHT":return r({string:"align to right",id:"FORMAT_ALIGN_TO_RIGHT"});case"FORMAT_ALIGN_TO_CENTER":return r({string:"align to center",id:"FORMAT_ALIGN_TO_CENTER"});case"FORMAT_JUSTIFY_TEXT":return r({string:"justify",id:"FORMAT_JUSTIFY_TEXT"});case"FORMAT_BOLD":return r({string:"bold",id:"FORMAT_BOLD"});case"FORMAT_ITALIC":return r({string:"italic",id:"FORMAT_ITALIC"});case"FORMAT_UNDERLINE":return r({string:"underline",id:"FORMAT_UNDERLINE"});case"FORMAT_CODE":return r({string:"code",id:"FORMAT_CODE"});case"FORMAT_STRIKETHROUGH":return r({string:"strikethrough",id:"FORMAT_STRIKETHROUGH"});case"FORMAT_SUBSCRIPT":return r({string:"subscript",id:"FORMAT_SUBSCRIPT"});case"FORMAT_SUPERSCRIPT":return r({string:"superscript",id:"FORMAT_SUPERSCRIPT"});case"ELEMENT_BLOCK_QUOTE":return r({string:"block quote",id:"ELEMENT_BLOCK_QUOTE"});case"ELEMENT_CODE_BLOCK":return r({string:"code block",plural:"%0 code blocks",id:"ELEMENT_CODE_BLOCK"},n);case"FORMAT_HEADER_COLUMN":return r({string:"header column",id:"FORMAT_HEADER_COLUMN"});case"FORMAT_REGULAR_COLUMN":return r({string:"regular column",id:"FORMAT_REGULAR_COLUMN"});case"FORMAT_HEADER_ROW":return r({string:"header row",id:"FORMAT_HEADER_ROW"});case"FORMAT_REGULAR_ROW":return r({string:"regular row",id:"FORMAT_REGULAR_ROW"});case"FORMAT_INDENT":return r({string:"indent",id:"FORMAT_INDENT"});case"FORMAT_LIST_REVERSED":return r({string:"list reversed",id:"FORMAT_LIST_REVERSED"});case"FORMAT_LIST_START":return r({string:"list start",id:"FORMAT_LIST_START"});case"FORMAT_FONT_SIZE":return r({string:"font size",id:"FORMAT_FONT_SIZE"});case"FORMAT_FONT_FAMILY":return r({string:"font family",id:"FORMAT_FONT_FAMILY"});case"FORMAT_FONT_COLOR":return r({string:"font color",id:"FORMAT_FONT_COLOR"});case"FORMAT_FONT_BACKGROUND":return r({string:"font background color",id:"FORMAT_FONT_BACKGROUND"});case"FORMAT_IMAGE_SIZE":return r({string:"image size",id:"FORMAT_IMAGE_SIZE"});case"FORMAT_STYLE":return r({string:"style",id:"FORMAT_STYLE"});case"FORMAT_LINE_HEIGHT":return r({string:"line height",id:"FORMAT_LINE_HEIGHT"});case"FORMAT_TABLE_BORDER_COLOR":return r({string:"table border color",id:"FORMAT_TABLE_BORDER_COLOR"});case"FORMAT_TABLE_BORDER_STYLE":return r({string:"table border style",id:"FORMAT_TABLE_BORDER_STYLE"});case"FORMAT_TABLE_BORDER_WIDTH":return r({string:"table border width",id:"FORMAT_TABLE_BORDER_WIDTH"});case"FORMAT_TABLE_ALIGNMENT":return r({string:"table alignment",id:"FORMAT_TABLE_ALIGNMENT"});case"FORMAT_TABLE_WIDTH":return r({string:"table width",id:"FORMAT_TABLE_WIDTH"});case"FORMAT_TABLE_HEIGHT":return r({string:"table height",id:"FORMAT_TABLE_HEIGHT"});case"FORMAT_TABLE_BACKGROUND_COLOR":return r({string:"table background color",id:"FORMAT_TABLE_BACKGROUND_COLOR"});case"FORMAT_TABLE_CELL_BORDER_COLOR":return r({string:"table cell border color",id:"FORMAT_TABLE_CELL_BORDER_COLOR"});case"FORMAT_TABLE_CELL_BORDER_STYLE":return r({string:"table cell border style",id:"FORMAT_TABLE_CELL_BORDER_STYLE"});case"FORMAT_TABLE_CELL_BORDER_WIDTH":return r({string:"table cell border width",id:"FORMAT_TABLE_CELL_BORDER_WIDTH"});case"FORMAT_TABLE_CELL_PADDING":return r({string:"table cell padding",id:"FORMAT_TABLE_CELL_PADDING"});case"FORMAT_TABLE_CELL_WIDTH":return r({string:"table cell width",id:"FORMAT_TABLE_CELL_WIDTH"});case"FORMAT_TABLE_CELL_HEIGHT":return r({string:"table cell height",id:"FORMAT_TABLE_CELL_HEIGHT"});case"FORMAT_TABLE_CELL_BACKGROUND_COLOR":return r({string:"table cell background color",id:"FORMAT_TABLE_CELL_BACKGROUND_COLOR"});case"FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT":return r({string:"table cell horizontal alignment",id:"FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT"});case"FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT":return r({string:"table cell vertical alignment",id:"FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT"});case"PENDING_ACTION_SUGGESTION":return r({string:"Unsaved change in suggestion.",id:"PENDING_ACTION_SUGGESTION"});case"ELEMENT_TABLE_WITH_TEXT":return r({string:"table *with text* %0",id:"ELEMENT_TABLE_WITH_TEXT"},n);case"ELEMENT_TABLE_ROW":return r({string:"table row",plural:"%0 table rows",id:"ELEMENT_TABLE_ROW"},n);case"ELEMENT_TABLE_ROW_WITH_TEXT":return r({string:"table row *with text* %1",plural:"%0 table rows *with text* %1",id:"ELEMENT_TABLE_ROW_WITH_TEXT"},n);case"ELEMENT_TABLE_COLUMN":return r({string:"table column",plural:"%0 table columns",id:"ELEMENT_TABLE_COLUMN"},n);case"ELEMENT_TABLE_COLUMN_WITH_TEXT":return r({string:"table column *with text* %1",plural:"%0 table columns *with text* %1",id:"ELEMENT_TABLE_COLUMN_WITH_TEXT"},n);case"ELEMENT_TABLE_OF_CONTENTS":return r({string:"table of contents",plural:"%0 tables of contents",id:"ELEMENT_TABLE_OF_CONTENTS"},n);case"ELEMENT_LINE_BREAK":return r({id:"ELEMENT_LINE_BREAK",string:"line break",plural:"%0 line breaks"},n);case"ELEMENT_TITLE":return r({id:"ELEMENT_TITLE",string:"title"});case"ELEMENT_MERGE_FIELD":return r({id:"ELEMENT_MERGE_FIELD",string:"merge field",plural:"%0 merge fields"},n);case"ELEMENT_BOOKMARK":return r({id:"ELEMENT_BOOKMARK",string:"bookmark",plural:"%0 bookmarks"},n);case"EXTERNAL_SUGGESTION":return r({id:"EXTERNAL_SUGGESTION",string:"This suggestion comes from an external source."});case"EXTERNAL_IMPORT_WORD_SUGGESTION":return r({string:"This suggestion comes from an imported Word file.",id:"EXTERNAL_IMPORT_WORD_SUGGESTION"});case"EXTERNAL_AVATAR":return s({string:"Displayed author name comes from external source (added by %0)",id:"EXTERNAL_AVATAR"},n);case"EXTERNAL_IMPORT_WORD_AVATAR":return s({string:"Displayed author name comes from a Word document imported by %0",id:"EXTERNAL_IMPORT_WORD_AVATAR"},n);case"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering insertion suggestion. Press %0 to go to the discussion.",id:"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"},n);case"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving insertion suggestion.",id:"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering deletion suggestion. Press %0 to go to the discussion.",id:"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"},n);case"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving deletion suggestion.",id:"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering formatting suggestion. Press %0 to go to the discussion.",id:"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"},n);case"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving formatting suggestion.",id:"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"});case"SUGGESTION_THREAD_ARIA_LABEL":return r({string:"Suggestion by %1. Created on %2. %0 reply. %3",plural:"Suggestion by %1. Created on %2. %0 replies. %3",id:"SUGGESTION_THREAD_ARIA_LABEL"},n);case"SUGGESTION_THREAD_DESCRIPTION":return r({string:"Press Enter for more options. Press Escape to exit.",id:"SUGGESTION_THREAD_DESCRIPTION"});default:return e}}const Pt=xt;function xt(t,e){const n=Ut();return(xt=function(t,e){return n[t-=470]})(t,e)}function Ut(){const t=["start","softBreak","14649767WkkVPQ","*Split:* %0","removeFormat","pop","add","12YKxVYe","checkChild","skip","map","_customCallbacks","32101KevZcJ","addContainer","registerElementLabel","removeObject","has","_addDescriptionItems","nextSibling","label","isEqual","elementEnd","data","isInContent","name","16BIZkwF","join","_handleCustomCallbackDescription","12KOPCJm","_locale","end","$textProxy","1250757WBdFbR","remove","_handleInsertRemoveSuggestionDescription","registerDescriptionCallback","366WxnjpR","quantity","*Set format:* %0","getWalker","nodeAfter","_attributeLabels","EmptyContainer","_itemLabels","REPLACE_TEXT","format","isEmpty","_schema","isObject","replace","5125dUlFQt","elementStart","5287926fATXUB","length","940948jlkdSL","addEmptyContainer","ELEMENT_SPACE","*Remove format:* %0","type","element","push","attribute","addFormat","normal","*Insert:* %0","_itemLabelsCallbacks","2qivLvr","function","$1 $2","*Change to:* %0","newValue","$text","addObject","item","text","registerAttributeLabel","match","removeEmptyContainer","*Remove:* %0","6501810WRnklL","removeContainer","get