PageSourceSearch

https://bids.moyerauction.com/editor-65820101.4790356cb15d216d8ec3.js

js moyerauction.com collected 2026-09-29 13:35:15 UTC 194,121 bytes, 1 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1900],{73998(){tinymce.IconManager.add("default",{icons:{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2Zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1Z" fill-rule="nonzero"/></svg>',"accordion-toggle":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3 7.3a1 1 0 0 1 1.4 0L16 9.6l2.3-2.3a1 1 0 1 1 1.4 1.4L16 12.4l-3.7-3.7a1 1 0 0 1 0-1.4ZM4.3 11.7a1 1 0 0 1 0-1.4L6.6 8 4.3 5.7a1 1 0 0 1 1.4-1.4L9.4 8l-3.7 3.7a1 1 0 0 1-1.4 0Z"/></svg>',accordion:'<svg width="24" height="24"><rect x="12" y="7" width="10" height="2" rx="1"/><rect x="12" y="11" width="10" height="2" rx="1"/><rect x="12" y="15" width="6" height="2" rx="1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.3 7.3a1 1 0 0 1 1.4 0L6 9.6l2.3-2.3a1 1 0 0 1 1.4 1.4L6 12.4 2.3 8.7a1 1 0 0 1 0-1.4Z"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3Z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3Z"/></svg>',addtag:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 5a2 2 0 0 1 1.6.8L21 12l-4.4 6.2a2 2 0 0 1-1.6.8h-3v-2h3l3.5-5L15 7H5v3H3V7c0-1.1.9-2 2-2h10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 12a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2H7v-2c0-.6-.4-1-1-1Z"/></svg>',"ai-prompt":'<svg width="24" height="24"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.7a1 1 0 0 0-1.4 0l-9.9 10a1 1 0 0 0 0 1.3l2.1 2.1c.4.4 1 .4 1.4 0l10-9.9c.3-.3.3-1 0-1.4l-2.2-2Zm1.4 2.8-2-2-3 2.7 2.2 2.2 2.8-2.9Z"/><path d="m18.5 7.3-.7-1.5-1.5-.8 1.5-.7.7-1.5.7 1.5 1.5.7-1.5.8-.7 1.5ZM18.5 16.5l-.7-1.6-1.5-.7 1.5-.7.7-1.6.7 1.6 1.5.7-1.5.7-.7 1.6ZM9.7 7.3 9 5.8 7.5 5 9 4.3l.7-1.5.7 1.5L12 5l-1.5.8-.7 1.5Z"/></g><defs><clipPath id="a"><path d="M0 0h24v24H0z"/></clipPath></defs></svg>',ai:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H5Zm6.8 11.5.5 1.2a68.3 68.3 0 0 0 .7 1.1l.4.1c.3 0 .5 0 .7-.3.2-.1.3-.3.3-.6l-.3-1-2.6-6.2a20.4 20.4 0 0 0-.5-1.3l-.5-.4-.7-.2c-.2 0-.5 0-.6.2-.2 0-.4.2-.5.4l-.3.6-.3.7L5.7 15l-.2.6-.1.4c0 .3 0 .5.3.7l.6.2c.3 0 .5 0 .7-.2l.4-1 .5-1.2h3.9ZM9.8 9l1.5 4h-3l1.5-4Zm5.6-.9v7.6c0 .4 0 .7.2 1l.7.2c.3 0 .6 0 .8-.3l.2-.9V8.1c0-.4 0-.7-.2-.9a1 1 0 0 0-.8-.3c-.2 0-.5.1-.7.3l-.2 1Z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24">
1<path d="M14.2 5 13 7H5a1 1 0 1 1 0-2h9.2Zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h6.8Zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h4.4Zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2ZM7 17l-1.2 2H5a1 1 0 0 1 0-2h2Zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2Zm5.2-13.5 1.3.7-9.7 16.3-1.3-.7 9.7-16.3Z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="m5.6 13 12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8Z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="m18.5 13-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8Z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8Zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4Zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4Z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1Z" fill-rule="nonzero"/></svg>',"border-style":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',"border-width":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3Zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3Zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1ZM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7Zm10 3.5.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0Zm-10-7-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3Zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7Zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8ZM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8Zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7Z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9.4-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6Z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8ZM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7Z" fill-rule="nonzero"/></svg>
1',"cell-background-color":'<svg width="24" height="24"><path d="m15.7 2 1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 0 1-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2ZM18 12l-4.5-4L9 12h9ZM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16Z"/></svg>',"cell-border-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 0 1-2-2v-5h2zm8-7V4h6a2 2 0 0 1 2 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="m13 11-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="m18.4 8 1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 0 1-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8Zm1.6 7-3-3-3 3h6Z"/></g></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 0 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1Zm4.8-6.8V10H7.7V5.8h-1v-1h2ZM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1Zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1ZM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2V18.7l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1Zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6Zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4Zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8Zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1Z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2ZM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3 4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1Z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3Z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8 5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0Z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24">
1<path d="M17.3 8.2 13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5Z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11Zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2Zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2ZM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5Z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4Zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5Z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8Zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3 3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2Z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6Z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3Zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7Zm0 12V9h-7v10h7Z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3ZM9 9v5l5-5H9Zm1 6h5v-5l-5 5Z" fill-rule="evenodd"/></svg>',"cut-column":'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0 1 10.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 0 1 2 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 0 1 7 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7Zm12.3 5h-3v10h3v-10ZM8 13.8h-.3l-.4.2a2.8 2.8 0 0 0-.7.4v.1a2.8 2.8 0 0 0-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 0 0 .8-.3 2.4 2.4 0 0 0 .7-.7 2.5 2.5 0 0 0 .3-.8 1.5 1.5 0 0 0 0-.8 1 1 0 0 0-.2-.4 1 1 0 0 0-.5-.2H8Zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4ZM7 5.8h-.4a1 1 0 0 0-.5.3 1 1 0 0 0-.2.5v.7a2.5 2.5 0 0 0 .3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 0 0 0-.8 2.6 2.6 0 0 0-.3-.8A2.5 2.5 0 0 0 7.7 6l-.4-.1H7Z"/></svg>',"cut-row":'<svg width="24" height="24">
1<path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l2 2V3h14ZM8.5 15.3h-.3a2.6 2.6 0 0 0-.8.4 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3L9 18V18l.4-.4.2-.4.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2h-.5Zm7 0H15a1 1 0 0 0-.4.3 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4a2.8 2.8 0 0 0 .5.7h.1a2.8 2.8 0 0 0 .8.6l.4.1h.7l.5-.2.2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3h-.3ZM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4Zm8.5-7.1h-11v2h11v-2Z"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8Zm-8.5 2.2.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1Zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4Zm5.4 4 .2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2Z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5Zm0 4h2v2h-2V9ZM9 9h2v2H9V9Zm4 4h2v2h-2v-2Zm-4 0h2v2H9v-2Zm0 4h2v2H9v-2Zm4 0h2v2h-2v-2ZM9 5h2v2H9V5Z" fill-rule="evenodd"/></svg>',"duplicate-column":'<svg width="24" height="24"><path d="M17 6v16h-7V6h7Zm-2 2h-3v12h3V8Zm-2-6v2H8v15H6V2h7Z"/></svg>',"duplicate-row":'<svg width="24" height="24"><path d="M22 11v7H6v-7h16Zm-2 2H8v3h12v-3Zm-1-6v2H4v5H2V7h17Z"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10Zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2Z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1Z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="m19.8 8.8-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5Zm-2-.2 1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5Zm-1 1-2.5-2.4-6 6 2.5 2.5 6-6Zm-7 7.1-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5Z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9ZM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13Zm3-5.3 1.3 2 3-4.7 3.7 6H7l2-3.3Z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6Zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4Zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6Zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3Zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2Zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2Z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm4.8 2.6 5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4Z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13Z" fill-rule="nonzero"/></svg>',export:'<svg width="24" height="24"><g fill-rule="nonzero">
1<path d="M14.4 3 18 7v1h-5V5H7v14h9a1 1 0 0 1 2 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5Z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3Z"/><path d="M16.4 9.2a1 1 0 0 1 1.4.2l2.4 3.6-2.4 3.6a1 1 0 0 1-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 0 1 .2-1.4Z"/></g></svg>',fill:'<svg width="24" height="26"><path d="m16.6 12-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2ZM5.2 13 10 8.2l4.8 4.8H5.2ZM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5Z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2Zm4-8h2V9h-2v2ZM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2Zm14-2v2h2a2 2 0 0 0-2-2Zm-7 16h2V3h-2v18Zm7-6h2v-2h-2v2Zm-4-8h2V5h-2v2Zm4 12a2 2 0 0 0 2-2h-2v2Z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5Zm8 4v2h2v-2h-2Zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2Zm2 14h-2v2a2 2 0 0 0 2-2ZM3 11v2h18v-2H3Zm6 7v2h2v-2H9Zm8-4v2h2v-2h-2ZM5 18c0 1.1.9 2 2 2v-2H5Z" fill-rule="nonzero"/></svg>',footnote:'<svg width="24" height="24"><path d="M19 13c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h14Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19 4v6h-1V5h-1.5V4h2.6Z"/><path d="M12 18c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h7ZM14 8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2h9Z"/></svg>',"format-code":'<svg width="24" height="24"><path d="m10 22 2-7H6l9-13h2l-2 8h7L12 22h-2ZM6 2h7l-1.4 2H6V2Zm4.2 4H4v2h4.8l1.4-2Zm-2.7 4H2v2h4l1.5-2
vendor: 17,227 bytes, line 1
1Z"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3Z" fill-rule="nonzero"/></svg>',format:'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 0 1 0 2h-4v11a1 1 0 0 1-2 0V7H7a1 1 0 1 1 0-2h10Z"/></svg>',fullscreen:'<svg width="24" height="24"><path d="m15.3 10-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3Zm0 4 3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2ZM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3ZM8.7 10 5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2Z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="m5 15.7 2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7ZM5 18V19h3l1.8-1.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1Zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1Zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1Z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0Z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1ZM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8Z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="m5 15.7 3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7ZM5 18V19h3l2.8-2.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-1 3v2h2V7h-2Zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4Z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5Z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18Z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1Z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3 16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6Zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6Z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="m16.7 4.7-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8Z" fill-rule="evenodd"/></svg>',language:'<svg width="24" height="24"><path d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 0 0 3.2-2.1l-.2-.2a6 6 0 0 0-1-.6Zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 0 1-2-2.8Zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7Zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3Zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 0 1-.3-2Zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1Zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6Zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3Zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1Zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3Zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1Zm3-1.4-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 0 0-1.3-3.5Zm-9 0 2 .2V5.5a9 9 0 0 0-2 2.2Zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 0 0-2-2.3Zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 0 1 1.9-2.5Zm4.4 0 .1.1a10 10 0 0 1 1.8 2.4l1.1-.7a7.5 7.5 0 0 0-3-1.8Z"/></svg>',"line-height":'<svg width="24" height="24"><path d="M21 5a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zM7 3.6l3.7 3.7a1 1 0 0 1-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 0 1 1.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 0 1 1.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 0 1-1.3 0h-.1a1 1 0 0 1 0-1.3v-.1L7 3.6z"/></svg>',line:'<svg width="24" height="24"><path d="m15 9-8 8H4v-3l8-8 3 3Zm1-1-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1ZM4 18h16v2H4v-2Z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2Z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8h-.1l-1.5 1v-1.1l1.6-1.1h1.2v6zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2Zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5Zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7Zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7Zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6ZM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7ZM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4Zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3ZM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6Zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7Zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4Zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3Zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7Zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8Zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4ZM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22Zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3ZM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM37.1 34.6 34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1ZM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4Zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8Zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3ZM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22Zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1Zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33Zm0 10v-1.2h-1.3V26H33Zm0 10v-1.2h-1.3V36H33Z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15Zm0 10v-1.2h1.3V26H15Zm0 10v-1.2h1.3V36H15Z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="m39.3 17-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3Zm-1.6-4.7-.7 2.3h1.6l-.8-2.3ZM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7Zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26ZM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="m12.6 17-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3ZM11 12.3l-.7 2.3h1.6l-.8-2.3Zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7ZM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7ZM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26Zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3Zm0 10v-1.2H33V27h-1.3Zm0 10v-1.2H33V37h-1.3Z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15Zm0 10v-1.2h1.3V27H15Zm0 10v-1.2h1.3V37H15Z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3ZM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7Z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5ZM4.4 16.2 6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',
1"math-equation":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 4.8c.1-.5.5-.8 1-.8h10a1 1 0 1 1 0 2h-9.2L8.3 19.2a1 1 0 0 1-1.7.4l-3.4-4.2a1 1 0 0 1 1.6-1.2l2 2.5L9 4.8Zm9.7 5.5c.4.4.4 1 0 1.4L17 13.5l1.8 1.8a1 1 0 1 1-1.4 1.4L15.5 15l-1.8 1.8a1 1 0 0 1-1.4-1.4l1.8-1.8-1.8-1.8a1 1 0 0 1 1.4-1.4l1.8 1.8 1.8-1.8a1 1 0 0 1 1.4 0Z"/></svg>',mentions:'<svg height="24" width="24"><path d="M12 21a8.8 8.8 0 0 1-3.5-.7 9 9 0 0 1-2.9-2 9 9 0 0 1-1.9-2.8A8.8 8.8 0 0 1 3 12c0-1.3.2-2.4.7-3.5a9 9 0 0 1 4.8-4.8A8.8 8.8 0 0 1 12 3c1.3 0 2.4.2 3.5.7a9.1 9.1 0 0 1 4.8 4.8A8.7 8.7 0 0 1 21 12v1.4a3 3 0 0 1-.9 2.2 3 3 0 0 1-2.2.9c-.5 0-1-.1-1.5-.4a3.8 3.8 0 0 1-1.1-1 4.8 4.8 0 0 1-1.5 1 4.3 4.3 0 0 1-1.8.4c-1.2 0-2.3-.4-3.2-1.3-.9-.9-1.3-2-1.3-3.2s.4-2.3 1.3-3.2c.9-.9 2-1.3 3.2-1.3s2.3.4 3.2 1.3c.9.9 1.3 2 1.3 3.2v1.4c0 .4.1.7.4 1 .3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1V12c0-2-.7-3.8-2.1-5.2S14 4.7 12 4.7s-3.8.7-5.2 2.1S4.7 10 4.7 12s.7 3.8 2.1 5.2 3.2 2.1 5.2 2.1h4.5V21zm0-6.2c.8 0 1.4-.3 2-.8a2.7 2.7 0 0 0 .8-2c0-.8-.3-1.4-.8-2a2.7 2.7 0 0 0-2-.8c-.8 0-1.4.3-2 .8a2.7 2.7 0 0 0-.8 2c0 .8.3 1.4.8 2a2.7 2.7 0 0 0 2 .8z"/></svg>',minus:'<svg width="24" height="24"><path d="M19 11a1 1 0 0 1 .1 2H5a1 1 0 0 1-.1-2H19Z"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="m15 13 2-2v8H5V7h8l-2 2H7v8h8v-4Zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19Z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3Zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1Z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M15.5 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd" clip-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2Zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19Zm-1 8.8.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3Zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2ZM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6Zm-1 8.8.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3ZM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4 1 13l6.4 6.5 6.5-6.5-6.5-6.5ZM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7ZM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1Z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2Z" fill-rule="evenodd"/></svg>',"export-pdf":'<svg width="24" height="24">
1<path fill-rule="evenodd" clip-rule="evenodd" d="M7 3h7.4L19 7.6V17h-2V9h-4V5H7v3H5V5c0-1.1.9-2 2-2Z"/><path d="M2.6 15.2v-1.9h1c.6 0 1-.2 1.4-.5.3-.3.5-.7.5-1.2s-.2-.9-.5-1.2a2 2 0 0 0-1.3-.4H1v5.2h1.6Zm.4-3h-.4v-1.1h.5l.6.1.2.5c0 .1 0 .3-.2.4l-.7.1Zm5.7 3 1-.1c.3 0 .5-.2.7-.4l.5-.8c.2-.3.2-.7.2-1.3v-1l-.5-.8c-.2-.3-.4-.5-.7-.6L8.7 10H6.3v5.2h2.4Zm-.4-1.1H8v-3h.4c.5 0 .8.2 1 .4l.2 1.1-.1 1-.3.3-.8.2Zm5.3 1.2V13h2v-1h-2v-1H16V10h-4v5.2h1.6Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15 17a1 1 0 1 0-2 0v3.1l-1.4-1a1 1 0 1 0-1.2 1.7l3.6 2.4 3.6-2.4a1 1 0 0 0-1.2-1.6l-1.4 1V17Z"/></svg>',"export-word":'<svg width="24" height="24"><path d="M9.5 7A1.5 1.5 0 0 1 11 8.4v7.1A1.5 1.5 0 0 1 9.6 17H2.5A1.5 1.5 0 0 1 1 15.6V8.5A1.5 1.5 0 0 1 2.4 7h7.1Zm-1 2.8-1 2.6-1-2.5v-.1a.6.6 0 0 0-1 0l-.1.1-.9 2.5-1-2.5v-.1a.6.6 0 0 0-1 .4v.1l1.5 4v.1a.6.6 0 0 0 1 0v-.1l1-2.5.9 2.5v.1a.6.6 0 0 0 1 0H8l1.6-4v-.2a.6.6 0 0 0-1.1-.4Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 3h7.4L19 7.6V17h-2V9h-4V5H5c0-1.1.9-2 2-2ZM15 17a1 1 0 1 0-2 0v3.1l-1.4-1a1 1 0 1 0-1.2 1.7l3.6 2.4 3.6-2.4a1 1 0 0 0-1.2-1.6l-1.4 1V17Z"/></svg>',"import-word":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 3h7.4L19 7.6V15h-2V9h-4V5H5c0-1.1.9-2 2-2Z"/><path d="M9.5 7A1.5 1.5 0 0 1 11 8.4v7.1A1.5 1.5 0 0 1 9.6 17H2.5A1.5 1.5 0 0 1 1 15.6V8.5A1.5 1.5 0 0 1 2.4 7h7.1Zm-1 2.8-1 2.6-1-2.5v-.1a.6.6 0 0 0-1 0l-.1.1-.9 2.5-1-2.5v-.1a.6.6 0 0 0-1 .4v.1l1.5 4v.1a.6.6 0 0 0 1 0v-.1l1-2.5.9 2.5v.1a.6.6 0 0 0 1 0H8l1.6-4v-.2a.6.6 0 0 0-1.1-.4Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.4 18.2a1 1 0 0 0 1.2 1.6l1.4-1V22a1 1 0 1 0 2 0v-3.1l1.4 1a1 1 0 0 0 1.2-1.7L15 15.8l-3.6 2.4Z"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2ZM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1ZM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1Z"/></g></svg>',paragraph:'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z"/></svg>',"paste-column-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm8 7v12h-6V8h6Zm-1.5 1.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-column-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm-2 7v12H4V8h6ZM8.5 9.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 11v5H8v-5h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 7v5H8V8h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2Z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24">
1<path d="M10.5 17.5 8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1Z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 0 1 .1 2H13v6a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H11V5c0-.6.4-1 1-1Z"/></svg>',preferences:'<svg width="24" height="24"><path d="m20.1 13.5-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5Zm-2.4-1 .7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1Zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6Z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3Zm-1 10H7v-4h10v4Zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5Zm.5-8H6v2h12V5Z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3Z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m5 22.1-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5ZM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1Z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8ZM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1Z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1Zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4Zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9Zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7ZM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3Z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5Z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1Z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></g></svg>',"revision-history":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1Z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24">
1<path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8Z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5Zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2Z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2Zm0 2v2h14v-2H5Zm10 0h2v2h-2v-2Zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6Z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2a2 2 0 0 0-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8a2 2 0 0 0 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3Z"/></svg>',send:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.3 22 7-18.3-18.3 7L9 15l4.3 7ZM18 6.8l-.7-.7L9.4 14l.7.7L18 6.8Z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6ZM8 8h2V6H8v2Zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6ZM14 13h2v-2h-2v2Zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6ZM8 18h2v-2H8v2Z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="m16 6 4 4-8 9-8-9 4-4h8Zm-4 10.2 5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2Z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7ZM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7Z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6Zm0-3v2h2V5H6Zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1Zm-5 1.5-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5ZM13 10V8h-2v2h2Zm0-3V5h-2v2h2Zm3 5 1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12Z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1Z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24">
1<path d="m10.4 10 4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10ZM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19Z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4 10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4Zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11Z" fill-rule="nonzero"/></svg>',"table-caption":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></g></svg>',"table-cell-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8Zm-2 2H5v5h6V6Z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 0 1 2 2v7h-8v-2h6V6h-6V4Z" opacity=".2"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3Z" opacity=".2"/></g></svg>',"table-cell-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8 0h-6v5h6v-5Zm-8-7H5v5h6V6Z"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z" opacity=".2"/></g></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z"/></g></svg>',"table-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v7h-8v7H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8-7h-6v5h6V6Zm-8 0H5v5h6V6Z"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2Zm.3.5 1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5Z"/></svg>',"table-delete-row":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6Zm-4.7 1.8 1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3Z"/></svg>',"table-delete-table":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 6v12h14V6H5Z"/><path d="m14.4 8.6 1.1 1-2.4 2.4 2.4 2.4-1.1 1.1-2.4-2.4-2.4 2.4-1-1.1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',"table-insert-column-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 0 1-2 0V6h-8v12h8v-1a1 1 0 0 1 2 0v2c0 .5-.4 1-.9 1H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h15ZM9 13H5v5h4v-5Zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H17v2a1 1 0 0 1-2 .1V13h-2a1 1 0 0 1-.1-2H15V9c0-.6.4-1 1-1ZM9 6H5v5h4V6Z"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 2 0v1h8V6H5v1a1 1 0 1 1-2 0V5c0-.6.4-1 1-1h15Zm0 9h-4v5h4v-5ZM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H9v2a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H7V9c0-.6.4-1 1-1Zm11-2h-4v5h4V6Z"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 1 1 0 2H5v6h14V6h-1a1 1 0 0 1 0-2h2c.6 0 1 .4 1 1v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-.6.4-1 1-1h2Zm5 10H5v4h6v-4Zm8 0h-6v4h6v-4ZM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 .1V8H9a1 1 0 0 1 0-2h2V4c0-.6.4-1 1-1Z"/></svg>',"table-insert-row-after":'<svg width="24" height="24">
1<path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 0 1 .1 2H13v2a1 1 0 0 1-2 .1V18H9a1 1 0 0 1-.1-2H11v-2c0-.6.4-1 1-1Zm6 7a1 1 0 0 1 0-2h1v-6H5v6h1a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v13c0 .5-.4 1-.9 1H18ZM11 6H5v4h6V6Zm8 0h-6v4h6V6Z"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 9h-4v5h4v-5Zm-6 0H9v5h4v-5Zm0-7H9v5h4V6Zm6 0h-4v5h4V6Z"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15.5V18h3v-2.5H5Zm14-5h-9V18h9v-7.5ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Zm-8 7.5h3v-3H5v3Z"/></svg>',"table-row-numbering-rtl":'<svg width="24" height="24"><path d="M6 4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Zm0 12h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 11h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 6h8v3H6V6Zm11 0c.6 0 1 .4 1 1v1a1 1 0 1 1-2 0V7c0-.6.4-1 1-1Z"/></svg>',"table-row-numbering":'<svg width="24" height="24"><path d="M18 4a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h12Zm0 12h-8v3h8v-3ZM7 16a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8v-3ZM7 11a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8V6ZM7 6a1 1 0 0 0-1 1v1a1 1 0 1 0 2 0V7c0-.6-.4-1-1-1Z"/></svg>',"table-row-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-9h-6v3h6V6ZM5 9h6V6H5v3Z"/></svg>',"table-split-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM8 15.5H5V18h3v-2.5Zm11-5h-9V18h9v-7.5Zm-2.5 1 1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2Zm-8.5-1H5v3h3v-3ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Z"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 11H5v3h6v-3Zm8 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></svg>',table:'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 14v4h6v-4H5Zm14 0h-6v4h6v-4Zm0-6h-6v4h6V8ZM5 12h6V8H5v4Z"/></svg>',"template-add":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 12v4H5a2 2 0 0 0-2 2v3h9.3a6 6 0 0 1-.3-2H5v-1h7a6 6 0 0 1 .8-2H11v-5l-.8-.6a3 3 0 1 1 3.6 0l-.8.6v4.7a6 6 0 0 1 2-1.9V12a5 5 0 1 0-6 0Z"/><path d="M18 15c.5 0 1 .4 1 .9V18h2a1 1 0 0 1 .1 2H19v2a1 1 0 0 1-2 .1V20h-2a1 1 0 0 1-.1-2H17v-2c0-.6.4-1 1-1Z"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14ZM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4Zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2Z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0Zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7Z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"/></g></svg>',"text-size-decrease":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM14 12a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Z"/></svg>',"text-size-increase":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM17 9a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2c0-.6-.4-1-1-1Z"/></svg>',toc:'<svg width="24" height="24">
1<path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="m12.7 14.3-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8Zm4.3-3 2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 0 1 2 0Zm-2.2 4.4h2.4L16 12.5l-1.2 3.2Z" fill-rule="evenodd"/></svg>',typography:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H7a1 1 0 0 1 0-2h10Z"/><path d="m17.5 14 .8-1.7 1.7-.8-1.7-.8-.8-1.7-.8 1.7-1.7.8 1.7.8.8 1.7ZM7 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1 1-2Z"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1ZM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8Z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2ZM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1ZM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5Zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5Zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17Zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19Zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19Z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2Z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6Z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12ZM11 6.4 8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4Z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24Zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7ZM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13Z" fill-rule="nonzero"/></svg>',"vertical-align":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 0 1 1.2 1.5l-.1.1-4.1 3-4-3a1 1 0 0 1 1-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8 4 2.9a1 1 0 0 1-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 0 1-1-1v-4l-2 1.3a1 1 0 0 1-1.2-.1l-.1-.1a1 1 0 0 1 .1-1.3l.1-.1 4.1-3z"/></g></svg>',visualblocks:'<svg width="24" height="24">
1<path d="M9 19v2H7v-2h2Zm-4 0v2a2 2 0 0 1-2-2h2Zm8 0v2h-2v-2h2Zm8 0a2 2 0 0 1-2 2v-2h2Zm-4 0v2h-2v-2h2ZM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15ZM5 15v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 11v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 7v2H3V7h2Zm16 0v2h-2V7h2ZM5 3v2H3c0-1.1.9-2 2-2Zm8 0v2h-2V3h2Zm6 0a2 2 0 0 1 2 2h-2V3ZM9 3v2H7V3h2Zm8 0v2h-2V3h2Z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6ZM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3Zm.7-3 .3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4Z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8Zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>'}})},13e3(){function n(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach(function(n){e(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function e(n,t,e){return(t=u(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function r(n){return function(n){if(Array.isArray(n))return o(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(n){if("string"==typeof n)return o(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(n,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function i(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,u(r.key),r)}}function u(n){var t=function(n,t){if("object"!=c(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==c(t)?t:t+""}function c(n){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},c(n)}!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.ModelManager"),o=function(n){return function(t){return u=c(e=t),(null===e?"null":"object"===u&&Array.isArray(e)?"array":"object"===u&&(a=r=e,(o=String).prototype.isPrototypeOf(a)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===o.name)?"string":u)===n;var e,r,o,i,u,a}},u=function(n){return function(t){return c(t)===n}},a=function(n){return function(t){return n===t}}
1,l=o("string"),f=o("object"),h=o("array"),s=a(null),v=u("boolean"),d=a(void 0),m=function(n){return!function(n){return null==n}(n)},g=u("function"),p=u("number"),w=function(){},Z=function(n){return function(){return n}},b=function(n){return n},H=function(n,t){return n===t};function M(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=e.concat(r);return n.apply(null,i)}}var y=function(n){return function(t){return!n(t)}},V=function(n){return n()},z=Z(!1),x=Z(!0),C=function(){function n(t,e){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.tag=t,this.value=e}return t=n,e=[{key:"fold",value:function(n,t){return this.tag?t(this.value):n()}},{key:"isSome",value:function(){return this.tag}},{key:"isNone",value:function(){return!this.tag}},{key:"map",value:function(t){return this.tag?n.some(t(this.value)):n.none()}},{key:"bind",value:function(t){return this.tag?t(this.value):n.none()}},{key:"exists",value:function(n){return this.tag&&n(this.value)}},{key:"forall",value:function(n){return!this.tag||n(this.value)}},{key:"filter",value:function(t){return!this.tag||t(this.value)?this:n.none()}},{key:"getOr",value:function(n){return this.tag?this.value:n}},{key:"or",value:function(n){return this.tag?this:n}},{key:"getOrThunk",value:function(n){return this.tag?this.value:n()}},{key:"orThunk",value:function(n){return this.tag?this:n()}},{key:"getOrDie",value:function(n){if(this.tag)return this.value;throw new Error(null!=n?n:"Called getOrDie on None")}},{key:"getOrNull",value:function(){return this.tag?this.value:null}},{key:"getOrUndefined",value:function(){return this.value}},{key:"each",value:function(n){this.tag&&n(this.value)}},{key:"toArray",value:function(){return this.tag?[this.value]:[]}},{key:"toString",value:function(){return this.tag?"some(".concat(this.value,")"):"none()"}}],r=[{key:"some",value:function(t){return new n(!0,t)}},{key:"none",value:function(){return n.singletonNone}},{key:"from",value:function(t){return m(t)?n.some(t):n.none()}}],e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();C.singletonNone=new C(!1);var T,S,L,R,k,D,O=Array.prototype.slice,A=Array.prototype.indexOf,E=Array.prototype.push,j=function(n,t){return e=n,r=t,A.call(e,r)>-1;var e,r},_=function(n,t){for(var e=0,r=n.length;e<r;e++){if(t(n[e],e))return!0}return!1},N=function(n,t){for(var e=[],r=0;r<n;r++)e.push(t(r));return e},B=function(n,t){for(var e=n.length,r=new Array(e),o=0;o<e;o++){var i=n[o];r[o]=t(i,o)}return r},W=function(n,t){for(var e=0,r=n.length;e<r;e++){t(n[e],e)}},P=function(n,t){for(var e=[],r=[],o=0,i=n.length;o<i;o++){var u=n[o];(t(u,o)?e:r).push(u)}return{pass:e,fail:r}},I=function(n,t){for(var e=[],r=0,o=n.length;r<o;r++){var i=n[r];t(i,r)&&e.push(i)}return e},F=function(n,t,e){return function(n,t){for(var e=n.length-1;e>=0;e--)t(n[e],e)}(n,function(n,r){e=t(e,n,r)}),e},q=function(n,t,e){return W(n,function(n,r){e=t(e,n,r)}),e},U=function(n,t){return function(n,t,e){for(var r=0,o=n.length;r<o;r++){var i=n[r];if(t(i,r))return C.some(i);if(e(i,r))break}return C.none()}(n,t,z)},$=function(n,t){for(var e=0,r=n.length;e<r;e++){if(t(n[e],e))return C.some(e)}return C.none()},K=function(n){for(var t=[],e=0,r=n.length;e<r;++e){if(!h(n[e]))throw new Error("Arr.flatten item "+e+" was not an array, input: "+n);E.apply(t,n[e])}return t},G=function(n,t){return K(B(n,t))},Y=function(n,t){for(var e=0,r=n.length;e<r;++e){if(!0!==t(n[e],e))return!1}return!0},J=function(n,t){for(var e={},r=0,o=n.length;r<o;r++){var i=n[r];e[String(i)]=t(i,r)}return e},Q=function(n,t){return t>=0&&t<n.length?C.some(n[t]):C.none()},X=function(n){return Q(n,0)},nn=function(n){return Q(n,n.length-1)},tn=function(n,t){for(var e=0;e<n.length;e++){var r=t(n[e],e);if(r.isSome())return r}return C.none()},en=Object.keys,rn=Object.hasOwnProperty,on=function(n,t){for(var e=en(n),r=0,o=e.length;r<o;r++){var i=e[r];t(n[i],i)}},un=function(n,t){return cn(n,function(n,e){return{k:e,v:t(n,e)}})},cn=function(n,t){var e={};return on(n,function(n,r){var o=t(n,r);e[o.k]=o.v}),e},an=function(n,t){var e,r={};return function(n,t,e,r){on(n,function(n,o){(t(n,o)?e:r)(n,o)})}(n,t,(e=r,function(n,t){e[t]=n}),w),r},ln=function(n,t){var e=[];return on(n,function(n,r){e.push(t(n,r))}),e},fn=function(n){return ln(n,b)},hn=function(n,t){return rn.call(n,t)},sn="undefined"!=typeof window?window:Function("return this;")(),vn=function(n,t){return function(n,t){for(var e=null!=t?t:sn,r=0;r<n.length&&null!=e;++r)e=e[n[r]];return e}(n.split("."),t)},dn=function(n,t){var e=function(n,t){return vn(n,t)}(n,t);if(null==e)throw new Error(n+" not available on this browser");return e},mn=Object.getPrototypeOf,gn=function(n){var t=vn("ownerDocument.defaultView",n);return f(n)&&(function(n){return dn("HTMLElement",n)}(t).prototype.isPrototypeOf(n)||/^HTML\w*Element$/.test(mn(n).constructor.name))},pn=function(n){return n.dom.nodeName.toLowerCase()},wn=function(n){return n.dom.nodeType},Zn=function(n){return function(t){return wn(t)===n}},bn=function(n){return 8===wn(n)||"#comment"===pn(n)},Hn=function(n){return Mn(n)&&gn(n.dom)},Mn=Zn(1),yn=Zn(3),Vn=Zn(9),zn=Zn(11),xn=function(n){return function(t){return Mn(t)&&pn(t)===n}},Cn=function(n,t,e){if(!(l(e)||v(e)||p(e)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",e,":: Element ",n),new Error("Attribute value was not simple");n.setAttribute(t,e+"")},Tn=function(n,t,e){Cn(n.dom,t,e)},Sn=function(n,t){var e=n.dom;on(t,function(n,t){Cn(e,t,n)})},Ln=function(n,t){var e=n.dom.getAttribute(t);return null===e?void 0:e},Rn=function(n,t){return C.from(Ln(n,t))},kn=function(n,t){n.dom.removeAttribute(t)},Dn=function(n){return q(n.dom.attributes,function(n,t){return n[t.name]=t.value,n},{})},On=function(n){if(null==n)throw new Error("Node cannot be null or undefined");return{dom:n}},An={fromHtml:function(n,t){var e=(t||document).createElement("div");if(e.innerHTML=n,!e.hasChildNodes()||e.childNodes.length>1){var r="HTML does not have a single root node";throw console.error(r,n),new Error(r)}return On(e.childNodes[0])},fromTag:function(n,t){var e=(t||document).createElement(n);return On(e)},fromText:function(n,t){var e=(t||document).createTextNode(n);return On(e)},fromDom:On,fromPoint:function(n,t,e){return C.from(n.dom.elementFromPoint(t,e)).map(On)}},En=function(n,t){var e=n.dom;if(1!==e.nodeType)return!1;var r=e;if(void 0!==r.matches)return r.matches(t);
1if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},jn=function(n){return 1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType||0===n.childElementCount},_n=function(n,t){var e=void 0===t?document:t.dom;return jn(e)?C.none():C.from(e.querySelector(n)).map(An.fromDom)},Nn=function(n,t){return n.dom===t.dom},Bn=function(n,t){var e=n.dom,r=t.dom;return e!==r&&e.contains(r)},Wn=En,Pn=function(n){return An.fromDom(n.dom.ownerDocument)},In=function(n){return Vn(n)?n:Pn(n)},Fn=function(n){return C.from(n.dom.parentNode).map(An.fromDom)},qn=function(n){return C.from(n.dom.parentElement).map(An.fromDom)},Un=function(n,t){for(var e=g(t)?t:z,r=n.dom,o=[];null!==r.parentNode&&void 0!==r.parentNode;){var i=r.parentNode,u=An.fromDom(i);if(o.push(u),!0===e(u))break;r=i}return o},$n=function(n){return C.from(n.dom.previousSibling).map(An.fromDom)},Kn=function(n){return C.from(n.dom.nextSibling).map(An.fromDom)},Gn=function(n){return B(n.dom.childNodes,An.fromDom)},Yn=function(n,t){var e=n.dom.childNodes;return C.from(e[t]).map(An.fromDom)},Jn=function(n,t){Fn(n).each(function(e){e.dom.insertBefore(t.dom,n.dom)})},Qn=function(n,t){Kn(n).fold(function(){Fn(n).each(function(n){nt(n,t)})},function(n){Jn(n,t)})},Xn=function(n,t){var e=function(n){return Yn(n,0)}(n);e.fold(function(){nt(n,t)},function(e){n.dom.insertBefore(t.dom,e.dom)})},nt=function(n,t){n.dom.appendChild(t.dom)},tt=function(n,t){Jn(n,t),nt(t,n)},et=function(n,t){W(t,function(e,r){var o=0===r?n:t[r-1];Qn(o,e)})},rt=function(n,t){W(t,function(t){nt(n,t)})},ot=function(n){n.dom.textContent="",W(Gn(n),function(n){it(n)})},it=function(n){var t=n.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},ut=function(n){var t=Gn(n);t.length>0&&et(n,t),it(n)},ct=function(n,t){return An.fromDom(n.dom.cloneNode(t))},at=function(n){return ct(n,!1)},lt=function(n){return ct(n,!0)},ft=function(n,t){var e=An.fromTag(t),r=Dn(n);return Sn(e,r),e},ht=["tfoot","thead","tbody","colgroup"],st=function(n,t,e){return{element:n,rowspan:t,colspan:e}},vt=function(n,t,e){return{element:n,cells:t,section:e}},dt=function(n,t,e){return{element:n,isNew:t,isLocked:e}},mt=function(n,t,e,r){return{element:n,cells:t,section:e,isNew:r}},gt=function(n){return zn(n)&&m(n.dom.host)},pt=function(n){return An.fromDom(n.dom.getRootNode())},wt=function(n){return An.fromDom(n.dom.host)},Zt=function(n){return m(n.dom.shadowRoot)},bt=function(n){var t=yn(n)?n.dom.parentNode:n.dom;if(null==t||null===t.ownerDocument)return!1;var e,r,o,i,u=t.ownerDocument;return(o=An.fromDom(t),i=pt(o),gt(i)?C.some(i):C.none()).fold(function(){return u.body.contains(t)},(e=bt,r=wt,function(n){return e(r(n))}))},Ht=function(n){var t=n.dom.body;if(null==t)throw new Error("Body is not available yet");return An.fromDom(t)},Mt=function(n,t){var e=[];return W(Gn(n),function(n){t(n)&&(e=e.concat([n])),e=e.concat(Mt(n,t))}),e},yt=function(n,t,e){return function(n,t,e){return I(Un(n,e),t)}(n,function(n){return En(n,t)},e)},Vt=function(n,t){return function(n,t){return I(Gn(n),t)}(n,function(n){return En(n,t)})},zt=function(n,t){return function(n,t){var e=void 0===t?document:t.dom;return jn(e)?[]:B(e.querySelectorAll(n),An.fromDom)}(t,n)},xt=function(n,t,e,r,o){return n(e,r)?C.some(e):g(o)&&o(e)?C.none():t(e,r,o)},Ct=function(n,t,e){for(var r=n.dom,o=g(e)?e:z;r.parentNode;){r=r.parentNode;var i=An.fromDom(r);if(t(i))return C.some(i);if(o(i))break}return C.none()},Tt=function(n,t,e){return xt(function(n,t){return t(n)},Ct,n,t,e)},St=function(n,t,e){return Ct(n,function(n){return En(n,t)},e)},Lt=function(n,t){return function(n,t){return U(n.dom.childNodes,function(n){return t(An.fromDom(n))}).map(An.fromDom)}(n,function(n){return En(n,t)})},Rt=function(n,t){return _n(t,n)},kt=function(n,t,e){return xt(function(n,t){return En(n,t)},St,n,t,e)},Dt=function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H;return n.exists(function(n){return e(n,t)})},Ot=function(n){for(var t=[],e=function(n){t.push(n)},r=0;r<n.length;r++)n[r].each(e);return t},At=function(n,t){return n?C.some(t):C.none()},Et=function(n,t,e){return""===t||n.length>=t.length&&n.substr(e,e+t.length)===t},jt=function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,o=n.indexOf(t,e);return-1!==o&&(!!d(r)||o+t.length<=r)},_t=function(n,t){return Et(n,t,0)},Nt=function(n,t){return Et(n,t,n.length-t.length)},Bt=(T=/^\s+|\s+$/g,function(n){return n.replace(T,"")}),Wt=function(n){return n.length>0},Pt=function(n){return void 0!==n.style&&g(n.style.getPropertyValue)},It=function(n,t,e){if(!l(e))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",e,":: Element ",n),new Error("CSS value must be a string: "+e);Pt(n)&&n.style.setProperty(t,e)},Ft=function(n,t,e){var r=n.dom;It(r,t,e)},qt=function(n,t){var e=n.dom;on(t,function(n,t){It(e,t,n)})},Ut=function(n,t){var e=n.dom,r=window.getComputedStyle(e).getPropertyValue(t);return""!==r||bt(n)?r:$t(e,t)},$t=function(n,t){return Pt(n)?n.style.getPropertyValue(t):""},Kt=function(n,t){var e=n.dom,r=$t(e,t);return C.from(r).filter(function(n){return n.length>0})},Gt=function(n,t){!function(n,t){Pt(n)&&n.style.removeProperty(t)}(n.dom,t),Dt(Rn(n,"style").map(Bt),"")&&kn(n,"style")},Yt=function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Rn(n,t).map(function(n){return parseInt(n,10)}).getOr(e)},Jt=function(n,t){return Yt(n,t,1)},Qt=function(n){return xn("col")(n)?Yt(n,"span",1)>1:Jt(n,"colspan")>1},Xt=function(n,t){return parseInt(Ut(n,t),10)},ne=Z(10),te=Z(10),ee=function(n,t){return re(n,t,x)},re=function(n,t,e){return G(Gn(n),function(n){return En(n,t)?e(n)?[n]:[]:re(n,t,e)})},oe=function(n,t){return function(n,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z;return e(t)?C.none():j(n,pn(t))?C.some(t):St(t,n.join(","),function(n){return En(n,"table")||e(n)})}(["td","th"],n,t)},ie=function(n){return ee(n,"th,td")},ue=function(n){return En(n,"colgroup")?Vt(n,"col"):G(le(n),function(n){return Vt(n,"col")})},ce=function(n,t){return kt(n,"table",t)},ae=function(n){return ee(n,"tr")},le=function(n){return ce(n).fold(Z([]),function(n){return Vt(n,"colgroup")})},fe=function(n,t){return B(n,function(n){if("colgroup"===pn(n)){var e=B(ue(n),function(n){var t=Yt(n,"span",1);return st(n,1,t)});return vt(n,e,"colgroup")}
1var r=B(ie(n),function(n){var t=Yt(n,"rowspan",1),e=Yt(n,"colspan",1);return st(n,t,e)});return vt(n,r,t(n))})},he=function(n){return Fn(n).map(function(n){var t=pn(n);return function(n){return j(ht,n)}(t)?t:"tbody"}).getOr("tbody")},se=function(n){var t=ae(n),e=le(n),o=[].concat(r(e),r(t));return fe(o,he)},ve=function(n){var t,e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=n.apply(null,o)}return t}},de=function(){return me(0,0)},me=function(n,t){return{major:n,minor:t}},ge={nu:me,detect:function(n,t){var e=String(t).toLowerCase();return 0===n.length?de():function(n,t){var e=function(n,t){for(var e=0;e<n.length;e++){var r=n[e];if(r.test(t))return r}}(n,t);if(!e)return{major:0,minor:0};var r=function(n){return Number(t.replace(e,"$"+n))};return me(r(1),r(2))}(n,e)},unknown:de},pe=function(n,t){var e=String(t).toLowerCase();return U(n,function(n){return n.search(e)})},we=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Ze=function(n){return function(t){return jt(t,n)}},be=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(n){return jt(n,"edge/")&&jt(n,"chrome")&&jt(n,"safari")&&jt(n,"applewebkit")}},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,we],search:function(n){return jt(n,"chrome")&&!jt(n,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(n){return jt(n,"msie")||jt(n,"trident")}},{name:"Opera",versionRegexes:[we,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ze("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ze("firefox")},{name:"Safari",versionRegexes:[we,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(n){return(jt(n,"safari")||jt(n,"mobile/"))&&jt(n,"applewebkit")}}],He=[{name:"Windows",search:Ze("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(n){return jt(n,"iphone")||jt(n,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ze("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Ze("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ze("linux"),versionRegexes:[]},{name:"Solaris",search:Ze("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ze("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Ze("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Me={browsers:Z(be),oses:Z(He)},ye="Edge",Ve="Chromium",ze="Opera",xe="Firefox",Ce="Safari",Te=function(n){var t=n.current,e=n.version,r=function(n){return function(){return t===n}};return{current:t,version:e,isEdge:r(ye),isChromium:r(Ve),isIE:r("IE"),isOpera:r(ze),isFirefox:r(xe),isSafari:r(Ce)}},Se={unknown:function(){return Te({current:void 0,version:ge.unknown()})},nu:Te,edge:Z(ye),chromium:Z(Ve),ie:Z("IE"),opera:Z(ze),firefox:Z(xe),safari:Z(Ce)},Le="Windows",Re="Android",ke="Linux",De="macOS",Oe="Solaris",Ae="FreeBSD",Ee="ChromeOS",je=function(n){var t=n.current,e=n.version,r=function(n){return function(){return t===n}};return{current:t,version:e,isWindows:r(Le),isiOS:r("iOS"),isAndroid:r(Re),isMacOS:r(De),isLinux:r(ke),isSolaris:r(Oe),isFreeBSD:r(Ae),isChromeOS:r(Ee)}},_e={unknown:function(){return je({current:void 0,version:ge.unknown()})},nu:je,windows:Z(Le),ios:Z("iOS"),android:Z(Re),linux:Z(ke),macos:Z(De),solaris:Z(Oe),freebsd:Z(Ae),chromeos:Z(Ee)},Ne=function(n,t,e){var r=Me.browsers(),o=Me.oses(),i=t.bind(function(n){return function(n,t){return tn(t.brands,function(t){var e=t.brand.toLowerCase();return U(n,function(n){var t;return e===(null===(t=n.brand)||void 0===t?void 0:t.toLowerCase())}).map(function(n){return{current:n.name,version:ge.nu(parseInt(t.version,10),0)}})})}(r,n)}).orThunk(function(){return function(n,t){return pe(n,t).map(function(n){var e=ge.detect(n.versionRegexes,t);return{current:n.name,version:e}})}(r,n)}).fold(Se.unknown,Se.nu),u=function(n,t){return pe(n,t).map(function(n){var e=ge.detect(n.versionRegexes,t);return{current:n.name,version:e}})}(o,n).fold(_e.unknown,_e.nu),c=function(n,t,e,r){var o=n.isiOS()&&!0===/ipad/i.test(e),i=n.isiOS()&&!o,u=n.isiOS()||n.isAndroid(),c=u||r("(pointer:coarse)"),a=o||!i&&u&&r("(min-device-width:768px)"),l=i||u&&!a,f=t.isSafari()&&n.isiOS()&&!1===/safari/i.test(e),h=!l&&!a&&!f;return{isiPad:Z(o),isiPhone:Z(i),isTablet:Z(a),isPhone:Z(l),isTouch:Z(c),isA
1ndroid:n.isAndroid,isiOS:n.isiOS,isWebView:Z(f),isDesktop:Z(h)}}(u,i,n,e);return{browser:i,os:u,deviceType:c}},Be=function(n){return window.matchMedia(n).matches},We=ve(function(){return Ne(window.navigator.userAgent,C.from(window.navigator.userAgentData),Be)}),Pe=function(){return We()},Ie=function(n,t){var e=function(e){var r=t(e);if(r<=0||null===r){var o=Ut(e,n);return parseFloat(o)||0}return r},r=function(n,t){return q(t,function(t,e){var r=Ut(n,e),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o},0)};return{set:function(t,e){if(!p(e)&&!e.match(/^[0-9]+$/))throw new Error(n+".set accepts only positive integer values. Value was "+e);var r=t.dom;Pt(r)&&(r.style[n]=e+"px")},get:e,getOuter:e,aggregate:r,max:function(n,t,e){var o=r(n,e);return t>o?t-o:0}}},Fe=function(n,t){return function(n){var t=parseFloat(n);return isNaN(t)?C.none():C.some(t)}(n).getOr(t)},qe=function(n,t,e){return Fe(Ut(n,t),e)},Ue=function(n,t){var e=n.dom,r=e.getBoundingClientRect().width||e.offsetWidth;return"border-box"===t?r:function(n,t,e,r){return t-qe(n,"padding-".concat(e),0)-qe(n,"padding-".concat(r),0)-qe(n,"border-".concat(e,"-width"),0)-qe(n,"border-".concat(r,"-width"),0)}(n,r,"left","right")},$e=Ie("width",function(n){return n.dom.offsetWidth}),Ke=function(n){return $e.get(n)},Ge=function(n){return $e.getOuter(n)},Ye=function(n){return Ue(n,"content-box")},Je=function(n){return qe(n,"width",n.dom.offsetWidth)},Qe=function(n,t,e){var r=n.cells,o=r.slice(0,t),i=r.slice(t),u=o.concat(e).concat(i);return tr(n,u)},Xe=function(n,t,e){return Qe(n,t,[e])},nr=function(n,t,e){n.cells[t]=e},tr=function(n,t){return mt(n.element,t,n.section,n.isNew)},er=function(n,t){return n.cells[t]},rr=function(n,t){return er(n,t).element},or=function(n){return n.cells.length},ir=function(n){var t=P(n,function(n){return"colgroup"===n.section});return{rows:t.fail,cols:t.pass}},ur=function(n,t,e){var r=B(n.cells,e);return mt(t(n.element),r,n.section,!0)},cr="data-snooker-locked-cols",ar=function(n){return Rn(n,cr).bind(function(n){return C.from(n.match(/\d+/g))}).map(function(n){return J(n,x)})},lr=function(n){var t=q(ir(n).rows,function(n,t){return W(t.cells,function(t,e){t.isLocked&&(n[e]=!0)}),n},{}),e=ln(t,function(n,t){return parseInt(t,10)});return function(n,t){var e=O.call(n,0);return e.sort(t),e}(e)},fr=function(n,t){return n+","+t},hr=function(n,t){var e=G(n.all,function(n){return n.cells});return I(e,t)},sr=function(n){var t={},e=[],r=X(n).map(function(n){return n.element}).bind(ce).bind(ar).getOr({}),o=0,i=0,u=0,c=P(n,function(n){return"colgroup"===n.section}),a=c.pass,l=c.fail;W(l,function(n){var c=[];W(n.cells,function(n){for(var e=0;void 0!==t[fr(u,e)];)e++;for(var o=function(n,t){return hn(n,t)&&void 0!==n[t]&&null!==n[t]}(r,e.toString()),a=function(n,t,e,r,o,i){return{element:n,rowspan:t,colspan:e,row:r,column:o,isLocked:i}}(n.element,n.rowspan,n.colspan,u,e,o),l=0;l<n.colspan;l++)for(var f=0;f<n.rowspan;f++){var h=e+l,s=fr(u+f,h);t[s]=a,i=Math.max(i,h+1)}c.push(a)}),o++,e.push(vt(n.element,c,n.section)),u++});var f=nn(a).map(function(n){var t=function(n){var t={},e=0;return W(n.cells,function(n){var r=n.colspan;N(r,function(o){var i=e+o;t[i]=function(n,t,e){return{element:n,colspan:t,column:e}}(n.element,r,i)}),e+=r}),t}(n),e=function(n,t){return{element:n,columns:t}}(n.element,fn(t));return{colgroups:[e],columns:t}}).getOrThunk(function(){return{colgroups:[],columns:{}}}),h=f.columns,s=f.colgroups,v=function(n,t){return{rows:n,columns:t}}(o,i);return{grid:v,access:t,all:e,columns:h,colgroups:s}},vr={fromTable:function(n){var t=se(n);return sr(t)},generate:sr,getAt:function(n,t,e){return C.from(n.access[fr(t,e)])},findItem:function(n,t,e){var r=hr(n,function(n){return e(t,n.element)});return r.length>0?C.some(r[0]):C.none()},filterItems:hr,justCells:function(n){return G(n.all,function(n){return n.cells})},justColumns:function(n){return fn(n.columns)},hasColumns:function(n){return en(n.columns).length>0},getColumnAt:function(n,t){return C.from(n.columns[t])}},dr=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x,e=n.grid,r=N(e.columns,b),o=N(e.rows,b);return B(r,function(e){return mr(function(){return G(o,function(t){return vr.getAt(n,t,e).filter(function(n){return n.column===e}).toArray()})},function(n){return 1===n.colspan&&t(n.element)},function(){return vr.getAt(n,0,e)})})},mr=function(n,t,e){var r=n();return U(r,t).orThunk(function(){return C.from(r[0]).orThunk(e)}).map(function(n){return n.element})},gr=function(n){var t=n.grid,e=N(t.rows,b),r=N(t.columns,b);return B(e,function(t){return mr(function(){return G(r,function(e){return vr.getAt(n,t,e).filter(function(n){return n.row===t}).fold(Z([]),function(n){return[n]})})},function(n){return 1===n.rowspan}
1,function(){return vr.getAt(n,t,0)})})},pr=function(n,t){if(t<0||t>=n.length-1)return C.none();var e=n[t].fold(function(){var e=function(n){var t=O.call(n,0);return t.reverse(),t}(n.slice(0,t));return tn(e,function(n,t){return n.map(function(n){return{value:n,delta:t+1}})})},function(n){return C.some({value:n,delta:0})}),r=n[t+1].fold(function(){var e=n.slice(t+1);return tn(e,function(n,t){return n.map(function(n){return{value:n,delta:t+1}})})},function(n){return C.some({value:n,delta:1})});return e.bind(function(n){return r.map(function(t){var e=t.delta+n.delta;return Math.abs(t.value-n.value)/e})})},wr=function(n,t){return function(e){return"rtl"===Zr(e)?t:n}},Zr=function(n){return"rtl"===Ut(n,"direction")?"rtl":"ltr"},br=Ie("height",function(n){var t=n.dom;return bt(n)?t.getBoundingClientRect().height:t.offsetHeight}),Hr=function(n){return br.get(n)},Mr=function(n){return br.getOuter(n)},yr=function(n){return qe(n,"height",n.dom.offsetHeight)},Vr=function(n,t){return{left:n,top:t,translate:function(e,r){return Vr(n+e,t+r)}}},zr=Vr,xr=function(n,t){return void 0!==n?n:void 0!==t?t:0},Cr=function(n){var t=n.dom.ownerDocument,e=t.body,r=t.defaultView,o=t.documentElement;if(e===n.dom)return zr(e.offsetLeft,e.offsetTop);var i=xr(null==r?void 0:r.pageYOffset,o.scrollTop),u=xr(null==r?void 0:r.pageXOffset,o.scrollLeft),c=xr(o.clientTop,e.clientTop),a=xr(o.clientLeft,e.clientLeft);return Tr(n).translate(u-a,i-c)},Tr=function(n){var t=n.dom,e=t.ownerDocument.body;return e===t?zr(e.offsetLeft,e.offsetTop):bt(n)?function(n){var t=n.getBoundingClientRect();return zr(t.left,t.top)}(t):zr(0,0)},Sr=function(n,t){return{row:n,y:t}},Lr=function(n,t){return{col:n,x:t}},Rr=function(n){return Cr(n).left+Ge(n)},kr=function(n){return Cr(n).left},Dr=function(n,t){return Lr(n,kr(t))},Or=function(n,t){return Lr(n,Rr(t))},Ar=function(n){return Cr(n).top},Er=function(n,t){return Sr(n,Ar(t))},jr=function(n,t){return Sr(n,Ar(t)+Mr(t))},_r=function(n,t,e){if(0===e.length)return[];var r=B(e.slice(1),function(t,e){return t.map(function(t){return n(e,t)})}),o=e[e.length-1].map(function(n){return t(e.length-1,n)});return r.concat([o])},Nr={delta:b,positions:function(n){return _r(Er,jr,n)},edge:Ar},Br={delta:b,edge:kr,positions:function(n){return _r(Dr,Or,n)}},Wr={delta:function(n){return-n},edge:Rr,positions:function(n){return _r(Or,Dr,n)}},Pr=wr(Br,Wr),Ir={delta:function(n,t){return Pr(t).delta(n,t)},positions:function(n,t){return Pr(t).positions(n,t)},edge:function(n){return Pr(n).edge(n)}},Fr={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},qr=(S="[0-9]+",L="[eE][+-]?"+S,R=function(n){return"(?:".concat(n,")?")},k=["Infinity",S+"\\."+R(S)+R(L),"\\."+S+R(L),S+R(L)].join("|"),D="[+-]?(?:".concat(k,")"),new RegExp("^(".concat(D,")(.*)$"))),Ur=function(n,t){return C.from(qr.exec(n)).bind(function(n){var e=Number(n[1]),r=n[2];return function(n,t){return _(t,function(t){return _(Fr[t],function(t){return n===t})})}(r,t)?C.some({value:e,unit:r}):C.none()})},$r=/(\d+(\.\d+)?)%/,Kr=/(\d+(\.\d+)?)px|em/,Gr=xn("col"),Yr=xn("tr"),Jr=function(n,t,e){var r=qn(n).getOrThunk(function(){return Ht(Pn(n))});return t(n)/e(r)*100},Qr=function(n,t){Ft(n,"width",t+"px")},Xr=function(n,t){Ft(n,"width",t+"%")},no=function(n,t){Ft(n,"height",t+"px")},to=function(n,t,e,r){var o=parseFloat(n);return Nt(n,"%")&&"table"!==pn(t)?function(n,t,e,r){var o=ce(n).map(function(n){var r=e(n);return Math.floor(t/100*r)}).getOr(t);return r(n,o),o}(t,o,e,r):o},eo=function(n){var t=function(n){return yr(n)+"px"}(n);return t?to(t,n,Hr,no):Hr(n)},ro=function(n,t){return Kt(n,t).orThunk(function(){return Rn(n,t).map(function(n){return n+"px"})})},oo=function(n){return ro(n,"width")},io=function(n){return Jr(n,Ke,Ye)},uo=function(n){return Gr(n)?Ke(n):Je(n)},co=function(n){return Yr(n)?Hr(n):function(n,t,e){return e(n)/Jt(n,t)}(n,"rowspan",eo)},ao=function(n,t,e){Ft(n,"width",t+e)},lo=function(n){return Jr(n,Ke,Ye)+"%"},fo=Z($r),ho=xn("col"),so=function(n){return oo(n).getOrThunk(function(){return uo(n)+"px"})},vo=function(n){return(t=n,ro(t,"height")).getOrThunk(function(){return co(n)+"px"});var t},mo=function(n,t,e,r,o,i){return n.filter(r).fold(function(){return i(pr(e,t))},function(n){return o(n)})},go=function(n,t,e,r){var o=dr(n),i=vr.hasColumns(n)?function(n){return B(vr.justColumns(n),function(n){return C.from(n.element)})}(n):o,u=[C.some(Ir.edge(t))].concat(B(Ir.positions(o,t),function(n){return n.map(function(n){return n.x})})),c=y(Qt);return B(i,function(n,t){return mo(n,t,u,c,function(n){if(function(n){var t=Pe().browser,e=t.isChromium()||t.isFirefox();return!ho(n)||e}(n))return e(n);var i,a,l=(i=o[t],a=b,null!=i?a(i):C.none());return mo(l,t,u,c,function(n){return r(C.some(Ke(n)))},r)},r)})},po=function(n){return n.map(function(n){return n+"px"}).getOr("")},wo=function(n,t,e){return go(n,t,uo,function(n){return n.getOrThunk(e.minCellWidth)})},Zo=function(n,t,e,r){var o=gr(n),i=B(n.all,function(n){return C.some(n.element)}),u=[C.some(Nr.edge(t))].concat(B(Nr.positions(o,t),function(n){return n.map(function(n){return n.y})}));return B(i,function(n,t){return mo(n,t,u,x,e,r)}
1)},bo=function(n,t){return function(){return bt(n)?t(n):parseFloat(Kt(n,"width").getOr("0"))}},Ho=function(n){var t=bo(n,Ke),e=Z(0);return{width:t,pixelWidth:t,getWidths:function(t,e){return wo(t,n,e)},getCellDelta:e,singleColumnWidth:Z([0]),minCellWidth:e,setElementWidth:w,adjustTableWidth:w,isRelative:!0,label:"none"}},Mo=function(n){var t=bo(n,function(n){return parseFloat(lo(n))}),e=bo(n,Ke);return{width:t,pixelWidth:e,getWidths:function(t,e){return function(n,t,e){return go(n,t,io,function(n){return n.fold(function(){return e.minCellWidth()},function(n){return n/e.pixelWidth()*100})})}(t,n,e)},getCellDelta:function(n){return n/e()*100},singleColumnWidth:function(n,t){return[100-n]},minCellWidth:function(){return ne()/e()*100},setElementWidth:Xr,adjustTableWidth:function(e){var r=t();Xr(n,r+e/100*r)},isRelative:!0,label:"percent"}},yo=function(n){var t=bo(n,Ke);return{width:t,pixelWidth:t,getWidths:function(t,e){return wo(t,n,e)},getCellDelta:b,singleColumnWidth:function(n,t){return[Math.max(ne(),n+t)-n]},minCellWidth:ne,setElementWidth:Qr,adjustTableWidth:function(e){var r=t()+e;Qr(n,r)},isRelative:!1,label:"pixel"}},Vo=function(n){return oo(n).fold(function(){return Ho(n)},function(t){return function(n,t){return null!==fo().exec(t)?Mo(n):yo(n)}(n,t)})},zo=yo,xo=Mo,Co=function(n,t,e){var r=n[e].element,o=An.fromTag("td");nt(o,An.fromTag("br")),(t?nt:Xn)(r,o)},To=function(n,t){var e=function(n){return En(n.element,t)},r=lt(n),o=se(r),i=Vo(n),u=vr.generate(o),c=function(n,t){var e=n.grid.columns,r=n.grid.rows,o=e,i=0,u=0,c=[],a=[];return on(n.access,function(n){if(c.push(n),t(n)){a.push(n);var e=n.row,l=e+n.rowspan-1,f=n.column,h=f+n.colspan-1;e<r?r=e:l>i&&(i=l),f<o?o=f:h>u&&(u=h)}}),function(n,t,e,r,o,i){return{minRow:n,minCol:t,maxRow:e,maxCol:r,allCells:o,selectedCells:i}}(r,o,i,u,c,a)}(u,e),a="th:not("+t+"),td:not("+t+")",l=re(r,"th,td",function(n){return En(n,a)});W(l,it),function(n,t,e,r){for(var o=I(n,function(n){return"colgroup"!==n.section}),i=t.grid.columns,u=t.grid.rows,c=0;c<u;c++)for(var a=!1,l=0;l<i;l++)c<e.minRow||c>e.maxRow||l<e.minCol||l>e.maxCol||(vr.getAt(t,c,l).filter(r).isNone()?Co(o,a,c):a=!0)}(o,u,c,e);var f=function(n,t,e,r){if(0===r.minCol&&t.grid.columns===r.maxCol+1)return 0;var o=wo(t,n,e),i=q(o,function(n,t){return n+t},0),u=q(o.slice(r.minCol,r.maxCol+1),function(n,t){return n+t},0),c=u/i*e.pixelWidth()-e.pixelWidth();return e.getCellDelta(c)}(n,vr.fromTable(n),i,c);return function(n,t,e,r){on(e.columns,function(n){(n.column<t.minCol||n.column>t.maxCol)&&it(n.element)});var o=I(ee(n,"tr"),function(n){return 0===n.dom.childElementCount});W(o,it),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||W(ee(n,"th,td"),function(n){kn(n,"rowspan"),kn(n,"colspan")}),kn(n,cr),kn(n,"data-snooker-col-series"),Vo(n).adjustTableWidth(r)}(r,c,u,f),r},So=function(n,t){var e=function(t){return n(t)?C.from(t.dom.nodeValue):C.none()};return{get:function(r){if(!n(r))throw new Error("Can only get "+t+" value of a "+t+" node");return e(r).getOr("")},getOption:e,set:function(e,r){if(!n(e))throw new Error("Can only set raw "+t+" value of a "+t+" node");e.dom.nodeValue=r}}}(yn,"text"),Lo=function(n){return So.get(n)},Ro=function(n){return So.getOption(n)},ko=function(n,t){return So.set(n,t)},Do=function(n){return"img"===pn(n)?1:Ro(n).fold(function(){return Gn(n).length},function(n){return n.length})},Oo=["img","br"],Ao=function(n){return Ro(n).filter(function(n){return 0!==n.trim().length||n.indexOf(" ")>-1}).isSome()||j(Oo,pn(n))||function(n){return Hn(n)&&"false"===Ln(n,"contenteditable")}(n)},Eo=function(n){return t=Ao,(e=function(n){for(var r=0;r<n.childNodes.length;r++){var o=An.fromDom(n.childNodes[r]);if(t(o))return C.some(o);var i=e(n.childNodes[r]);if(i.isSome())return i}return C.none()})(n.dom);var t,e},jo=function(n){return _o(n,Ao)},_o=function(n,t){var e=function(n){for(var r=Gn(n),o=r.length-1;o>=0;o--){var i=r[o];if(t(i))return C.some(i);var u=e(i);if(u.isSome())return u}return C.none()};return e(n)},No={scope:["row","col"]},Bo=function(n){return function(){var t=An.fromTag("td",n.dom);return nt(t,An.fromTag("br",n.dom)),t}},Wo=function(n){return function(){return An.fromTag("col",n.dom)}},Po=function(n){return function(){return An.fromTag("colgroup",n.dom)}},Io=function(n){return function(){return An.fromTag("tr",n.dom)}},Fo=function(n,t,e){var r=function(n,t){var e=ft(n,t),r=Gn(lt(n));return rt(e,r),e}(n,t);return on(e,function(n,t){null===n?kn(r,t):Tn(r,t,n)}),r},qo=function(n){return n},Uo=function(n,t,e){var r=function(n,t){var e,r,o,i;e=n.element,r=t,o=e.dom,i=r.dom,Pt(o)&&Pt(i)&&(i.style.cssText=o.style.cssText),Gt(t,"height"),1!==n.colspan&&Gt(t,"width")};return{col:function(e){var o=An.fromTag(pn(e.element),t.dom);return r(e,o),n(e.element,o),o},colgroup:Po(t),row:Io(t),cell:function(o){var i=An.fromTag(pn(o.element),t.dom),u=e.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),c=u.length>
10?function(n,t,e){return Eo(n).map(function(r){var o=e.join(","),i=yt(r,o,function(t){return Nn(t,n)});return F(i,function(n,t){var e=at(t);return nt(n,e),e},t)}).getOr(t)}(o.element,i,u):i;return nt(c,An.fromTag("br")),r(o,i),function(n,t){on(No,function(e,r){return Rn(n,r).filter(function(n){return j(e,n)}).each(function(n){return Tn(t,r,n)})})}(o.element,i),n(o.element,i),i},replace:Fo,colGap:Wo(t),gap:Bo(t)}},$o=function(n){return{col:Wo(n),colgroup:Po(n),row:Io(n),cell:Bo(n),replace:qo,colGap:Wo(n),gap:Bo(n)}},Ko=function(n){return function(t){return t.options.get(n)}},Go="100%",Yo=function(n){var t,e=n.dom,r=null!==(t=e.getParent(n.selection.getStart(),e.isBlock))&&void 0!==t?t:n.getBody();return Ye(An.fromDom(r))+"px"},Jo=function(n){return C.from(n.options.get("table_clone_elements"))},Qo=Ko("table_header_type"),Xo=Ko("table_column_resizing"),ni=function(n){return"preservetable"===Xo(n)},ti=function(n){return"resizetable"===Xo(n)},ei=Ko("table_sizing_mode"),ri=function(n){return"relative"===ei(n)},oi=function(n){return"fixed"===ei(n)},ii=function(n){return"responsive"===ei(n)},ui=Ko("table_resize_bars"),ci=Ko("table_style_by_css"),ai=Ko("table_merge_content_on_paste"),li=function(n){var e=n.options,r=e.get("table_default_attributes");return e.isSet("table_default_attributes")?r:function(n,e){return ii(n)||ci(n)?e:oi(n)?t(t({},e),{},{width:Yo(n)}):t(t({},e),{},{width:Go})}(n,r)},fi=function(n){var e=n.options,r=e.get("table_default_styles");return e.isSet("table_default_styles")?r:function(n,e){return ii(n)||!ci(n)?e:oi(n)?t(t({},e),{},{width:Yo(n)}):t(t({},e),{},{width:Go})}(n,r)},hi=Ko("table_use_colgroups"),si=function(n){return kt(n,"[contenteditable]")},vi=function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return bt(n)?n.dom.isContentEditable:si(n).fold(Z(t),function(n){return"true"===di(n)})},di=function(n){return n.dom.contentEditable},mi=function(n){return An.fromDom(n.getBody())},gi=function(n){return function(t){return Nn(t,mi(n))}},pi=function(n){kn(n,"data-mce-style");var t=function(n){return kn(n,"data-mce-style")};W(ie(n),t),W(ue(n),t),W(ae(n),t)},wi=function(n){return An.fromDom(n.selection.getStart())},Zi=function(n){return n.getBoundingClientRect().width},bi=function(n){return n.getBoundingClientRect().height},Hi=function(n){return function(t,e){var r=t.dom.getStyle(e,n)||t.dom.getAttrib(e,n);return C.from(r).filter(Wt)}},Mi=Hi("width"),yi=Hi("height"),Vi=function(n){return Tt(n,xn("table")).exists(vi)},zi=function(n,t){var e=t.column,r=t.column+t.colspan-1,o=t.row,i=t.row+t.rowspan-1;return e<=n.finishCol&&r>=n.startCol&&o<=n.finishRow&&i>=n.startRow},xi=function(n,t){return t.column>=n.startCol&&t.column+t.colspan-1<=n.finishCol&&t.row>=n.startRow&&t.row+t.rowspan-1<=n.finishRow},Ci=function(n,t,e){var r=vr.findItem(n,t,Nn),o=vr.findItem(n,e,Nn);return r.bind(function(n){return o.map(function(t){return e=n,r=t,o=Math.min(e.row,r.row),i=Math.min(e.column,r.column),u=Math.max(e.row+e.rowspan-1,r.row+r.rowspan-1),c=Math.max(e.column+e.colspan-1,r.column+r.colspan-1),{startRow:o,startCol:i,finishRow:u,finishCol:c};var e,r,o,i,u,c})})},Ti=function(n,t,e){return Ci(n,t,e).bind(function(t){return function(n,t){for(var e=!0,r=M(xi,t),o=t.startRow;o<=t.finishRow;o++)for(var i=t.startCol;i<=t.finishCol;i++)e=e&&vr.getAt(n,o,i).exists(r);return e?C.some(t):C.none()}(n,t)})},Si=function(n,t,e){return Ci(n,t,e).map(function(t){var e=vr.filterItems(n,M(zi,t));return B(e,function(n){return n.element})})},Li=function(n,t){return vr.findItem(n,t,function(n,t){return Bn(t,n)}).map(function(n){return n.element})},Ri=function(n,t,e){return ce(n).bind(function(r){return function(n,t,e,r){return vr.findItem(n,t,Nn).bind(function(t){var o=e>0?t.row+t.rowspan-1:t.row,i=r>0?t.column+t.colspan-1:t.column;return vr.getAt(n,o+e,i+r).map(function(n){return n.element})})}(Oi(r),n,t,e)})},ki=function(n,t,e){var r=Oi(n);return Si(r,t,e)},Di=function(n,t,e,r,o){var i=Oi(n),u=Nn(n,e)?C.some(t):Li(i,t),c=Nn(n,o)?C.some(r):Li(i,r);return u.bind(function(n){return c.bind(function(t){return Si(i,n,t)})})},Oi=vr.fromTable,Ai=["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"],Ei=function(){return{up:Z({selector:St,closest:kt,predicate:Ct,all:Un}),down:Z({selector:zt,predicate:Mt}),styles:Z({get:Ut,getRaw:Kt,set:Ft,remove:Gt}),attrs:Z({get:Ln,set:Tn,remove:kn,copyTo:function(n,t){var e=Dn(n);Sn(t,e)}}),insert:Z({before:Jn,after:Qn,afterAll:et,append:nt,appendAll:rt,prepend:Xn,wrap:tt}),remove:Z({unwrap:ut,remove:it}),create:Z({nu:An.fromTag,clone:function(n){return An.fromDom(n.dom.cloneNode(!1))},text:An.fromText}),query:Z({comparePosition:function(n,t){return n.dom.compareDocumentPosition(t.dom)},prevSibling:$n,nextSibling:Kn}),property:Z({children:Gn,name:pn,parent:Fn,document:function(n){return In(n).dom},isText:yn,isComment:bn,isElement:Mn,isSpecial:function(n){var t=pn(n);return j(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:function(n){return Mn(n)?Rn(n,"lang"):C.none()},getText:Lo,setText:ko,isBoundary:function(n){return!!Mn(n)&&("body"===pn(n)||j(Ai,pn(n)))}
1,isEmptyTag:function(n){return!!Mn(n)&&j(["br","img","hr","input"],pn(n))},isNonEditable:function(n){return Mn(n)&&"false"===Ln(n,"contenteditable")}}),eq:Nn,is:Wn}},ji=function(n,t,e,r){var o=t(n,e);return F(r,function(e,r){var o=t(n,r);return _i(n,e,o)},o)},_i=function(n,t,e){return t.bind(function(t){return e.filter(M(n.eq,t))})},Ni=function(n,t,e){return e.length>0?function(n,t,e,r){return r(n,t,e[0],e.slice(1))}(n,t,e,ji):C.none()},Bi=function(n,t,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:z,o=[t].concat(n.up().all(t)),i=[e].concat(n.up().all(e)),u=function(n){return $(n,r).fold(function(){return n},function(t){return n.slice(0,t+1)})},c=u(o),a=u(i),l=U(c,function(t){return _(a,function(n,t){return M(n.eq,t)}(n,t))});return{firstpath:c,secondpath:a,shared:l}},Wi=Ei(),Pi=function(n,t){return Ni(Wi,function(t,e){return n(e)},t)},Ii=function(n){return St(n,"table")},Fi=function(n,t,e){var r=function(n){return function(t){return void 0!==e&&e(t)||Nn(t,n)}};return Nn(n,t)?C.some({boxes:C.some([n]),start:n,finish:t}):Ii(n).bind(function(o){return Ii(t).bind(function(i){if(Nn(o,i))return C.some({boxes:ki(o,n,t),start:n,finish:t});if(Bn(o,i)){var u=yt(t,"td,th",r(o)),c=u.length>0?u[u.length-1]:t;return C.some({boxes:Di(o,n,o,t,i),start:n,finish:c})}if(Bn(i,o)){var a=yt(n,"td,th",r(i)),l=a.length>0?a[a.length-1]:n;return C.some({boxes:Di(i,n,o,t,i),start:n,finish:l})}return function(n,t,e){return Bi(Wi,n,t,e)}(n,t).shared.bind(function(u){return kt(u,"table",e).bind(function(e){var u=yt(t,"td,th",r(e)),c=u.length>0?u[u.length-1]:t,a=yt(n,"td,th",r(e)),l=a.length>0?a[a.length-1]:n;return C.some({boxes:Di(e,n,o,t,i),start:l,finish:c})})})})})},qi=function(n,t){var e=zt(n,t);return e.length>0?C.some(e):C.none()},Ui=function(n,t,e){return Rt(n,t).bind(function(t){return Rt(n,e).bind(function(n){return Pi(Ii,[t,n]).map(function(e){return{first:t,last:n,table:e}})})})},$i=function(n,t,e,r,o){return function(n,t){return U(n,function(n){return En(n,t)})}(n,o).bind(function(n){return Ri(n,t,e).bind(function(n){return function(n,t){return St(n,"table").bind(function(e){return Rt(e,t).bind(function(t){return Fi(t,n).bind(function(n){return n.boxes.map(function(t){return{boxes:t,start:n.start,finish:n.finish}})})})})}(n,r)})})},Ki=function(n,t){return qi(n,t)},Gi=function(n,t,e){return Ui(n,t,e).bind(function(t){var e=function(t){return Nn(n,t)},r="thead,tfoot,tbody,table",o=St(t.first,r,e),i=St(t.last,r,e);return o.bind(function(n){return i.bind(function(e){return Nn(n,e)?function(n,t,e){var r=Oi(n);return Ti(r,t,e)}(t.table,t.first,t.last):C.none()})})})},Yi=b,Ji=function(n){var t=function(n,t){return Rn(n,t).exists(function(n){return parseInt(n,10)>1})};return n.length>0&&Y(n,function(n){return t(n,"rowspan")||t(n,"colspan")})?C.some(n):C.none()},Qi=function(n,t,e){return t.length<=1?C.none():Gi(n,e.firstSelectedSelector,e.lastSelectedSelector).map(function(n){return{bounds:n,cells:t}})},Xi="data-mce-selected",nu="td["+Xi+"],th["+Xi+"]",tu="["+Xi+"]",eu="data-mce-first-selected",ru="td["+eu+"],th["+eu+"]",ou="data-mce-last-selected",iu="td["+ou+"],th["+ou+"]",uu=tu,cu={selected:Xi,selectedSelector:nu,firstSelected:eu,firstSelectedSelector:ru,lastSelected:ou,lastSelectedSelector:iu},au=function(n,t,e){return{element:e,mergable:Qi(t,n,cu),unmergable:Ji(n),selection:Yi(n)}},lu=function(n){return function(t,e){var r,o=pn(t),i="col"===o||"colgroup"===o?ce(r=t).bind(function(n){return Ki(n,cu.firstSelectedSelector)}).fold(Z(r),function(n){return n[0]}):t;return kt(i,n,e)}},fu=lu("th,td,caption"),hu=lu("th,td"),su=function(n){return t=n.model.table.getSelectedCells(),B(t,An.fromDom);var t},vu=function(n,t){var e=n.getDoc(),r=pt(An.fromDom(n.getBody())),o=An.fromTag("div",e);Tn(o,"data-mce-bogus","all"),qt(o,{position:"fixed",left:"-9999999px",top:"0",overflow:"hidden",opacity:"0"});var i=function(n){return gt(n)?n:An.fromDom(In(n).dom.body)}(r);rt(o,t),nt(i,o);var u=o.dom.innerText;return it(o),u},du=function(n,t){n.on("BeforeGetContent",function(t){if(!0===t.selection){var e=function(n){return I(su(n),function(n){return En(n,cu.selectedSelector)})}(n);e.length>=1&&function(e){t.preventDefault(),function(n){return ce(n[0]).map(function(n){var t=To(n,uu);return pi(t),[t]})}(e).each(function(e){var r="text"===t.format?vu(n,e):function(n,t){return B(t,function(t){return n.selection.seri
1alizer.serialize(t.dom,{})}).join("")}(n,e);t.content=r})}(e)}}),n.on("BeforeSetContent",function(e){if(!0===e.selection&&!0===e.paste){var r=su(n);X(r).each(function(r){ce(r).each(function(o){var i,u,c,a=I((i=e.content,(c=(u||document).createElement("div")).innerHTML=i,Gn(An.fromDom(c))),function(n){return"meta"!==pn(n)}),l=xn("table");if(ai(n)&&1===a.length&&l(a[0])){e.preventDefault();var f=An.fromDom(n.getDoc()),h=$o(f),s=function(n,t,e){return{element:n,clipboard:t,generators:e}}(r,a[0],h);t.pasteCells(o,s).each(function(){n.focus()})}})})}})},mu=function(n,t){return{element:n,offset:t}},gu=function(n,t,e){return n.property().isText(t)&&0===n.property().getText(t).trim().length||n.property().isComment(t)?e(t).bind(function(t){return gu(n,t,e).orThunk(function(){return C.some(t)})}):C.none()},pu=function(n,t){return n.property().isText(t)?n.property().getText(t).length:n.property().children(t).length},wu=function(n,t){var e=gu(n,t,n.query().prevSibling).getOr(t);if(n.property().isText(e))return mu(e,pu(n,e));var r=n.property().children(e);return r.length>0?wu(n,r[r.length-1]):mu(e,pu(n,e))},Zu=wu,bu=Ei(),Hu=function(n,t){if(!Qt(n)){var e=function(n){return oo(n).bind(function(n){return Ur(n,["fixed","relative","empty"])})}(n);e.each(function(e){var r=e.value/2;ao(n,r,e.unit),ao(t,r,e.unit)})}},Mu=function(n){return B(n,Z(0))},yu=function(n,t,e,r,o){return o(n.slice(0,t)).concat(r).concat(o(n.slice(e)))},Vu=function(n){return function(t,e,r,o){if(n(r)){var i=Math.max(o,t[e]-Math.abs(r)),u=Math.abs(i-t[e]);return r>=0?u:-u}return r}},zu=Vu(function(n){return n<0}),xu=Vu(x),Cu=function(){var n=function(n,t,e,r){var o=(100+e)/100,i=Math.max(r,(n[t]+e)/o);return B(n,function(n,e){return(e===t?i:n/o)-n})},t=function(t,e,r,o,i,u){return u?n(t,e,o,i):function(n,t,e,r,o){var i=zu(n,t,r,o);return yu(n,t,e+1,[i,0],Mu)}(t,e,r,o,i)},e=function(n,t){return n(t)};return{resizeTable:e,clampTableDelta:zu,calcLeftEdgeDeltas:t,calcMiddleDeltas:function(n,e,r,o,i,u,c){return t(n,r,o,i,u,c)},calcRightEdgeDeltas:function(t,e,r,o,i,u){if(u)return n(t,r,o,i);var c=zu(t,r,o,i);return Mu(t.slice(0,r)).concat([c])},calcRedestributedWidths:function(n,t,e,r){if(r){var o=(t+e)/t,i=B(n,function(n){return n/o});return{delta:100*o-100,newSizes:i}}return{delta:e,newSizes:n}}}},Tu=function(){var n=function(n,t,e,r,o){var i=xu(n,r>=0?e:t,r,o);return yu(n,t,e+1,[i,-i],Mu)};return{resizeTable:function(n,t,e){e&&n(t)},clampTableDelta:function(n,t,e,r,o){if(o){if(e>=0)return e;var i=q(n,function(n,t){return n+t-r},0);return Math.max(-i,e)}return zu(n,t,e,r)},calcLeftEdgeDeltas:n,calcMiddleDeltas:function(t,e,r,o,i,u){return n(t,r,o,i,u)},calcRightEdgeDeltas:function(n,t,e,r,o,i){if(i)return Mu(n);var u=r/n.length;return B(n,Z(u))},calcRedestributedWidths:function(n,t,e,r){return{delta:0,newSizes:n}}}},Su=function(n){return vr.fromTable(n).grid},Lu=xn("th"),Ru=function(n){return Y(n,function(n){return Lu(n.element)})},ku=function(n,t){return n&&t?"sectionCells":n?"section":"cells"},Du=function(n){var t="thead"===n.section,e=Dt(Ou(n.cells),"th");return"tfoot"===n.section?{type:"footer"}:t||e?{type:"header",subType:ku(t,e)}:{type:"body"}},Ou=function(n){var t=I(n,function(n){return Lu(n.element)});return 0===t.length?C.some("td"):t.length===n.length?C.some("th"):C.none()},Au=function(n,t,e){return dt(e(n.element,t),!0,n.isLocked)},Eu=function(n,t){return n.section!==t?mt(n.element,n.cells,t,n.isNew):n},ju=function(){return{transformRow:Eu,transformCell:function(n,t,e){var r=e(n.element,t),o="td"!==pn(r)?function(n,t){var e=ft(n,t);Qn(n,e);var r=Gn(n);return rt(e,r),it(n),e}(r,"td"):r;return dt(o,n.isNew,n.isLocked)}}},_u=function(){return{transformRow:Eu,transformCell:Au}},Nu=function(){return{transformRow:function(n,t){return Eu(n,"thead"===t?"tbody":t)},transformCell:Au}},Bu=function(n,t){var e=function(n){return tn(n.all,function(n){var t=Du(n);return"header"===t.type?C.from(t.subType):C.none()})}(vr.fromTable(n)).getOr(t);switch(e){case"section":return ju();case"sectionCells":return _u();case"cells":return Nu()}},Wu=ju,Pu=_u,Iu=Nu,Fu=function(){return{transformRow:b,transformCell:Au}},qu=function(n,t,e,r){e===r?kn(n,t):Tn(n,t,e)},Uu=function(n,t,e){nn(Vt(n,t)).fold(function(){return Xn(n,e)},function(n){return Qn(n,e)})},$u=function(n,t){var e=[],r=[],o=function(n){return B(n,function(n){n.isNew&&e.push(n.element);var t=n.element;return ot(t),W(n.cells,function(n){n.isNew&&r.push(n.element),qu(n.element,"colspan",n.colspan,1),qu(n.element,"rowspan",n.rowspan,1),nt(t,n.element)}),t})},i=function(n){return G(n,function(n){return B(n.cells,function(n){return qu(n.element,"span",n.colspan,1),n.element})})},u=function(t,e){var r=function(n,t){var e=Lt(n,t).getOrThunk(function(){var e=An.fromTag(t,Pn(n).dom);return"thead"===t?Uu(n,"caption,colgroup",e):"colgroup"===t?Uu(n,"caption",e):nt(n,e),e});return ot(e),e}(n,e),u=("colgroup"===e?i:o)(t);rt(r,u)},c=function(t,e){t.length>0?u(t,e):function(t){Lt(n,t).each(it)}(e)},a=[],l=[],f=[],h=[];return W(t,function(n){switch(n.section){case"thead":a.push(n);break;case"tbody":l.push(n);break;case"tfoot":f.push(n);break;case"colgroup":h.push(n)}}),c(h,"colgroup"),c(a,"thead"),c(l,"tbody"),c(f,"tfoot"),{newRows:e,newCells:r}},Ku=function(n,t){if(0===n.length)return 0;var e=n[0];return $(n,function(n){return!t(e.element,n.element)}).getOr(n.length)},Gu=function(n,t,e,r){var o=function(n,t){return n[t]}(n,t),i="colgroup"===o.section,u=Ku(o.cells.slice(e),r),c=i?1:Ku(function(n,t){return B(n,function(n){return er(n,t)})}(n.slice(t),e),r);return{colspan:u,rowspan:c}},Yu=function(n,t){var e=B(n,function(n){return B(n.cells,z)});return B(n,function(r,o){var i=G(r.cells,function(r,i){if(!1===e[o][i]){var u=Gu(n,o,i,t);return function(n,t,r,o){for(var i=n;i<n+r;i++)for(var u=t;u<t+o;u++)e[i][u]=!0}(o,i,u.rowspan,u.colspan),[(c=r.element,a=u.rowspan,l=u.colspan,f=r.isNew,{element:c,rowspan:a,colspan:l,isNew:f})]}return[];var c,a,l,f});return function(n,t,e,r){return{element:n,cells:t,section:e,isNew:r}}(r.element,i,r.section,r.isNew)})},Ju=function(n,t,e){var r=[];W(n.colgroups,function(o){for(var i=[],u=0;u<n.grid.columns;u++){var c=vr.getColumnAt(n,u).map(function(n){return dt(n.element,e,!1)}).getOrThunk(function(){return dt(t.colGap(),!0,!1)});i.push(c)}r.push(mt(o.element,i,"colgroup",e))});for(var o=0;o<n.grid.rows;o++){for(var i=[],u=0;u<n.grid.columns;u++){var c=vr.getAt(n,o,u).map(function(n){return dt(n.element,e,n.isLocked)}).getOrThunk(function(){return dt(t.gap(),!0,!1)});i.push(c)}var a=n.all[o],l=mt(a.element,i,a.section,e);r.push(l)}return r},Qu=function(n){return Yu(n,Nn)},Xu=function(n,t){return tn(n.all,function(n){return U(n.cells,function(n){return Nn(t,n.element)})})},nc=function(n,t,e){var r=B(t.selection,function(t){return oe(t).bind(function(t){return Xu(n,t)}).filter(e)}),o=Ot(r);return At(o.length>0,o)},tc=function(n,t,e,r,o){return function(i,u,c,a){var l=vr.fromTable(i),f=C.from(null==a?void 0:a.section).getOrThunk(Fu);return t(l,u).map(function(t){var e=function(n,t){return Ju(n,t,!1)}
1(l,c),r=n(e,t,Nn,o(c),f),i=lr(r.grid);return{info:t,grid:Qu(r.grid),cursor:r.cursor,lockedColumns:i}}).bind(function(n){var t=$u(i,n.grid),o=C.from(null==a?void 0:a.sizing).getOrThunk(function(){return Vo(i)}),u=C.from(null==a?void 0:a.resize).getOrThunk(Tu);return e(i,n.grid,n.info,{sizing:o,resize:u,section:f}),r(i),kn(i,cr),n.lockedColumns.length>0&&Tn(i,cr,n.lockedColumns.join(",")),C.some({cursor:n.cursor,newRows:t.newRows,newCells:t.newCells})})}},ec=function(n,t){return nc(n,t,x).map(function(n){return{cells:n,generators:t.generators,clipboard:t.clipboard}})},rc=function(n,t){return nc(n,t,x)},oc=function(n,t){return nc(n,t,function(n){return!n.isLocked})},ic=function(n,t){return Y(t,function(t){return function(n,t){return Xu(n,t).exists(function(n){return!n.isLocked})}(n,t)})},uc=function(n,t,e,r){for(var o=ir(n).rows,i=!0,u=0;u<o.length;u++)for(var c=0;c<or(o[0]);c++){var a=o[u],l=er(a,c),f=e(l.element,t);f&&!i?nr(a,c,dt(r(),!0,l.isLocked)):f&&(i=!1)}return n},cc=function(n,t,e,r){var o=ir(n).rows;if(t>0&&t<o.length){var i=function(n,t){return q(n,function(n,e){return _(n,function(n){return t(n.element,e.element)})?n:n.concat([e])},[])}(o[t-1].cells,e);W(i,function(n){for(var i=C.none(),u=t;u<o.length;u++)for(var c=function(t){var c=o[u],a=er(c,t);e(a.element,n.element)&&(i.isNone()&&(i=C.some(r())),i.each(function(n){nr(c,t,dt(n,!0,a.isLocked))}))},a=0;a<or(o[0]);a++)c(a)})}return n},ac=function(n){var t=function(t){return t(n)},e=Z(n),r=function(){return o},o={tag:!0,inner:n,fold:function(t,e){return e(n)},isValue:x,isError:z,map:function(t){return fc.value(t(n))},mapError:r,bind:t,exists:t,forall:t,getOr:e,or:r,getOrThunk:e,orThunk:r,getOrDie:e,each:function(t){t(n)},toOptional:function(){return C.some(n)}};return o},lc=function(n){var t,e=function(){return r},r={tag:!1,inner:n,fold:function(t,e){return t(n)},isValue:z,isError:x,map:e,mapError:function(t){return fc.error(t(n))},bind:e,exists:z,forall:x,getOr:b,or:b,getOrThunk:V,orThunk:V,getOrDie:(t=String(n),function(){throw new Error(t)}),each:w,toOptional:C.none};return r},fc={value:ac,error:lc,fromOption:function(n,t){return n.fold(function(){return lc(t)},ac)}},hc=function(n,t){return{rowDelta:0,colDelta:or(n[0])-or(t[0])}},sc=function(n,t){return{rowDelta:n.length-t.length,colDelta:0}},vc=function(n,t,e,r){var o="colgroup"===t.section?e.col:e.cell;return N(n,function(n){return dt(o(),!0,r(n))})},dc=function(n,t,e,r){var o=n[n.length-1];return n.concat(N(t,function(){var n="colgroup"===o.section?e.colgroup:e.row,t=ur(o,n,b),i=vc(t.cells.length,t,e,function(n){return hn(r,n.toString())});return tr(t,i)}))},mc=function(n,t,e,r){return B(n,function(n){var o=vc(t,n,e,z);return Qe(n,r,o)})},gc=function(n,t,e){var r=t.colDelta<0?mc:b,o=t.rowDelta<0?dc:b,i=lr(n),u=or(n[0]),c=_(i,function(n){return n===u-1}),a=r(n,Math.abs(t.colDelta),e,c?u-1:u),l=lr(a);return o(a,Math.abs(t.rowDelta),e,J(l,x))},pc=function(n,t,e,r){var o=M(r,er(n[t],e).element),i=n[t];return n.length>1&&or(i)>1&&(e>0&&o(rr(i,e-1))||e<i.cells.length-1&&o(rr(i,e+1))||t>0&&o(rr(n[t-1],e))||t<n.length-1&&o(rr(n[t+1],e)))},wc=function(n,t,e){return I(e,function(e){return e>=n.column&&e<=or(t[0])+n.column})},Zc=function(n,e,r,o,i){var u=lr(e),c=function(n,t,e){var r=or(t[0]),o=ir(t).cols.length+n.row,i=N(r-n.column,function(t){return t+n.column}),u=U(i,function(n){return Y(e,function(t){return t!==n})}).getOr(r-1);return{row:o,column:u}}(n,e,u),a=ir(r).rows,l=wc(c,a,u),f=function(n,t,e){if(n.row>=t.length||n.column>or(t[0]))return fc.error("invalid start address out of table bounds, row: "+n.row+", column: "+n.column);var r=t.slice(n.row),o=r[0].cells.slice(n.column),i=or(e[0]),u=e.length;return fc.value({rowDelta:r.length-u,colDelta:o.length-i})}(c,e,a);return f.map(function(n){var r=t(t({},n),{},{colDelta:n.colDelta-l.length}),u=gc(e,r,o),f=lr(u),h=wc(c,a,f);return function(n,t,e,r,o,i){for(var u=n.row,c=n.column,a=u+e.length,l=c+or(e[0])+i.length,f=J(i,x),h=u;h<a;h++)for(var s=0,v=c;v<l;v++)if(f[v])s++;else{pc(t,h,v,o)&&uc(t,rr(t[h],v),o,r.cell);var d=v-c-s,m=er(e[h-u],d),g=m.element,p=r.replace(g);nr(t[h],v,dt(p,!0,m.isLocked))}return t}(c,u,a,o,i,h)})},bc=function(n,t,e,r,o){!function(n,t,e,r){t>0&&t<n[0].cells.length&&W(n,function(n){for(var o=n.cells[t-1],i=0,u=r();n.cells.length>t+i&&e(o.element,n.cells[t+i].element);)nr(n,t+i,dt(u,!0,n.cells[t+i].isLocked)),i++})}(t,n,o,r.cell);var i=sc(e,t),u=gc(e,i,r),c=sc(t,u),a=gc(t,c,r);return B(a,function(t,e){return Qe(t,n,u[e].cells)})},Hc=function(n,e,o,i,u){cc(e,n,u,i.cell);var c=lr(e),a=hc(e,o),l=t(t({},a),{},{colDelta:a.colDelta-c.length}),f=gc(e,l,i),h=ir(f),s=h.cols,v=h.rows,d=lr(f),m=hc(o,e),g=t(t({},m),{},{colDelta:m.colDelta+d.length}),p=function(n,t,e){return B(n,function(n){return q(e,function(e,r){var o=vc(1,n,t,x)[0];return Xe(e,r,o)},n)})}(o,i,d),w=gc(p,g,i);return[].concat(r(s),r(v.slice(0,n)),r(w),r(v.slice(n,v.length)))},Mc=function(n,t,e,o,i){var u=ir(n),c=u.rows,a=u.cols,l=c.slice(0,t),f=c.slice(t),h=function(n,t,e,r){return ur(n,function(n){return r(n,e)},t)}(c[e],function(n,e){return t>0&&t<c.length&&o(rr(c[t-1],e),rr(c[t],e))?er(c[t],e):dt(i(n.element,o),!0,n.isLocked)},o,i);return[].concat(r(a),r(l),[h],r(f))},yc=function(n,t,e,r,o){return B(n,function(n){var i=t>0&&t<or(n)&&r(rr(n,t-1),rr(n,t)),u=function(n,t,e,r,o,i,u){if("colgroup"!==e&&r)return er(n,t);var c=er(n,o);return dt(u(c.element,i),!0,!1)}(n,t,n.section,i,e,r,o);return Xe(n,t,u)})},Vc=function(n,t,e,r){return function(n,t,e,r){return void 0!==rr(n[t],e)&&t>0&&r(rr(n[t-1],e),rr(n[t],e))}(n,t,e,r)||function(n,t,e){return t>0&&e(rr(n,t-1),rr(n,t))}(n[t],e,r)},zc=function(n,t,e,r){var o=function(n){return"row"===n?function(n){return Jt(n,"rows
1pan")>1}(t):Qt(t)},i=function(n){return o(n)?"".concat(n,"group"):n};return n?Lu(t)?i(e):null:r&&Lu(t)?i("row"===e?"col":"row"):null},xc=function(n,t,e){return dt(e(n.element,t),!0,n.isLocked)},Cc=function(n,t,e,r,o,i,u){return B(n,function(n,c){return function(n,t){var e=n.cells,r=B(e,t);return mt(n.element,r,n.section,n.isNew)}(n,function(n,a){if(function(n){return _(t,function(t){return e(n.element,t.element)})}(n)){var l=u(n,c,a)?o(n,e,r):n;return i(l,c,a).each(function(n){var t,e;t=l.element,e={scope:C.from(n)},on(e,function(n,e){n.fold(function(){kn(t,e)},function(n){Cn(t.dom,e,n)})})}),l}return n})})},Tc=function(n,t,e){return G(n,function(r,o){return Vc(n,o,t,e)?[]:[er(r,t)]})},Sc=function(n,t,e,r,o){var i=ir(n).rows,u=G(t,function(n){return Tc(i,n,r)}),c=B(i,function(n){return Ru(n.cells)}),a=function(n,t){return Y(t,b)&&Ru(n)?x:function(n,e,r){return!("th"===pn(n.element)&&t[e])}}(u,c),l=function(n,t){return function(e,r){return C.some(zc(n,e.element,"row",t[r]))}}(e,c);return Cc(n,u,r,o,xc,l,a)},Lc=function(n,t,e,o,i,u,c){var a=ir(n),l=a.cols,f=a.rows,h=f[t[0]],s=G(t,function(n){return function(n,t,e){var r=n[t];return G(r.cells,function(r,o){return Vc(n,t,o,e)?[]:[r]})}(f,n,i)}),v=B(h.cells,function(n,t){return Ru(Tc(f,t,i))}),d=r(f);W(t,function(n){d[n]=c.transformRow(f[n],e)});var m=[].concat(r(l),r(d)),g=function(n,t){return Y(t,b)&&Ru(n.cells)?x:function(n,e,r){return!("th"===pn(n.element)&&t[r])}}(h,v),p=function(n,t){return function(e,r,o){return C.some(zc(n,e.element,"col",t[o]))}}(o,v);return Cc(m,s,i,u,c.transformCell,p,g)},Rc=function(n,t,e,r){var o=ir(n).rows,i=B(t,function(n){return er(o[n.row],n.column)});return Cc(n,i,e,r,xc,C.none,x)},kc=function(n){if(!h(n))throw new Error("cases must be an array");if(0===n.length)throw new Error("there must be at least one case");var t=[],e={};return W(n,function(r,o){var i=en(r);if(1!==i.length)throw new Error("one and only one name per case");var u=i[0],c=r[u];if(void 0!==e[u])throw new Error("duplicate key detected:"+u);if("cata"===u)throw new Error("cannot have a case named cata (sorry)");if(!h(c))throw new Error("case arguments must be an array");t.push(u),e[u]=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var a=r.length;if(a!==c.length)throw new Error("Wrong number of arguments to case "+u+". Expected "+c.length+" ("+c+"), got "+a);return{fold:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e.length!==n.length)throw new Error("Wrong number of arguments to fold. Expected "+n.length+", got "+e.length);return e[o].apply(null,r)},match:function(n){var e=en(n);if(t.length!==e.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+e.join(","));if(!Y(t,function(n){return j(e,n)}))throw new Error("Not all branches were specified when using match. Specified: "+e.join(", ")+"\nRequired: "+t.join(", "));return n[u].apply(null,r)},log:function(n){console.log(n,{constructors:t,constructor:u,params:r})}}}}),e},Dc=kc([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}]),Oc=t({},Dc),Ac=function(n,t,e,r,o){var i=n.slice(0),u=function(n,t){return 0===n.length?Oc.none():1===n.length?Oc.only(0):0===t?Oc.left(0,1):t===n.length-1?Oc.right(t-1,t):t>0&&t<n.length-1?Oc.middle(t-1,t,t+1):Oc.none()}(n,t),c=Z(B(i,Z(0)));return u.fold(c,function(n){return r.singleColumnWidth(i[n],e)},function(n,t){return o.calcLeftEdgeDeltas(i,n,t,e,r.minCellWidth(),r.isRelative)},function(n,t,u){return o.calcMiddleDeltas(i,n,t,u,e,r.minCellWidth(),r.isRelative)},function(n,t){return o.calcRightEdgeDeltas(i,n,t,e,r.minCellWidth(),r.isRelative)})},Ec=function(n,t){return vr.hasColumns(n)?function(n,t){var e=vr.justColumns(n);return B(e,function(n,e){return{element:n.element,width:t[e],colspan:n.colspan}})}(n,t):function(n,t){var e=vr.justCells(n);return B(e,function(n){var e=function(n,t,e){for(var r=0,o=n;o<t;o++)r+=void 0!==e[o]?e[o]:0;return r}(n.column,n.column+n.colspan,t);return{element:n.element,width:e,colspan:n.colspan}})}(n,t)},jc=function(n,t,e){var r=Ec(n,t);
1W(r,function(n){e.setElementWidth(n.element,n.width)})},_c=function(n,t,e,r,o){var i=vr.fromTable(n),u=o.getCellDelta(t),c=o.getWidths(i,o),a=e===i.grid.columns-1,l=r.clampTableDelta(c,e,u,o.minCellWidth(),a),f=Ac(c,e,l,o,r),h=B(f,function(n,t){return n+c[t]});jc(i,h,o),r.resizeTable(o.adjustTableWidth,l,a)},Nc=function(n,t,e){var r=vr.fromTable(n),o=function(n,t){return Zo(n,t,co,function(n){return n.getOrThunk(te)})}(r,n),i=B(o,function(n,r){return e===r?Math.max(t+n,te()):n}),u=function(n,t){return B(n.all,function(n,e){return{element:n.element,height:t[e]}})}(r,i);W(u,function(n){no(n.element,n.height)}),W(vr.justCells(r),function(n){!function(n){Gt(n,"height")}(n.element)});var c=F(i,function(n,t){return n+t},0);no(n,c)},Bc=function(n){return q(n,function(n,t){return _(n,function(n){return n.column===t.column})?n:n.concat([t])},[]).sort(function(n,t){return n.column-t.column})},Wc=xn("col"),Pc=xn("colgroup"),Ic=function(n){return"tr"===pn(n)||Pc(n)},Fc=function(n){return{element:n,colspan:Yt(n,"colspan",1),rowspan:Yt(n,"rowspan",1)}},qc=function(n){return Rn(n,"scope").map(function(n){return n.substr(0,3)})},Uc=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fc,e=function(e){if(Ic(e))return Pc((o={element:e}).element)?n.colgroup(o):n.row(o);var o,i=e,u=function(t){return Wc(t.element)?n.col(t):n.cell(t)}(t(i));return r=C.some({item:i,replacement:u}),u},r=C.none();return{getOrInit:function(n,t){return r.fold(function(){return e(n)},function(r){return t(n,r.item)?r.replacement:e(n)})}}},$c=function(n){return function(t){var e=[],r=function(r){var o="td"===n?{scope:null}:{},i=t.replace(r,n,o);return e.push({item:r,sub:i}),i};return{replaceOrInit:function(n,t){if(Ic(n)||Wc(n))return n;var o=n;return function(n,t){return U(e,function(e){return t(e.item,n)})}(o,t).fold(function(){return r(o)},function(e){return t(n,e.item)?e.sub:r(o)})}}}},Kc=function(n){return{unmerge:function(t){var e=qc(t);return e.each(function(n){return Tn(t,"scope",n)}),function(){var r=n.cell({element:t,colspan:1,rowspan:1});return Gt(r,"width"),Gt(t,"width"),e.each(function(n){return Tn(r,"scope",n)}),r}},merge:function(n){return Gt(n[0],"width"),function(){var t=Ot(B(n,qc));if(0===t.length)return C.none();var e=t[0],r=["row","col"];return _(t,function(n){return n!==e&&j(r,n)})?C.none():C.from(e)}().fold(function(){return kn(n[0],"scope")},function(t){return Tn(n[0],"scope",t+"group")}),Z(n[0])}}},Gc=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],Yc=Ei(),Jc=function(n){return function(n,t){var e=n.property().name(t);return j(Gc,e)}(Yc,n)},Qc=function(n){return function(n,t){var e=n.property().name(t);return j(["ol","ul"],e)}(Yc,n)},Xc=function(n){return function(n,t){return j(["br","img","hr","input"],n.property().name(t))}(Yc,n)},na=function(n){var t,e=xn("br"),r=function(n){return jo(n).bind(function(t){var r=Kn(t).map(function(n){return!!Jc(n)||!!Xc(n)&&"img"!==pn(n)}).getOr(!1);return Fn(t).map(function(o){return!0===r||function(n){return"li"===pn(n)||Ct(n,Qc).isSome()}(o)||e(t)||Jc(o)&&!Nn(n,o)?[]:[An.fromTag("br")]})}).getOr([])},o=(t=G(n,function(n){var t=Gn(n);return function(n){return Y(n,function(n){return e(n)||yn(n)&&0===Lo(n).trim().length})}(t)?[]:t.concat(r(n))}),0===t.length?[An.fromTag("br")]:t);ot(n[0]),rt(n[0],o)},ta=function(n){return vi(n,!0)},ea=function(n){0===ie(n).length&&it(n)},ra=function(n,t){return{grid:n,cursor:t}},oa=function(n,t,e){var r,o,i=ir(n).rows;return C.from(null===(o=null===(r=i[t])||void 0===r?void 0:r.cells[e])||void 0===o?void 0:o.element).filter(ta).orThunk(function(){return function(n){return tn(n,function(n){return tn(n.cells,function(n){var t=n.element;return At(ta(t),t)})})}(i)})},ia=function(n,t,e){var r=oa(n,t,e);return ra(n,r)},ua=function(n){return q(n,function(n,t){return _(n,function(n){return n.row===t.row})?n:n.concat([t])},[]).sort(function(n,t){return n.row-t.row})},ca=function(n,t){return function(e,r,o,i,u){var c=ua(r),a=B(c,function(n){return n.row}),l=Lc(e,a,n,t,o,i.replaceOrInit,u);return ia(l,r[0].row,r[0].column)}},aa=ca("thead",!0),la=ca("tbody",!1),fa=ca("tfoot",!1),ha=function(n,t,e){var r=function(n,t){return fe(n,function(){return t})}(n,e.section),o=vr.generate(r);return Ju(o,t,!0)},sa=function(n,t,e,r){return function(n,t,e,r){var o=vr.generate(t),i=r.getW
1idths(o,r);jc(o,i,r)}(0,t,0,r.sizing)},va=function(n,t,e,r){return function(n,t,e,r,o){var i=vr.generate(t),u=r.getWidths(i,r),c=r.pixelWidth(),a=o.calcRedestributedWidths(u,c,e.pixelDelta,r.isRelative),l=a.newSizes,f=a.delta;jc(i,l,r),r.adjustTableWidth(f)}(0,t,e,r.sizing,r.resize)},da=function(n,t){return _(t,function(n){return 0===n.column&&n.isLocked})},ma=function(n,t){return _(t,function(t){return t.column+t.colspan>=n.grid.columns&&t.isLocked})},ga=function(n,t){var e=dr(n),r=Bc(t);return q(r,function(n,t){return n+e[t.column].map(Ge).getOr(0)},0)},pa=function(n){return function(t,e){return rc(t,e).filter(function(e){return!(n?da:ma)(t,e)}).map(function(n){return{details:n,pixelDelta:ga(t,n)}})}},wa=function(n){return function(t,e){return ec(t,e).filter(function(e){return!(n?da:ma)(t,e.cells)})}},Za=$c("th"),ba=$c("td"),Ha=tc(function(n,t,e,r){var o=t[0].row,i=ua(t),u=F(i,function(n,t){return{grid:Mc(n.grid,o,t.row+n.delta,e,r.getOrInit),delta:n.delta+1}},{grid:n,delta:0}).grid;return ia(u,o,t[0].column)},rc,w,w,Uc),Ma=tc(function(n,t,e,r){var o=ua(t),i=o[o.length-1],u=i.row+i.rowspan,c=F(o,function(n,t){return Mc(n,u,t.row,e,r.getOrInit)},n);return ia(c,u,t[0].column)},rc,w,w,Uc),ya=tc(function(n,t,e,r){var o=t.details,i=Bc(o),u=i[0].column,c=F(i,function(n,t){return{grid:yc(n.grid,u,t.column+n.delta,e,r.getOrInit),delta:n.delta+1}},{grid:n,delta:0}).grid;return ia(c,o[0].row,u)},pa(!0),va,w,Uc),Va=tc(function(n,t,e,r){var o=t.details,i=o[o.length-1],u=i.column+i.colspan,c=Bc(o),a=F(c,function(n,t){return yc(n,u,t.column,e,r.getOrInit)},n);return ia(a,o[0].row,u)},pa(!1),va,w,Uc),za=tc(function(n,t,e,r){var o=Bc(t.details),i=function(n,t){return G(n,function(n){var e=n.cells,r=F(t,function(n,t){return t>=0&&t<n.length?n.slice(0,t).concat(n.slice(t+1)):n},e);return r.length>0?[mt(n.element,r,n.section,n.isNew)]:[]})}(n,B(o,function(n){return n.column})),u=i.length>0?i[0].cells.length-1:0;return ia(i,o[0].row,Math.min(o[0].column,u))},function(n,t){return oc(n,t).map(function(t){return{details:t,pixelDelta:-ga(n,t)}})},va,ea,Uc),xa=tc(function(n,t,e,o){var i=ua(t),u=function(n,t,e){var o=ir(n),i=o.rows,u=o.cols;return[].concat(r(u),r(i.slice(0,t)),r(i.slice(e+1)))}(n,i[0].row,i[i.length-1].row),c=Math.max(ir(u).rows.length-1,0);return ia(u,Math.min(t[0].row,c),t[0].column)},rc,w,ea,Uc),Ca=tc(function(n,t,e,r){var o=Bc(t),i=B(o,function(n){return n.column}),u=Sc(n,i,!0,e,r.replaceOrInit);return ia(u,t[0].row,t[0].column)},oc,w,w,Za),Ta=tc(function(n,t,e,r){var o=Bc(t),i=B(o,function(n){return n.column}),u=Sc(n,i,!1,e,r.replaceOrInit);return ia(u,t[0].row,t[0].column)},oc,w,w,ba),Sa=tc(aa,oc,w,w,Za),La=tc(la,oc,w,w,ba),Ra=tc(fa,oc,w,w,ba),ka=tc(function(n,t,e,r){var o=Rc(n,t,e,r.replaceOrInit);return ia(o,t[0].row,t[0].column)},oc,w,w,Za),Da=tc(function(n,t,e,r){var o=Rc(n,t,e,r.replaceOrInit);return ia(o,t[0].row,t[0].column)},oc,w,w,ba),Oa=tc(function(n,t,e,r){var o=t.cells;na(o);var i=function(n,t,e,r){var o=ir(n).rows;if(0===o.length)return n;for(var i=t.startRow;i<=t.finishRow;i++)for(var u=t.startCol;u<=t.finishCol;u++){var c=o[i],a=er(c,u).isLocked;nr(c,u,dt(r(),!1,a))}return n}(n,t.bounds,0,r.merge(o));return ra(i,C.from(o[0]))},function(n,t){return function(n,t){return t.mergable}(0,t).filter(function(t){return ic(n,t.cells)})},sa,w,Kc),Aa=tc(function(n,t,e,r){var o=F(t,function(n,t){return uc(n,t,e,r.unmerge(t))},n);return ra(o,C.from(t[0]))},function(n,t){return function(n,t){return t.unmergable}(0,t).filter(function(t){return ic(n,t)})},sa,w,Kc),Ea=tc(function(n,t,e,r){var o=function(n,t){var e=vr.fromTable(n);return Ju(e,t,!0)}(t.clipboard,t.generators),i=function(n,t){return{row:n,column:t}}(t.row,t.column);return Zc(i,n,o,t.generators,e).fold(function(){return ra(n,C.some(t.element))},function(n){return ia(n,t.row,t.column)})},function(n,e){return oe(e.element).bind(function(r){return Xu(n,r).map(function(n){return t(t({},n),{},{generators:e.generators,clipboard:e.clipboard})})})},sa,w,Uc),ja=tc(function(n,t,e,r){var o=ir(n).rows,i=t.cells[0].column,u=o[t.cells[0].row],c=ha(t.clipboard,t.generators,u),a=bc(i,n,c,t.generators,e);return ia(a,t.cells[0].row,t.cells[0].column)},wa(!0),w,w,Uc),_a=tc(function(n,t,e,r){var o=ir(n).rows,i=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,u=o[t.cells[0].row],c=ha(t.clipboard,t.generators,u),a=bc(i,n,c,t.generators,e);return ia(a,t.cells[0].row,i)},wa(!1),w,w,Uc),Na=tc(function(n,t,e,r){var o=ir(n).rows,i=t.cells[0].row,u=o[i],c=ha(t.clipboard,t.generators,u),a=Hc(i,n,c,t.generators,e);return ia(a,t.cells[0].row,t.cells[0].column)},ec,w,w,Uc),Ba=tc(function(n,t,e,r){var o=ir(n).rows,i=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,u=o[t.cells[0].row],c=ha(t.clipboard,t.generators,u),a=Hc(i,n,c,t.generators,e);return ia(a,i,t.cells[0].column)},ec,w,w,Uc),Wa=function(n,t){var e=vr.fromTable(n);return rc(e,t).bind(function(n){var t=n[n.length-1],r=n[0].column,o=t.column+t.colspan,i=K(B(e.all,function(n){return I(n.cells,function(n){return n.column>=r&&n.column<o})}));return Ou(i)}).getOr("")},Pa=function(n,t){var e=vr.fromTable(n);return rc(e,t).bind(Ou).getOr("")},Ia=function(n,t){var e=vr.fromTable(n);return rc(e,t).bind(function(n){var t=n[n.length-1],r=n[0].row,o=t.row+t.rowspan;return function(n){var t=B(n,function(n){return Du(n).type}),e=j(t,"header"),r=j(t,"footer");if(e||r){var o=j(t,"body");return!e||o||r?e||o||!r?C.none():C.some("footer"):C.some("header")}return C.some("body")}(e.all.slice(r,o))}).getOr("")},Fa=function(n,t){return n.dispatch("NewRow",{node:t})},qa=function(n,t){return n.dispatch("NewCell",{node:t})},Ua=function(n,e,r){n.dispatch("TableModified",t(t({},r),{},{table:e}))},$a={structure:!1,style:!0},Ka={structure:!0,style:!1},Ga={structure:!0,style:!0},Ya=function(n,t){return ri(n)?xo(t):oi(n)?zo(t):Vo(t)},Ja=function(n,t,e){var r=function(n){return"table"===pn(mi(n))},o=Jo(n),i=ti(n)?w:Hu,u=function(t){switch(Qo(n)){case"section":return Wu();case"sectionCells":return Pu();case"cells":return Iu();default:return Bu(t,"section")}},c=function(t,r){return r.cursor.fold(function(){var r=ie(t);return X(r).filter(bt).map(function(r){e.clearSelectedCells(t.dom);var o=n.dom.createRng();return o.selectNode(r.dom),n.selection.setRng(o),Tn(r,"data-mce-selected","1"),o})},function(r){var o=Zu(bu,r),i=n.dom.createRng();return i.setStart(o.element.dom,o.offset),i.setEnd(o.element.dom,o.offset),n.selection.setRng(i),e.clearSelectedCells(t.dom),C.some(i)})},a=function(e,r,i,a){return function(l,f){var h=arguments.length>2&&void 0!==arguments[2]&&arguments[2];pi(l);var s=An.fromDom(n.getDoc()),v=Uo(i,s,o),d={sizing:Ya(n,l),resize:ti(n)?Cu():Tu(),section:u(l)};return r(l)?e(l,f,v,d).bind(function(e){t.refresh(l.dom),W(e.newRows,function(t){Fa(n,t.dom)}),W(e.newCells,function(t){qa(n,t.dom)});var r=c(l,e);return bt(l)&&(pi(l),h||Ua(n,l.dom,a)),r.map(function(n){return{rng:n,effect:a}})}):C.none()}},l=a(xa,function(t){return!r(n)||Su(t).rows>1},w,Ka),f=a(za,function(t){return!r(n)||Su(t).columns>1},w,Ka);return{deleteRow:l,deleteColumn:f,insertRowsBefore:a(Ha,x,w,Ka),insertRowsAfter:a(Ma,x,w,Ka),insertColumnsBefore:a(ya,x,i,Ka),insertColumnsAfter:a(Va,x,i,Ka),mergeCells:a(Oa,x,w,Ka),unmergeCells:a(Aa,x,w,Ka),pasteColsBefore:a(ja,x,w,Ka),pasteColsAfter:a(_a,x,w,Ka),pasteRowsBefore:a(Na,x,w,Ka),pasteRowsAfter:a(Ba,x,w,Ka),pasteCells:a(Ea,x,w,Ga),makeCellsHeader:a(ka,x,w,Ka),unmakeCellsHeader:a(Da,x,w,Ka),makeColumnsHeader:a(Ca,x,w,Ka),unmakeColumnsHeader:a(Ta,x,w,Ka),makeRowsHeader:a(Sa,x,w,Ka),makeRowsBody:a(La,x,w,Ka),makeRowsFooter:a(Ra,x,w,Ka),getTableRowType:Ia,getTableCellType:Pa,getTableColType:Wa}},Qa=function(n,t,e){var r=Yt(n,t,1);1===e||r<=1?kn(n,t):Tn(n,t,Math.min(e,r))},Xa=function(n,t){return function(e){var r=e.column+e.colspan-1,o=e.column;return r>=n&&o<t}},nl=function(n,t){var e=vr.fromTable(n);return oc(e,t).map(function(n){var t=n[n.length-1],o=n[0].column,i=t.column+t.colspan,u=function(n,t,e){if(vr.hasColumns(n)){var r=I(vr.justColumns(n),Xa(t,e)),o=B(r,function(n){var r=lt(n.element);return Qa(r,"span",e-t),r}
1),i=An.fromTag("colgroup");return rt(i,o),[i]}return[]}(e,o,i),c=function(n,t,e){return B(n.all,function(n){var r=I(n.cells,Xa(t,e)),o=B(r,function(n){var r=lt(n.element);return Qa(r,"colspan",e-t),r}),i=An.fromTag("tr");return rt(i,o),i})}(e,o,i);return[].concat(r(u),r(c))})},tl=function(n,e,r){var o=vr.fromTable(n);return rc(o,e).bind(function(n){var e=Ju(o,r,!1),i=ir(e).rows.slice(n[0].row,n[n.length-1].row+n[n.length-1].rowspan),u=G(i,function(n){var e=I(n.cells,function(n){return!n.isLocked});return e.length>0?[t(t({},n),{},{cells:e})]:[]}),c=Qu(u);return At(c.length>0,c)}).map(function(n){return function(n){return B(n,function(n){var t=at(n.element);return W(n.cells,function(n){var e=lt(n.element);qu(e,"colspan",n.colspan,1),qu(e,"rowspan",n.rowspan,1),nt(t,e)}),t})}(n)})},el=kc([{invalid:["raw"]},{pixels:["value"]},{percent:["value"]}]),rl=function(n,t,e){var r=e.substring(0,e.length-n.length),o=parseFloat(r);return r===o.toString()?t(o):el.invalid(e)},ol=t(t({},el),{},{from:function(n){return Nt(n,"%")?rl("%",el.percent,n):Nt(n,"px")?rl("px",el.pixels,n):el.invalid(n)}}),il=function(n,t,e){return n.fold(function(){return t},function(n){return function(n,t,e){var r=e/t;return B(n,function(n){return ol.from(n).fold(function(){return n},function(n){return n*r+"px"},function(n){return n/100*e+"px"})})}(t,e,n)},function(n){return function(n,t){return B(n,function(n){return ol.from(n).fold(function(){return n},function(n){return n/t*100+"%"},function(n){return n+"%"})})}(t,e)})},ul=function(n,t,e){var r=ol.from(e),o=Y(n,function(n){return"0px"===n})?function(n,t){var e=n.fold(function(){return Z("")},function(n){return Z(n/t+"px")},function(){return Z(100/t+"%")});return N(t,e)}(r,n.length):il(r,n,t);return ll(o)},cl=function(n,t){return 0===n.length?t:F(n,function(n,t){return ol.from(t).fold(Z(0),b,b)+n},0)},al=function(n,t){return ol.from(n).fold(Z(n),function(n){return n+t+"px"},function(n){return n+t+"%"})},ll=function(n){if(0===n.length)return n;var t=F(n,function(n,t){var e=ol.from(t).fold(function(){return{value:t,remainder:0}},function(n){return function(n,t){var e=Math.floor(n);return{value:e+t,remainder:n-e}}(n,"px")},function(n){return{value:n+"%",remainder:0}});return{output:[e.value].concat(n.output),remainder:n.remainder+e.remainder}},{output:[],remainder:0}),e=t.output;return e.slice(0,e.length-1).concat([al(e[e.length-1],Math.round(t.remainder))])},fl=ol.from,hl=function(n,t,e){var r=vr.fromTable(n),o=r.all,i=vr.justCells(r),u=vr.justColumns(r);t.each(function(t){var e=fl(t).fold(Z("px"),Z("px"),Z("%")),o=Ke(n),c=function(n,t){return go(n,t,so,po)}(r,n),a=ul(c,o,t);vr.hasColumns(r)?function(n,t,e){W(t,function(t,r){var o=cl([n[r]],ne());Ft(t.element,"width",o+e)})}(a,u,e):function(n,t,e){W(t,function(t){var r=n.slice(t.column,t.colspan+t.column),o=cl(r,ne());Ft(t.element,"width",o+e)})}(a,i,e),Ft(n,"width",t)}),e.each(function(t){var e=Hr(n),u=function(n,t){return Zo(n,t,vo,po)}(r,n);!function(n,t,e){W(e,function(n){Gt(n.element,"height")}),W(t,function(t,e){Ft(t.element,"height",n[e])})}(ul(u,e,t),o,i),Ft(n,"height",t)})},sl=function(n){return oo(n).exists(function(n){return $r.test(n)})},vl=function(n){return oo(n).exists(function(n){return Kr.test(n)})},dl=function(n){return oo(n).isNone()},ml=function(n){kn(n,"width"),kn(n,"height")},gl=function(n){var t=lo(n);hl(n,C.some(t),C.none()),ml(n)},pl=function(n){var t=function(n){return Ke(n)+"px"}(n);hl(n,C.some(t),C.none()),ml(n)},wl=function(n){var t=function(n){return Hr(n)+"px"}(n);hl(n,C.none(),C.some(t)),ml(n)},Zl=function(n){Gt(n,"width");var t=ue(n),e=t.length>0?t:ie(n);W(e,function(n){Gt(n,"width"),ml(n)}),ml(n)},bl={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},Hl=function(){return An.fromTag("th")},Ml=function(){return An.fromTag("td")},yl=function(n){var t=An.fromTag("colgroup");return N(n,function(){return nt(t,An.fromTag("col"))}),t},Vl=function(n,t,e,r){return N(n,function(n){return function(n,t,e,r){for(var o=An.fromTag("tr"),i=0;i<n;i++){var u=r<t||i<e?Hl():Ml();i<e&&Tn(u,"scope","row"),r<t&&Tn(u,"scope","col"),nt(u,An.fromTag("br")),nt(o,u)}return o}(t,e,r,n)})},zl=function(n,t){n.selection.select(t.dom,!0),n.selection.collapse(!0)},xl=function(n,t,e,r,o){var i=fi(n),u={styles:i,attributes:li(n),colGroups:hi(n)};return n.undoManager.ignore(function(){var i=function(n,t,e,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:bl,u=An.fromTag("table"),c="cells"!==o;qt(u,i.styles),Sn(u,i.attributes),i.colGroups&&nt(u,yl(t));var a=Math.min(n,e);if(c&&e>0){var l=An.fromTag("thead");nt(u,l);var f=Vl(e,t,"sectionCells"===o?a:0,r);rt(l,f)}var h=An.fromTag("tbody");nt(u,h);var s=Vl(c?n-a:n,t,c?0:e,r);return rt(h,s),u}(e,t,o,r,Qo(n),u);Tn(i,"data-mce-id","__mce");var c=function(n){var t=An.fromTag("div"),e=An.fromDom(n.dom.cloneNode(!0));return nt(t,e),function(n){return n.dom.innerHTML}(t)}(i);n.insertContent(c),n.addVisual()}),Rt(mi(n),'table[data-mce-id="__mce"]').map(function(t){return oi(n)?pl(t):ii(n)?Zl(t):(ri(n)||function(n){return l(n)&&-1!==n.indexOf("%")}(i.width))&&gl(t),pi(t),kn(t,"data-mce-id"),function(n,t){W(zt(t,"tr"),function(t){Fa(n,t.dom),W(zt(t,"th,td"),function(t){qa(n,t.dom)})})}(n,t),function(n,t){Rt(t,"td,th").each(M(zl,n))}(n,t),t.dom}).getOrNull()},Cl=tinymce.util.Tools.resolve("tinymce.FakeClipboard"),Tl="x-tinymce/dom-table-",Sl=Tl+"rows",Ll=Tl+"columns",Rl=function(n){var t=Cl.FakeClipboardItem(n);Cl.write([t])},kl=function(n){var t,e=null!==(t=Cl.read())&&void 0!==t?t:[];return tn(e,function(t){return C.from(t.getType(n))})},Dl=function(n){kl(n).isSome()&&Cl.clear()},Ol=function(n){n.fold(El,function(n){return Rl(e({},Sl,n))})},Al=function(){return kl(Sl)},El=function(){return Dl(Sl)},jl=function(n){n.fold(Nl,function(n){return Rl(e({},Ll,n))})},_l=function(){return kl(Ll)},Nl=function(){return Dl(Ll)},Bl=function(n){return fu(wi(n),gi(n)).filter(Vi)},Wl=function(n,t){var e=gi(n),r=function(n){return ce(n,e)},o=function(t){return function(n){return hu(wi(n),gi(n)).filter(Vi)}(n).bind(function(n){return r(n).map(function(e){return t(e,n)})})},i=function(t){n.focus()},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return o(function(r,o){var u=au(su(n),r,o);t(r,u,e).each(i)})},c=function(){return o(function(t,e){var r=au(su(n),t,e),o=Uo(w,An.fromDom(n.getDoc()),C.none());return tl(t,r,o)})},a=function(){return o(function(t,e){var r=au(su(n),t,e);return nl(t,r)})},h=function(t,e){return e().each(function(e){var r=B(e,function(n){return lt(n)});o(function(e,o){var u=$o(An.fromDom(n.getDoc())),c=function(n,t,e,r){return{selection:Yi(n),clipboard:e,generators:r}}(su(n),0,r,u);t(e,c).each(i)})})},s=function(n){return function(t,e){return function(n,t){return hn(n,t)?C.from(n[t]):C.none()}(e,"type").each(function(t){u(n(t),e.no_events)})}};on({mceTableSplitCells:function(){return u(t.unmergeCells)},mceTableMergeCells:function(){return u(t.mergeCells)},mceTableInsertRowBefore:function(){return u(t.insertRowsBefore)},mceTableInsertRowAfter:function(){return u(t.insertRowsAfter)},mceTableInsertColBefore:function(){return u(t.insertColumnsBefore)},mceTableInsertColAfter:function(){return u(t.insertColumnsAfter)},mceTableDeleteCol:function(){return u(t.deleteColumn)},mceTableDeleteRow:function(){return u(t.deleteRow)},mceTableCutCol:function(){return a().each(function(n){jl(n),u(t.deleteColumn)})},mceTableCutRow:function(){return c().each(function(n){Ol(n),u(t.deleteRow)})},mceTableCopyCol:function(){return a().each(function(n){return jl(n)})},mceTableCopyRow:function(){return c().each(function(n){return Ol(n)})},mceTablePasteColBefore:function(){return h(t.pasteColsBefore,_l)},mceTablePasteColAfter:function(){return h(t.pasteColsAfter,_l)},mceTablePasteRowBefore:function(){return h(t.pasteRowsBefore,Al)},mceTablePasteRowAfter:function(){return h(t.pasteRowsAfter,Al)},mceTableDelete:function(){return Bl(n).each(function(t){ce(t,e).filter(y(e)).each(function(t){var e=An.fromText("");
1if(Qn(t,e),it(t),n.dom.isEmpty(n.getBody()))n.setContent(""),n.selection.setCursorLocation();else{var r=n.dom.createRng();r.setStart(e.dom,0),r.setEnd(e.dom,0),n.selection.setRng(r),n.nodeChanged()}})})},mceTableCellToggleClass:function(t,e){o(function(t){var r=su(n),o=Y(r,function(t){return n.formatter.match("tablecellclass",{value:e},t.dom)}),i=o?n.formatter.remove:n.formatter.apply;W(r,function(n){return i("tablecellclass",{value:e},n.dom)}),Ua(n,t.dom,$a)})},mceTableToggleClass:function(t,e){o(function(t){n.formatter.toggle("tableclass",{value:e},t.dom),Ua(n,t.dom,$a)})},mceTableToggleCaption:function(){Bl(n).each(function(t){ce(t,e).each(function(e){Lt(e,"caption").fold(function(){var t=An.fromTag("caption");nt(t,An.fromText("Caption")),function(n,t,e){Yn(n,e).fold(function(){nt(n,t)},function(n){Jn(n,t)})}(e,t,0),n.selection.setCursorLocation(t.dom,0)},function(r){xn("caption")(t)&&_n("td",e).each(function(t){return n.selection.setCursorLocation(t.dom,0)}),it(r)}),Ua(n,e.dom,Ka)})})},mceTableSizingMode:function(t,r){return function(t){return Bl(n).each(function(r){ii(n)||oi(n)||ri(n)||ce(r,e).each(function(e){"relative"!==t||sl(e)?"fixed"!==t||vl(e)?"responsive"!==t||dl(e)||Zl(e):pl(e):gl(e),pi(e),Ua(n,e.dom,Ka)})})}(r)},mceTableCellType:s(function(n){return"th"===n?t.makeCellsHeader:t.unmakeCellsHeader}),mceTableColType:s(function(n){return"th"===n?t.makeColumnsHeader:t.unmakeColumnsHeader}),mceTableRowType:s(function(n){switch(n){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}})},function(t,e){return n.addCommand(e,t)}),n.addCommand("mceInsertTable",function(t,e){!function(n,t,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(n){return p(n)&&n>0};if(o(t)&&o(e)){var i=r.headerRows||0,u=r.headerColumns||0;return xl(n,e,t,u,i)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")}(n,e.rows,e.columns,e.options)}),n.addCommand("mceTableApplyCellStyle",function(t,e){var o=function(n){return"tablecell"+n.toLowerCase().replace("-","")};if(f(e)){var i=I(su(n),Vi);if(0!==i.length){var u=an(e,function(t,e){return n.formatter.has(o(e))&&l(t)});(function(n){for(var t in n)if(rn.call(n,t))return!1;return!0})(u)||(on(u,function(t,e){var r=o(e);W(i,function(e){""===t?n.formatter.remove(r,{value:null},e.dom,!0):n.formatter.apply(r,{value:t},e.dom)})}),r(i[0]).each(function(t){return Ua(n,t.dom,$a)}))}}})},Pl=kc([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Il={before:Pl.before,on:Pl.on,after:Pl.after,cata:function(n,t,e,r){return n.fold(t,e,r)},getStart:function(n){return n.fold(b,b,b)}},Fl=function(n,t){return{selection:n,kill:t}},ql=function(n,t){var e=n.document.createRange();return e.selectNode(t.dom),e},Ul=function(n,t){var e=n.document.createRange();return $l(e,t),e},$l=function(n,t){return n.selectNodeContents(t.dom)},Kl=function(n,t,e){var r,o=n.document.createRange();return r=o,t.fold(function(n){r.setStartBefore(n.dom)},function(n,t){r.setStart(n.dom,t)},function(n){r.setStartAfter(n.dom)}),function(n,t){t.fold(function(t){n.setEndBefore(t.dom)},function(t,e){n.setEnd(t.dom,e)},function(t){n.setEndAfter(t.dom)})}(o,e),o},Gl=function(n,t,e,r,o){var i=n.document.createRange();return i.setStart(t.dom,e),i.setEnd(r.dom,o),i},Yl=function(n){return{left:n.left,top:n.top,right:n.right,bottom:n.bottom,width:n.width,height:n.height}},Jl=kc([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Ql=function(n,t,e){return t(An.fromDom(e.startContainer),e.startOffset,An.fromDom(e.endContainer),e.endOffset)},Xl=function(n,t){var e=function(n,t){return t.match({domRange:function(n){return{ltr:Z(n),rtl:C.none}},relative:function(t,e){return{ltr:ve(function(){return Kl(n,t,e)}),rtl:ve(function(){return C.some(Kl(n,e,t))})}},exact:function(t,e,r,o){return{ltr:ve(function(){return Gl(n,t,e,r,o)}),rtl:ve(function(){return C.some(Gl(n,r,o,t,e))})}}})}(n,t);return function(n,t){var e=t.ltr();return e.collapsed?t.rtl().filter(function(n){return!1===n.collapsed}).map(function(n){return Jl.rtl(An.fromDom(n.endContainer),n.endOffset,An.fromDom(n.startContainer),n.startOffset)}).getOrThunk(function(){return Ql(0,Jl.ltr,e)}):Ql(0,Jl.ltr,e)}(0,e)},nf=function(n,t){return Xl(n,t).match({ltr:function(t,e,r,o){var i=n.document.createRange();return i.setStart(t.dom,e),i.setEnd(r.dom,o),i},rtl:function(t,e,r,o){var i=n.document.createRange();return i.setStart(r.dom,o),i.setEnd(t.dom,e),i}})};Jl.ltr,Jl.rtl;var tf=function(n,t,e,r){return{start:n,soffset:t,finish:e,foffset:r}},ef=function(n,t,e,r){return{start:Il.on(n,t),finish:Il.on(e,r)}},rf=function(n,t){var e=nf(n,t);return tf(An.fromDom(e.startContainer),e.startOffset,An.fromDom(e.endContainer),e.endOffset)},of=ef,uf=function(n,t,e,r,o){return Nn(e,r)?C.none():Fi(e,r,t).bind(function(t){var r=t.boxes.getOr([]);return r.length>1?(o(n,r,t.start,t.finish),C.some(Fl(C.some(of(e,0,e,Do(e))),!0))):C.none()})},cf=function(n,t){return{item:n,mode:t}},af=function(n,t,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:lf;return n.property().parent(t).map(function(n){return cf(n,r)})},lf=function(n,t,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ff;return e.sibling(n,t).map(function(n){return cf(n,r)})},ff=function(n,t,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ff,o=n.property().children(t);return e.first(o).map(function(n){return cf(n,r)})},hf=[{current:af,next:lf,fallback:C.none()},{current:lf,next:ff,fallback:C.some(af)},{current:ff,next:ff,fallback:C.some(lf)}],sf=function(n,t,e,r){return U(arguments.length>4&&void 0!==arguments[4]?arguments[4]:hf,function(n){return n.current===e}).bind(function(e){return e.current(n,t,r,e.next).orThunk(function(){return e.fallback.bind(function(e){return sf(n,t,e,r)})})})},vf=function(){return{sibling:function(n,t){return n.query().prevSibling(t)},first:function(n){return n.length>0?C.some(n[n.length-1]):C.none()}}},df=function(){return{sibling:function(n,t){return n.query().nextSibling(t)},first:function(n){return n.length>0?C.some(n[0]):C.none()}}},mf=function(n,t,e,r,o,i){return sf(n,t,r,o).bind(function(t){return i(t.item)?C.none():e(t.item)?C.some(t.item):mf(n,t.item,e,t.mode,o,i)})},gf=function(n){return function(t){return 0===n.property().children(t).length}},pf=function(n,t,e,r){return mf(n,t,e,lf,vf(),r)},wf=function(n,t,e,r){return mf(n,t,e,lf,df(),r)},Zf=Ei(),bf=function(n,t){return function(n,t,e){return pf(n,t,gf(n),e)}(Zf,n,t)},Hf=function(n,t){return function(n,t,e){return wf(n,t,gf(n),e)}(Zf,n,t)},Mf=kc([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),yf=function(n){return kt(n,"tr")},Vf=t(t({},Mf),{},{verify:function(n,t,e,r,o,i,u){return kt(r,"td,th",u).bind(function(e){return kt(t,"td,th",u).map(function(t){return Nn(e,t)?Nn(r,e)&&Do(e)===o?i(t):Mf.none("in same cell"):Pi(yf,[e,t]).fold(function(){return function(n,t,e){var r=n.getRect(t),o=n.getRect(e);return o.right>r.left&&o.left<r.right}(n,t,e)?Mf.success():i(t)},function(n){return i(t)})})}).getOr(Mf.none("default"))},cata:function(n,t,e,r,o){return n.fold(t,e,r,o)}}),zf=function(n,t){return $(n,M(Nn,t))},xf=xn("br"),Cf=function(n,t,e){return t(n,e).bind(function(n){return yn(n)&&0===Lo(n).trim().length?Cf(n,t,e):C.some(n)})},Tf=function(n,t,e,r){return function(n,t){return Yn(n,t).filter(xf).orThunk(function(){return Yn(n,t-1).filter(xf)})}(t,e).bind(function(t){return r.traverse(t).fold(function(){return Cf(t,r.gather,n).map(r.relative)},function(n){return function(n){return Fn(n).bind(function(t){var e=Gn(t);return zf(e,n).map(function(r){return function(n,t,e,r){return{parent:n,children:t,element:e,index:r}}(t,e,n,r)})})}(n).map(function(n){return Il.on(n.parent,n.index)})})})},Sf=function(n,t,e,r){var o=xf(t)?function(n,t,e){return e.traverse(t).orThunk(function(){return Cf(t,e.gather,n)}).map(e.relative)}(n,t,r):Tf(n,t,e,r);return o.map(function(n){return{start:n,finish:n}})},Lf=function(n,t){return{left:n.left,top:n.top+t,right:n.right,bottom:n.bottom+t}},Rf=function(n,t){return{left:n.left,top:n.top-t,right:n.right,bottom:n.bottom-t}},kf=function(n,t,e){return{left:n.left+t,top:n.top+e,right:n.right+t,bottom:n.bottom+e}},Df=function(n){return{left:n.left,top:n.top,right:n.right,bottom:n.bottom}},Of=function(n,t){return C.some(n.getRect(t))},Af=function(n,t,e){return Mn(t)?Of(n,t).map(Df):yn(t)?function(n,t,e){return e>=0&&e<Do(t)?n.getRangedRect(t,e,t,e+1):e>0?n.getRangedRect(t,e-1,t,e):C.none()}(n,t,e).map(Df):C.none()},Ef=function(n,t){return Mn(t)?Of(n,t).map(Df):yn(t)?n.getRangedRect(t,0,t,Do(t)).map(Df):C.none()},jf=kc([{none:[]},{retry:["caret"]}]),_f=function(n,t,e){return Tt(t,Jc).fold(z,function(t){return Ef(n,t).exists(function(n){return function(n,t){return n.left<t.left||Math.abs(t.right-n.left)<1||n.left>t.right}(e,n)})})},Nf={point:function(n){return n.bottom},adjuster:function(n,t,e,r,o){var i=Lf(o,5);
1return Math.abs(e.bottom-r.bottom)<1||e.top>o.bottom?jf.retry(i):e.top===o.bottom?jf.retry(Lf(o,1)):_f(n,t,o)?jf.retry(kf(i,5,0)):jf.none()},move:Lf,gather:Hf},Bf=function(n,t,e,r,o){return 0===o?C.some(r):function(n,t,e){return n.elementFromPoint(t,e).filter(function(n){return"table"===pn(n)}).isSome()}(n,r.left,t.point(r))?function(n,t,e,r,o){return Bf(n,t,e,t.move(r,5),o)}(n,t,e,r,o-1):n.situsFromPoint(r.left,t.point(r)).bind(function(i){return i.start.fold(C.none,function(i){return Ef(n,i).bind(function(u){return t.adjuster(n,i,u,e,r).fold(C.none,function(r){return Bf(n,t,e,r,o-1)})}).orThunk(function(){return C.some(r)})},C.none)})},Wf=function(n,t,e){var r=n.move(e,5),o=Bf(t,n,e,r,100).getOr(r);return function(n,t,e){return n.point(t)>e.getInnerHeight()?C.some(n.point(t)-e.getInnerHeight()):n.point(t)<0?C.some(-n.point(t)):C.none()}(n,o,t).fold(function(){return t.situsFromPoint(o.left,n.point(o))},function(e){return t.scrollBy(0,e),t.situsFromPoint(o.left,n.point(o)-e)})},Pf={tryUp:M(Wf,{point:function(n){return n.top},adjuster:function(n,t,e,r,o){var i=Rf(o,5);return Math.abs(e.top-r.top)<1||e.bottom<o.top?jf.retry(i):e.bottom===o.top?jf.retry(Rf(o,1)):_f(n,t,o)?jf.retry(kf(i,5,0)):jf.none()},move:Rf,gather:bf}),tryDown:M(Wf,Nf),getJumpSize:Z(5)},If=function(n,t,e){return n.getSelection().bind(function(r){return Sf(t,r.finish,r.foffset,e).fold(function(){return C.some(mu(r.finish,r.foffset))},function(o){var i=n.fromSitus(o);return function(n){return Vf.cata(n,function(n){return C.none()},function(){return C.none()},function(n){return C.some(mu(n,0))},function(n){return C.some(mu(n,Do(n)))})}(Vf.verify(n,r.finish,r.foffset,i.finish,i.foffset,e.failure,t))})})},Ff=function(n,t,e,r,o,i){return 0===i?C.none():$f(n,t,e,r,o).bind(function(u){var c=n.fromSitus(u),a=Vf.verify(n,e,r,c.finish,c.foffset,o.failure,t);return Vf.cata(a,function(){return C.none()},function(){return C.some(u)},function(u){return Nn(e,u)&&0===r?qf(n,e,r,Rf,o):Ff(n,t,u,0,o,i-1)},function(u){return Nn(e,u)&&r===Do(u)?qf(n,e,r,Lf,o):Ff(n,t,u,Do(u),o,i-1)})})},qf=function(n,t,e,r,o){return Af(n,t,e).bind(function(t){return Uf(n,o,r(t,Pf.getJumpSize()))})},Uf=function(n,t,e){var r=Pe().browser;return r.isChromium()||r.isSafari()||r.isFirefox()?t.retry(n,e):C.none()},$f=function(n,t,e,r,o){return Af(n,e,r).bind(function(t){return Uf(n,o,t)})},Kf=function(n,t){return Ct(n,function(n){return Fn(n).exists(function(n){return Nn(n,t)})},e).isSome();var e},Gf=function(n,t,e,r,o){return kt(r,"td,th",t).bind(function(r){return kt(r,"table",t).bind(function(i){return Kf(o,i)?function(n,t,e){return If(n,t,e).bind(function(r){return Ff(n,t,r.element,r.offset,e,20).map(n.fromSitus)})}(n,t,e).bind(function(n){return kt(n.finish,"td,th",t).map(function(t){return{start:r,finish:t,range:n}})}):C.none()})})},Yf=function(n,t,e,r,o,i){return i(r,t).orThunk(function(){return Gf(n,t,e,r,o).map(function(n){var t=n.range;return Fl(C.some(of(t.start,t.soffset,t.finish,t.foffset)),!0)})})},Jf=function(n,t){return kt(n,"tr",t).bind(function(n){return kt(n,"table",t).bind(function(e){var r=zt(e,"tr");return Nn(n,r[0])?function(n,t,e){return pf(Zf,n,t,e)}(e,function(n){return jo(n).isSome()},t).map(function(n){var t=Do(n);return Fl(C.some(of(n,t,n,t)),!0)}):C.none()})})},Qf=function(n,t){return kt(n,"tr",t).bind(function(n){return kt(n,"table",t).bind(function(e){var r=zt(e,"tr");return Nn(n,r[r.length-1])?function(n,t,e){return wf(Zf,n,t,e)}(e,function(n){return Eo(n).isSome()}
1,t).map(function(n){return Fl(C.some(of(n,0,n,0)),!0)}):C.none()})})},Xf=function(n,t,e,r,o,i,u){return Gf(n,e,r,o,i).bind(function(n){return uf(t,e,n.start,n.finish,u)})},nh=function(n){var t=n;return{get:function(){return t},set:function(n){t=n}}},th=function(){var n=function(n){var t=nh(C.none()),e=function(){return t.get().each(n)};return{clear:function(){e(),t.set(C.none())},isSet:function(){return t.get().isSome()},get:function(){return t.get()},set:function(n){e(),t.set(C.some(n))}}}(w);return t(t({},n),{},{on:function(t){return n.get().each(t)}})},eh=function(n,t){return kt(n,"td,th",t)},rh=function(n){return qn(n).exists(vi)},oh={traverse:Kn,gather:Hf,relative:Il.before,retry:Pf.tryDown,failure:Vf.failedDown},ih={traverse:$n,gather:bf,relative:Il.before,retry:Pf.tryUp,failure:Vf.failedUp},uh=function(n){return function(t){return t===n}},ch=uh(38),ah=uh(40),lh=function(n){return n>=37&&n<=40},fh={isBackward:uh(37),isForward:uh(39)},hh={isBackward:uh(39),isForward:uh(37)},sh=kc([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),vh={domRange:sh.domRange,relative:sh.relative,exact:sh.exact,exactFromRange:function(n){return sh.exact(n.start,n.soffset,n.finish,n.foffset)},getWin:function(n){var t,e=function(n){return n.match({domRange:function(n){return An.fromDom(n.startContainer)},relative:function(n,t){return Il.getStart(n)},exact:function(n,t,e,r){return n}})}(n);return t=e,An.fromDom(In(t).dom.defaultView)},range:tf},dh=function(n,t,e){return n.caretPositionFromPoint?function(n,t,e){var r;return C.from(null===(r=n.caretPositionFromPoint)||void 0===r?void 0:r.call(n,t,e)).bind(function(t){if(null===t.offsetNode)return C.none();var e=n.createRange();return e.setStart(t.offsetNode,t.offset),e.collapse(),C.some(e)})}(n,t,e):n.caretRangeFromPoint?function(n,t,e){var r;return C.from(null===(r=n.caretRangeFromPoint)||void 0===r?void 0:r.call(n,t,e))}(n,t,e):C.none()},mh=function(n,t){var e=pn(n);return"input"===e?Il.after(n):j(["br","img"],e)?0===t?Il.before(n):Il.after(n):Il.on(n,t)},gh=function(n,t,e,r){var o=function(n,t,e,r){var o=Pn(n).dom.createRange();return o.setStart(n.dom,t),o.setEnd(e.dom,r),o}(n,t,e,r),i=Nn(n,e)&&t===r;return o.collapsed&&!i},ph=function(n){return C.from(n.getSelection())},wh=function(n,t){ph(n).each(function(n){n.removeAllRanges(),n.addRange(t)})},Zh=function(n,t,e,r,o){var i=Gl(n,t,e,r,o);wh(n,i)},bh=function(n,t){return Xl(n,t).match({ltr:function(t,e,r,o){Zh(n,t,e,r,o)},rtl:function(t,e,r,o){ph(n).each(function(i){if(i.setBaseAndExtent)i.setBaseAndExtent(t.dom,e,r.dom,o);else if(i.extend)try{!function(n,t,e,r,o,i){t.collapse(e.dom,r),t.extend(o.dom,i)}(0,i,t,e,r,o)}catch(i){Zh(n,r,o,t,e)}else Zh(n,r,o,t,e)})}})},Hh=function(n,t,e,r,o){var i=function(n,t,e,r){var o=mh(n,t),i=mh(e,r);return vh.relative(o,i)}(t,e,r,o);bh(n,i)},Mh=function(n,t,e){var r=function(n,t){var e=n.fold(Il.before,mh,Il.after),r=t.fold(Il.before,mh,Il.after);return vh.relative(e,r)}(t,e);bh(n,r)},yh=function(n){if(n.rangeCount>0){var t=n.getRangeAt(0),e=n.getRangeAt(n.rangeCount-1);return C.some(tf(An.fromDom(t.startContainer),t.startOffset,An.fromDom(e.endContainer),e.endOffset))}return C.none()},Vh=function(n){if(null===n.anchorNode||null===n.focusNode)return yh(n);var t=An.fromDom(n.anchorNode),e=An.fromDom(n.focusNode);return gh(t,n.anchorOffset,e,n.focusOffset)?C.some(tf(t,n.anchorOffset,e,n.focusOffset)):yh(n)},zh=function(n,t){var e=(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?Ul:ql)(n,t);wh(n,e)},xh=function(n){return function(n){return ph(n).filter(function(n){return n.rangeCount>0}).bind(Vh)}(n).map(function(n){return vh.exact(n.start,n.soffset,n.finish,n.foffset)})},Ch=function(n,t){return function(n){var t=n.getClientRects(),e=t.length>0?t[0]:n.getBoundingClientRect();return e.width>0||e.height>0?C.some(e).map(Yl):C.none()}(nf(n,t))},Th=function(n,t,e){return function(n,t,e){var r=n.document;return dh(r,t,e).map(function(n){return tf(An.fromDom(n.startContainer),n.startOffset,An.fromDom(n.endContainer),n.endOffset)})}(n,t,e)},Sh=function(n){return{elementFromPoint:function(t,e){return An.fromPoint(An.fromDom(n.document),t,e)},getRect:function(n){return n.dom.getBoundingClientRect()},getRangedRect:function(t,e,r,o){var i=vh.exact(t,e,r,o);return Ch(n,i)},getSelection:function(){return xh(n).map(function(t){return rf(n,t)})},fromSitus:function(t){var e=vh.relative(t.start,t.finish);return rf(n,e)},situsFromPoint:function(t,e){return Th(n,t,e).map(function(n){return ef(n.start,n.soffset,n.finish,n.foffset)})},clearSelection:function(){!function(n){ph(n).each(function(n){return n.removeAllRanges()})}(n)},collapseSelection:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];xh(n).each(function(e){return e.fold(function(n){return n.collapse(t)},function(e,r){var o=t?e:r;Mh(n,o,o)},function(e,r,o,i){var u=t?e:o,c=t?r:i;Hh(n,u,c,u,c)})})},setSelection:function(t){Hh(n,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:function(t,e){Mh(n,t,e)},selectNode:function(t){zh(n,t,!1)},selectContents:function(t){zh(n,t)},getInnerHeight:function(){return n.innerHeight},getScrollY:function(){var t,e,r,o;return(t=An.fromDom(n.document),e=void 0!==t?t.dom:document,r=e.body.scrollLeft||e.documentElement.scrollLeft,o=e.body.scrollTop||e.documentElement.scrollTop,zr(r,o)).top},scrollBy:function(t,e){!function(n,t,e){var r=(void 0!==e?e.dom:document).defaultView;r&&r.scrollBy(n,t)}(t,e,An.fromDom(n.document))}}},Lh=function(n,t){return{rows:n,cols:t}},Rh=function(n,t,e,r){var o=function(n,t,e,r){var o=th(),i=o.clear,u=function(i){o.on(function(o){r.clearBeforeUpdate(t),eh(i.target,e).each(function(u){Fi(o,u,e).each(function(e){var o=e.boxes.getOr([]);if(1===o.length){var c=o[0],a="false"===di(c),l=Dt(si(i.target),c,Nn);a&&l&&r.selectRange(t,o,c,c)}else o.length>1&&(r.selectRange(t,o,e.start,e.finish),n.selectContents(u))})})})};
1return{clearstate:i,mousedown:function(n){r.clear(t),eh(n.target,e).filter(rh).each(o.set)},mouseover:function(n){u(n)},mouseup:function(n){u(n),i()}}}(Sh(n),t,e,r);return{clearstate:o.clearstate,mousedown:o.mousedown,mouseover:o.mouseover,mouseup:o.mouseup}},kh=function(n){return Tt(n,Hn).exists(vi)},Dh=function(n,t){return kh(n)||kh(t)},Oh=function(n,t,e,r){var o=Sh(n),i=function(){return r.clear(t),C.none()};return{keydown:function(n,u,c,a,l,f){var h=n.raw,s=h.which,v=!0===h.shiftKey,d=qi(t,r.selectedSelector).fold(function(){return lh(s)&&!v&&r.clearBeforeUpdate(t),lh(s)&&v&&!Dh(u,a)?C.none:ah(s)&&v?M(Xf,o,t,e,oh,a,u,r.selectRange):ch(s)&&v?M(Xf,o,t,e,ih,a,u,r.selectRange):ah(s)?M(Yf,o,e,oh,a,u,Qf):ch(s)?M(Yf,o,e,ih,a,u,Jf):C.none},function(n){var e=function(e){return function(){var i=tn(e,function(e){return function(n,t,e,r,o){return $i(r,n,t,o.firstSelectedSelector,o.lastSelectedSelector).map(function(n){return o.clearBeforeUpdate(e),o.selectRange(e,n.boxes,n.start,n.finish),n.boxes})}(e.rows,e.cols,t,n,r)});return i.fold(function(){return Ui(t,r.firstSelectedSelector,r.lastSelectedSelector).map(function(n){var e=ah(s)||f.isForward(s)?Il.after:Il.before;return o.setRelativeSelection(Il.on(n.first,0),e(n.table)),r.clear(t),Fl(C.none(),!0)})},function(n){return C.some(Fl(C.none(),!0))})}};return lh(s)&&v&&!Dh(u,a)?C.none:ah(s)&&v?e([Lh(1,0)]):ch(s)&&v?e([Lh(-1,0)]):f.isBackward(s)&&v?e([Lh(0,-1),Lh(-1,0)]):f.isForward(s)&&v?e([Lh(0,1),Lh(1,0)]):lh(s)&&!v?i:C.none});return d()},keyup:function(n,o,i,u,c){return qi(t,r.selectedSelector).fold(function(){var a=n.raw,l=a.which;return!0===a.shiftKey&&lh(l)&&Dh(o,u)?function(n,t,e,r,o,i,u){return Nn(e,o)&&r===i?C.none():kt(e,"td,th",t).bind(function(e){return kt(o,"td,th",t).bind(function(r){return uf(n,t,e,r,u)})})}(t,e,o,i,u,c,r.selectRange):C.none()},C.none)}}},Ah=function(n,t){var e=Ln(n,t);return void 0===e||""===e?[]:e.split(" ")},Eh=function(n){return void 0!==n.dom.classList},jh=function(n,t){return function(n,t,e){var r=Ah(n,t).concat([e]);return Tn(n,t,r.join(" ")),!0}(n,"class",t)},_h=function(n,t){Eh(n)?n.dom.classList.add(t):jh(n,t)},Nh=function(n,t){return Eh(n)&&n.dom.classList.contains(t)},Bh=function(n,t,e){var r=function(t){kn(t,n.selected),kn(t,n.firstSelected),kn(t,n.lastSelected)},o=function(t){Tn(t,n.selected,"1")},i=function(n){u(n),e()},u=function(t){var e=zt(t,"".concat(n.selectedSelector,",").concat(n.firstSelectedSelector,",").concat(n.lastSelectedSelector));W(e,r)};return{clearBeforeUpdate:u,clear:i,selectRange:function(e,r,u,c){i(e),W(r,o),Tn(u,n.firstSelected,"1"),Tn(c,n.lastSelected,"1"),t(r,u,c)},selectedSelector:n.selectedSelector,firstSelectedSelector:n.firstSelectedSelector,lastSelectedSelector:n.lastSelectedSelector}},Wh=function(){return{tag:"none"}},Ph=function(n){return{tag:"multiple",elements:n}},Ih=function(n){return{tag:"single",element:n}},Fh=function(n,t,e){var r=vr.fromTable(n);return rc(r,t).map(function(n){var t=Ju(r,e,!1),o=ir(t).rows,i=function(n,t){var e=n.slice(0,t[t.length-1].row+1),r=Qu(e);return G(r,function(n){var e=n.cells.slice(0,t[t.length-1].column+1);return B(e,function(n){return n.element})})}(o,n),u=function(n,t){var e=n.slice(t[0].row+t[0].rowspan-1,n.length),r=Qu(e);return G(r,function(n){var e=n.cells.slice(t[0].column+t[0].colspan-1,n.cells.length);return B(e,function(n){return n.element})})}(o,n);return{upOrLeftCells:i,downOrRightCells:u}})},qh=function(n){var t,e,r=An.fromDom(function(n){if(m(n.target)){var t=An.fromDom(n.target);if(Mn(t)&&Zt(t)&&n.composed&&n.composedPath){var e=n.composedPath();if(e)return X(e)}}return C.from(n.target)}(n).getOr(n.target)),o=function(){return n.stopPropagation()},i=function(){return n.preventDefault()},u=(t=i,e=o,function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t(e.apply(null,r))});return function(n,t,e,r,o,i,u){return{target:n,x:t,y:e,stop:r,prevent:o,kill:i,raw:u}}(r,n.clientX,n.clientY,o,i,u,n)},Uh=function(n,t,e,r,o){var i=function(n,t){return function(e){n(e)&&t(qh(e))}}(e,r);return n.dom.addEventListener(t,i,o),{unbind:M($h,n,t,i,o)}},$h=function(n,t,e,r){n.dom.removeEventListener(t,e,r)},Kh=x,Gh=function(n,t,e){return function(n,t,e,r){return Uh(n,t,e,r,!1)}(n,t,Kh,e)},Yh=qh,Jh=function(n){return!Nh(An.fromDom(n.target),"ephox-snooker-resizer-bar")},Qh=function(n,t){var e=function(n,t,e){return{get:function(){return Ki(n(),e).fold(function(){return t().fold(Wh,Ih)},Ph)}}}(function(){return An.fromDom(n.getBody())},function(){return hu(wi(n),gi(n))},cu.selectedSelector),r=Bh(cu,function(t,e,r){ce(e).each(function(o){var i=B(t,function(n){return n.dom}),u=Jo(n),c=Uo(w,An.fromDom(n.getDoc()),u),a=su(n),l=Fh(o,{selection:a},c).map(function(n){return un(n,function(n){return B(n,function(n){return n.dom})})}).getOrUndefined();!function(n,t,e,r,o){n.dispatch("TableSelectionChange",{cells:t,start:e,finish:r,otherCells:o})}(n,i,e.dom,r.dom,l)})},function(){return function(n){n.dispatch("TableSelectionClear")}(n)});n.on("init",function(e){var o=n.getWin(),i=mi(n),u=gi(n),c=Rh(o,i,u,r),a=Oh(o,i,u,r),l=function(n,t,e,r){var o=Sh(n);return function(n,i){r.clearBeforeUpdate(t),Fi(n,i,e).each(function(n){var e=n.boxes.getOr([]);r.selectRange(t,e,n.start,n.finish),o.selectContents(i),o.collapseSelection()})}}(o,i,u,r);n.on("TableSelectorChange",function(n){return l(n.start,n.finish)});var f,h,s=function(t,e){(function(n){return!0===n.raw.shiftKey})(t)&&(e.kill&&t.kill(),e.selection.each(function(t){var e=vh.relative(t.start,t.finish),r=nf(o,e);n.selection.setRng(r)}))},v=function(n){return 0===n.button},d=(f=nh(An.fromDom(i)),h=nh(0),{touchEnd:function(n){var t=An.fromDom(n.target);
1if(xn("td")(t)||xn("th")(t)){var e=f.get(),r=h.get();Nn(e,t)&&n.timeStamp-r<300&&(n.preventDefault(),l(t,t))}f.set(t),h.set(n.timeStamp)}});n.on("dragstart",function(n){c.clearstate()}),n.on("mousedown",function(n){v(n)&&Jh(n)&&c.mousedown(Yh(n))}),n.on("mouseover",function(n){var t;(void 0===(t=n).buttons||1&t.buttons)&&Jh(n)&&c.mouseover(Yh(n))}),n.on("mouseup",function(n){v(n)&&Jh(n)&&c.mouseup(Yh(n))}),n.on("touchend",d.touchEnd),n.on("keyup",function(t){var e=Yh(t);if(e.raw.shiftKey&&lh(e.raw.which)){var r=n.selection.getRng(),o=An.fromDom(r.startContainer),i=An.fromDom(r.endContainer);a.keyup(e,o,r.startOffset,i,r.endOffset).each(function(n){s(e,n)})}}),n.on("keydown",function(e){var r=Yh(e);t.hide();var o=n.selection.getRng(),i=An.fromDom(o.startContainer),u=An.fromDom(o.endContainer),c=wr(fh,hh)(An.fromDom(n.selection.getStart()));a.keydown(r,i,o.startOffset,u,o.endOffset,c).each(function(n){s(r,n)}),t.show()}),n.on("NodeChange",function(){var t=n.selection,e=An.fromDom(t.getStart()),o=An.fromDom(t.getEnd());Pi(ce,[e,o]).fold(function(){return r.clear(i)},w)})}),n.on("PreInit",function(){n.serializer.addTempAttr(cu.firstSelected),n.serializer.addTempAttr(cu.lastSelected)});return{getSelectedCells:function(){return function(n,t,e,r){switch(n.tag){case"none":return t();case"single":return r(n.element);case"multiple":return e(n.elements)}}(e.get(),Z([]),function(n){return B(n,function(n){return n.dom})},function(n){return[n.dom]})},clearSelectedCells:function(n){return r.clear(An.fromDom(n))}}},Xh=function(n){var t=[];return{bind:function(n){if(void 0===n)throw new Error("Event bind error: undefined handler");t.push(n)},unbind:function(n){t=I(t,function(t){return t!==n})},trigger:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i={};W(n,function(n,t){i[n]=r[t]}),W(t,function(n){n(i)})}}},ns=function(n){return{registry:un(n,function(n){return{bind:n.bind,unbind:n.unbind}}),trigger:un(n,function(n){return n.trigger})}},ts=function(n){return n.slice(0).sort()},es=function(n,t,e){if(0===t.length)throw new Error("You must specify at least one required field.");var r;return function(n,t){if(!h(t))throw new Error("The "+n+" fields must be an array. Was: "+t+".");W(t,function(t){if(!l(t))throw new Error("The value "+t+" in the "+n+" fields was not a string.")})}("required",t),r=ts(t),U(r,function(n,t){return t<r.length-1&&n===r[t+1]}).each(function(n){throw new Error("The field: "+n+" occurs more than once in the combined fields: ["+r.join(", ")+"].")}),function(r){var o=en(r);Y(t,function(n){return j(o,n)})||function(n,t){throw new Error("All required keys ("+ts(n).join(", ")+") were not specified. Specified keys were: "+ts(t).join(", ")+".")}(t,o),n(t,o);var i=I(t,function(n){return!e.validate(r[n],n)});return i.length>0&&function(n,t){throw new Error("All values need to be of type: "+t+". Keys ("+ts(n).join(", ")+") were not.")}(i,e.label),r}},rs=function(n,t){var e=I(t,function(t){return!j(n,t)});e.length>0&&function(n){throw new Error("Unsupported keys for object: "+ts(n).join(", "))}(e)},os=function(n){return function(n,t){return es(n,t,{validate:g,label:"function"})}(rs,n)},is=os(["compare","extract","mutate","sink"]),us=os(["element","start","stop","destroy"]),cs=os(["forceDrop","drop","move","delayDrop"]),as=function(){var n=C.none(),t=ns({move:Xh(["info"])});return{onEvent:function(e,r){r.extract(e).each(function(e){var o=function(t,e){var r=n.map(function(n){return t.compare(n,e)});return n=C.some(e),r}(r,e);o.each(function(n){t.trigger.move(n)})})},reset:function(){n=C.none()},events:t.registry}},ls=function(){var n,t=(n=ns({move:Xh(["info"])}),{onEvent:w,reset:w,events:n.registry}),e=as(),r=t;return{on:function(){r.reset(),r=e},off:function(){r.reset(),r=t},isOn:function(){return r===e},onEvent:function(n,t){r.onEvent(n,t)},events:e.events}},fs=function(n,t,e){var r,o,i,u,c=!1,a=ns({start:Xh([]),stop:Xh([])}),l=ls(),f=function(){d.stop(),l.isOn()&&(l.off(),a.trigger.stop())},h=(r=f,o=200,i=null,{cancel:u=function(){s(i)||(clearTimeout(i),i=null)},throttle:function(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];u(),i=setTimeout(function(){i=null,r.apply(null,t)},o)}});l.events.move.bind(function(e){t.mutate(n,e.info)});var v=function(n){return function(){if(c){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];n.apply(null,e)}}},d=t.sink(cs({forceDrop:f,drop:v(f),move:v(function(n){h.cancel(),l.onEvent(n,t)}),delayDrop:v(h.throttle)}),e);return{element:d.element,go:function(n){d.start(n),l.on(),a.trigger.start()},on:function(){c=!0},off:function(){c=!1},isActive:function(){return c},destroy:function(){d.destroy()},events:a.registry}},hs=function(n){var t=n.replace(/\./g,"-");return{resolve:function(n){return t+"-"+n}}},ss=hs("ephox-dragster").resolve,vs=is({compare:function(n,t){return zr(t.left-n.left,t.top-n.top)},extract:function(n){return C.some(zr(n.x,n.y))},sink:function(n,e){var r=function(n){var e=t({layerClass:ss("blocker")},n),r=An.fromTag("div");return Tn(r,"role","presentation"),qt(r,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),_h(r,ss("blocker")),_h(r,e.layerClass),{element:Z(r),destroy:function(){it(r)}}}(e),o=Gh(r.element(),"mousedown",n.forceDrop),i=Gh(r.element(),"mouseup",n.drop),u=Gh(r.element(),"mousemove",n.move),c=Gh(r.element(),"mouseout",n.delayDrop);return us({element:r.element,start:function(n){nt(n,r.element())},stop:function(){it(r.element())},destroy:function(){r.destroy(),i.unbind(),u.unbind(),c.unbind(),o.unbind()}})},mutate:function(n,t){n.mutate(t.left,t.top)}}),ds=hs("ephox-snooker").resolve,ms=function(){var n=ns({drag:Xh(["xDelta","yDelta","target"])}),t=C.none(),e=function(){var n=ns({drag:Xh(["xDelta","yDelta"])});return{mutate:function(t,e){n.trigger.drag(t,e)},events:n.registry}}();e.events.drag.bind(function(e){t.each(function(t){n.trigger.drag(e.xDelta,e.yDelta,t)})});return{assign:function(n){t=C.some(n)},get:function(){return t},mutate:e.mutate,events:n.registry}},gs=ds("resizer-bar"),ps=ds("resizer-rows"),ws=ds("resizer-cols"),Zs=function(n){var t=zt(n.parent(),"."+gs);
1W(t,it)},bs=function(n,t,e){var r=n.origin();W(t,function(t){t.each(function(t){var o=e(r,t);_h(o,gs),nt(n.parent(),o)})})},Hs=function(n,t,e,r){bs(n,t,function(n,t){var o,i,u,c,a,l,f=(o=t.col,i=t.x-n.left,u=e.top-n.top,c=7,a=r,l=An.fromTag("div"),qt(l,{position:"absolute",left:i-c/2+"px",top:u+"px",height:a+"px",width:c+"px"}),Sn(l,{"data-column":o,role:"presentation"}),l);return _h(f,ws),f})},Ms=function(n,t,e,r){bs(n,t,function(n,t){var o=function(n,t,e,r,o){var i=An.fromTag("div");return qt(i,{position:"absolute",left:t+"px",top:e-o/2+"px",height:o+"px",width:r+"px"}),Sn(i,{"data-row":n,role:"presentation"}),i}(t.row,e.left-n.left,t.y-n.top,r,7);return _h(o,ps),o})},ys=function(n,t,e,r,o){var i=Cr(e),u=t.isResizable,c=r.length>0?Nr.positions(r,e):[],a=c.length>0?function(n,t){return G(n.all,function(n,e){return t(n.element)?[e]:[]})}(n,u):[],l=I(c,function(n,t){return _(a,function(n){return t===n})});Ms(t,l,i,Ge(e));var f=o.length>0?Ir.positions(o,e):[],h=f.length>0?function(n,t){var e=[];return N(n.grid.columns,function(r){var o=vr.getColumnAt(n,r).map(function(n){return n.element});o.forall(t)&&e.push(r)}),I(e,function(e){var r=vr.filterItems(n,function(n){return n.column===e});return Y(r,function(n){return t(n.element)})})}(n,u):[],s=I(f,function(n,t){return _(h,function(n){return t===n})});Hs(t,s,i,Mr(e))},Vs=function(n,t){if(Zs(n),n.isResizable(t)){var e=vr.fromTable(t),r=gr(e),o=dr(e);ys(e,n,t,r,o)}},zs=function(n,t){var e=zt(n.parent(),"."+gs);W(e,t)},xs=function(n){zs(n,function(n){Ft(n,"display","none")})},Cs=function(n){zs(n,function(n){Ft(n,"display","block")})},Ts=ds("resizer-bar-dragging"),Ss=function(n){var t=ms(),e=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null!==(t=e.mode)&&void 0!==t?t:vs;return fs(n,r,e)}(t,{}),r=C.none(),o=function(n,t){return C.from(Ln(n,t))};t.events.drag.bind(function(n){o(n.target,"data-row").each(function(t){var e=Xt(n.target,"top");Ft(n.target,"top",e+n.yDelta+"px")}),o(n.target,"data-column").each(function(t){var e=Xt(n.target,"left");Ft(n.target,"left",e+n.xDelta+"px")})});var i=function(n,t){return Xt(n,t)-Yt(n,"data-initial-"+t,0)};e.events.stop.bind(function(){t.get().each(function(t){r.each(function(e){o(t,"data-row").each(function(n){var r=i(t,"top");kn(t,"data-initial-top"),f.trigger.adjustHeight(e,r,parseInt(n,10))}),o(t,"data-column").each(function(n){var r=i(t,"left");kn(t,"data-initial-left"),f.trigger.adjustWidth(e,r,parseInt(n,10))}),Vs(n,e)})})});var u=function(r,o){f.trigger.startAdjust(),t.assign(r),Tn(r,"data-initial-"+o,Xt(r,o)),_h(r,Ts),Ft(r,"opacity","0.2"),e.go(n.parent())},c=Gh(n.parent(),"mousedown",function(n){var t;t=n.target,Nh(t,ps)&&u(n.target,"top"),function(n){return Nh(n,ws)}(n.target)&&u(n.target,"left")}),a=function(t){return Nn(t,n.view())},l=Gh(n.view(),"mouseover",function(t){var o;(o=t.target,kt(o,"table",a).filter(vi)).fold(function(){bt(t.target)&&Zs(n)},function(t){e.isActive()&&(r=C.some(t),Vs(n,t))})}),f=ns({adjustHeight:Xh(["table","delta","row"]),adjustWidth:Xh(["table","delta","column"]),startAdjust:Xh([])});return{destroy:function(){c.unbind(),l.unbind(),e.destroy(),Zs(n)},refresh:function(t){Vs(n,t)},on:e.on,off:e.off,hideBars:M(xs,n),showBars:M(Cs,n),events:f.registry}},Ls=function(n,t,e){var r=Nr,o=Ir,i=Ss(n),u=ns({beforeResize:Xh(["table","type"]),afterResize:Xh(["table","type"]),startDrag:Xh([])});return i.events.adjustHeight.bind(function(n){var t=n.table;u.trigger.beforeResize(t,"row");var e=r.delta(n.delta,t);Nc(t,e,n.row),u.trigger.afterResize(t,"row")}),i.events.startAdjust.bind(function(n){u.trigger.startDrag()}),i.events.adjustWidth.bind(function(n){var r=n.table;u.trigger.beforeResize(r,"col");var i=o.delta(n.delta,r),c=e(r);_c(r,i,n.column,t,c),u.trigger.afterResize(r,"col")}),{on:i.on,off:i.off,refreshBars:i.refresh,hideBars:i.hideBars,showBars:i.showBars,destroy:i.destroy,events:u.registry}},Rs=function(n,t){var e=Vn(n)?function(n){return An.fromDom(In(n).dom.documentElement)}(n):n;return{parent:Z(e),view:Z(n),origin:Z(zr(0,0)),isResizable:t}},ks=function(n,t,e){return{parent:Z(t),view:Z(n),origin:Z(zr(0,0)),isResizable:e}},Ds=function(){var n=An.fromTag("div");return qt(n,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),nt(Ht(An.fromDom(document)),n),n}
1,Os=function(n){return m(n)&&"TABLE"===n.nodeName},As="bar-",Es=function(n){return"false"!==Ln(n,"data-mce-resize")},js=function(n){return _t(t=n,e="corner-")?function(n,t){return n.substring(t)}(t,e.length):t;var t,e},_s=function(n){var t,e,r,o,i=th(),u=th(),c=th(),a=function(t){return Ya(n,t)},l=function(){return ni(n)?Tu():Cu()},f=function(i,u,c,f){var h=js(u),s=Nt(h,"e"),v=_t(h,"n");if(""===e&&gl(i),""===o&&wl(i),c!==t&&""!==e){Ft(i,"width",e);var d=l(),m=a(i),g=ni(n)||s?function(n){return Su(n).columns}(i)-1:0;_c(i,c-t,g,d,m)}else if(function(n){return/^(\d+(\.\d+)?)%$/.test(n)}(e)){var p=parseFloat(e.replace("%",""));Ft(i,"width",c*p/t+"%")}if(function(n){return/^(\d+(\.\d+)?)px$/.test(n)}(e)&&function(n){var t=vr.fromTable(n);vr.hasColumns(t)||W(ie(n),function(n){var t=Ut(n,"width");Ft(n,"width",t),kn(n,"width")})}(i),f!==r&&""!==o){Ft(i,"height",o);var w=v?0:function(n){return Su(n).rows}(i)-1;Nc(i,f-r,w)}},h=function(){u.on(function(n){n.destroy()}),c.on(function(t){!function(n,t){n.inline&&it(t.parent())}(n,t)})};n.on("init",function(){var t=function(n,t){return n.inline?ks(An.fromDom(n.getBody()),Ds(),t):Rs(An.fromDom(n.getDoc()),t)}(n,Es);if(c.set(t),function(n){var t=n.options.get("object_resizing");return j(t.split(","),"table")}(n)&&ui(n)){var e=l(),r=Ls(t,e,a);n.mode.isReadOnly()||r.on(),r.events.startDrag.bind(function(t){i.set(n.selection.getRng())}),r.events.beforeResize.bind(function(t){var e=t.table.dom;!function(n,t,e,r,o){n.dispatch("ObjectResizeStart",{target:t,width:e,height:r,origin:o})}(n,e,Zi(e),bi(e),As+t.type)}),r.events.afterResize.bind(function(t){var e=t.table,r=e.dom;pi(e),i.on(function(t){n.selection.setRng(t),n.focus()}),function(n,t,e,r,o){n.dispatch("ObjectResized",{target:t,width:e,height:r,origin:o})}(n,r,Zi(r),bi(r),As+t.type),n.undoManager.add()}),u.set(r)}}),n.on("ObjectResizeStart",function(i){var u=i.target;if(Os(u)&&!n.mode.isReadOnly()){var c=An.fromDom(u);W(n.dom.select(".mce-clonedresizable"),function(t){n.dom.addClass(t,"mce-"+Xo(n)+"-columns")}),!vl(c)&&oi(n)?pl(c):!sl(c)&&ri(n)&&gl(c),dl(c)&&_t(i.origin,As)&&gl(c),t=i.width,e=ii(n)?"":Mi(n,u).getOr(""),r=i.height,o=yi(n,u).getOr("")}}),n.on("ObjectResized",function(t){var e=t.target;if(Os(e)){var r=An.fromDom(e),o=t.origin;(function(n){return _t(n,"corner-")})(o)&&f(r,o,t.width,t.height),pi(r),Ua(n,r.dom,$a)}}),n.on("SwitchMode",function(){u.on(function(t){n.mode.isReadOnly()?(t.off(),t.hideBars()):(t.on(),t.showBars())})}),n.on("dragstart dragend",function(n){u.on(function(t){"dragstart"===n.type?(t.hideBars(),t.off()):(t.on(),t.showBars())})}),n.on("remove",function(){h()});return{refresh:function(n){u.on(function(t){return t.refreshBars(An.fromDom(n))})},hide:function(){u.on(function(n){return n.hideBars()})},show:function(){u.on(function(n){return n.showBars()})}}},Ns=function(n){!function(n){var t=n.options.register;t("table_clone_elements",{processor:"string[]"}),t("table_use_colgroups",{processor:"boolean",default:!0}),t("table_header_type",{processor:function(n){var t=j(["section","cells","sectionCells","auto"],n);return t?{value:n,valid:t}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),t("table_sizing_mode",{processor:"string",default:"auto"}),t("table_default_attributes",{processor:"object",default:{border:"1"}}),t("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),t("table_column_resizing",{processor:function(n){var t=j(["preservetable","resizetable"],n);return t?{value:n,valid:t}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),t("table_resize_bars",{processor:"boolean",default:!0}),t("table_style_by_css",{processor:"boolean",default:!0}),t("table_merge_content_on_paste",{processor:"boolean",default:!0})}(n);var t=_s(n),e=Qh(n,t),r=Ja(n,t,e);return Wl(n,r),function(n,t){var e=gi(n),r=function(t){return hu(wi(n)).bind(function(r){return ce(r,e).map(function(e){var o=au(su(n),e,r);return t(e,o)})}).getOr("")};on({mceTableRowType:function(){return r(t.getTableRowType)},mceTableCellType:function(){return r(t.getTableCellType)},mceTableColType:function(){return r(t.getTableColType)}},function(t,e){return n.addQueryValueHandler(e,t)})}(n,r),du(n,r),{getSelectedCells:e.getSelectedCells,clearSelectedCells:e.clearSelectedCells}},Bs=function(n){return{table:Ns(n)}};n.add("dom",Bs)}()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.