This commit is contained in:
2021-06-15 15:16:50 +01:00
parent c06177732d
commit f9c3c01b28
126 changed files with 25643 additions and 166 deletions
@@ -144,6 +144,9 @@
<data name="activity.caption.activities" xml:space="preserve">
<value>Activities</value>
</data>
<data name="activity.caption.activity" xml:space="preserve">
<value>Activity</value>
</data>
<data name="company.name" xml:space="preserve">
<value>Solum Forti</value>
</data>
@@ -4,6 +4,7 @@ using Sarand.Net.Standard.Base.App;
using Sarand.Net.Standard.Base.Bus;
using Sarand.Net.Standard.Base.Core;
using Sarand.Net.Standard.Base.Dbas;
using Sarand.Net.Standard.Base.Utils;
using Saxonite.Net.Core.Web.Base.App;
using Saxonite.Net.Core.Web.Online.App;
using Saxonite.Net.Core.Web.Online.Models;
@@ -30,6 +31,7 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
//-------------------------------------------------------------------
// Data definitions.
/// <summary>Activity details for home page list.</summary>
public class ActivityResponseData
{
public short ItemType { get; set; }
@@ -39,7 +41,61 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
public String Blurb { get; set; }
public String Sport { get; set; }
public String Region { get; set; }
public String PublishedOnFmt{ get; set; }
public String PublishedOnFmt { get; set; }
}
/// <summary>Article activity info. </summary>
public class ActivityResponseData_Article
{
public ActivityResponseData_Article(SaxModel_Online model, SaxJournalistArticle article)
{
Headline = article.Headline;
Summary = article.Summary;
Sport = model.GetSportCaption(article.SportIdPrimary);
Region = model.GetRegionCaption(article.RegionIdPrimary);
PublishedOnFmt = model.Localiser.FormatDate(article.PublishedAt);
SaxJournalistArticle.ContentData content = SaxJournalistArticle.ExtractContent(article.BodyData);
foreach (SaxJournalistArticle.ContentData.SegmentData segment in content.Segments)
Content.Segments.Add(new ContentData.SegmentData(segment));
}
public String Headline { get; set; }
public String Summary { get; set; }
public String Sport { get; set; }
public String Region { get; set; }
public String PublishedOnFmt { get; set; }
public class ContentData
{
public class SegmentData
{
public SegmentData(SaxJournalistArticle.ContentData.SegmentData segment)
{
Body.Html = segment.Body.Html;
}
public class BodyData
{
public String Html { get; set; }
}
public BodyData Body { get; } = new BodyData();
}
public List<SegmentData> Segments { get; } = new List<SegmentData>();
}
public ContentData Content { get; } = new ContentData();
}
/// <summary>Opportunity activity info. </summary>
public class ActivityResponseData_Opportunity
{
public ActivityResponseData_Opportunity(SaxModel_Online model, SaxOrganisationOpportunity opportunity)
{
Position = opportunity.Position;
Outline = opportunity.Outline;
Sport = model.GetSportCaption(opportunity.SportIdPrimary);
Region = model.GetRegionCaption(opportunity.RegionIdPrimary);
PublishedOnFmt = model.Localiser.FormatDate(opportunity.PublishedAt);
}
public String Position { get; set; }
public String Outline { get; set; }
public String Sport { get; set; }
public String Region { get; set; }
public String PublishedOnFmt { get; set; }
}
//-------------------------------------------------------------------
@@ -104,6 +160,72 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
return Json(responseData);
}
//-------------------------------------------------------------------
// Activity Info
//-------------------------------------------------------------------
public class AjaxResponse_ActivityInfo : AjaxResponse_Base
{
public ActivityResponseData_Article Article { get; set; }
public ActivityResponseData_Opportunity Opportunity { get; set; }
}
//-------------------------------------------------------------------
[HttpPost]
[Route("Activity/Ajax/GetInfo")]
[Route("Activity/Ajax/GetItemInfo")]
[Route("Activity/Ajax/GetActivityInfo")]
[Route("Activity/Ajax/GetActivity")]
public IActionResult Ajax_GetActivityInfo(Model_Activity model)
{
String fn = GetType().Name + ".Ajax_GetActivityInfo";
String messageTitle = Localiser["activity.caption.activity"];
AjaxResponse_ActivityInfo responseData = new AjaxResponse_ActivityInfo();
// Validate session and referrer.
if (!ValidReferer)
return Forbid();
if (!ValidUserSession)
return GetAjaxResult_InvalidSession(responseData);
SaxSessionData_Online sessionData = SessionData_Online;
String logSuffix = " User: " + sessionData.User.EmailAddress;
// Identify activity.
Sax.DataItemType itemType = (Sax.DataItemType)StringUtil.ToShort(model.ActivityType);
SysId itemId = model.ActivityIdx.ToSysId();
if (itemType <= 0 || !SysId.IsValid(itemId))
{
SaLogger.Warn(fn + " Activity type/Id inncorrectly specified." + getLogSuffix());
return Json(responseData);
}
// Retrieve activity details.
if (itemType == Sax.DataItemType.JournalistArticle)
{
// Journalist article.
SaxJournalistArticle article = ActivityMgr.GetJournalistArticleById(itemId);
if (article == null)
{
SaLogger.Warn(fn + " Article not found for Activity Id: " + itemId.ToString() + "." + getLogSuffix());
return Json(responseData);
}
responseData.Article = new ActivityResponseData_Article(model, article);
}
else if (itemType == Sax.DataItemType.OrganisationOpportunity)
{
// Organisation Opportunity.
SaxOrganisationOpportunity opportunity = ActivityMgr.GetOrganisationOpportunityById(itemId);
if (opportunity == null)
{
SaLogger.Warn(fn + " Opportunity not found for Activity Id: " + itemId.ToString() + "." + getLogSuffix());
return Json(responseData);
}
responseData.Opportunity = new ActivityResponseData_Opportunity(model, opportunity);
}
// Complete response.
responseData.Success = true;
return Json(responseData);
}
//-------------------------------------------------------------------
}
//=======================================================================
@@ -20,6 +20,21 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
//=======================================================================
partial class JournalistController
{
//-------------------------------------------------------------------
// Journalist Article Content data.
public class ArticleContentData
{
public List<ArticleContentSegmentData> Segments { get; } = new List<ArticleContentSegmentData>();
}
public class ArticleContentSegmentData
{
public ArticleContentSegmentBodyData Body { get; } = new ArticleContentSegmentBodyData();
}
public class ArticleContentSegmentBodyData
{
public String Html { get; set; }
}
//-------------------------------------------------------------------
// Journalist Article data.
public class ArticleData_List
@@ -39,6 +54,7 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
public String RegionIdPrimary { get; set; }
public String SportIdPrimary { get; set; }
public String PublishedOn_YYYYMMDD { get; set; }
public ArticleContentData Content { get; } = new ArticleContentData();
}
private void PopulateArticleResponseData(Model_Journalist model, SaxJournalistArticle article, ArticleData_List data)
{
@@ -58,6 +74,15 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
data.RegionIdPrimary = SysId.ToString(article.RegionIdPrimary);
data.SportIdPrimary = SysId.ToString(article.SportIdPrimary);
data.PublishedOn_YYYYMMDD = DateUtil.Format(article.PublishedAt, "yyyyMMdd");
// Article content.
SaxJournalistArticle.ContentData articleContent = SaxJournalistArticle.ExtractContent(article.BodyData);
foreach (var contentSegment in articleContent.Segments)
{
var segmentData = new ArticleContentSegmentData();
segmentData.Body.Html = contentSegment.Body.Html;
data.Content.Segments.Add(segmentData);
}
}
//-------------------------------------------------------------------
@@ -247,6 +272,19 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
if (model.ArticleStatusCode != null)
article.Status = model.ArticleStatus;
// Content.
if (model.ArticleContentSegments != null)
{
SaxJournalistArticle.ContentData articleContent = new SaxJournalistArticle.ContentData();
foreach (String contentSegment in model.ArticleContentSegments)
{
if (StringUtil.IsEmpty(contentSegment)) continue;
var segment = articleContent.AddSegment();
segment.Body.Html = contentSegment;
}
article.BodyData = SaxJournalistArticle.GetContentData(articleContent);
}
// Store item.
if (!SysId.IsValid(article.Id))
{
@@ -236,6 +236,20 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
return keepLoggedInParams;
}
//-------------------------------------------------------------------
// Logging.
protected String getLogSuffix()
{
List<String> logSuffix = new List<string>();
SaxSessionData_Online sessionData = SessionData_Online;
if (sessionData != null)
{
if (!StringUtil.IsEmpty(sessionData.User.EmailAddress))
logSuffix.Add("User: " + sessionData.User.EmailAddress);
}
return logSuffix.Concat("", " ", ".");
}
//-------------------------------------------------------------------
}
//=======================================================================
@@ -29,6 +29,11 @@ namespace Saxonite.Net.Core.Web.Online.Models
}
public FilterData Filter { get; } = new FilterData();
// Activity identity.
// ToDo Replace Type + Idx (Id) with Idx and cross-reference stored in Session data.
public String ActivityType { get; set; }
public String ActivityIdx { get; set; }
//-------------------------------------------------------------------
}
//=======================================================================
@@ -21,7 +21,7 @@ namespace Saxonite.Net.Core.Web.Online.Models
public Model_Journalist(SaxLocaliser localiser) :
base(localiser)
{
//AdditionalFiles_CSS.Add("css/sax-jrn-art.css");
AdditionalFiles_CSS.Add("css/sax-jrn-art.css");
AdditionalFiles_JS.Add("js/sax-jrn-art.js");
}
@@ -48,6 +48,8 @@ namespace Saxonite.Net.Core.Web.Online.Models
public String ArticleSummary { get; set; }
public String ArticleStatusCode { get; set; }
public SaStatus ArticleStatus { get { return SacsSystem.GetStatusForCode(ArticleStatusCode); } }
// Article content.
public List<String> ArticleContentSegments { get; set; }
//-------------------------------------------------------------------
// Validation.
@@ -55,4 +55,33 @@ else
</div>
</div>
</div>
@* Activity Id form - to retrieve details for the selected activity. *@
@using (@Html.BeginForm(FormMethod.Post, new { @id = "frmActivityId", @class = "", @action = "#", onsubmit = "return false;" }))
{
<input type="hidden" name="ActivityType" class="ActivityType" />
<input type="hidden" name="ActivityIdx" class="ActivityIdx" />
}
@* Activity popup dialog with details. *@
<div id="dlgActivity" class="sax-dialog">
<div class="sax-content">
</div>
<div class="sax-panel-item-template">
<div class="sax-panel-item Article">
<div class="ArticleHeadline"></div>
<div class="ArticleSummary"></div>
<div class="ArticleContent">
<div class="ArticleContentSegments"></div>
</div>
</div>
<div class="sax-panel-item ArticleContentSegment">
</div>
<div class="sax-panel-item Opportunity">
<div class="OpportunityOrganisation"></div>
<div class="OpportunityPosition"></div>
<div class="OpportunityOutline"></div>
</div>
</div>
</div>
}
@@ -21,52 +21,82 @@
@Html.HiddenFor(model => model.ArticleId, new { @id = "ifArticleId", @class = "ArticleId" })
@Html.HiddenFor(model => model.ArticleExists, new { @id = "ifArticleExists", @class = "ArticleExists" })
@* Article headline *@
<div class="sax-form-control ArticleHeadline">
<div class="sax-label">
<label for="ifArticleHeadline"><span><span class="required">*</span> @Localiser["label.headline"]</span></label>
</div>
<div class="sax-control">
@Html.TextBoxFor(model => model.ArticleHeadline, new { @id = "ifArticleHeadline", @class = "ArticleHeadline sax-input", @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.JournalistArticle_Headline) })
</div>
<div class="sax-message"></div>
</div>
<div class="sax-article ArticleHeader">
@* Article summary *@
<div class="sax-form-control ArticleSummary">
<div class="sax-label">
<label for="ifArticleSummary"><span><span class="required">*</span> @Localiser["label.summary"]</span></label>
</div>
<div class="sax-control">
@Html.TextAreaFor(model => model.ArticleSummary, new { @id = "ifArticleSummary", @class = "ArticleSummary sax-input", @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.JournalistArticle_Summary) })
</div>
<div class="sax-message"></div>
</div>
<div class="sax-article-panel sax-article-header">
@* Sport *@
<div class="sax-form-control ArticleSportId">
<div class="sax-label">
<label for="ifArticleSportId"><span><span class="required">*</span> @Localiser["label.sport"]</span></label>
</div>
<div class="sax-control row">
@Html.HiddenFor(model => model.ArticleSportId, new { @id = "ifArticleSportId", @class = "ArticleSportId" })
<div class="col">@Html.TextBoxFor(model => model.ArticleSportCaption, new { @id = "ifArticleSportCaption", @class = "ArticleSportCaption sax-input", @readonly = "readonly", @onDblClick = "sax.selectSport()" }) </div>
<div class="fixed"><button id="pbSelectSport" class="sax-button" style="min-width:auto;margin-left:4px;padding:4px 6px" onclick="sax.selectSport()">@Localiser["label.select"]</button></div>
</div>
<div class="sax-message"></div>
</div>
@* Region *@
<div class="sax-form-control ArticleRegionId">
<div class="sax-label">
<label for="ifArticleRegionId"><span><span class="required">*</span> @Localiser["label.region"]</span></label>
@* Article headline *@
<div class="sax-form-control ArticleHeadline">
<div class="sax-label">
<label for="ifArticleHeadline"><span><span class="required">*</span> @Localiser["label.headline"]</span></label>
</div>
<div class="sax-control">
@Html.TextBoxFor(model => model.ArticleHeadline, new { @id = "ifArticleHeadline", @class = "ArticleHeadline sax-input", @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.JournalistArticle_Headline) })
</div>
<div class="sax-message"></div>
</div>
@* Article summary *@
<div class="sax-form-control ArticleSummary">
<div class="sax-label">
<label for="ifArticleSummary"><span><span class="required">*</span> @Localiser["label.summary"]</span></label>
</div>
<div class="sax-control">
@Html.TextAreaFor(model => model.ArticleSummary, new { @id = "ifArticleSummary", @class = "ArticleSummary sax-textarea", @rows = 4, @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.JournalistArticle_Summary) })
</div>
<div class="sax-message"></div>
</div>
@* Sport *@
<div class="sax-form-control ArticleSportId">
<div class="sax-label">
<label for="ifArticleSportId"><span><span class="required">*</span> @Localiser["label.sport"]</span></label>
</div>
<div class="sax-control row">
@Html.HiddenFor(model => model.ArticleSportId, new { @id = "ifArticleSportId", @class = "ArticleSportId" })
<div class="col">@Html.TextBoxFor(model => model.ArticleSportCaption, new { @id = "ifArticleSportCaption", @class = "ArticleSportCaption sax-input", @readonly = "readonly", @onDblClick = "sax.selectSport()" }) </div>
<div class="fixed"><button id="pbSelectSport" class="sax-button" style="min-width:auto;margin-left:4px;padding:4px 6px" onclick="sax.selectSport()">@Localiser["label.select"]</button></div>
</div>
<div class="sax-message"></div>
</div>
@* Region *@
<div class="sax-form-control ArticleRegionId">
<div class="sax-label">
<label for="ifArticleRegionId"><span><span class="required">*</span> @Localiser["label.region"]</span></label>
</div>
<div class="sax-control row">
@Html.HiddenFor(model => model.ArticleRegionId, new { @id = "ifArticleRegionId", @class = "ArticleRegionId" })
<div class="col">@Html.TextBoxFor(model => model.ArticleRegionCaption, new { @id = "ifArticleRegionCaption", @class = "ArticleRegionCaption sax-input", @readonly = "readonly", @onDblClick = "sax.selectRegion()" }) </div>
<div class="fixed"><button id="pbSelectRegion" class="sax-button" style="min-width:auto;margin-left:4px;padding:4px 6px" onclick="sax.selectRegion()">@Localiser["label.select"]</button></div>
</div>
<div class="sax-message"></div>
</div>
</div>
<div class="sax-control row">
@Html.HiddenFor(model => model.ArticleRegionId, new { @id = "ifArticleRegionId", @class = "ArticleRegionId" })
<div class="col">@Html.TextBoxFor(model => model.ArticleRegionCaption, new { @id = "ifArticleRegionCaption", @class = "ArticleRegionCaption sax-input", @readonly = "readonly", @onDblClick = "sax.selectRegion()" }) </div>
<div class="fixed"><button id="pbSelectRegion" class="sax-button" style="min-width:auto;margin-left:4px;padding:4px 6px" onclick="sax.selectRegion()">@Localiser["label.select"]</button></div>
<div class="sax-article-panel sax-article-content">
<div class="sax-article-segment-list">
</div>
<div class="sax-panel-item-template">
<div class="sax-panel-item ArticleSegment">
<input type="hidden" name="ArticleContentSegments" class="ArticleContentSegment" value="" />
<div class="row">
<div class="col"><div class="sax-article-segment"></div></div>
<div class="fixed">
<div class="sax-action sax-add"><img src="~/img/action/add24.png" alt="" title="" /></div>
<div class="sax-action sax-up"><img src="~/img/action/prev24.png" alt="" title="" /></div>
<div class="sax-action sax-down"><img src="~/img/action/next24.png" alt="" title="" /></div>
<div class="sax-action sax-delete"><img src="~/img/action/delete24.png" alt="" title="" /></div>
</div>
</div>
</div>
</div>
</div>
<div class="sax-message"></div>
</div>
}
@@ -186,6 +186,8 @@
</script>
</environment>
<script src="~/lib/jquery-ui/jquery-ui.js"></script>
<script src="~/tinymce/tinymce.min.js"></script>
<script src="~/tinymce/jquery.tinymce.min.js"></script>
<script src="~/js/sax-main.js?@Model.HrefVersion"></script>
@foreach (var jsFile in Model.AdditionalFiles_JS)
{
@@ -122,6 +122,7 @@ input
textarea
{
overflow-y:scroll;
resize: none;
}
@@ -145,16 +145,14 @@
line-height: 1.3;
background-color: #fff;
border: 1px solid #595959;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 3px;
outline: none;
}
.sax-form .sax-textarea, .sax-form .sax-select[multiple="multiple"]
{
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
overflow-y: scroll;
}
@@ -2,5 +2,48 @@
Home stylesheet.
*/
#dlgActivity.ui-dialog-content.ui-widget-content
{
padding: 4px 4px 0 4px;
background-color: #fff;
}
#dlgActivity .sax-panel-item
{
padding: 8px;
background-color: transparent;
border: none;
border-radius: 0;
}
#dlgActivity .sax-panel-item.Article
{
line-height: 1.25;
}
#dlgActivity .sax-panel-item.Article .ArticleHeadline,
#dlgActivity .sax-panel-item.Opportunity .OpportunityOrganisation
{
margin: 0 0 8px 0;
padding: 0 0 8px 0;
font-size: 2rem;
font-weight: bold;
border-bottom: 1px solid #b0b0b0;
}
#dlgActivity .sax-panel-item.Article .ArticleSummary,
#dlgActivity .sax-panel-item.Opportunity .OpportunityPosition,
#dlgActivity .sax-panel-item.Opportunity .OpportunityOutline
{
margin: 0 0 8px 0;
padding: 0 0 8px 0;
font-size: 1.5rem;
font-weight: bold;
border-bottom: 1px solid #b0b0b0;
}
#dlgActivity .sax-panel-item.Opportunity
{
}
/* The End */
@@ -0,0 +1,55 @@
/*
Article stylesheet.
*/
.sax-article .sax-article-panel
{
display: none;
}
.sax-article.ArticleHeader .sax-article-header
{
display: block;
}
.sax-article.ArticleContent .sax-article-content
{
display: block;
}
.sax-article.ArticleContent .sax-article-content .sax-panel-item.ArticleSegment
{
border: 1px solid #8020e0;
border-radius: 6px;
}
.sax-article.ArticleContent .sax-article-content .sax-panel-item.ArticleSegment .sax-article-segment
{
min-height: 160px;
max-height: 320px;
margin: 0;
padding: 4px;
background-color: #e0efff;
border: 2px solid #e0efff;
border-radius: 4px;
overflow-y: scroll;
z-index:1000;
}
.sax-article.ArticleContent .sax-article-content .sax-panel-item.ArticleSegment:hover .sax-article-segment
/*,.sax-article.ArticleContent .sax-article-content .sax-panel-item.ArticleSegment .sax-article-segment:focus*/
{
border: 2px solid #c0d0ff;
}
.sax-article.ArticleContent .sax-article-content .sax-panel-item.ArticleSegment .sax-article-segment.mce-edit-focus
{
margin-top: 48px;
}
.tox-tinymce
{
z-index: 1000;
}
/* The End */
+36 -17
View File
@@ -55,7 +55,7 @@ body
body > .container
{
padding:0 1%;
padding: 0 1%;
}
/* Sticky footer styles */
@@ -282,11 +282,21 @@ a:focus
-webkit-box-shadow: 4px 4px 6px var(--color-dialog);
}
.ui-dialog.ui-widget.sax-dialog-border-thin.ui-widget-content
{
border-width: 1px;
}
.ui-dialog.ui-widget.ui-widget-content.ui-corner-all
{
border-radius: 6px;
}
.ui-dialog.ui-widget.sax-dialog-rounding-none.ui-widget-content.ui-corner-all
{
border-radius:0;
}
.ui-dialog.ui-widget .ui-widget-header
{
font-size: 1.1rem;
@@ -299,37 +309,46 @@ a:focus
.ui-dialog.ui-widget .ui-widget-header.ui-corner-all
{
border-radius:0;
border-radius: 0;
}
.ui-dialog.ui-widget .ui-widget-content
{
font-size: 1rem;
color: #000;
}
.ui-dialog.ui-widget .ui-dialog-content
{
margin-bottom: 0;
padding: 8px 8px;
}
.ui-dialog.no-close .ui-dialog-titlebar-close
.ui-dialog.sax-dialog-titlebar-hide .ui-dialog-titlebar
{
display: none;
}
.ui-dialog .ui-dialog-buttonpane
.ui-dialog.dialog-no-close .ui-dialog-titlebar-close
{
display: none;
}
.ui-dialog.ui-widget .ui-dialog-content.ui-widget-content
{
padding: 4px 8px 0 8px;
font-size: 1rem;
color: #000;
}
.ui-dialog .ui-dialog-buttonpane.ui-widget-content
{
margin-top: 0;
padding: 4px 16px 4px 8px;
padding: 4px 16px 4px 16px;
background-color: transparent;
border-color: #606060;
border-color: var(--color-dialog);
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset
{
float: none;
width: 100%;
text-align:right;
}
.ui-dialog .ui-dialog-buttonpane button
{
min-width: 60px;
padding: 6px 16px 4px 16px;
color: #fff;
background-color: #606060;
background-color: var(--color-dialog);
+50 -6
View File
@@ -5,6 +5,7 @@
(function (win, doc, undef)
{
"use strict";
sax.itemIdPrefix = 'Act_';
//--------------------------------------------------------------
sax.refreshResults = function (delay)
@@ -16,8 +17,8 @@
var $items = $('.sax-panel-item-list', $results).fadeOut(200).empty();
var $msgs = $('.sax-panel-messages', $results).hide().empty().append($('<div class="sax-message">' + sax.msg.dataQuerying + '</div>')).fadeIn(200);
}
sax.ajaxRefreshResults = sax.ajaxRefreshResults || { url: sax.url.base + 'Activity/Ajax/GetList', formId: 'frmActivityFilter', callbackFn: sax.doRefreshResults };
sax.doAjaxRequest(sax.ajaxRefreshResults, delay || 50);
sax.ajax.refreshResults = sax.ajax.refreshResults || { url: sax.url.base + 'Activity/Ajax/GetList', formId: 'frmActivityFilter', callbackFn: sax.doRefreshResults };
sax.doAjaxRequest(sax.ajax.refreshResults, delay || 50);
sax.awaitingRefreshResponse = true;
}
sax.doRefreshResults = function (response)
@@ -43,26 +44,69 @@
}
sax.populateItem = function ($item, item)
{
sax.debug('populateItem', item);
if (!item) return;
$item.prop('id', sax.itemIdPrefix + item.id).addClass(item.itemTypeClass);
$item.prop('id', sax.itemIdPrefix + item.itemIdx).addClass(item.itemTypeClass);
$('.ActivityCaption', $item).text(item.caption);
$('.ActivityBlurb', $item).text(item.blurb);
$('.ActivitySport', $item).text(item.sport);
$('.ActivityRegion', $item).text(item.region);
$('.ActivityPublishedOn', $item).text(item.publishedOnFmt);
$item.off('click').on('click', function () { sax.expandItem(item.id) })
$item.off('click').on('click', function () { sax.expandActivity(item.itemType, item.itemIdx); })
$('.sax-panel-results .sax-panel-messages').hide().empty();
}
//--------------------------------------------------------------
sax.expandItem = function (id)
sax.expandActivity = function (type, idx)
{
sax.debug('expandItem(' + id + ')');
sax.debug('expandActivity(' + type + ',' + idx + ')');
let $frm = $('#frmActivityId');
$('.ActivityType', $frm).val(type);
$('.ActivityIdx', $frm).val(idx);
sax.ajax.activityInfo = sax.ajax.activityInfo || { url: sax.url.base + 'Activity/Ajax/GetInfo', formId: 'frmActivityId', callbackFn: sax.showActivityDetails, noWaitIcon: true };
sax.doAjaxRequest(sax.ajax.activityInfo, 50);
}
sax.showActivityDetails = function (response)
{
sax.debug('showActivityDetails', response);
let $act = $('#dlgActivity .sax-content').empty();
let item;
if (item = response.article)
{
let $itm = $('.sax-panel-item-template .sax-panel-item.Article').clone();
$('.ArticleHeadline', $itm).text(item.headline);
$('.ArticleSummary', $itm).text(item.summary).toggle(!!item.summary);
let segs = item.content.segments;
for (let segIdx = 0; segIdx < segs.length; segIdx++)
{
let seg = segs[segIdx];
let $seg = $('.sax-panel-item-template .sax-panel-item.ArticleContentSegment').clone().html(seg.body.html);
$('.ArticleContentSegments', $itm).append($seg);
sax.debug(seg, $seg);
}
sax.debug($itm);
$act.append($itm);
}
else if (item = response.opportunity)
{
let $itm = $('.sax-panel-item-template .sax-panel-item.Opportunity').clone();
$('.OpportunityOrganisation', $itm).text(item.organisation);
$('.OpportunityPosition', $itm).text(item.position).toggle(!!item.position);
$('.OpportunityOutline', $itm).text(item.outline).toggle(!!item.outline);
$act.append($itm);
}
else return;
sax.openDialog(sax.$dlg.activity, 800, 1600);
}
//--------------------------------------------------------------
$(function ()
{
var opt = sax.dlgOpts();
opt.dialogClass += ' sax-dialog-border-thin sax-dialog-rounding-none sax-dialog-titlebar-hide';
opt.buttons[sax.dlg.btn.close] = function () { $(this).dialog('close'); };
sax.$dlg.activity = $('#dlgActivity').dialog(opt);
setTimeout(sax.refreshResults, 250);
});
+160 -20
View File
@@ -6,6 +6,8 @@
{
"use strict";
sax.itemIdPrefix = 'Itm_';
sax.segIdPrefix = 'Seg_';
let ac = sax.articleContent = sax.articleContent || {};
//--------------------------------------------------------------
sax.refreshResults = function (delay)
@@ -60,33 +62,135 @@
}
//--------------------------------------------------------------
sax.selectRegion = function ()
sax.segmentId = function (idx)
{
sax.data.selectRegion.fn.selectRegion({ caption: sax.dlg.title.selectRegion, regionId: $('#ifArticleRegionId').val(), fnCallback: sax.onSelectRegion })
return sax.segIdPrefix + idx;
}
sax.onSelectRegion = function (region)
sax.populateArticleContent = function (content)
{
sax.clearControlError($('#ifArticleRegionId').val(region.id));
$('#ifArticleRegionCaption').val(region ? region.name : '');
}
sax.debug('populateArticleContent', content);
ac.$segList.empty();
ac.segIdx = 0;
//--------------------------------------------------------------
sax.selectSport = function ()
{
sax.data.selectSport.fn.selectSport({ caption: sax.dlg.title.selectSport, sportId: $('#ifArticleSportId').val(), fnCallback: sax.onSelectSport })
let segments = content.segments || [{}];
if (!segments.length) segments.push({});
for (let segIdx = 0; segIdx < segments.length; segIdx++)
sax.addContentSegment(segments[segIdx]);
}
sax.onSelectSport = function (sport)
sax.addContentSegment = function (seg)
{
sax.clearControlError($('#ifArticleSportId').val(sport.id));
$('#ifArticleSportCaption').val(sport ? sport.name : '');
let idx = ++ac.segIdx;
let segId = sax.segmentId(idx);
if ($('.sax-panel-item.ArticleSegment', ac.$segList).length >= 6)
{
return;
}
let $seg = $('.sax-panel-item-template .sax-panel-item.ArticleSegment', ac.$content).clone().prop('id', segId)
let segBody = seg.body || {};
$('.sax-article-segment', $seg).html(segBody.html);
$('input.ArticleContentSegment', $seg).val(segBody.html);
ac.$segList.append($seg);
$('.sax-action.sax-add', $seg).on('click', function () { sax.addContentSegment({}, idx); });
$('.sax-action.sax-up', $seg).on('click', function () { sax.moveUpContentSegment(idx); });
$('.sax-action.sax-down', $seg).on('click', function () { sax.moveDownContentSegment(idx); });
$('.sax-action.sax-delete', $seg).on('click', function () { sax.deleteContentSegment(idx); });
tinymce.init({
branding: false,
elementpath: true,
menubar: false,
inline: true,
//skin: 'small',
//icons: 'small',
selector: '#' + segId + ' .sax-article-segment',
setup: function (ed)
{
ed.on('blur', function (e)
{
let ed = tinymce.get(e.target.id);
let $ed = $('#' + ed.id);
let $seg = $ed.closest('.sax-panel-item.ArticleSegment');
$(".sax-article-segment p", $seg).each(function (i,el) { if ($.trim($(el).text()) == "") { $(el).remove(); } });
let $inp = $seg.find('input.ArticleContentSegment').val(ed.getContent());
sax.debug('blur Id: ' + e.target.id + '. Val: ' + $inp.val());
});
},
/*
plugins: [
//'link',
'lists',
//'powerpaste',
//'autolink',
//'tinymcespellchecker'
],
//powerpaste_word_import: 'clean',
//powerpaste_html_import: 'clean',
*/
toolbar: [
'undo redo | bold italic underline | fontselect fontsizeselect',
'forecolor backcolor | alignleft aligncenter alignright alignfull | numlist bullist outdent indent'
],
valid_elements: 'p[style],strong,em,span[style],a[href],ul,ol,li',
valid_styles: { '*': 'font-size,font-family,color,text-decoration,text-align' },
});
}
sax.moveUpContentSegment = function (idx)
{
sax.debug('moveUpContentSegment(' + idx + ')');
let segId = sax.segmentId(idx);
let $segPrev;
$('.sax-panel-item.ArticleSegment', ac.$segList).detach().each(
function (i, el)
{
let $seg = $(el);
if ($segPrev && $seg.prop('id') == segId)
{
$seg.insertBefore($segPrev);
return;
}
ac.$segList.append($seg);
$segPrev = $seg;
});
}
sax.moveDownContentSegment = function (idx)
{
sax.debug('moveDownContentSegment(' + idx + ')');
let segId = sax.segmentId(idx);
let $segMove;
let $segs = $('.sax-panel-item.ArticleSegment', ac.$segList).detach();
$segs.each(
function (i, el)
{
let $seg = $(el);
if ($seg.prop('id') == segId && i < $segs.length - 1)
{
$segMove = $seg;
return;
}
ac.$segList.append($seg);
if ($segMove) $segMove.insertAfter($seg);
});
}
sax.deleteContentSegment = function (idx)
{
sax.debug('deleteContentSegment(' + idx + ')');
if ($('.sax-panel-item.ArticleSegment', ac.$segList).length < 2) return;
$('#' + sax.segmentId(idx)).remove();
}
//--------------------------------------------------------------
sax.createItem = function ()
{
sax.clearItem();
sax.$dlg.article.dialog('option', 'title', sax.dlg.title.createArticle);
sax.openDialog(sax.$dlg.article, 600, 600);
sax.populateArticleContent({});
sax.openArticleDialog(sax.dlg.title.createArticle);
}
sax.openArticleDialog = function (title)
{
sax.clearControlErrors();
sax.switchArticleHeader();
sax.$dlg.article.dialog('option', 'title', title);
sax.openDialog(sax.$dlg.article, 600, 800);
}
sax.clearItem = function ()
{
@@ -121,15 +225,46 @@
$('#ifArticleSportId', $frm).val(item.sportIdPrimary);
$('#ifArticleSportCaption', $frm).val(item.sportCaptionPrimary);
$('#cbArticleStatusCode', $frm).val(item.statusCode);
sax.clearControlErrors();
sax.$dlg.article.dialog('option', 'title', sax.dlg.title.updateArticle);
sax.openDialog(sax.$dlg.article, 600, 600);
sax.populateArticleContent(item.content);
sax.openArticleDialog(sax.dlg.title.updateArticle);
}
sax.doUpdateItem = function ()
{
sax.storeItem();
}
//--------------------------------------------------------------
sax.switchArticleHeader = function ()
{
$('.sax-article').removeClass('ArticleContent').addClass('ArticleHeader');
}
sax.switchArticleContent = function ()
{
$('.sax-article').removeClass('ArticleHeader').addClass('ArticleContent');
}
//--------------------------------------------------------------
sax.selectRegion = function ()
{
sax.data.selectRegion.fn.selectRegion({ caption: sax.dlg.title.selectRegion, regionId: $('#ifArticleRegionId').val(), fnCallback: sax.onSelectRegion })
}
sax.onSelectRegion = function (region)
{
sax.clearControlError($('#ifArticleRegionId').val(region.id));
$('#ifArticleRegionCaption').val(region ? region.name : '');
}
//--------------------------------------------------------------
sax.selectSport = function ()
{
sax.data.selectSport.fn.selectSport({ caption: sax.dlg.title.selectSport, sportId: $('#ifArticleSportId').val(), fnCallback: sax.onSelectSport })
}
sax.onSelectSport = function (sport)
{
sax.clearControlError($('#ifArticleSportId').val(sport.id));
$('#ifArticleSportCaption').val(sport ? sport.name : '');
}
//--------------------------------------------------------------
sax.storeItem = function ()
{
@@ -169,10 +304,15 @@
$('.sax-input', sax.$frm.article).on('input', function () { sax.clearControlError(this); });
var opt = sax.dlgOpts();
opt.buttons[sax.dlg.btn.ok] = function () { sax.doCreateItem(); };
opt.buttons[sax.dlg.btn.cancel] = function () { $(this).dialog('close'); };
opt.buttons[sax.dlg.btn.cancel] = { text: sax.dlg.btn.cancel, class: "floatr", click: function () { $(this).dialog('close'); } };
opt.buttons[sax.dlg.btn.ok] = { text: sax.dlg.btn.ok, class: "floatr", click: function () { sax.doCreateItem(); } };
opt.buttons['Header'] = { text: 'Header', class: "floatl", click: function () { sax.switchArticleHeader(); } };
opt.buttons['Content'] = { text: 'Content', class: "floatl", click: function () { sax.switchArticleContent(); } };
sax.$dlg.article = $('#dlgArticle').dialog(opt);
ac.$content = $('.sax-article-panel.sax-article-content');
ac.$segList = $('.sax-article-segment-list', ac.$content);
setTimeout(sax.refreshResults, 250);
});
+1 -1
View File
@@ -161,7 +161,7 @@
}
sax.dlgOpts = function ()
{
return { autoOpen: false, modal: true, show: 'clip', hide: 'clip', minWidth: 320, maxWidth: 480, width: 'auto', resizable: false, draggable: false, closeOnEscape: false, dialogClass: "no-close center-buttons", buttons: {} };
return { autoOpen: false, modal: true, show: 'clip', hide: 'clip', minWidth: 320, maxWidth: 480, width: 'auto', resizable: false, draggable: false, closeOnEscape: false, dialogClass: "dialog-no-close", buttons: {} };
}
sax.dlgOptsClose = function ()
{
File diff suppressed because one or more lines are too long
@@ -0,0 +1,153 @@
/**
* Tiny Small icon pack
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
*
* Version: 2.4.1-10
*/
tinymce.IconManager.add('small', {
icons: {
'accessibility-check': '<svg width="18" height="18"><path fill-rule="nonzero" d="M9 1a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2c0-1.1.9-2 2-2zm6 7h-3v8c0 .6-.4 1-1 1a1 1 0 01-1-1v-3c0-.6-.4-1-1-1a1 1 0 00-1 1v3c0 .6-.4 1-1 1a1 1 0 01-1-1V8H3a1 1 0 110-2h12c.6 0 1 .4 1 1s-.4 1-1 1z"/></svg>',
'action-next': '<svg width="18" height="18"><path fill-rule="nonzero" d="M9 10.6L4.7 6.3a1 1 0 00-1.4 1.4L9 13.4l5.7-5.7a1 1 0 10-1.4-1.4L9 10.6z"/></svg>',
'action-prev': '<svg width="18" height="18"><path fill-rule="nonzero" d="M9 8.4l4.3 4.3a1 1 0 001.4-1.4L9 5.6l-5.7 5.7a1 1 0 001.4 1.4L9 8.4z"/></svg>',
'align-center': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 6a1 1 0 110-2h10a1 1 0 010 2H4zm2 4a1 1 0 110-2h6a1 1 0 010 2H6zm-2 4a1 1 0 010-2h10a1 1 0 010 2H4z"/></svg>',
'align-justify': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 6a1 1 0 110-2h10a1 1 0 010 2H4zm0 4a1 1 0 110-2h10a1 1 0 010 2H4zm0 4a1 1 0 010-2h10a1 1 0 010 2H4z"/></svg>',
'align-left': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 6a1 1 0 110-2h10a1 1 0 010 2H4zm0 4a1 1 0 110-2h6a1 1 0 010 2H4zm0 4a1 1 0 010-2h10a1 1 0 010 2H4z"/></svg>',
'align-none': '<svg width="18" height="18"><path fill-rule="nonzero" d="M9 4l-.8 2H4a1 1 0 110-2h5zm4.5 0h.5a1 1 0 010 2h-1.4l.9-2zM7.3 8l-1 2H4a1 1 0 110-2h3.3zm4.4 0H14a1 1 0 010 2h-3.3l1-2zm-6.3 4l-.9 2H4a1 1 0 010-2h1.4zm4.4 0H14a1 1 0 010 2H9l.8-2zm2-9.2c.4.2.6.6.4 1l-5 11c-.2.4-.6.6-1 .4a.8.8 0 01-.4-1l5-11c.2-.4.6-.6 1-.4z"/></svg>',
'align-right': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 6a1 1 0 110-2h10a1 1 0 010 2H4zm4 4a1 1 0 110-2h6a1 1 0 010 2H8zm-4 4a1 1 0 010-2h10a1 1 0 010 2H4z"/></svg>',
'arrow-left': '<svg width="18" height="18"><path d="M5 9.9l7.6 3.8a1 1 0 001.4-.9V5.2a1 1 0 00-1.4-1l-7.7 4a1 1 0 000 1.7z" fill-rule="evenodd"/></svg>',
'arrow-right': '<svg width="18" height="18"><path d="M13.4 10l-7.9 3.9a1 1 0 01-1.5-1V5a1 1 0 011.5-.9l8 4a1 1 0 010 1.8z" fill-rule="evenodd"/></svg>',
'bold': '<svg width="18" height="18"><path d="M5.7 15c-.3 0-.4 0-.5-.2l-.2-.4V3.6c0-.2 0-.4.2-.5l.5-.1H10c1.3 0 2.3.3 3 .8.6.6 1 1.3 1 2.2 0 .6-.2 1.1-.6 1.6-.4.5-.8.8-1.3 1v.1c.3 0 .7.2 1 .5.4.2.7.6 1 1 .2.4.3.8.3 1.3 0 1.2-.3 2-1 2.6-.8.6-1.9.9-3.3.9H5.7zm4.2-7c.6 0 1-.2 1.4-.5.4-.3.6-.7.6-1.1 0-1-.7-1.5-2-1.5H7v3h3zm.5 5c.6 0 1.1 0 1.5-.4.3-.2.5-.7.5-1.2s-.2-.9-.6-1.2c-.4-.2-1-.4-1.7-.4H7v3.3h3.4z" fill-rule="evenodd"/></svg>',
'bookmark': '<svg width="18" height="18"><path fill-rule="nonzero" d="M5 3v13l4-4 4 4V3c0-.6-.4-1-1-1H6a1 1 0 00-1 1z"/></svg>',
'border-width': '<svg width="18" height="18"><path fill-rule="nonzero" d="M2 7V4h14v3H2zm0 4V9h14v2H2zm0 3v-1h14v1H2z"/></svg>',
'brightness': '<svg width="18" height="18"><path d="M9 14c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.7-.3A1 1 0 018 16v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3zM9 4a1 1 0 01-.7-.3A1 1 0 018 3V2c0-.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 019 4zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 01-.7.3h-1a1 1 0 01-.7-.3A1 1 0 0114 9c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1zM4 9c0 .3-.1.5-.3.7a1 1 0 01-.7.3H2a1 1 0 01-.7-.3A1 1 0 011 9c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7zm10 3.5l.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 01-.8.3 1 1 0 01-.7-.3l-.7-.7a1 1 0 01-.3-.8c0-.2.1-.5.3-.7a1 1 0 011.4 0zm-10-7l-.7-.8a1 1 0 01-.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 01-.7.3 1 1 0 01-.8-.3zm10 0a1 1 0 01-.8.3 1 1 0 01-.7-.3 1 1 0 01-.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 010 1.4l-.8.8a1 1 0 01-.6.3 1 1 0 01-.8-.3 1 1 0 01-.3-.8c0-.2.1-.5.3-.7l.7-.7zM9 5a4 4 0 013.7 2.4 4 4 0 010 3.2A4 4 0 019 13a4 4 0 01-3.7-2.4 4 4 0 010-3.2A4 4 0 019 5zm0 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="18" height="18"><path fill-rule="nonzero" d="M15 1a2 2 0 012 2v11a2 2 0 01-2 2h-4v-2h4V5H3v9h4v2H3a2 2 0 01-2-2V3c0-1.1.9-2 2-2h12zM8 9.4l-2.3 2.3a1 1 0 11-1.4-1.4l4-4a1 1 0 011.4 0l4 4a1 1 0 01-1.4 1.4L10 9.4V16a1 1 0 01-2 0V9.4z"/></svg>',
'cancel': '<svg width="18" height="18"><path fill-rule="nonzero" d="M10 9l2.2 2a.8.8 0 01-1.1 1.2L9 10l-2 2a.8.8 0 01-1.2-1L8 9 6 7a.8.8 0 011-1.2L9 8l2-2a.8.8 0 011.2 1L10 9zm-1 8A8 8 0 119 1a8 8 0 010 16zm0-1.5a6.5 6.5 0 100-13 6.5 6.5 0 000 13z"/></svg>',
'change-case': '<svg width="18" height="18"><path d="M14.8 14.4V14c-.3.6-.9 1-1.7 1-1.6 0-2.4-1.3-2.4-3.9 0-2.5.8-3.8 2.4-3.8.8 0 1.3.3 1.7 1v-.6c0-.4.3-.6.6-.6s.6.3.6.6v6.8c0 .3-.3.6-.6.6a.6.6 0 01-.6-.6zm-1.4-6c-1 0-1.3.7-1.3 2.6 0 2 .3 2.7 1.2 2.7 1 0 1.3-.8 1.3-2.6 0-2-.3-2.7-1.2-2.7zm-5.7 3.5H4l-.6 2a1 1 0 01-1 .8.6.6 0 01-.6-.8L5 3.9a.9.9 0 011.6 0l3.3 10a.6.6 0 01-.6.8 1 1 0 01-1-.7l-.7-2zm-.2-1.2L5.9 5.3l-1.6 5.4h3.2z" fill-rule="evenodd"/></svg>',
'character-count': '<svg width="18" height="18"><path d="M1 8.8h16v1H1v-1zM5.8 2v5.3H4.7V3h-1V2h2zM8 5.4v.8h2v1.1H7V4.9l2-1V3H7V2h3v2.4l-2 1zM14.3 2v5.3h-3.1v-1h2.1V5.2h-2.1V4.1h2.1V3h-2.1V2h3.1zM2.8 13.7c0-.5.2-.8.5-1 .2-.3.6-.4 1.2-.4.3 0 .6 0 .8.2.2 0 .4.1.5.3.2 0 .3.2.4.4V16l.2.3H5.2V16 16l-.6.3H4c-.4 0-.7 0-1-.3a1 1 0 01-.3-.8c0-.4 0-.7.3-.9l1.2-.4.6-.1h.3v-.3l-.1-.2a.8.8 0 00-.5-.1 1 1 0 00-.4.1l-.3.4h-1zm2.3.8h-.2-.2l-.4.2a1 1 0 00-.4.1l-.2.3.1.3.5.1.4-.1.4-.4v-.5zM7 11h1.2v1.8c.1-.2.3-.3.5-.3h.5c.5 0 .9 0 1.2.4.3.4.5.9.5 1.4 0 .6-.2 1.2-.5 1.6-.3.4-.7.6-1.3.6-.2 0-.4 0-.6-.2l-.4-.4v.4H7.1V11zm1.1 3.3c0 .4 0 .6.2.8a.7.7 0 001.2 0l.2-.8c0-.3 0-.6-.2-.8a.7.7 0 00-.6-.3c-.2 0-.4.2-.6.4l-.2.7zm6.1-.5c0-.1 0-.3-.2-.4a.8.8 0 00-.5-.1c-.3 0-.5 0-.6.3l-.2.8c0 .4 0 .7.2.9.1.2.3.2.6.2l.5-.1.2-.5h1.1c0 .5-.3.9-.6 1.2a2 2 0 01-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 01-.5-1.4c0-.7.1-1.2.5-1.5.3-.4.8-.6 1.4-.6.5 0 1 .1 1.2.4.4.3.5.6.5 1.1h-1z" fill-rule="evenodd"/></svg>',
'checklist-rtl': '<svg width="18" height="18"><path fill-rule="nonzero" d="M3 7a1 1 0 110-2h6a1 1 0 110 2H3zm0 6a1 1 0 010-2h6a1 1 0 010 2H3zm12-9c.3-.4.7-.5 1-.3.3.2.3.6.1 1l-2 3.4c-.3.3-.8.4-1 0l-1.4-1.3a.7.7 0 010-1c.2-.2.6-.2.9 0l.8.9L15 3.9zm0 5.3c.3-.3.7-.4 1-.2.3.2.3.6.1 1l-2 3.3c-.3.4-.8.5-1 .1l-1.4-1.4a.7.7 0 010-.9c.2-.3.6-.3.9 0l.8.8L15 9.3z"/></svg>',
'checklist': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 7a1 1 0 110-2h6a1 1 0 010 2H8zm0 6a1 1 0 010-2h6a1 1 0 010 2H8zM5.2 4c.2-.4.6-.5.9-.3.3.2.4.6.2 1L4 8c-.2.3-.7.4-1 0L1.8 6.9a.7.7 0 010-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0 5.3c.2-.3.6-.4.9-.2.3.2.4.6.2 1L4 13.3c-.2.4-.7.5-1 .1l-1.3-1.4a.7.7 0 010-.9c.3-.3.7-.3 1 0l.7.8 1.7-2.7z"/></svg>',
'checkmark': '<svg width="18" height="18"><path fill-rule="nonzero" d="M7.8 13.4l-3-3.1a1 1 0 00-1.5 1.4l4.9 4.9 7.6-12a1 1 0 00-1.6-1.1l-6.4 10z"/></svg>',
'chevron-down': '<svg width="10" height="10"><path fill-rule="nonzero" d="M5.2 5.8l2.4-2.5a.8.8 0 011 1L5.3 8 1.6 4.4a.8.8 0 011-1l2.6 2.4z"/></svg>',
'chevron-left': '<svg width="10" height="10"><path fill-rule="nonzero" d="M4.4 5l2.5-2.5a.8.8 0 00-1.1-1L2.3 5l3.5 3.5a.8.8 0 001-1L4.5 5z"/></svg>',
'chevron-right': '<svg width="10" height="10"><path fill-rule="nonzero" d="M6 5L3.4 2.5a.8.8 0 011-1L8.1 5 4.5 8.5a.8.8 0 01-1-1L5.9 5z"/></svg>',
'chevron-up': '<svg width="10" height="10"><path fill-rule="nonzero" d="M5.2 4.2l2.4 2.5a.8.8 0 001-1L5.3 2 1.6 5.6a.8.8 0 001 1l2.6-2.4z"/></svg>',
'close': '<svg width="18" height="18"><path fill-rule="nonzero" d="M10.4 9l4.3 4.3a1 1 0 01-1.4 1.4L9 10.4l-4.3 4.3a1 1 0 11-1.4-1.4L7.6 9 3.3 4.7a1 1 0 011.4-1.4L9 7.6l4.3-4.3a1 1 0 011.4 1.4L10.4 9z"/></svg>',
'code-sample': '<svg width="18" height="18"><path d="M4.3 7.5a2.8 2.8 0 01-1 2 2.8 2.8 0 011 2v1.7c0 .3 0 .6.3.8.2.3.5.4.9.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.8 0-1.5-.3-2-.8-.6-.6-.9-1.3-.9-2v-1.7c0-.3 0-.6-.3-.8-.3-.3-.6-.4-.9-.4A.4.4 0 011 10v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.9-.4.2-.2.3-.5.3-.8V5.8c0-.7.3-1.4.9-2 .5-.5 1.2-.8 2-.8.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.4 0-.7.1-.9.4-.2.2-.3.5-.3.8v1.7zm9.7 0V5.8c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 01-.4-.4v-.8c0-.2.2-.4.4-.4.8 0 1.4.3 2 .8.5.6.8 1.3.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-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.2.8-2 .8a.4.4 0 01-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8v-1.7a2.8 2.8 0 01.9-2 2.8 2.8 0 01-.9-2zM10.7 7c0 .4-.1.8-.4 1.1-.3.3-.7.5-1.2.5-.4 0-.8-.2-1.1-.5-.3-.3-.5-.7-.5-1.1 0-.5.2-.9.5-1.2.3-.3.7-.4 1.1-.4.5 0 .9.1 1.2.4.3.3.4.7.4 1.2zM9.2 9.5c.5 0 .9.1 1.2.5.3.3.4.7.4 1.1 0 1-.1 1.6-.4 2a3 3 0 01-1.2 1c-.4.3-.8.4-1.1.4a.5.5 0 01-.5-.5v-.5a3 3 0 001-.2l.7-.6c-.7 0-1.1-.2-1.3-.5-.3-.3-.4-.7-.4-1 0-.5.2-1 .5-1.2.3-.4.7-.5 1.1-.5z" fill-rule="evenodd"/></svg>',
'color-levels': '<svg width="18" height="18"><path d="M13.6 8.5a8.2 8.2 0 01.4 2.4l-.1 1.1a4.8 4.8 0 01-1.3 2.3 5.1 5.1 0 01-2.2 1.5 4.6 4.6 0 01-2.8 0 4.8 4.8 0 01-2.2-1.5A5.4 5.4 0 014 12a6 6 0 010-2.3l.3-1.2a12.1 12.1 0 011.9-3.6A17.2 17.2 0 019 2a22.5 22.5 0 012.7 3 16 16 0 012 3.5zM12 12.4c.3-.6.4-1.2.3-1.8a6.7 6.7 0 00-.8-2.7c.2.5.2 1 .2 1.6a4 4 0 01-.5 1.8 4.5 4.5 0 01-2.6 2.2 3.9 3.9 0 01-1.6 0c.3.3.6.4 1 .6l1 .2c.6 0 1.2-.2 1.7-.6.6-.3 1-.8 1.3-1.3z" fill-rule="evenodd"/></svg>',
'color-swatch': '<svg width="18" height="18"><rect width="14" height="14" x="2" y="2" rx="1" fill-rule="evenodd"/></svg>',
'comment-add': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M8 14l3-2h3c.6 0 1-.4 1-1V4c0-.6-.4-1-1-1H4a1 1 0 00-1 1v7c0 .6.4 1 1 1h4v2zm-2 4v-4H4a3 3 0 01-3-3V4a3 3 0 013-3h10a3 3 0 013 3v7a3 3 0 01-3 3h-2.4L6 18z"/><path d="M10 7h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V9H6a1 1 0 110-2h2V5a1 1 0 112 0v2z"/></g></svg>',
'comment': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 14l3-2h3c.6 0 1-.4 1-1V4c0-.6-.4-1-1-1H4a1 1 0 00-1 1v7c0 .6.4 1 1 1h4v2zm-2 4v-4H4a3 3 0 01-3-3V4a3 3 0 013-3h10a3 3 0 013 3v7a3 3 0 01-3 3h-2.4L6 18z"/></svg>',
'contrast': '<svg width="18" height="18"><path d="M9 1a7.8 7.8 0 015.7 2.3A8 8 0 119 1zM3 9a6 6 0 006 6V3a6 6 0 00-6 6z" fill-rule="evenodd"/></svg>',
'copy': '<svg width="18" height="18"><path fill-rule="nonzero" d="M12 1H4a2 2 0 00-2 2v10c0 1.1.9 2 2 2V3h10a2 2 0 00-2-2zm2 3a2 2 0 012 2v9a2 2 0 01-2 2H7a2 2 0 01-2-2V6c0-1.2.9-2 2-2h7zm0 11V6H7v9h7z"/></svg>',
'crop': '<svg width="18" height="18"><path d="M14 5v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 01-1-1v-2H4V6H2a1 1 0 110-2h2V2c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3zM6 6v5l5-5H6zm1 6h5V7l-5 5z" fill-rule="evenodd"/></svg>',
'cut-column': '<svg width="18" height="18"><path fill-rule="evenodd" d="M3.7 2c.9 0 1.6.4 2.2 1A3.7 3.7 0 017 5.6V6l1 1 4-4 1-.5a3.3 3.3 0 012 0c.4 0 .7.3 1 .5h1v14h-5V7l-2 2 1 1v4l-3-3-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 012.2-2.1c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2S2.5 7.4 2 7c-.4-.3-.6-.7-.8-1.2L1 4.5c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7zm11.8 2.5h-.9l-1.1 1.1v9.9h2v-11zm-11 6.8h-.3l-.4.2a2.8 2.8 0 00-.7.4v.1a2.8 2.8 0 00-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 00.8-.3 2.4 2.4 0 00.7-.7 2.5 2.5 0 00.3-.8 1.5 1.5 0 000-.8 1 1 0 00-.2-.4 1 1 0 00-.5-.2h-.4zM8 7.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-.4zM3.5 3.3H3a1 1 0 00-.5.3 1 1 0 00-.2.5v.7a2.5 2.5 0 00.3.8L3 6H3l.4.4.4.2.4.1h.7l.5-.2.2-.4a1.6 1.6 0 000-.8 2.6 2.6 0 00-.3-.8 2.5 2.5 0 00-1.1-.9l-.4-.1h-.3z"/></svg>',
'cut-row': '<svg width="18" height="18"><path fill-rule="evenodd" d="M17 1v5H7l2 2 1-1h4l-3 3 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 01-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5s-.4 1-.9 1.4c-.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 015.6 11H6l1-1-4-4-.5-1a3.3 3.3 0 010-2c0-.4.3-.7.5-1V1h14zM5.5 12.3h-.3a2.6 2.6 0 00-.8.4 2.5 2.5 0 00-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 00.8-.3L6 15V15l.4-.4.2-.4.1-.4v-.3-.4a1 1 0 00-.2-.5 1 1 0 00-.4-.2h-.5zm7 0H12a1 1 0 00-.4.3 1 1 0 00-.2.5 1.5 1.5 0 000 .7v.4a2.8 2.8 0 00.5.7h.1a2.8 2.8 0 00.8.6l.4.1h.7l.5-.2.2-.5v-.4-.3a2.6 2.6 0 00-.3-.8 2.4 2.4 0 00-.7-.7 2.5 2.5 0 00-.8-.3h-.3zM9 8.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-.4zm6.5-6.1h-11v.9l1.1 1.1h9.9v-2z"/></svg>',
'cut': '<svg width="18" height="18"><path d="M15 12c.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 01-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5s-.4 1-.9 1.4c-.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 015.6 11H6l1-1-4-4-.5-1a3.3 3.3 0 010-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 010 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.2l.1-.4v-.3-.4a1 1 0 00-.2-.5 1 1 0 00-.4-.2 1.6 1.6 0 00-.8 0 2.6 2.6 0 00-.8.3 2.5 2.5 0 00-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 00.8-.3 2.8 2.8 0 001-1zM9 11.4c.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 4l.2-.5v-.4-.3a2.6 2.6 0 00-.3-.8 2.4 2.4 0 00-.7-.7 2.5 2.5 0 00-.8-.3 1.5 1.5 0 00-.8 0 1 1 0 00-.4.2 1 1 0 00-.2.5 1.5 1.5 0 000 .7v.4l.3.4.3.4a2.8 2.8 0 00.8.5l.4.1h.7l.5-.2z" fill-rule="evenodd"/></svg>',
'document-properties': '<svg width="18" height="18"><path fill-rule="nonzero" d="M10.4 1H5a2 2 0 00-2 2v12c0 1.1.9 2 2 2h8a2 2 0 002-2V5.6L10.4 1zM13 15H5V3h4v4h4v8z"/></svg>',
'drag': '<svg width="18" height="18"><path d="M10 2h2v2h-2V2zm0 4h2v2h-2V6zM6 6h2v2H6V6zm4 4h2v2h-2v-2zm-4 0h2v2H6v-2zm0 4h2v2H6v-2zm4 0h2v2h-2v-2zM6 2h2v2H6V2z" fill-rule="evenodd"/></svg>',
'duplicate-column': '<svg width="18" height="18"><path d="M14 4v13H7V4h7zm-2 2H9v9h3V6zm-1-5v2H6v11H4V1h7z"/></svg>',
'duplicate-row': '<svg width="18" height="18"><path fill-rule="evenodd" d="M17 7v7H4V7h13zm-2 2H6v3h9V9zm-1-5v2H3v5H1V4h13z"/></svg>',
'duplicate': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M12 1a2 2 0 012 2H4v12a2 2 0 01-2-2V3c0-1.1.9-2 2-2h8zm4 6h-2V6H7v9h9a2 2 0 01-2 2H7a2 2 0 01-2-2V6c0-1.2.9-2 2-2h7a2 2 0 012 2v1z"/><path d="M14 10h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 010-2h1V9a1 1 0 012 0v1z"/></g></svg>',
'edit-block': '<svg width="18" height="18"><path fill-rule="nonzero" d="M16 6.8l-7.4 7.4c-.3.3-.6.4-.9.5l-5.4 1.2 1.2-5.4c0-.3.2-.6.5-.9l7.4-7.4c.6-.6 1.8-.6 2.4 0L16 4.4c.6.6.6 1.7 0 2.4zm-1.1-1c.1-.1.1-.3 0-.4l-2.1-2.1a.2.2 0 00-.4 0l-.9.9L14 6.7l.9-1zm-4.4-.6l-4 4 2.4 2.5 4-4-2.4-2.5zm-5 5.1l-.5.4v.1L4.3 14l3-.7h.2l.4-.4-2.5-2.5z"/></svg>',
'edit-image': '<svg width="18" height="18"><path fill-rule="nonzero" d="M14 12h2V5a2 2 0 00-2-2H5v2h9v7zM4 13h13a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1H4a2 2 0 01-2-2V5H1a1 1 0 110-2h1V2a1 1 0 112 0v11zm2.7-4.3l1 2L10 6l3 6H5l1.7-3.3z"/></svg>',
'embed-page': '<svg width="18" height="18"><path fill-rule="nonzero" d="M15 4V3H3v12h3.2A9 9 0 0115 4zm0 1c-.6 0-1.4 2-1.8 5H15V5zm-2 6a24.6 24.6 0 000 4h2v-4h-2zm-1 2v-2h-1.8a12.4 12.4 0 000 4H12l-.1-2zm-3 0l.1-2H7.3a8 8 0 000 4H9L9 13zM3 1h12a2 2 0 012 2v12a2 2 0 01-2 2H3a2 2 0 01-2-2V3c0-1.1.9-2 2-2zm6.3 9c.4-1.6 1.1-3 2-4.1A8 8 0 007.6 10h1.7zm4-4.5c-1.3.7-2.4 2.4-3 4.5h1.9a14 14 0 011.2-4.5z"/></svg>',
'embed': '<svg width="18" height="18"><path fill-rule="nonzero" d="M3 1h12a2 2 0 012 2v12a2 2 0 01-2 2H3a2 2 0 01-2-2V3c0-1.1.9-2 2-2zm0 2v12h12V3H3zm9 6l-5 4V5l5 4z"/></svg>',
'emoji': '<svg width="18" height="18"><path fill-rule="nonzero" d="M6 8c.5 0 1-.5 1-1s-.5-1-1-1a1 1 0 00-1 1c0 .5.5 1 1 1zm6 0c.6 0 1-.5 1-1s-.4-1-1-1a1 1 0 00-1 1c0 .5.4 1 1 1zm-3 5.5c2.1 0 4-1.5 4.4-3.5H4.6c.5 2 2.3 3.5 4.4 3.5zM9 1a8 8 0 100 16A8 8 0 009 1zm0 14.5a6.5 6.5 0 110-13 6.5 6.5 0 010 13z"/></svg>',
'export': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M12 17H5c-1 0-2-.8-2-1.9V3c0-1 .8-2 1.9-2h5.5l4 4H9V3H5v12h7a1 1 0 010 2z"/><path d="M13.8 6.4l2.4 3.6-2.4 3.6a1 1 0 01-1.7-1v-.2l1-1.4H8a1 1 0 01-.1-2H13l-1-1.4a1 1 0 01.3-1.4 1 1 0 011.4.2z"/></g></svg>',
'fill': '<svg width="18" height="18"><path fill-rule="nonzero" d="M14.6 9l-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L7 16.6a1.5 1.5 0 002.2 0l5.5-5.5c.6-.6.6-1.6 0-2.2zM3.2 10L8 5.2l4.8 4.8H3.2zM15 12.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 002-2c0-1.3-2-3.5-2-3.5z"/></svg>',
'flip-horizontally': '<svg width="18" height="18"><path fill-rule="nonzero" d="M11 16h2v-2h-2v2zm4-8h2V6h-2v2zM1 4v10c0 1.1.9 2 2 2h3v-2H3V4h3V2H3a2 2 0 00-2 2zm14-2v2h2a2 2 0 00-2-2zM8 18h2V0H8v18zm7-6h2v-2h-2v2zm-4-8h2V2h-2v2zm4 12a2 2 0 002-2h-2v2z"/></svg>',
'flip-vertically': '<svg width="18" height="18"><path fill-rule="nonzero" d="M2 11v2h2v-2H2zm8 4v2h2v-2h-2zm4-14H4a2 2 0 00-2 2v3h2V3h10v3h2V3a2 2 0 00-2-2zm2 14h-2v2a2 2 0 002-2zM0 8v2h18V8H0zm6 7v2h2v-2H6zm8-4v2h2v-2h-2zM2 15c0 1.1.9 2 2 2v-2H2z"/></svg>',
'format-painter': '<svg width="18" height="18"><path fill-rule="nonzero" d="M13 4V3c0-.5-.4-1-1-1H3a1 1 0 00-1 1v4c0 .5.5 1 1 1h9c.6 0 1-.5 1-1V6h1v4H7v6c0 .6.5 1 1 1h2c.6 0 1-.4 1-1v-4h5V4h-3z"/></svg>',
'format': '<svg width="18" height="18"><path fill-rule="evenodd" d="M13 3a1 1 0 010 2h-3v9a1 1 0 01-2 0V5H5a1 1 0 110-2h8z"/></svg>',
'fullscreen': '<svg width="18" height="18"><path fill-rule="nonzero" d="M12.3 7l-1.2-1.3 2.9-3h-2.3a.9.9 0 110-1.7H16c.5 0 .9.4.9.9v4.4a.9.9 0 11-1.8 0V4l-2.9 3zm0 4l3 3v-2.3a.9.9 0 111.7 0V16c0 .5-.4.9-.9.9h-4.4a.9.9 0 110-1.8H14l-3-2.9 1.3-1.2zM7 12.4l-2.9 3h2.3a.9.9 0 110 1.7H2a.9.9 0 01-.9-.9v-4.4a.9.9 0 111.8 0V14l2.9-3 1.2 1.3zM5.7 7L2.7 4v2.3a.9.9 0 11-1.7 0V2c0-.5.4-.9.9-.9h4.4a.9.9 0 110 1.8H4l3 2.9-1.3 1.2z"/></svg>',
'gallery': '<svg width="18" height="18"><g fill-rule="nonzero"><rect width="14" height="1" x="2" y="3" rx=".5"/><rect width="10" height="1" x="4" y="1" rx=".5"/><path d="M3 13l4-4 2.5 2.4 3-3L15 11V7H3v6zm0 2h3l2.4-2.5L7 11.1 3 15zm12-2l-2.5-2.4L8.1 15H15v-2zM3 5h12a2 2 0 012 2v8a2 2 0 01-2 2H3a2 2 0 01-2-2V7c0-1.1.9-2 2-2z"/></g></svg>',
'gamma': '<svg width="18" height="18"><path fill-rule="nonzero" d="M1.9 1H16c.5 0 .9.4.9.9V16c0 .5-.4.9-.9.9H2a.9.9 0 01-.9-.9V2c0-.5.4-.9.9-.9zM3 3v12h12V3H3zm5.5 10.8V11L6.2 5.7a5.1 5.1 0 00-.4-.8l-.1-.2H5 5v-1l.3-.1.3-.1h.7a1 1 0 01.6.5l.1.3a8.5 8.5 0 01.3.6l1.9 4.6 2-5.2a1 1 0 011-.6.5.5 0 01.5.6L10 11v2.8a.7.7 0 01-1.4 0z"/></svg>',
'help': '<svg width="18" height="18"><g fill-rule="evenodd"><path d="M9 2.5a6.5 6.5 0 00-6 9 6.3 6.3 0 001.4 2l1 1a6.3 6.3 0 003.6 1 6.5 6.5 0 006-9 6.3 6.3 0 00-1.4-2l-1-1a6.3 6.3 0 00-3.6-1zM9 1a7.8 7.8 0 015.7 2.3A8 8 0 119 1z"/><path fill-rule="nonzero" d="M6.6 6.7a.7.7 0 01-.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 00-.8.8.8.8 0 11-1.4-.6c.3-.7.8-1 1.3-1.5L10 8c.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"/><circle cx="9" cy="13" r="1"/></g></svg>',
'highlight-bg-color': '<svg width="18" height="18"><g fill-rule="evenodd"><path id="tox-icon-highlight-bg-color__color" d="M1 14h16v3H1z"/><path fill-rule="nonzero" d="M5.7 12.7H3l2.3-2.3-.7-.8L8.2 6l3 3.1-3 3.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zM9 5.4l3-2.9a2 2 0 012.6 0l.4.5c.7.7.7 2 0 2.7l-2.9 2.9L9 5.4z"/></g></svg>',
'home': '<svg width="18" height="18"><path fill-rule="nonzero" d="M7 17v-6h4v6h3V9h3L9 1 1 9h3v8z"/></svg>',
'horizontal-rule': '<svg width="18" height="18"><path d="M1 8h16v2H1z" fill-rule="evenodd"/></svg>',
'image-options': '<svg width="18" height="18"><path fill-rule="nonzero" d="M3 7a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm12 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zM9 7a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2z"/></svg>',
'image': '<svg width="18" height="18"><path fill-rule="nonzero" d="M6 15l2.4-2.5L7 11.1 3 15h3zm2 0h7v-2l-2.5-2.4L8.1 15zm7-4V3H3v10l4-4 2.5 2.4 3-3L15 11zM3 1h12a2 2 0 012 2v12a2 2 0 01-2 2H3a2 2 0 01-2-2V3c0-1.1.9-2 2-2zm6 5a2 2 0 11-4 0 2 2 0 014 0z"/></svg>',
'indent': '<svg width="18" height="18"><path fill-rule="nonzero" d="M11 3a1 1 0 012 0v12a1 1 0 01-2 0V3zM7.6 9L4.3 5.7a1 1 0 011.4-1.4L10.4 9l-4.7 4.7a1 1 0 11-1.4-1.4L7.6 9z"/></svg>',
'info': '<svg width="18" height="18"><path d="M9 1a7.8 7.8 0 015.7 2.3A8 8 0 119 1zM8 4v2h2V4H8zm3 10v-1h-1V8H7v1h1v4H7v1h4z" fill-rule="evenodd"/></svg>',
'insert-character': '<svg width="18" height="18"><path d="M12 15h4l1-2v4h-6v-3.3l1.4-1a6 6 0 001.8-2.9 6.3 6.3 0 00-.1-4.1 5.8 5.8 0 00-3-3.2C10.5 2.2 9.8 2 9 2a5.1 5.1 0 00-3.9 1.8 6.3 6.3 0 00-1.3 6 6.2 6.2 0 001.8 3l1.4.9V17H1v-4l1 2h4v-.5l-2-1L2.4 12A6.5 6.5 0 011 8c0-1 .2-1.9.6-2.7A7 7 0 013.3 3C4.1 2.4 5 2 6 1.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 015.7 2 7 7 0 011.7 2.3 6 6 0 01.2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 01-3.6 2.5v.5z" fill-rule="evenodd"/></svg>',
'insert-time': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M9 15A6 6 0 109 3a6 6 0 000 12zm0 2A8 8 0 119 1a8 8 0 010 16z"/><path d="M12 9h-2V5c0-.6-.4-1-1-1a1 1 0 00-1 1v6h4c.6 0 1-.4 1-1s-.4-1-1-1z"/></g></svg>',
'invert': '<svg width="18" height="18"><path d="M15 16.3L13.5 15a5.8 5.8 0 01-3.1 1.9 6.1 6.1 0 01-5.5-1.6A5.8 5.8 0 013 11v-.3l.1-1.2A13.9 13.9 0 014.7 6l-3-3 .7-.8 2.9 2.9 8.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 00.2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 00-3-4.2L9 3a26.1 26.1 0 00-2.2 2.5l-1-1a20.9 20.9 0 012.9-3.3L9 1l1 .8a22.2 22.2 0 014 5.4c.6 1.2 1 2.4 1 3.6z" fill-rule="evenodd"/></svg>',
'italic': '<svg width="18" height="18"><path d="M12.4 3l-.1.7H12c-.6 0-1 .1-1.2.3-.2.2-.4.5-.5 1l-1.7 8.2v.4c0 .5.3.7 1.1.7h.2l-.1.7H5l.1-.7h.3c.9 0 1.4-.4 1.6-1.2l1.8-8.3v-.4c0-.5-.4-.7-1.2-.7h-.2l.1-.7h5z" fill-rule="evenodd"/></svg>',
'line-height': '<svg width="18" height="18"><path d="M16 4a1 1 0 01.1 2H10a1 1 0 01-.1-2H16zm0 4a1 1 0 01.1 2H10a1 1 0 01-.1-2H16zm0 4a1 1 0 01.1 2H10a1 1 0 01-.1-2H16zM5 2l1 .9 2 2a.8.8 0 01-1 1.2L6 5v7.8l1-1c.2-.2.7-.2 1 0 .3.3.3.8.1 1v.1L5 16l-3-3A.8.8 0 013 12l1 1V5.1L3 6c-.2.2-.7.2-1 0a.8.8 0 01-.1-1V5L4 3v-.1l1-1z"/></svg>',
'line': '<svg width="18" height="18"><path d="M12 6l-8 8H1v-3l8-8 3 3zm1-1l-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1zM1 15h16v2H1v-2z" fill-rule="evenodd"/></svg>',
'link': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M8 8h1a2 2 0 110 4H5a2 2 0 01-.7-3.9l.5-.2-.6-1.8-.5.1A4 4 0 005 14h4a4 4 0 100-8H8v2z"/><path d="M10 9H9a2 2 0 110-4h4a2 2 0 01.7 3.9l-.5.2.6 1.8.5-.1A4 4 0 0013 3H9a4 4 0 100 8h1V9z"/></g></svg>',
'lock': '<svg width="18" height="18"><path d="M13.3 7c.2 0 .3 0 .5.2l.2.5v7.5c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V7.8c0-.3 0-.4.2-.6l.5-.2H5V4c0-.8.3-1.5.9-2.1C6.5 1.3 7.2 1 8 1h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3zM7 4v3h4V4a1 1 0 00-.3-.7A1 1 0 0010 3H8a1 1 0 00-.7.3A1 1 0 007 4z" fill-rule="evenodd"/></svg>',
'ltr': '<svg width="18" height="18"><path d="M9 3h6a1 1 0 010 2h-1v9a1 1 0 01-2 0V5h-1v9a1 1 0 01-2 0v-4c-.5 0-1 0-1.4-.3A3.4 3.4 0 015.8 8a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L9 3zM2.4 14.2L4.2 13l-1.8-1.2a1 1 0 011.2-1.6l3 2a1 1 0 010 1.6l-3 2a1 1 0 11-1.2-1.6z" fill-rule="evenodd"/></svg>',
'more-drawer': '<svg width="18" height="18"><path fill-rule="nonzero" d="M3 7a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zm12 0a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2zM9 7a2 2 0 00-2 2c0 1.1.9 2 2 2a2 2 0 002-2 2 2 0 00-2-2z"/></svg>',
'new-document': '<svg width="18" height="18"><path fill-rule="nonzero" d="M10.4 1H5a2 2 0 00-2 2v12c0 1.1.9 2 2 2h8a2 2 0 002-2V5.6L10.4 1zM13 15H5V3h4v4h4v8z"/></svg>',
'new-tab': '<svg width="18" height="18"><path d="M12 10l2-2v8H2V4h8L8 6H4v8h8v-4zm4-8v5.5l-2-2L8.4 11H7V9.6L12.5 4l-2-2H16z" fill-rule="evenodd"/></svg>',
'non-breaking': '<svg width="18" height="18"><path d="M8 8H5a1 1 0 110-2h3V3c0-.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 01-1-1V8zm8 3v5H2v-5c0-.6.4-1 1-1s1 .4 1 1v3h10v-3c0-.6.4-1 1-1s1 .4 1 1z" fill-rule="evenodd"/></svg>',
'notice': '<svg width="18" height="18"><path d="M17 5.5v7L12.5 17h-7L1 12.5v-7L5.5 1h7L17 5.5zM10 14v-2H8v2h2zm0-4V4H8v6h2z" fill-rule="evenodd"/></svg>',
'ordered-list-rtl': '<svg width="18" height="18"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M4 7h6a1 1 0 000-2H4a1 1 0 100 2zM4 13h6a1 1 0 000-2H4a1 1 0 000 2z"/><path d="M15 4v3.5a.5.5 0 11-1 0V5h-.5a.5.5 0 110-1H15zm-1 8.8l.2.2h1.3a.5.5 0 110 1h-1.6a1 1 0 01-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 00-.2-.2h-1.3a.5.5 0 01-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3z"/></g></svg>',
'ordered-list': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 7a1 1 0 110-2h6a1 1 0 010 2H8zm0 6a1 1 0 010-2h6a1 1 0 010 2H8zM4 4v3.5a.5.5 0 01-1 0V5h-.5a.5.5 0 010-1H4zm-1 8.8l.2.2h1.3a.5.5 0 110 1H2.9a1 1 0 01-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 00-.2-.2H2.5a.5.5 0 01-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3z"/></svg>',
'orientation': '<svg width="18" height="18"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M2 7h14v10H2V7zm2 2v6h10V9H4z"/><path d="M2 4h2v2H2V4zm0-3h2v2H2V1zm3 0h2v2H5V1zm3 0h2v2H8V1zm3 0h2v2h-2V1zm0 3h2v2h-2V4z"/></g></svg>',
'outdent': '<svg width="18" height="18"><path fill-rule="nonzero" d="M11 3a1 1 0 012 0v12a1 1 0 01-2 0V3zM5.8 9l3.3 3.3a1 1 0 01-1.4 1.4L3 9l4.7-4.7a1 1 0 011.4 1.4L5.8 9z"/></svg>',
'page-break': '<svg width="18" height="18"><g fill-rule="evenodd"><path d="M2 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 110-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 010-2zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zM4 3v2h10V3c0-.6.4-1 1-1s1 .4 1 1v4H2V3c0-.6.4-1 1-1s1 .4 1 1zM3 16a1 1 0 01-1-1v-4h14v4c0 .6-.4 1-1 1a1 1 0 01-1-1v-2H4v2c0 .6-.4 1-1 1z"/></g></svg>',
'paragraph': '<svg width="18" height="18"><path fill-rule="evenodd" d="M13 3a1 1 0 010 2h-1v9a1 1 0 01-2 0V5H9v9a1 1 0 01-2 0v-4c-.5 0-1 0-1.4-.3A3.4 3.4 0 013.8 8a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L7 3h6zM7 4.5a2 2 0 100 4v-4z"/></svg>',
'paste-column-after': '<svg width="18" height="18"><path d="M9 1a3 3 0 012.8 2H14a2 2 0 012 2v2h-2V5h-1v1c0 .6-.4 1-1 1H6a1 1 0 01-1-1V5H4v10h6v2H4a2 2 0 01-2-2V5c0-1.1.9-2 2-2h2.2A3 3 0 019 1zm7 7v9h-5V8h5zm-1.5 1.5h-2v6h2v-6zM9 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z"/></svg>',
'paste-column-before': '<svg width="18" height="18"><path d="M9 1a3 3 0 012.8 2H14a2 2 0 012 2v10a2 2 0 01-2 2H8v-2h6V5h-1v1c0 .6-.4 1-1 1H6a1 1 0 01-1-1V5H4v2H2V5c0-1.1.9-2 2-2h2.2A3 3 0 019 1zM7 8v9H2V8h5zM5.5 9.5h-2v6h2v-6zM9 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z"/></svg>',
'paste-row-after': '<svg width="18" height="18"><path d="M9 1a3 3 0 012.8 2H14a2 2 0 012 2v6h-2V5h-1v1c0 .6-.4 1-1 1H6a1 1 0 01-1-1V5H4v12a2 2 0 01-2-2V5c0-1.1.9-2 2-2h2.2A3 3 0 019 1zm8 11v5H5v-5h12zm-1.5 1.5h-9v2h9v-2zM9 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z"/></svg>',
'paste-row-before': '<svg width="18" height="18"><path d="M9 1a3 3 0 012.8 2H14a2 2 0 012 2v2h-2V5h-1v1c0 .6-.4 1-1 1H6a1 1 0 01-1-1V5H4v10h10v-1h2v1a2 2 0 01-2 2H4a2 2 0 01-2-2V5c0-1.1.9-2 2-2h2.2A3 3 0 019 1zm8 7v5H5V8h12zm-1.5 1.5h-9v2h9v-2zM9 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z"/></svg>',
'paste-text': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M14 15V5h-1v1c0 .6-.4 1-1 1H6a1 1 0 01-1-1V5H4v10h10zM4 17a2 2 0 01-2-2V5c0-1.1.9-2 2-2h2.2A3 3 0 019 1a3 3 0 012.8 2H14a2 2 0 012 2v10a2 2 0 01-2 2H4zM9 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z"/><path d="M6 8h6v2h-.5L11 9h-1v4h.8v1H7.2v-1H8V9H7l-.5 1H6z"/></g></svg>',
'paste': '<svg width="18" height="18"><path fill-rule="nonzero" d="M14 15V5h-1v1c0 .6-.4 1-1 1H6a1 1 0 01-1-1V5H4v10h10zM4 17a2 2 0 01-2-2V5c0-1.1.9-2 2-2h2.2A3 3 0 019 1a3 3 0 012.8 2H14a2 2 0 012 2v10a2 2 0 01-2 2H4zM9 3a1 1 0 00-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1z"/></svg>',
'permanent-pen': '<svg width="18" height="18"><path d="M8.5 14.5L6 17H2v-3l3-3c-.5-.7-.4-1.6.2-2.2l7.3-7.3a.8.8 0 011 1L6.2 9.8v.4l3.6 3.6h.4l5.3-5.3a.8.8 0 011 1l-5.3 5.3c-.6.7-1.8.7-2.4 0l-.3-.3z" fill-rule="evenodd"/></svg>',
'plus': '<svg width="18" height="18"><path fill-rule="nonzero" d="M10 8h5a1 1 0 010 2h-5v5a1 1 0 01-2 0v-5H3a1 1 0 110-2h5V3a1 1 0 112 0v5z"/></svg>',
'preferences': '<svg width="18" height="18"><path d="M15.1 10.2l-1.3.1a4.5 4.5 0 01-.5 1.2l.9 1c.3.4.3 1 0 1.4l-.3.2a1 1 0 01-1.4.1l-1-.9a4.8 4.8 0 01-1.2.5l-.1 1.3c0 .5-.5.9-1 .9h-.4a1 1 0 01-1-.9l-.1-1.3a4.5 4.5 0 01-1.2-.5l-1 .9a1 1 0 01-1.4 0l-.2-.3a1 1 0 01-.1-1.4l.9-1a4.8 4.8 0 01-.5-1.2l-1.3-.1a1 1 0 01-.9-1v-.4c0-.5.4-1 .9-1l1.3-.1a4.5 4.5 0 01.5-1.2l-.9-1a1 1 0 010-1.4l.3-.2a1 1 0 011.4-.1l1 .9a4.8 4.8 0 011.2-.5l.1-1.3c0-.5.5-.9 1-.9h.4c.5 0 1 .4 1 .9l.1 1.3a4.5 4.5 0 011.2.5l1-.9a1 1 0 011.4 0l.2.3c.4.4.4 1 .1 1.4l-.9 1a4.8 4.8 0 01.5 1.2l1.3.1c.5 0 .9.5.9 1v.4c0 .5-.4 1-.9 1zM9 11a2 2 0 100-4 2 2 0 000 4z" fill-rule="evenodd"/></svg>',
'preview': '<svg width="18" height="18"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M1.3 9.5c.5.8 1 1.6 1.7 2.3 1.7 2 3.8 3.2 6 3.2s4.3-1.2 6-3.2A16 16 0 0017 9a16 16 0 00-2-2.8C13.3 4.2 11.2 3 9 3S4.7 4.2 3 6.2A16 16 0 001 9m3.5-1.5C6 5.8 7.5 5 9 5s3 .8 4.5 2.5L14.7 9l-1.2 1.5C12 12.2 10.5 13 9 13s-3-.8-4.5-2.5L3.3 9"/><path d="M9.9 6.1a1.5 1.5 0 102 2 3 3 0 11-2-2z"/></g></svg>',
'print': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M14 5a3 3 0 013 3v5h-2v3H3v-3H1V8a3 3 0 013-3h10zm0 9v-4H4v4h10zm-.5-5c.8 0 1.5-.7 1.5-1.5S14.3 6 13.5 6 12 6.7 12 7.5 12.7 9 13.5 9zM14 2H4v2h10z"/></g></svg>',
'quote': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4.5 14h.9c.4 0 .7-.2.9-.6L8 10V5c0-.6-.4-1-1-1H3a1 1 0 00-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 00.8 1.3zm8 0h.9c.4 0 .7-.2.9-.6L16 10V5c0-.6-.4-1-1-1h-4a1 1 0 00-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 00.8 1.3z"/></svg>',
'redo': '<svg width="18" height="18"><path fill-rule="nonzero" d="M12.6 8H6.9C5.1 8 4 9.1 4 11c0 1.3.4 2.4 1.3 3.3a1 1 0 11-1.4 1.4A6.5 6.5 0 012 11c0-3 2-5 5-5h5.6l-2.3-2.3a1 1 0 011.4-1.4L16.4 7l-4.7 4.7a1 1 0 01-1.4-1.4L12.6 8z"/></svg>',
'reload': '<svg width="18" height="18"><path fill-rule="nonzero" d="M12 5a5 5 0 00-8 4 1 1 0 11-2 0 7 7 0 0111-5.7V2a1 1 0 012 0v5h-5a1 1 0 110-2h2zm-6 8a5 5 0 008-4 1 1 0 012 0 7 7 0 01-11 5.7V16a1 1 0 01-2 0v-5h5a1 1 0 010 2H6z"/></svg>',
'remove-formatting': '<svg width="18" height="18"><path fill-rule="nonzero" d="M13 13l1.7-1.8a.8.8 0 011 1L14.2 14l1.7 1.7a.8.8 0 01-1 1L13 15.2l-1.7 1.7a.8.8 0 01-1-1l1.6-1.8-1.7-1.7a.8.8 0 011-1l1.8 1.6zM9 3h4a1 1 0 010 2H9.8L8 11.3a1 1 0 01-2-.6L7.7 5H5a1 1 0 110-2h4zM4 15a1 1 0 010-2h5a1 1 0 010 2H4z"/></svg>',
'remove': '<svg width="18" height="18"><path fill-rule="nonzero" d="M13 5h3a1 1 0 010 2h-1v7a3 3 0 01-3 3H6a3 3 0 01-3-3V7H2a1 1 0 110-2h3V4a3 3 0 013-3h2a3 3 0 013 3v1zm-2 0V4c0-.6-.4-1-1-1H8a1 1 0 00-1 1v1h4zm2 2H5v7c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V7zM6 9a1 1 0 112 0v4a1 1 0 01-2 0V9zm4 0a1 1 0 012 0v4a1 1 0 01-2 0V9z"/></svg>',
'resize': '<svg width="18" height="18"><path d="M2 3c0-.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 019 4H5.4l8.6 8.6V9c0-.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 01-.7.3H9a1 1 0 01-.7-.3A1 1 0 018 15c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L4 5.4V9c0 .3-.1.5-.3.7a1 1 0 01-.7.3 1 1 0 01-.7-.3A1 1 0 012 9V3z" fill-rule="evenodd"/></svg>',
'restore-draft': '<svg width="18" height="18"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M3 3.7A8 8 0 0117 9a8 8 0 01-13.7 5.7l1.5-1.5A6 6 0 0015 9 6 6 0 003.8 6H6a1 1 0 110 2H1V2a1 1 0 112 0v1.7z"/><path d="M12 10c0 .6-.4 1-1 1H8V6c0-.6.4-1 1-1s1 .4 1 1v3h1c.6 0 1 .4 1 1z"/></g></svg>',
'rotate-left': '<svg width="18" height="18"><path fill-rule="nonzero" d="M3 5.4a7 7 0 111 8.5l1.5-1.4A5 5 0 0014 9a5 5 0 00-9.6-2H6a1 1 0 110 2H1V3a1 1 0 112 0v2.4z"/></svg>',
'rotate-right': '<svg width="18" height="18"><path fill-rule="nonzero" d="M15 5.4V3a1 1 0 012 0v6h-5a1 1 0 010-2h1.6a5 5 0 10-1 5.5l1.3 1.4A7 7 0 012 9a7 7 0 0113-3.6z"/></svg>',
'rtl': '<svg width="18" height="18"><g fill-rule="evenodd"><path d="M5 3h6c.6 0 1 .4 1 1s-.4 1-1 1h-1v9c0 .6-.4 1-1 1a1 1 0 01-1-1V5H7v9c0 .6-.4 1-1 1a1 1 0 01-1-1v-4c-.5 0-1 0-1.4-.3A3.4 3.4 0 011.8 8a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L5 3zM15.6 14.2a1 1 0 11-1.2 1.6l-3-2a1 1 0 010-1.6l3-2a1 1 0 011.2 1.6L13.8 13l1.8 1.2z"/></g></svg>',
'save': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 11h10a2 2 0 012 2v2a2 2 0 01-2 2H4a2 2 0 01-2-2v-2c0-1.1.9-2 2-2zm0 2v2h10v-2H4zm6 0h2v2h-2v-2zM8 7.6V2a1 1 0 112 0v5.6l2.3-2.3a1 1 0 011.4 1.4l-4 4a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 7.6z"/></svg>',
'search': '<svg width="18" height="18"><path fill-rule="nonzero" d="M11.5 12.9a6 6 0 111.4-1.4l3.3 3.3a1 1 0 01-1.4 1.4L11.5 13zM8 12a4 4 0 100-8 4 4 0 000 8z"/></svg>',
'select-all': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 4h10v10H4V4zm2 2v6h6V6H6zM1 4v2h2V4H1zm0 4v2h2V8H1zm0 4v2h2v-2H1zm3 3v2h2v-2H4zm4 2h2v-2H8v2zm4 0h2v-2h-2v2zm5-3v-2h-2v2h2zm0-4V8h-2v2h2zm0-4V4h-2v2h2zm-3-5h-2v2h2V1zm-4 0H8v2h2V1zM6 1H4v2h2V1z"/></svg>',
'settings': '<svg width="18" height="18"><path d="M8 3h7c.6 0 1 .4 1 1s-.4 1-1 1H8v.3c0 .2 0 .3-.2.5l-.5.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.5V5H3a1 1 0 110-2h1v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V3zM5 5h2V3H5v2zm9 2.8V8h1c.6 0 1 .4 1 1s-.4 1-1 1h-1v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V10H3a1 1 0 110-2h7v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.5zM11 10h2V8h-2v2zm-3 2.8v.2h7c.6 0 1 .4 1 1s-.4 1-1 1H8v.3c0 .2 0 .3-.2.5l-.5.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V15H3a1 1 0 010-2h1v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6zM5 15h2v-2H5v2z" fill-rule="evenodd"/></svg>',
'sharpen': '<svg width="18" height="18"><path d="M13 3l4 4-8 9-8-9 4-4h8zM9 13.2L14.5 7l-.1-.1H9v-.3h5.1l-.2-.2H9V6h4.6l-.2-.2H9v-.3h4.1l-.2-.2H9V5h3.6l-.2-.2H5.7L3.5 7l.1.1H9v.3H3.9l.2.2H9V8H4.3l.2.2H9v.3H4.7l.3.2h4V9H5.2l.2.2H9v.3H5.6l.3.2H9v.3H6l.3.2H9v.3H6.5l.2.2H9v.3H7l.2.2H9v.3H7.4l.2.2H9v.3H7.9l.2.2H9v.3h-.7l.2.2H9v.3h-.3l.3.2z" fill-rule="evenodd"/></svg>',
'sourcecode': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M6.8 12.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L1.2 9.7a.8.8 0 010-1.2l4.4-4.2c.3-.3.8-.3 1.2 0 .3.3.3.8 0 1.1L3 9l3.8 3.7zM11.2 12.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.8 0-1.2l-4.4-4.2a.8.8 0 00-1.2 0c-.3.3-.3.8 0 1.1L15 9l-3.8 3.7z"/></g></svg>',
'spell-check': '<svg width="18" height="18"><path d="M3 6v3H2V3c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H5V6H3zm0-3v2h2V3H3zm13 0h-3v5h3v1h-3a1 1 0 01-.7-.3A1 1 0 0112 8V3c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1zm-5 1.5l-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V8c0 .3-.1.5-.3.7a1 1 0 01-.7.3H7V2h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5zM10 8V6H8v2h2zm0-3V3H8v2h2zm2 5l1 1-5.5 6L5 13.5l1.3-1 1.2 1.2L12 10z" fill-rule="evenodd"/></svg>',
'strike-through': '<svg width="18" height="18"><path d="M9.2 8H16a1 1 0 010 2h-2.5c.3.5.3 1 .3 1.5 0 1.2-.6 3.5-4.3 3.5A5.3 5.3 0 015 12.8l1.3-1c.3.5 1.3 1.8 3.2 1.8 1.4 0 2-.4 2.5-1 .4-.8.3-1.9-.7-2.4l-.5-.2H2a1 1 0 110-2h4c-.3-.4-.5-1-.5-1.7C5.5 4 7.8 3 9.6 3c2.5 0 3.6 1.4 4 2l-1.2 1c-.5-.6-.8-1-1.2-1.2-.5-.3-1-.4-1.7-.4-2.3 0-2.4 1.5-2.4 1.8 0 1.1 1 1.5 2.1 1.8z" fill-rule="evenodd"/></svg>',
'subscript': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 9.6l2.9 2.9a1 1 0 01-1.4 1.4l-3-2.9-2.8 2.9a1 1 0 01-1.4-1.4l2.9-3-3-2.8a1 1 0 111.5-1.4l2.9 2.9 2.9-3a1 1 0 011.4 1.5L8 9.6zm8.4 7h-4.8v-1l.8-.8c.8-.6 1.4-1.2 1.7-1.6.4-.5.6-.9.6-1.3 0-.2 0-.5-.3-.7l-.8-.2a2 2 0 00-.9.1l-.6.4-.5-1.1c.3-.3.6-.4 1-.6l1.3-.2c.8 0 1.4.2 1.8.6.4.5.6 1 .6 1.6 0 .6-.2 1.1-.5 1.6a8 8 0 01-1.3 1.3l-.6.5h2.5v1.4z"/></svg>',
'superscript': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 9.6l2.9 2.9a1 1 0 01-1.4 1.4l-3-2.9-2.8 2.9a1 1 0 01-1.4-1.4l2.9-3-3-2.8a1 1 0 111.5-1.4l2.9 2.9 2.9-3a1 1 0 011.4 1.5L8 9.6zm8.4 0h-4.8v-1l.8-.8c.8-.6 1.4-1.2 1.7-1.6.4-.5.6-.9.6-1.3 0-.2 0-.5-.3-.7l-.8-.2a2 2 0 00-.9.1l-.6.4-.5-1.1c.3-.3.6-.4 1-.6l1.3-.2c.8 0 1.4.2 1.8.6.4.5.6 1 .6 1.6 0 .6-.2 1.1-.5 1.6a8 8 0 01-1.3 1.3l-.6.5h2.5v1.4z"/></svg>',
'table-cell-properties': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 8h4V4H4v4zm0 2v4h4v-4H4zm10 0h-4v4h4v-4zM2 2h14v14H2V2z"/></svg>',
'table-delete-column': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M10 4v5a1 1 0 11-2 0V4H4v11a1 1 0 01-2 0V2h14v13a1 1 0 01-2 0V4h-4z"/><path d="M9 12l2-2a.8.8 0 011 1l-2 2 2 2a.8.8 0 01-1 1l-2-2-2 2a.8.8 0 01-1-1l2-2-2-2a.8.8 0 011-1l2 2z"/></g></svg>',
'table-delete-row': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M4 8h5a1 1 0 110 2H4v4h11a1 1 0 010 2H2V2h13a1 1 0 010 2H4v4z"/><path d="M13 8l2-2a.8.8 0 011 1l-2 2 2 2a.8.8 0 01-1 1l-2-2-2 2a.8.8 0 01-1-1l2-2-2-2a.8.8 0 011-1l2 2z"/></g></svg>',
'table-delete-table': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M2 2h14v14H2V2zm2 2v10h10V4H4z"/><path d="M9 8l2-2a.8.8 0 011 1l-2 2 2 2a.8.8 0 01-1 1l-2-2-2 2a.8.8 0 01-1-1l2-2-2-2a.8.8 0 011-1l2 2z"/></g></svg>',
'table-insert-column-after': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M7 4H4v4h3V4zm2 0v10h6a1 1 0 010 2H2V2h13a1 1 0 010 2H9zM7 14v-4H4v4h3z"/><path d="M12 8V7a1 1 0 012 0v1h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 010-2h1z"/></g></svg>',
'table-insert-column-before': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M11 14h3v-4h-3v4zm-2 0V4H3a1 1 0 110-2h13v14H3a1 1 0 010-2h6zm2-10v4h3V4h-3z"/><path d="M4 8V7a1 1 0 112 0v1h1a1 1 0 110 2H6v1a1 1 0 01-2 0v-1H3a1 1 0 110-2h1z"/></g></svg>',
'table-insert-row-above': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M10 14h4v-3h-4v3zm-2 0v-3H4v3h4zm6-5V3a1 1 0 012 0v13H2V3a1 1 0 112 0v6h10z"/><path d="M8 4V3a1 1 0 112 0v1h1a1 1 0 010 2h-1v1a1 1 0 11-2 0V6H7a1 1 0 110-2h1z"/></g></svg>',
'table-insert-row-after': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M8 4H4v3h4V4zm2 0v3h4V4h-4zM4 9v6a1 1 0 01-2 0V2h14v13a1 1 0 01-2 0V9H4z"/><path d="M8 12v-1a1 1 0 012 0v1h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1H7a1 1 0 010-2h1z"/></g></svg>',
'table-left-header': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 8h2V4H8v4zm0 6h2v-4H8v4zm6-6V4h-2v4h2zm0 2h-2v4h2v-4zM2 2h14v14H2V2z"/></svg>',
'table-merge-cells': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 8v6h6V8H8zm-4 2h2V8H4v2zm0 2v2h2v-2H4zm4-6h2V4H8v2zm6 0V4h-2v2h2zM4 6h2V4H4v2zM2 2h14v14H2V2z"/></svg>',
'table-row-properties': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 12v2h4v-2H4zm10 0h-4v2h4v-2zM4 6h4V4H4v2zm10 0V4h-4v2h4zM2 2h14v14H2V2z"/></svg>',
'table-split-cells': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M4 10h2V8H4v2zm0 2v2h2v-2H4zm10-6V4h-2v2h2zm2 2H8v8H2V2h14v6zM8 6h2V4H8v2zM4 6h2V4H4v2z"/><path d="M12 11l2-2a.8.8 0 011 1l-2 2 2 2a.8.8 0 01-1 1l-2-2-2 2a.8.8 0 01-1-1l2-2-2-2a.8.8 0 011-1l2 2z"/></g></svg>',
'table-top-header': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 8v2h4V8H4zm10 0h-4v2h4V8zM4 12v2h4v-2H4zm10 0h-4v2h4v-2zM2 2h14v14H2V2z"/></svg>',
'table': '<svg width="18" height="18"><path fill-rule="nonzero" d="M4 8h4V4H4v4zm0 2v4h4v-4H4zm10-2V4h-4v4h4zm0 2h-4v4h4v-4zM2 2h14v14H2V2z"/></svg>',
'template': '<svg width="18" height="18"><path d="M14 15v-1H4v1h10zm-8-3v-2a5 5 0 116 0v2h2a2 2 0 012 2v3H2v-3c0-1.1.9-2 2-2h2zm4 0V9l.8-.6a3 3 0 10-3.6 0L8 9v3h2z" fill-rule="nonzero"/></svg>',
'temporary-placeholder': '<svg width="18" height="18"><g fill-rule="evenodd"><path d="M7.1 7v-.8h1.6v-1S8.8 5 9 5c.2 0 .3.1.3.3v.9H11V7c1.8.7 3.1 2.3 3.1 4.3 0 2.5-2.2 4.6-5 4.6s-5-2-5-4.6c0-2 1.3-3.6 3.1-4.3zm-2 3.6a.3.3 0 00.1.4c.2 0 .4 0 .4-.2v-.1c.4-1 1.2-1.7 2.2-2l.2-.4C8 8 7.8 8 7.6 8A3.8 3.8 0 005 10.6z"/><circle cx="11" cy="4" r="1"/><circle cx="9" cy="2" r="1"/><circle cx="7" cy="4" r="1"/></g></svg>',
'text-color': '<svg width="18" height="18"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M1 14h16v3H1z"/><path d="M6 12h-.6a.5.5 0 01-.5-.6l2.4-8c0-.3.3-.4.5-.4h2.4c.2 0 .4.1.5.4l2.4 8a.5.5 0 01-.5.6H12a.5.5 0 01-.4-.4l-.6-2c-.1-.2-.3-.3-.5-.3h-3c-.2 0-.4.1-.5.4l-.6 2c0 .2-.2.3-.4.3zm2.4-6.8l-.5 1.7a.5.5 0 00.5.6h1.2a.5.5 0 00.5-.6l-.5-1.7c0-.3-.2-.4-.5-.4H9c-.3 0-.4.1-.5.4z"/></g></svg>',
'toc': '<svg width="18" height="18"><path d="M3 2c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h9c.6 0 1 .4 1 1s-.4 1-1 1H6a1 1 0 110-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h9c.6 0 1 .4 1 1s-.4 1-1 1H6a1 1 0 010-2zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 110-2zm3 0h6c.6 0 1 .4 1 1s-.4 1-1 1H9a1 1 0 110-2zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 010-2zm3 0h6c.6 0 1 .4 1 1s-.4 1-1 1H9a1 1 0 010-2z" fill-rule="evenodd"/></svg>',
'translate': '<svg width="18" height="18"><path d="M9.7 11.3l-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 010-1l3.1-3A12.4 12.4 0 013.7 6H5a10.1 10.1 0 001.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H1.7a.7.7 0 110-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H12c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 01-1 2.4 13.5 13.5 0 01-1.7 2.3l1.9 1.8zm4.3-3l2.7 7.3a.5.5 0 01-.4.7 1 1 0 01-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 01-1 .7.5.5 0 01-.4-.7L12 8.2a1 1 0 012 0zm-2.2 4.4h2.4L13 9.5l-1.2 3.2z" fill-rule="evenodd"/></svg>',
'underline': '<svg width="18" height="18"><path d="M13 3c.6 0 1 .4 1 1v4.5a4 4 0 01-.4 1.8l-1 1.4a5.3 5.3 0 01-5.5 1 5 5 0 01-1.6-1c-.5-.4-.8-.9-1.1-1.4A4 4 0 014 8.4V4c0-.6.4-1 1-1s1 .4 1 1v4.5c0 .3 0 .6.2 1l.6.7A3.3 3.3 0 009 11a3.4 3.4 0 002.2-.8c.3-.2.4-.5.6-.8l.2-.9V4c0-.6.4-1 1-1zM5 14h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 010-2z" fill-rule="evenodd"/></svg>',
'undo': '<svg width="18" height="18"><path fill-rule="nonzero" d="M5.4 6h5.7C14 6 16 8 16 11c0 1.9-.6 3.4-1.9 4.7a1 1 0 11-1.4-1.4c.9-.9 1.3-2 1.3-3.3 0-1.9-1.1-3-3-3H5.5l2.3 2.3a1 1 0 01-1.4 1.4L1.6 7l4.7-4.7a1 1 0 011.4 1.4L5.4 6z"/></svg>',
'unlink': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M13 10.2V10a2 2 0 00-2-.5A2 2 0 009 8H8V6h1a4 4 0 014 4.2zm-2.2 3.4A4 4 0 019 14H5a4 4 0 01-1.3-7.8l.5-.1.6 1.8-.5.2A2 2 0 005 12h4.5l.6 1 .7.6z"/><path d="M10 9H9a2 2 0 110-4h4a2 2 0 01.7 3.9l-.5.2.6 1.8.5-.1A4 4 0 0013 3H9a4 4 0 100 8h1V9z"/><path d="M14 13l2-2a.8.8 0 011 1l-2 2 2 2a.8.8 0 01-1 1l-2-2-2 2a.8.8 0 01-1-1l2-2-2-2a.8.8 0 011-1l2 2z"/></g></svg>',
'unlock': '<svg width="18" height="18"><path d="M14 1c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V4a1 1 0 00-.3-.7A1 1 0 0014 3h-2a1 1 0 00-.7.3 1 1 0 00-.3.7v3h.3c.2 0 .3 0 .5.2l.2.5v7.5c0 .3 0 .4-.2.6l-.6.2H2.8c-.3 0-.4 0-.6-.2a.7.7 0 01-.2-.6V7.8c0-.3 0-.4.2-.6l.5-.2H9V4c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2z" fill-rule="evenodd"/></svg>',
'unordered-list': '<svg width="18" height="18"><path fill-rule="nonzero" d="M8 7a1 1 0 110-2h6a1 1 0 010 2H8zm0 6a1 1 0 010-2h6a1 1 0 010 2H8zM2.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.1z"/></svg>',
'visualblocks': '<svg width="18" height="18"><path fill-rule="nonzero" d="M6 15v2H4v-2h2zm4 0v2H8v-2h2zm4 0v2h-2v-2h2zM3 12v2H1v-2h2zm14 0v2h-2v-2h2zm-5-8a1 1 0 010 2v7a1 1 0 01-2 0V6H9v7a1 1 0 01-2 0V9a2.5 2.5 0 01-.2-5H12zM3 8v2H1V8h2zm14 0v2h-2V8h2zM3 4v2H1V4h2zm14 0v2h-2V4h2zm-3-3v2h-2V1h2zm-4 0v2H8V1h2zM6 1v2H4V1h2z"/></svg>',
'visualchars': '<svg width="18" height="18"><path d="M7 2h7a1 1 0 010 2h-1v11a1 1 0 01-2 0V4H9v11a1 1 0 01-2 0V9c-.5 0-1 0-1.4-.3A3.4 3.4 0 013.8 7a3.3 3.3 0 010-2.8 3.4 3.4 0 011.8-1.8L7 2z" fill-rule="evenodd"/></svg>',
'zoom-in': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M12.2 13.6a7 7 0 111.4-1.4l2.6 2.6a1 1 0 01-1.4 1.4l-2.6-2.6zM8 13A5 5 0 108 3a5 5 0 000 10z"/><path d="M9 7h2a1 1 0 010 2H9v2a1 1 0 01-2 0V9H5a1 1 0 110-2h2V5a1 1 0 112 0v2z"/></g></svg>',
'zoom-out': '<svg width="18" height="18"><g fill-rule="nonzero"><path d="M12.2 13.6a7 7 0 111.4-1.4l2.6 2.6a1 1 0 01-1.4 1.4l-2.6-2.6zM8 13A5 5 0 108 3a5 5 0 000 10z"/><path d="M5 9h6a1 1 0 000-2H5a1 1 0 100 2z"/></g></svg>',
}
});
@@ -0,0 +1,92 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
/**
* Jquery integration plugin.
*
* @class tinymce.core.JqueryIntegration
* @private
*/
!function(){var f,c,u,s=[],p="undefined"!=typeof global?global:window,d=p.jQuery,v=function(){
// Reference to tinymce needs to be lazily evaluated since tinymce
// might be loaded through the compressor or other means
return p.tinymce};d.fn.tinymce=function(o){var e,t,i,l=this,r="";
// No match then just ignore the call
if(!l.length)return l;
// Get editor instance
if(!o)return v()?v().get(l[0].id):null;l.css("visibility","hidden");// Hide textarea to avoid flicker
var n,a=function(){var a=[],c=0;
// Apply patches to the jQuery object, only once
u||(m(),u=!0),
// Create an editor instance for each matched node
l.each(function(e,t){var n,i=t.id,r=o.oninit;
// Generate unique id for target element if needed
i||(t.id=i=v().DOM.uniqueId()),
// Only init the editor once
v().get(i)||(
// Create editor instance and render it
n=v().createEditor(i,o),a.push(n),n.on("init",function(){var e,t=r;l.css("visibility",""),
// Run this if the oninit setting is defined
// this logic will fire the oninit callback ones each
// matched editor instance is initialized
r&&++c==a.length&&("string"==typeof t&&(e=-1===t.indexOf(".")?null:v().resolve(t.replace(/\.\w+$/,"")),t=v().resolve(t)),
// Call the oninit function with the object
t.apply(e||v(),a))}))}),
// Render the editor instances in a separate loop since we
// need to have the full editors array used in the onInit calls
d.each(a,function(e,t){t.render()})};
// Load TinyMCE on demand, if we need to
return p.tinymce||c||!(e=o.script_url)?
// Delay the init call until tinymce is loaded
1===c?s.push(a):a():(c=1,t=e.substring(0,e.lastIndexOf("/")),
// Check if it's a dev/src version they want to load then
// make sure that all plugins, themes etc are loaded in source mode as well
-1!=e.indexOf(".min")&&(r=".min"),
// Setup tinyMCEPreInit object this will later be used by the TinyMCE
// core script to locate other resources like CSS files, dialogs etc
// You can also predefined a tinyMCEPreInit object and then it will use that instead
p.tinymce=p.tinyMCEPreInit||{base:t,suffix:r},
// url contains gzip then we assume it's a compressor
-1!=e.indexOf("gzip")&&(i=o.language||"en",e=e+(/\?/.test(e)?"&":"?")+"js=true&core=true&suffix="+escape(r)+"&themes="+escape(o.theme||"modern")+"&plugins="+escape(o.plugins||"")+"&languages="+(i||""),
// Check if compressor script is already loaded otherwise setup a basic one
p.tinyMCE_GZ||(p.tinyMCE_GZ={start:function(){var n=function(e){v().ScriptLoader.markDone(v().baseURI.toAbsolute(e))};
// Add core languages
n("langs/"+i+".js"),
// Add themes with languages
n("themes/"+o.theme+"/theme"+r+".js"),n("themes/"+o.theme+"/langs/"+i+".js"),
// Add plugins with languages
d.each(o.plugins.split(","),function(e,t){t&&(n("plugins/"+t+"/plugin"+r+".js"),n("plugins/"+t+"/langs/"+i+".js"))})},end:function(){}})),(n=document.createElement("script")).type="text/javascript",n.onload=n.onreadystatechange=function(e){e=e||window.event,2===c||"load"!=e.type&&!/complete|loaded/.test(n.readyState)||(v().dom.Event.domLoaded=1,c=2,
// Execute callback after mainscript has been loaded and before the initialization occurs
o.script_loaded&&o.script_loaded(),a(),d.each(s,function(e,t){t()}))},n.src=e,document.body.appendChild(n)),l},
// Add :tinymce pseudo selector this will select elements that has been converted into editor instances
// it's now possible to use things like $('*:tinymce') to get all TinyMCE bound elements.
d.extend(d.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in p&&(t=v().get(e.id))&&t.editorManager===v())}});
// This function patches internal jQuery functions so that if
// you for example remove an div element containing an editor it's
// automatically destroyed by the TinyMCE API
var m=function(){
// Removes any child editor instances by looking for editor wrapper elements
var r=function(e){
// If the function is remove
"remove"===e&&this.each(function(e,t){var n=l(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=v().get(t.id.replace(/_parent$/,""));n&&n.remove()})},o=function(i){var e,t=this;
// Handle set value
/*jshint eqnull:true */if(null!=i)r.call(t),
// Saves the contents before get/set value of textarea/div
t.each(function(e,t){var n;(n=v().get(t.id))&&n.setContent(i)});else if(0<t.length&&(e=v().get(t[0].id)))return e.getContent()},l=function(e){var t=null;return e&&e.id&&p.tinymce&&(t=v().get(e.id)),t},u=function(e){return!!(e&&e.length&&p.tinymce&&e.is(":tinymce"))},s={};
// Loads or saves contents from/to textarea if the value
// argument is defined it will set the TinyMCE internal contents
// Patch some setter/getter functions these will
// now be able to set/get the contents of editor instances for
// example $('#editorid').html('Content'); will update the TinyMCE iframe instance
d.each(["text","html","val"],function(e,t){var a=s[t]=d.fn[t],c="text"===t;d.fn[t]=function(e){var t=this;if(!u(t))return a.apply(t,arguments);if(e!==f)return o.call(t.filter(":tinymce"),e),a.apply(t.not(":tinymce"),arguments),t;// return original set for chaining
var i="",r=arguments;return(c?t:t.eq(0)).each(function(e,t){var n=l(t);i+=n?c?n.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):n.getContent({save:!0}):a.apply(d(t),r)}),i}}),
// Makes it possible to use $('#id').append("content"); to append contents to the TinyMCE editor iframe
d.each(["append","prepend"],function(e,t){var n=s[t]=d.fn[t],r="prepend"===t;d.fn[t]=function(i){var e=this;return u(e)?i!==f?("string"==typeof i&&e.filter(":tinymce").each(function(e,t){var n=l(t);n&&n.setContent(r?i+n.getContent():n.getContent()+i)}),n.apply(e.not(":tinymce"),arguments),e):void 0:n.apply(e,arguments)}}),
// Makes sure that the editor instance gets properly destroyed when the parent element is removed
d.each(["remove","replaceWith","replaceAll","empty"],function(e,t){var n=s[t]=d.fn[t];d.fn[t]=function(){return r.call(this,t),n.apply(this,arguments)}}),s.attr=d.fn.attr,
// Makes sure that $('#tinymce_id').attr('value') gets the editors current HTML contents
d.fn.attr=function(e,t){var n=this,i=arguments;if(!e||"value"!==e||!u(n))return s.attr.apply(n,i);if(t!==f)return o.call(n.filter(":tinymce"),t),s.attr.apply(n.not(":tinymce"),i),n;// return original set for chaining
var r=n[0],a=l(r);return a?a.getContent({save:!0}):s.attr.apply(d(r),i)}}}();
@@ -0,0 +1,3 @@
This is where language files should be placed.
Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/
@@ -0,0 +1,504 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var n,e,t,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=function(n,e,t){var r="UL"===e?"InsertUnorderedList":"InsertOrderedList";n.execCommand(r,!1,!1===t?null:{"list-style-type":t})},l=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(n){return function(){return n}},s=i(!1),c=i(!0),o=function(){return a},a=(n=function(n){return n.isNone()},{fold:function(n,e){return n()},is:s,isSome:s,isNone:c,getOr:t=function(n){return n},getOrThunk:e=function(n){return n()},getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(undefined),or:t,orThunk:e,map:o,each:function(){},bind:o,exists:s,forall:c,filter:o,equals:n,equals_:n,toArray:function(){return[]},toString:i("none()")}),d=function(t){var n=i(t),e=function(){return o},r=function(n){return n(t)},o={fold:function(n,e){return e(t)},is:function(n){return t===n},isSome:c,isNone:s,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:e,orThunk:e,map:function(n){return d(n(t))},each:function(n){n(t)},bind:r,exists:r,forall:r,filter:function(n){return n(t)?o:a},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(n){return n.is(t)},equals_:function(n,e){return n.fold(s,function(n){return e(t,n)})}};return o},f=function(n){return null===n||n===undefined?a:d(n)},g=function(n){return n&&/^(TH|TD)$/.test(n.nodeName)},m=function(r){return function(n){return n&&/^(OL|UL|DL)$/.test(n.nodeName)&&(t=n,(e=r).$.contains(e.getBody(),t));var e,t}},p=function(n,e,t){var r=function(n,e){for(var t=0;t<n.length;t++){if(e(n[t]))return t}return-1}(e.parents,g),o=-1!==r?e.parents.slice(0,r):e.parents,i=l.grep(o,m(n));return 0<i.length&&i[0].nodeName===t},y=function(o,n,e,t,r,i){o.ui.registry.addSplitButton(n,{tooltip:e,icon:"OL"===r?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:function(n){n(l.map(i,function(n){return{type:"choiceitem",value:"default"===n?"":n,icon:"list-"+("OL"===r?"num":"bull")+"-"+("disc"===n||"decimal"===n?"default":n),text:n.replace(/\-/g," ").replace(/\b\w/g,function(n){return n.toUpperCase()})}}))},onAction:function(){return o.execCommand(t)},onItemAction:function(n,e){u(o,r,e)},select:function(e){var n,t,r;return(t=(n=o).dom.getParent(n.selection.getNode(),"ol,ul"),r=n.dom.getStyle(t,"listStyleType"),f(r)).map(function(n){return e===n}).getOr(!1)},onSetup:function(e){var n=function(n){e.setActive(p(o,n,r))};return o.on("NodeChange",n),function(){return o.off("NodeChange",n)}}})},h=function(n,e,t,r,o,i){var u,l,s,c,a;1<i.length?y(n,e,t,r,o,i):(l=e,s=t,c=r,a=o,(u=n).ui.registry.addToggleButton(l,{active:!1,tooltip:s,icon:"OL"===a?"ordered-list":"unordered-list",onSetup:function(e){var n=function(n){e.setActive(p(u,n,a))};return u.on("NodeChange",n),function(){return u.off("NodeChange",n)}},onAction:function(){return u.execCommand(c)}}))};r.add("advlist",function(n){var t,e,r,o;n.hasPlugin("lists")?(h(e=n,"numlist","Numbered list","InsertOrderedList","OL",(r=e.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman"))?r.split(/[ ,]/):[]),h(e,"bullist","Bullet list","InsertUnorderedList","UL",(o=e.getParam("advlist_bullet_styles","default,circle,square"))?o.split(/[ ,]/):[]),(t=n).addCommand("ApplyUnorderedListStyle",function(n,e){u(t,"UL",e["list-style-type"])}),t.addCommand("ApplyOrderedListStyle",function(n,e){u(t,"OL",e["list-style-type"])})):console.error("Please use the Lists plugin together with the Advanced List plugin.")})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),a="a:not([href])",n=function(e){return e.getAttribute("id")||e.getAttribute("name")||""},r=function(e){return(t=e)&&"a"===t.nodeName.toLowerCase()&&!e.getAttribute("href")&&""!==n(e);var t},c=function(e){var n=e.dom;t(n).walk(e.selection.getRng(),function(e){o.each(e,function(e){var t;r(t=e)&&!t.firstChild&&n.remove(e,!1)})})},u=function(e){return e.dom.getParent(e.selection.getStart(),a)},i=function(e,t){var n,o,a,r,i,l=u(e);l?(a=e,r=t,(i=l).removeAttribute("name"),i.id=r,a.addVisual(),a.undoManager.add()):(o=t,(n=e).undoManager.transact(function(){n.getParam("allow_html_in_named_anchor",!1,"boolean")||n.selection.collapse(!0),n.selection.isCollapsed()?n.insertContent(n.dom.createHTML("a",{id:o})):(c(n),n.formatter.remove("namedAnchor",null,null,!0),n.formatter.apply("namedAnchor",{value:o}),n.addVisual())})),e.focus()},l=function(o){var e,t=(e=u(o))?n(e):"";o.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:t},onSubmit:function(e){var t,n;t=o,n=e.getData().id,(/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(n)?(i(t,n),1):(t.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),0))&&e.close()}})},d=function(r){return function(e){for(var t,n,o=0;o<e.length;o++){var a=e[o];n=void 0,!(n=t=a)||n.attr("href")||!n.attr("id")&&!n.attr("name")||t.firstChild||a.attr("contenteditable",r)}}};e.add("anchor",function(e){var t,n,o;(t=e).on("PreInit",function(){t.parser.addNodeFilter("a",d("false")),t.serializer.addNodeFilter("a",d(null))}),(n=e).addCommand("mceAnchor",function(){l(n)}),(o=e).ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:function(){return o.execCommand("mceAnchor")},onSetup:function(e){return o.selection.selectorChangedWithUnbind("a:not([href])",e.setActive).unbind}}),o.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:function(){return o.execCommand("mceAnchor")}}),e.on("PreInit",function(){e.formatter.register("namedAnchor",{inline:"a",selector:a,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:function(e,t,n){return r(e)}})})})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.Env"),i=function(e,t){var n;return t<0&&(t=0),3!==e.nodeType||(n=e.data.length)<t&&(t=n),t},y=function(e,t,n){1!==t.nodeType||t.hasChildNodes()?e.setStart(t,i(t,n)):e.setStartBefore(t)},k=function(e,t,n){1!==t.nodeType||t.hasChildNodes()?e.setEnd(t,i(t,n)):e.setEndAfter(t)},r=function(e,t,n){var o,i,r,a,s,d,f,l=e.getParam("autolink_pattern",/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@(?!.*@))(.+)$/i),c=e.getParam("default_link_target",!1);if("A"!==e.selection.getNode().tagName){var g=e.selection.getRng().cloneRange();if(g.startOffset<5){if(!(s=g.endContainer.previousSibling)){if(!g.endContainer.firstChild||!g.endContainer.firstChild.nextSibling)return;s=g.endContainer.firstChild.nextSibling}if(d=s.length,y(g,s,d),k(g,s,d),g.endOffset<5)return;o=g.endOffset,i=s}else{if(3!==(i=g.endContainer).nodeType&&i.firstChild){for(;3!==i.nodeType&&i.firstChild;)i=i.firstChild;3===i.nodeType&&(y(g,i,0),k(g,i,i.nodeValue.length))}o=1===g.endOffset?2:g.endOffset-1-t}for(var u,h=o;y(g,i,2<=o?o-2:0),k(g,i,1<=o?o-1:0),--o," "!==(f=g.toString())&&""!==f&&160!==f.charCodeAt(0)&&0<=o-2&&f!==n;);(u=g.toString())===n||" "===u||160===u.charCodeAt(0)?(y(g,i,o),k(g,i,h),o+=1):(0===g.startOffset?y(g,i,0):y(g,i,o),k(g,i,h)),"."===(a=g.toString()).charAt(a.length-1)&&k(g,i,h-1);var m=(a=g.toString().trim()).match(l),C=e.getParam("link_default_protocol","http","string");m&&("www."===m[1]?m[1]=C+"://www.":/@$/.test(m[1])&&!/^mailto:/.test(m[1])&&(m[1]="mailto:"+m[1]),r=e.selection.getBookmark(),e.selection.setRng(g),e.execCommand("createlink",!1,m[1]+m[2]),!1!==c&&e.dom.setAttrib(e.selection.getNode(),"target",c),e.selection.moveToBookmark(r),e.nodeChanged())}},t=function(t){var n;t.on("keydown",function(e){13!==e.keyCode||r(t,-1,"")}),o.browser.isIE()?t.on("focus",function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(t.on("keypress",function(e){41!==e.keyCode||r(t,-1,"(")}),t.on("keyup",function(e){32!==e.keyCode||r(t,0,"")}))};e.add("autolink",function(e){t(e)})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),h=tinymce.util.Tools.resolve("tinymce.Env"),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),y=function(e){return e.getParam("min_height",e.getElement().offsetHeight,"number")},a=function(e,t,n,i,o){r.setEditorTimeout(e,function(){b(e,t),n--?a(e,t,n,i,o):o&&o()},i)},p=function(e,t){var n=e.getBody();n&&(n.style.overflowY=t?"":"hidden",t||(n.scrollTop=0))},v=function(e,t,n,i){var o=parseInt(e.getStyle(t,n,i),10);return isNaN(o)?0:o},b=function(e,t){var n,i,o,r,s,a,g,u,l,c,m,f=e.dom,d=e.getDoc();d&&((n=e).plugins.fullscreen&&n.plugins.fullscreen.isFullscreen()?p(e,!0):(i=d.documentElement,o=e.getParam("autoresize_bottom_margin",50,"number"),r=y(e),s=v(f,i,"margin-top",!0),a=v(f,i,"margin-bottom",!0),(g=i.offsetHeight+s+a+o)<0&&(g=0),g+(u=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight)>y(e)&&(r=g+u),(l=e.getParam("max_height",0,"number"))&&l<r?(r=l,p(e,!0)):p(e,!1),r!==t.get()&&(c=r-t.get(),f.setStyle(e.getContainer(),"height",r+"px"),t.set(r),e.fire("ResizeEditor"),h.browser.isSafari()&&h.mac&&(m=e.getWin()).scrollTo(m.pageXOffset,m.pageYOffset),e.hasFocus()&&e.selection.scrollIntoView(e.selection.getNode()),h.webkit&&c<0&&b(e,t))))};e.add("autoresize",function(e){var t,n,i,o,r,s;e.settings.hasOwnProperty("resize")||(e.settings.resize=!1),e.inline||(s=0,r=t={get:function(){return s},set:function(e){s=e}},(o=e).addCommand("mceAutoResize",function(){b(o,r)}),i=t,(n=e).on("init",function(){var e=n.getParam("autoresize_overflow_padding",1,"number"),t=n.dom;t.setStyles(n.getDoc().documentElement,{height:"auto"}),t.setStyles(n.getBody(),{paddingLeft:e,paddingRight:e,"min-height":0})}),n.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",function(){b(n,i)}),n.getParam("autoresize_on_init",!0,"boolean")&&n.on("init",function(){a(n,i,20,100,function(){a(n,i,5,1e3)})}))})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=(e=undefined,function(t){return e===t}),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),n=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(t,e){var r=t||e,n=/^(\d+)([ms]?)$/.exec(""+r);return(n[2]?{s:1e3,m:6e4}[n[2]]:1)*parseInt(r,10)},u=function(t){var e=document.location;return t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},s=function(t,e){if(a(e))return t.dom.isEmpty(t.getBody());var r=o.trim(e);if(""===r)return!0;var n=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(n)},f=function(t){var e=parseInt(n.getItem(u(t)+"time"),10)||0;return!((new Date).getTime()-e>i(t.getParam("autosave_retention"),"20m"))||(c(t,!1),!1)},c=function(t,e){var r=u(t);n.removeItem(r+"draft"),n.removeItem(r+"time"),!1!==e&&t.fire("RemoveDraft")},m=function(t){var e=u(t);!s(t)&&t.isDirty()&&(n.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),n.setItem(e+"time",(new Date).getTime().toString()),t.fire("StoreDraft"))},l=function(t){var e=u(t);f(t)&&(t.setContent(n.getItem(e+"draft"),{format:"raw"}),t.fire("RestoreDraft"))},v=function(t){var e=i(t.getParam("autosave_interval"),"30s");r.setEditorInterval(t,function(){m(t)},e)},d=function(t){t.undoManager.transact(function(){l(t),c(t)}),t.focus()},g=tinymce.util.Tools.resolve("tinymce.EditorManager"),y=function(r){return function(t){t.setDisabled(!f(r));var e=function(){return t.setDisabled(!f(r))};return r.on("StoreDraft RestoreDraft RemoveDraft",e),function(){return r.off("StoreDraft RestoreDraft RemoveDraft",e)}}};t.add("autosave",function(t){var e,r;return t.editorManager.on("BeforeUnload",function(t){var e;o.each(g.get(),function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam("autosave_ask_before_unload",!0)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e&&(t.preventDefault(),t.returnValue=e)}),v(e=t),e.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){d(e)},onSetup:y(e)}),e.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){d(e)},onSetup:y(e)}),t.on("init",function(){t.getParam("autosave_restore_when_empty",!1)&&t.dom.isEmpty(t.getBody())&&l(t)}),r=t,{hasDraft:function(){return f(r)},storeDraft:function(){return m(r)},restoreDraft:function(){return l(r)},removeDraft:function(t){return c(r,t)},isEmpty:function(t){return s(r,t)}}})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var o=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.util.Tools"),t=function(t){t=e.trim(t);var o=function(o,e){t=t.replace(o,e)};return o(/\n/gi,"<br />"),o(/\[b\]/gi,"<strong>"),o(/\[\/b\]/gi,"</strong>"),o(/\[i\]/gi,"<em>"),o(/\[\/i\]/gi,"</em>"),o(/\[u\]/gi,"<u>"),o(/\[\/u\]/gi,"</u>"),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'<a href="$1">$2</a>'),o(/\[url\](.*?)\[\/url\]/gi,'<a href="$1">$1</a>'),o(/\[img\](.*?)\[\/img\]/gi,'<img src="$1" />'),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'<font color="$1">$2</font>'),o(/\[code\](.*?)\[\/code\]/gi,'<span class="codeStyle">$1</span>&nbsp;'),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'<span class="quoteStyle">$1</span>&nbsp;'),t};o.add("bbcode",function(o){o.on("BeforeSetContent",function(o){o.content=t(o.content)}),o.on("PostProcess",function(o){o.set&&(o.content=t(o.content)),o.get&&(o.content=function(t){t=e.trim(t);var o=function(o,e){t=t.replace(o,e)};return o(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]"),o(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]"),o(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]"),o(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]"),o(/<font>(.*?)<\/font>/gi,"$1"),o(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]"),o(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]"),o(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]"),o(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),o(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),o(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),o(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),o(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),o(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),o(/<\/(strong|b)>/gi,"[/b]"),o(/<(strong|b)>/gi,"[b]"),o(/<\/(em|i)>/gi,"[/i]"),o(/<(em|i)>/gi,"[i]"),o(/<\/u>/gi,"[/u]"),o(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]"),o(/<u>/gi,"[u]"),o(/<blockquote[^>]*>/gi,"[quote]"),o(/<\/blockquote>/gi,"[/quote]"),o(/<br \/>/gi,"\n"),o(/<br\/>/gi,"\n"),o(/<br>/gi,"\n"),o(/<p>/gi,""),o(/<\/p>/gi,"\n"),o(/&nbsp;|\u00a0/gi," "),o(/&quot;/gi,'"'),o(/&lt;/gi,"<"),o(/&gt;/gi,">"),o(/&amp;/gi,"&"),t}(o.content))})})}();
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(o){var e=o.getContent({source_view:!0});o.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:e},onSubmit:function(e){var t,n;t=o,n=e.getData().code,t.focus(),t.undoManager.transact(function(){t.setContent(n)}),t.selection.setCursorLocation(),t.nodeChanged(),e.close()}})};e.add("code",function(e){var t,n;return(t=e).addCommand("mceCodeEditor",function(){o(t)}),(n=e).ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:function(){return o(n)}}),n.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:function(){return o(n)}}),{}})}();
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("colorpicker",function(){console.warn("Color picker plugin is now built in to the core editor, please remove it from your editor configuration")})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("contextmenu",function(){console.warn("Context menu plugin is now built in to the core editor, please remove it from your editor configuration")})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var t,n,e,o,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(n,t){var e,o=n.dom,r=n.selection.getSelectedBlocks();r.length&&(e=o.getAttrib(r[0],"dir"),u.each(r,function(n){o.getParent(n.parentNode,'*[dir="'+t+'"]',o.getRoot())||o.setAttrib(n,"dir",e!==t?t:null)}),n.nodeChanged())},c=function(n){return!(null===(t=n)||t===undefined);var t},f=function(n){return typeof n===t},d=function(n){return function(){return n}},l=d(!(t="function")),m=d(!0),a=function(){return s},s=(n=function(n){return n.isNone()},{fold:function(n,t){return n()},is:l,isSome:l,isNone:m,getOr:o=function(n){return n},getOrThunk:e=function(n){return n()},getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:d(null),getOrUndefined:d(undefined),or:o,orThunk:e,map:a,each:function(){},bind:a,exists:l,forall:m,filter:a,equals:n,equals_:n,toArray:function(){return[]},toString:d("none()")}),g=function(e){var n=d(e),t=function(){return r},o=function(n){return n(e)},r={fold:function(n,t){return t(e)},is:function(n){return e===n},isSome:m,isNone:l,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:t,orThunk:t,map:function(n){return g(n(e))},each:function(n){n(e)},bind:o,exists:o,forall:o,filter:function(n){return n(e)?r:s},toArray:function(){return[e]},toString:function(){return"some("+e+")"},equals:function(n){return n.is(e)},equals_:function(n,t){return n.fold(l,function(n){return t(e,n)})}};return r},h={some:g,none:a,from:function(n){return null===n||n===undefined?s:g(n)}},v=function(n){if(null===n||n===undefined)throw new Error("Node cannot be null or undefined");return{dom:n}},y={fromHtml:function(n,t){var e=(t||document).createElement("div");if(e.innerHTML=n,!e.hasChildNodes()||1<e.childNodes.length)throw console.error("HTML does not have a single root node",n),new Error("HTML must have a single root node");return v(e.childNodes[0])},fromTag:function(n,t){var e=(t||document).createElement(n);return v(e)},fromText:function(n,t){var e=(t||document).createTextNode(n);return v(e)},fromDom:v,fromPoint:function(n,t,e){return h.from(n.dom.elementFromPoint(t,e)).map(v)}},p=("undefined"!=typeof window||Function("return this;")(),function(t){return function(n){return n.dom.nodeType===t}}),T=p(3),N=p(9),D=p(11),w=f(Element.prototype.attachShadow)&&f(Node.prototype.getRootNode)?function(n){return y.fromDom(n.dom.getRootNode())}:function(n){return N(n)?n:(t=n,y.fromDom(t.dom.ownerDocument));var t},O=function(n){var t,e=w(n);return D(t=e)&&c(t.dom.host)?h.some(e):h.none()},C=function(n){return y.fromDom(n.dom.host)},S=function(n){var t=T(n)?n.dom.parentNode:n.dom;if(t===undefined||null===t||null===t.ownerDocument)return!1;var e,o,r=t.ownerDocument;return O(y.fromDom(t)).fold(function(){return r.body.contains(t)},(e=S,o=C,function(n){return e(o(n))}))},L=function(n,t){return(e=n).style!==undefined&&f(e.style.getPropertyValue)?n.style.getPropertyValue(t):"";var e},R=function(n){return"rtl"===(e="direction",o=(t=n).dom,""!==(r=window.getComputedStyle(o).getPropertyValue(e))||S(t)?r:L(o,e))?"rtl":"ltr";var t,e,o,r},A=function(t,o){return function(e){var n=function(n){var t=y.fromDom(n.element);e.setActive(R(t)===o)};return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}}};r.add("directionality",function(n){var t,e;(t=n).addCommand("mceDirectionLTR",function(){i(t,"ltr")}),t.addCommand("mceDirectionRTL",function(){i(t,"rtl")}),(e=n).ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:function(){return e.execCommand("mceDirectionLTR")},onSetup:A(e,"ltr")}),e.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:function(){return e.execCommand("mceDirectionRTL")},onSetup:A(e,"rtl")})})}();
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager");n.add("hr",function(n){var o,t;(o=n).addCommand("InsertHorizontalRule",function(){o.execCommand("mceInsertContent",!1,"<hr />")}),(t=n).ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:function(){return t.execCommand("InsertHorizontalRule")}}),t.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:function(){return t.execCommand("InsertHorizontalRule")}})})}();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var n,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),v=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),f=tinymce.util.Tools.resolve("tinymce.EditorManager"),m=tinymce.util.Tools.resolve("tinymce.Env"),h=tinymce.util.Tools.resolve("tinymce.util.Tools"),d=function(t){return t.getParam("importcss_selector_converter")},o=(n="array",function(t){return r=typeof(e=t),(null===e?"null":"object"==r&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"==r&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":r)===n;var e,r}),i=Array.prototype.push,l=function(t,e){return function(t){for(var e=[],r=0,n=t.length;r<n;++r){if(!o(t[r]))throw new Error("Arr.flatten item "+r+" was not an array, input: "+t);i.apply(e,t[r])}return e}(function(t,e){for(var r=t.length,n=new Array(r),o=0;o<r;o++){var i=t[o];n[o]=e(i,o)}return n}(t,e))},p=function(e){return"string"==typeof e?function(t){return-1!==t.indexOf(e)}:e instanceof RegExp?function(t){return e.test(t)}:e},_=function(s,t,a){var u=[],r={},l=function(t,e){var r,n,o,i=t.href;if(n=i,o=m.cacheSuffix,"string"==typeof n&&(n=n.replace("?"+o,"").replace("&"+o,"")),(i=n)&&a(i,e)&&!function(t,e){var r,n=!1!==(r=t.getParam("skin"))&&(r||"oxide");if(n){var o=t.getParam("skin_url"),i=o?t.documentBaseURI.toAbsolute(o):f.baseURL+"/skins/ui/"+n,c=f.baseURL+"/skins/content/";return e===i+"/content"+(t.inline?".inline":"")+".min.css"||-1!==e.indexOf(c)}return!1}(s,i)){h.each(t.imports,function(t){l(t,!0)});try{r=t.cssRules||t.rules}catch(c){}h.each(r,function(t){t.styleSheet?l(t.styleSheet,!0):t.selectorText&&h.each(t.selectorText.split(","),function(t){u.push(h.trim(t))})})}};h.each(s.contentCSS,function(t){r[t]=!0}),a=a||function(t,e){return e||r[t]};try{h.each(t.styleSheets,function(t){l(t)})}catch(e){}return u},x=function(t,e){var r,n=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(e);if(n){var o=n[1],i=n[2].substr(1).split(".").join(" "),c=h.makeMap("a,img");return n[1]?(r={title:e},t.schema.getTextBlockElements()[o]?r.block=o:t.schema.getBlockElements()[o]||c[o.toLowerCase()]?r.selector=o:r.inline=o):n[2]&&(r={inline:"span",title:e.substr(1),classes:i}),!1!==t.getParam("importcss_merge_classes")?r.classes=i:r.attributes={"class":i},r}},P=function(t,e){return null===e||!1!==t.getParam("importcss_exclusive")},r=function(y){y.on("init",function(t){var e,r,n,o,i=(e=[],r=[],n={},{addItemToGroup:function(t,e){n[t]?n[t].push(e):(r.push(t),n[t]=[e])},addItem:function(t){e.push(t)},toFormats:function(){return l(r,function(t){var e=n[t];return 0===e.length?[]:[{title:t,items:e}]}).concat(e)}}),g={},c=p(y.getParam("importcss_selector_filter")),s=(o=y.getParam("importcss_groups"),h.map(o,function(t){return h.extend({},t,{original:t,selectors:{},filter:p(t.filter),item:{text:t.title,menu:[]}})})),a=function(t,e){if(f=t,p=g,!(P(y,m=e)?f in p:f in m.selectors)){a=t,l=g,P(y,u=e)?l[a]=!0:u.selectors[a]=!0;var r=(i=(o=y).plugins.importcss,c=t,((s=e)&&s.selector_converter?s.selector_converter:d(o)?d(o):function(){return x(o,c)}).call(i,c,s));if(r){var n=r.name||v.DOM.uniqueId();return y.formatter.register(n,r),h.extend({},{title:r.title,format:n})}}var o,i,c,s,a,u,l,f,m,p;return null};h.each(_(y,y.getDoc(),p(y.getParam("importcss_file_filter"))),function(r){var t,e,n,o;-1===r.indexOf(".mce-")&&(c&&!c(r)||(n=s,o=r,0<(t=h.grep(n,function(t){return!t.filter||t.filter(o)})).length?h.each(t,function(t){var e=a(r,t);e&&i.addItemToGroup(t.title,e)}):(e=a(r,null))&&i.addItem(e)))});var u=i.toFormats();y.fire("addStyleModifications",{items:u,replace:!y.getParam("importcss_append")})})};t.add("importcss",function(t){return r(t),e=t,{convertSelectorToFormat:function(t){return x(e,t)}};var e})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},c=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),a="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),o="January February March April May June July August September October November December".split(" "),m=function(e,t){if((e=""+e).length<t)for(var n=0;n<t-e.length;n++)e="0"+e;return e},s=function(e,t,n){return n=n||new Date,t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",m(n.getMonth()+1,2))).replace("%d",m(n.getDate(),2))).replace("%H",""+m(n.getHours(),2))).replace("%M",""+m(n.getMinutes(),2))).replace("%S",""+m(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(o[n.getMonth()]))).replace("%b",""+e.translate(i[n.getMonth()]))).replace("%A",""+e.translate(a[n.getDay()]))).replace("%a",""+e.translate(r[n.getDay()]))).replace("%%","%")},l=function(e,t){var n,r,a,i,o,u,c,m;e.getParam("insertdatetime_element",!1)?(n=s(e,t),r=void 0,r=/%[HMSIp]/.test(t)?s(e,"%Y-%m-%dT%H:%M"):s(e,"%Y-%m-%d"),(a=e.dom.getParent(e.selection.getStart(),"time"))?(o=a,u=r,c=n,m=(i=e).dom.create("time",{datetime:u},c),o.parentNode.insertBefore(m,o),i.dom.remove(o),i.selection.select(m,!0),i.selection.collapse(!1)):e.insertContent('<time datetime="'+r+'">'+n+"</time>")):e.insertContent(s(e,t))},t=function(t){t.addCommand("mceInsertDate",function(){var e;l(t,(e=t).getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d")))}),t.addCommand("mceInsertTime",function(){l(t,u(t))})},d=tinymce.util.Tools.resolve("tinymce.util.Tools"),n=function(n){var e,t,r,a,i=c(n),o=(a=c(r=n),e=0<a.length?a[0]:u(r),t=e,{get:function(){return t},set:function(e){t=e}});n.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===o.get()},fetch:function(e){e(d.map(i,function(e){return{type:"choiceitem",text:s(n,e),value:e}}))},onAction:function(e){l(n,o.get())},onItemAction:function(e,t){o.set(t),l(n,t)}});n.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return d.map(i,function(e){return{type:"menuitem",text:s(n,e),onAction:(t=e,function(){o.set(t),l(n,t)})};var t})}})};e.add("insertdatetime",function(e){t(e),n(e)})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Tools"),t=function(s){var e,t,i,a;t=!1,(e=s).settings.inline_styles=t,e.getParam("fontsize_formats")||(i="8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7",e.settings.fontsize_formats=i),e.getParam("font_formats")||(a="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",e.settings.font_formats=a),s.on("PreInit",function(){return e=s,t="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table",i=l.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large")),a=e.schema,e.formatter.register({alignleft:{selector:t,attributes:{align:"left"}},aligncenter:{selector:t,attributes:{align:"center"}},alignright:{selector:t,attributes:{align:"right"}},alignjustify:{selector:t,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all",preserve_attributes:["class","style"]},{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all",preserve_attributes:["class","style"]},{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",toggle:!1,attributes:{face:"%value"}},fontsize:{inline:"font",toggle:!1,attributes:{size:function(e){return String(l.inArray(i,e.value)+1)}}},forecolor:{inline:"font",attributes:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0}}),l.each("b,i,u,strike".split(","),function(e){a.addValidElements(e+"[*]")}),a.getElementRule("font")||a.addValidElements("font[face|size|color|style]"),void l.each(t.split(","),function(e){var t=a.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))});var e,t,i,a})};e.add("legacyoutput",function(e){t(e)})}();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(n,e){for(var a="",o=0;o<e;o++)a+=n;return a},r=function(n,e){var a,o=n.getParam("nonbreaking_wrap",!0,"boolean")||n.plugins.visualchars?'<span class="'+((a=n).plugins.visualchars&&a.plugins.visualchars.isEnabled()?"mce-nbsp-wrap mce-nbsp":"mce-nbsp-wrap")+'" contenteditable="false">'+i("&nbsp;",e)+"</span>":i("&nbsp;",e);n.undoManager.transact(function(){return n.insertContent(o)})},c=tinymce.util.Tools.resolve("tinymce.util.VK");n.add("nonbreaking",function(n){var e,a,o,i,t;(e=n).addCommand("mceNonBreaking",function(){r(e,1)}),(a=n).ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:function(){return a.execCommand("mceNonBreaking")}}),a.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:function(){return a.execCommand("mceNonBreaking")}}),0<(t="boolean"==typeof(i=(o=n).getParam("nonbreaking_force_tab",0))?!0===i?3:0:i)&&o.on("keydown",function(n){if(n.keyCode===c.TAB&&!n.isDefaultPrevented()){if(n.shiftKey)return;n.preventDefault(),n.stopImmediatePropagation(),r(o,t)}})})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Tools"),u=function(t){return t.getParam("noneditable_noneditable_class","mceNonEditable")},f=function(e){return function(t){return-1!==(" "+t.attr("class")+" ").indexOf(e)}},e=function(e){var t,r="contenteditable",n=" "+l.trim(e.getParam("noneditable_editable_class","mceEditable"))+" ",a=" "+l.trim(u(e))+" ",i=f(n),o=f(a),c=(t=e.getParam("noneditable_regexp",[]))&&t.constructor===RegExp?[t]:t;e.on("PreInit",function(){0<c.length&&e.on("BeforeSetContent",function(t){!function(t,e,n){var r=e.length,a=n.content;if("raw"!==n.format){for(;r--;)a=a.replace(e[r],function(i,o,c){return function(t){var e=arguments,n=e[e.length-2],r=0<n?o.charAt(n-1):"";if('"'===r)return t;if(">"===r){var a=o.lastIndexOf("<",n);if(-1!==a)if(-1!==o.substring(a,n).indexOf('contenteditable="false"'))return t}return'<span class="'+c+'" data-mce-content="'+i.dom.encode(e[0])+'">'+i.dom.encode("string"==typeof e[1]?e[1]:e[0])+"</span>"}}(t,a,u(t)));n.content=a}}(e,c,t)}),e.parser.addAttributeFilter("class",function(t){for(var e,n=t.length;n--;)e=t[n],i(e)?e.attr(r,"true"):o(e)&&e.attr(r,"false")}),e.serializer.addAttributeFilter(r,function(t){for(var e,n=t.length;n--;)e=t[n],(i(e)||o(e))&&(0<c.length&&e.attr("data-mce-content")?(e.name="#text",e.type=3,e.raw=!0,e.value=e.attr("data-mce-content")):e.attr(r,null))})})};t.add("noneditable",function(t){e(t)})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.Env"),g=function(e){return e.getParam("pagebreak_split_block",!1)},u="mce-pagebreak",m=function(e){var a='<img src="'+n.transparentSrc+'" class="'+u+'" data-mce-resize="false" data-mce-placeholder />';return e?"<p>"+a+"</p>":a};e.add("pagebreak",function(e){var a,n,o,c,i,t,r;(a=e).addCommand("mcePageBreak",function(){a.insertContent(m(g(a)))}),(n=e).ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:function(){return n.execCommand("mcePageBreak")}}),n.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:function(){return n.execCommand("mcePageBreak")}}),c=(o=e).getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e"),i=function(){return g(o)},t=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(e){return"\\"+e}),"gi"),o.on("BeforeSetContent",function(e){e.content=e.content.replace(t,m(i()))}),o.on("PreInit",function(){o.serializer.addNodeFilter("img",function(e){for(var a,n,t=e.length;t--;)if((n=(a=e[t]).attr("class"))&&-1!==n.indexOf(u)){var r=a.parent;if(o.schema.getBlockElements()[r.name]&&i()){r.type=3,r.value=c,r.raw=!0,a.remove();continue}a.type=3,a.value=c,a.raw=!0}})}),(r=e).on("ResolveName",function(e){"IMG"===e.target.nodeName&&r.dom.hasClass(e.target,u)&&(e.name="pagebreak")})})}();
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),f=tinymce.util.Tools.resolve("tinymce.Env"),w=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(e){var t=function(t){var n="",i=t.dom.encode,e=t.getParam("content_style","","string");n+='<base href="'+i(t.documentBaseURI.getURI())+'">';var o=t.getParam("content_css_cors",!1,"boolean")?' crossorigin="anonymous"':"";w.each(t.contentCSS,function(e){n+='<link type="text/css" rel="stylesheet" href="'+i(t.documentBaseURI.toAbsolute(e))+'"'+o+">"}),e&&(n+='<style type="text/css">'+e+"</style>");var r,a,c,s,d,m,l,y=-1===(s=(r=t).getParam("body_id","tinymce","string")).indexOf("=")?s:(c=(a=r).getParam("body_id","","hash"))[a.id]||c,u=-1===(l=(d=t).getParam("body_class","","string")).indexOf("=")?l:(m=d).getParam("body_class","","hash")[m.id]||"",v='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(f.mac?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",g=t.getBody().dir,p=g?' dir="'+i(g)+'"':"";return"<!DOCTYPE html><html><head>"+n+'</head><body id="'+i(y)+'" class="mce-content-body '+i(u)+'"'+p+">"+t.getContent()+v+"</body></html>"}(e);e.windowManager.open({title:"Preview",size:"large",body:{type:"panel",items:[{name:"preview",type:"iframe",sandboxed:!0}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{preview:t}}).focus("close")};e.add("preview",function(e){var t,n;(t=e).addCommand("mcePreview",function(){i(t)}),(n=e).ui.registry.addButton("preview",{icon:"preview",tooltip:"Preview",onAction:function(){return n.execCommand("mcePreview")}}),n.ui.registry.addMenuItem("preview",{icon:"preview",text:"Preview",onAction:function(){return n.execCommand("mcePreview")}})})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.Env");n.add("print",function(n){var t,i;(t=n).addCommand("mcePrint",function(){e.browser.isIE()?t.getDoc().execCommand("print",!1,null):t.getWin().print()}),(i=n).ui.registry.addButton("print",{icon:"print",tooltip:"Print",onAction:function(){return i.execCommand("mcePrint")}}),i.ui.registry.addMenuItem("print",{text:"Print...",icon:"print",onAction:function(){return i.execCommand("mcePrint")}}),n.addShortcut("Meta+P","","mcePrint")})}();
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(e){return e.getParam("save_enablewhendirty",!0)},c=function(e,n){e.notificationManager.open({text:n,type:"error"})},t=function(t){t.addCommand("mceSave",function(){!function(e){var n=o.DOM.getParent(e.id,"form");if(!i(e)||e.isDirty()){if(e.save(),e.getParam("save_onsavecallback"))return e.execCallback("save_onsavecallback",e),e.nodeChanged();n?(e.setDirty(!1),n.onsubmit&&!n.onsubmit()||("function"==typeof n.submit?n.submit():c(e,"Error: Form submit field collision.")),e.nodeChanged()):c(e,"Error: No form element found.")}}(t)}),t.addCommand("mceCancel",function(){var e,n;e=t,n=a.trim(e.startContent),e.getParam("save_oncancelcallback")?e.execCallback("save_oncancelcallback",e):e.resetContent(n)})},r=function(t){return function(e){var n=function(){e.setDisabled(i(t)&&!t.isDirty())};return t.on("NodeChange dirty",n),function(){return t.off("NodeChange dirty",n)}}};e.add("save",function(e){var n;(n=e).ui.registry.addButton("save",{icon:"save",tooltip:"Save",disabled:!0,onAction:function(){return n.execCommand("mceSave")},onSetup:r(n)}),n.ui.registry.addButton("cancel",{icon:"cancel",tooltip:"Cancel",disabled:!0,onAction:function(){return n.execCommand("mceCancel")},onSetup:r(n)}),n.addShortcut("Meta+S","","mceSave"),t(e)})}();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),c=tinymce.util.Tools.resolve("tinymce.EditorManager"),a=tinymce.util.Tools.resolve("tinymce.Env"),y=tinymce.util.Tools.resolve("tinymce.util.Delay"),d=tinymce.util.Tools.resolve("tinymce.util.Tools"),f=tinymce.util.Tools.resolve("tinymce.util.VK"),m=t.DOM,n=function(e){e.keyCode!==f.TAB||e.ctrlKey||e.altKey||e.metaKey||e.preventDefault()},i=function(s){var e=function(o){var l,r,e,t,n,i,u;o.keyCode!==f.TAB||o.ctrlKey||o.altKey||o.metaKey||o.isDefaultPrevented()||(e=function(e){var t=m.select(":input:enabled,*[tabindex]:not(iframe)"),n=function(e){return"BODY"===e.nodeName||"hidden"!==e.type&&"none"!==e.style.display&&"hidden"!==e.style.visibility&&n(e.parentNode)},i=function(e){return/INPUT|TEXTAREA|BUTTON/.test(e.tagName)&&c.get(o.id)&&-1!==e.tabIndex&&n(e)};if(d.each(t,function(e,t){if(e.id===s.id)return l=t,!1}),0<e){for(r=l+1;r<t.length;r++)if(i(t[r]))return t[r]}else for(r=l-1;0<=r;r--)if(i(t[r]))return t[r];return null},1===(t=d.explode((n=s).getParam("tab_focus",n.getParam("tabfocus_elements",":prev,:next")))).length&&(t[1]=t[0],t[0]=":prev"),(i=o.shiftKey?":prev"===t[0]?e(-1):m.get(t[0]):":next"===t[1]?e(1):m.get(t[1]))&&(u=c.get(i.id||i.name),i.id&&u?u.focus():y.setTimeout(function(){a.webkit||window.focus(),i.focus()},10),o.preventDefault()))};s.on("init",function(){s.inline&&m.setAttrib(s.getBody(),"tabIndex",null),s.on("keyup",n),a.gecko?s.on("keypress keydown",e):s.on("keydown",e)})};e.add("tabfocus",function(e){i(e)})}();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("textcolor",function(){console.warn("Text color plugin is now built in to the core editor, please remove it from your editor configuration")})}();
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var e,n,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),s=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),f=tinymce.util.Tools.resolve("tinymce.util.I18n"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(t){return t.getParam("toc_class","mce-toc")},m=function(t){var e=t.getParam("toc_header","h2");return/^h[1-6]$/.test(e)?e:"h2"},a=(e="mcetoc_",n=0,function(){var t=(new Date).getTime().toString(32);return e+t+(n++).toString(32)}),v=function(n){var t,o=l(n),e=m(n),r=function(t){for(var e=[],n=1;n<=t;n++)e.push("h"+n);return e.join(",")}(1<=(t=parseInt(n.getParam("toc_depth","3"),10))&&t<=9?t:3),i=n.$(r);return i.length&&/^h[1-9]$/i.test(e)&&(i=i.filter(function(t,e){return!n.dom.hasClass(e.parentNode,o)})),c.map(i,function(t){var e=t.id;return{id:e||a(),level:parseInt(t.nodeName.replace(/^H/i,""),10),title:n.$.text(t),element:t}})},u=function(t){var e,n,o,r,i,c,l,a="",u=v(t),d=function(t){for(var e=9,n=0;n<t.length;n++)if(t[n].level<e&&(e=t[n].level),1===e)return e;return e}(u)-1;if(!u.length)return"";for(a+=(i=m(t),c=f.translate("Table of Contents"),l="</"+i+">","<"+i+' contenteditable="true">'+s.DOM.encode(c)+l),e=0;e<u.length;e++){if((o=u[e]).element.id=o.id,r=u[e+1]&&u[e+1].level,d===o.level)a+="<li>";else for(n=d;n<o.level;n++)a+="<ul><li>";if(a+='<a href="#'+o.id+'">'+o.title+"</a>",r!==o.level&&r)for(n=o.level;r<n;n--)a+="</li></ul><li>";else a+="</li>",r||(a+="</ul>");d=o.level}return a},i=function(t){var e,n,o,r,i=l(t),c=t.$("."+i);o=t,!(r=c).length||0<o.dom.getParents(r[0],".mce-offscreen-selection").length?t.insertContent((n=u(e=t),'<div class="'+e.dom.encode(l(e))+'" contenteditable="false">'+n+"</div>")):d(t)},d=function(t){var e=l(t),n=t.$("."+e);n.length&&t.undoManager.transact(function(){n.html(u(t))})},o=function(n){return function(t){var e=function(){return t.setDisabled(n.mode.isReadOnly()||!(0<v(n).length))};return e(),n.on("LoadContent SetContent change",e),function(){return n.on("LoadContent SetContent change",e)}}},g=function(t){var e;t.ui.registry.addButton("toc",{icon:"toc",tooltip:"Table of contents",onAction:function(){return t.execCommand("mceInsertToc")},onSetup:o(t)}),t.ui.registry.addButton("tocupdate",{icon:"reload",tooltip:"Update",onAction:function(){return t.execCommand("mceUpdateToc")}}),t.ui.registry.addMenuItem("toc",{icon:"toc",text:"Table of contents",onAction:function(){return t.execCommand("mceInsertToc")},onSetup:o(t)}),t.ui.registry.addContextToolbar("toc",{items:"tocupdate",predicate:(e=t,function(t){return t&&e.dom.is(t,"."+l(e))&&e.getBody().contains(t)}),scope:"node",position:"node"})};t.add("toc",function(t){var e,n,o,r;(e=t).addCommand("mceInsertToc",function(){i(e)}),e.addCommand("mceUpdateToc",function(){d(e)}),g(t),o=(n=t).$,r=l(n),n.on("PreProcess",function(t){var e=o("."+r,t.node);e.length&&(e.removeAttr("contentEditable"),e.find("[contenteditable]").removeAttr("contentEditable"))}),n.on("SetContent",function(){var t=o("."+r);t.length&&(t.attr("contentEditable",!1),t.children(":first-child").attr("contentEditable",!0))})})}();
@@ -0,0 +1,9 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.1 (2021-05-20)
*/
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(t,o,e){var n,i;t.dom.toggleClass(t.getBody(),"mce-visualblocks"),e.set(!e.get()),n=t,i=e.get(),n.fire("VisualBlocks",{state:i})},f=function(e,n){return function(o){o.setActive(n.get());var t=function(t){return o.setActive(t.state)};return e.on("VisualBlocks",t),function(){return e.off("VisualBlocks",t)}}};t.add("visualblocks",function(t,o){var e,n,i,s,c,u,l,a=(e=!1,{get:function(){return e},set:function(t){e=t}});i=a,(n=t).addCommand("mceVisualBlocks",function(){r(n,0,i)}),c=a,(s=t).ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:function(){return s.execCommand("mceVisualBlocks")},onSetup:f(s,c)}),s.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:function(){return s.execCommand("mceVisualBlocks")},onSetup:f(s,c)}),l=a,(u=t).on("PreviewFormats AfterPreviewFormats",function(t){l.get()&&u.dom.toggleClass(u.getBody(),"mce-visualblocks","afterpreviewformats"===t.type)}),u.on("init",function(){u.getParam("visualblocks_default_state",!1,"boolean")&&r(u,0,l)})})}();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem}
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
@media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;left:0;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;position:fixed;top:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox.tox-tinymce.tox-fullscreen{background-color:transparent;z-index:1200}.tox-shadowhost.tox-fullscreen{z-index:1200}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;left:0;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;position:fixed;top:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox.tox-tinymce.tox-fullscreen{background-color:transparent;z-index:1200}.tox-shadowhost.tox-fullscreen{z-index:1200}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long