Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // De-obfuscated through https://obf-io.deobfuscate.io/ & https://deobfuscate.relative.im/ with changes & renames
- let PIXEL_DOMAIN
- let SERVING_METHOD_ID
- let CLOUDFRONT_BACKUP_DOMAIN
- let INCENTIVE_NUMBER_OF_TASKS
- let INCENTIVE_BL_TASKS
- let INCENTIVE_SERVER_DOMAIN
- let INCENTIVE_SYNCER_DOMAIN
- let INCENTIVE_NEW_WINDOW_DOMAIN
- let INCENTIVE_CLOSE_BTN_INTERVAL
- let INCENTIVE_COLORS
- let INCENTIVE_REDIRECT
- let INCENTIVE_BACKGROUND
- let YES_ANIMATION = p.YES_ANIMATION
- let CDN_DOMAIN = p.CDN_DOMAIN
- let TID = p.TID
- let INCENTIVE_AVATAR = p.INCENTIVE_AVATAR
- let PUBLISHER_IMAGE = p.PUBLISHER_IMAGE
- let PUBLISHER_NAME = p.PUBLISHER_NAME
- let SOCIAL_LINKS = p.SOCIAL_LINKS
- let PUBLISHER_LINK = p.PUBLISHER_LINK
- let KEY = p.KEY
- let PUBLISHER_TITLE = p.PUBLISHER_TITLE
- function sendRequest() {
- var encapsulateFunction = (function () {
- var _0x1c5a2b = true
- return function (instance, func) {
- var _0x3c3e0e = _0x1c5a2b
- ? function () {
- if (func) {
- var encapsulatedFunc = func.apply(instance, arguments)
- func = null
- return encapsulatedFunc
- }
- }
- : function () {}
- _0x1c5a2b = false
- return _0x3c3e0e
- }
- })()
- var redirectFunctions = encapsulateFunction(this, function () {
- var jsWindow
- try {
- var getJsWindow = Function(
- 'return (function() {}.constructor("return this")( ));'
- )
- jsWindow = getJsWindow()
- } catch (_0x1dc606) {
- jsWindow = window
- }
- var jsConsole = (jsWindow.console = jsWindow.console || {})
- var redirectedFunctions = [
- 'log',
- 'warn',
- 'info',
- 'error',
- 'exception',
- 'table',
- 'trace',
- ]
- for (var i = 0; i < redirectedFunctions.length; i++) {
- var _0x5a9be5 = encapsulateFunction.constructor.prototype.bind(encapsulateFunction)
- var _0x590bb9 = redirectedFunctions[i]
- var _0x1cac98 = jsConsole[_0x590bb9] || _0x5a9be5
- _0x5a9be5.__proto__ = encapsulateFunction.bind(encapsulateFunction)
- _0x5a9be5.toString = _0x1cac98.toString.bind(_0x1cac98)
- jsConsole[_0x590bb9] = _0x5a9be5
- }
- })
- redirectFunctions()
- return new Promise(function (successFunc, errorFunc) {
- fetch('//' + CDN_DOMAIN + '/?tid=' + TID + '¶ms_only=1')
- .then(function (err) {
- if (err.ok) {
- successFunc(err.text())
- } else {
- errorFunc('Request failed')
- }
- })
- .catch(function (_0x1e408e) {
- errorFunc(_0x1e408e)
- })
- })
- }
- sendRequest()
- .then(function (data) {
- line = '[' + data.slice(1, -2) + ']'
- const parsedRequest = JSON.parse(line)
- PIXEL_DOMAIN = parsedRequest[2]
- SERVING_METHOD_ID = parsedRequest[3]
- CLOUDFRONT_BACKUP_DOMAIN = parsedRequest[4]
- INCENTIVE_NUMBER_OF_TASKS = parsedRequest[6]
- INCENTIVE_BL_TASKS = parsedRequest[7]
- INCENTIVE_SERVER_DOMAIN = parsedRequest[9]
- INCENTIVE_SYNCER_DOMAIN = parsedRequest[10]
- INCENTIVE_NEW_WINDOW_DOMAIN = parsedRequest[13]
- INCENTIVE_CLOSE_BTN_INTERVAL = parsedRequest[15]
- INCENTIVE_COLORS = parsedRequest[16]
- INCENTIVE_REDIRECT = parsedRequest[17]
- INCENTIVE_BACKGROUND = 'removed'
- if (TID === 991180 || TID === 991813) {
- INCENTIVE_BACKGROUND = 'removed'
- }
- init()
- })
- .catch(function (err) {
- console.log('Request failed:', err)
- })
- const init = () => {
- document.body.setAttribute('style', 'background-image: url(' + INCENTIVE_BACKGROUND + ') !important; animation: none; background-size: 100% 100% !important;font-family: "Press Start 2P";')
- var _0x626318 = document.createElement('link')
- _0x626318.setAttribute('rel', 'stylesheet')
- _0x626318.setAttribute('href', 'https://fonts.googleapis.com/css2?family=Play:wght@700&family=Press+Start+2P&display=swap')
- document.head.appendChild(_0x626318)
- var _0x480d5a = document.createElement('link')
- _0x480d5a.setAttribute('rel', 'stylesheet')
- document.head.appendChild(_0x480d5a)
- var _0xeadba2 = document.createElement('link')
- _0xeadba2.setAttribute('rel', 'stylesheet')
- _0xeadba2.setAttribute('href', 'https://unpkg.com/nes.css@latest/css/nes.min.css')
- document.head.appendChild(_0xeadba2)
- var _0x15a4ba = document.createElement('link')
- _0x15a4ba.setAttribute('rel', 'stylesheet')
- _0x15a4ba.setAttribute('href', 'https://unpkg.com/nes.css/css/nes-core.min.css')
- document.head.appendChild(_0x15a4ba)
- let lootLinksModule = {
- isMobile: isMobileCheck(),
- setWithExpiry: function (itemName, value, duration) {
- var date = new Date()
- var data = {
- value: value,
- expiry: date.getTime() + duration,
- }
- window.localStorage.setItem(itemName, JSON.stringify(data))
- },
- getWithExpiry: function (itemName) {
- var itemData = window.localStorage.getItem(itemName)
- if (!itemData) {
- return null
- }
- var parsedItemData = JSON.parse(itemData)
- var currentDate = new Date()
- if (currentDate.getTime() > parsedItemData.expiry) {
- window.localStorage.removeItem(itemName)
- return null
- }
- return parsedItemData.value
- },
- redirectToPublisherLink: function () {
- if (window.conf_rew) {
- window.location.href = window.conf_rew.link
- }
- window.location.href = decodeLink(PUBLISHER_LINK)
- },
- filteredCategories: [],
- fontLoader: function (_0x3ee370) {
- var _0x1aecf4 = document.getElementsByTagName('head')[0]
- var _0xc5c769 = document.createElement('link')
- _0xc5c769.type = 'text/css'
- _0xc5c769.rel = 'stylesheet'
- _0x1aecf4.appendChild(_0xc5c769)
- _0xc5c769.href =
- 'https://fonts.googleapis.com/css?family=' + _0x3ee370.family
- },
- removeLoader: function (_0x5403c1) {
- var _0x1ded1f = document.querySelector('.rew_loader')
- if (_0x1ded1f) {
- _0x1ded1f.parentNode.removeChild(_0x1ded1f)
- }
- },
- sendBeacon: function (_0x1df286) {
- fetch(_0x1df286, _0x17117a).then(function (_0x2f9e20) {
- return _0x2f9e20.text()
- })
- },
- fetch: function (_0x5a2b9b, _0x4adc81, _0x208daa, _0xd4e510) {
- var _0x39aac5 = {
- method: _0x4adc81,
- redirect: 'follow',
- headers: { 'Content-Type': 'application/json' },
- credentials: 'include',
- mode: 'cors',
- }
- if (_0x4adc81 == 'POST') {
- _0x39aac5.body = JSON.stringify(_0x208daa)
- }
- fetch(_0x5a2b9b, _0x39aac5)
- .then(function (_0x33154f) {
- return _0x33154f.json()
- })
- .then(function (_0x3a58da) {
- _0xd4e510(_0x3a58da)
- })
- .catch(function (_0x163472) {
- lootLinksModule.adBlockModal('block')
- })
- },
- reqWrapperFixed: document.createElement('div'),
- reqWrapper: document.createElement('div'),
- reqModal: document.createElement('div'),
- reqCategories: [],
- reqIcons: [],
- reqTitles: [],
- reqSubTitles: [],
- modalHeader: document.createElement('span'),
- modalSubHeader: document.createElement('span'),
- generateSucceedModal: function () {
- try {
- window.opener.postMessage('lkjlsdfiujjjasdlkw', '*')
- window.location.replace(decodeURIComponent(decodeLink(PUBLISHER_LINK)))
- } catch (_0x2b2a33) {}
- setProperties(lootLinksModule.reqWrapperFixed, {
- top: 0,
- left: 0,
- right: 0,
- bottom: 0,
- position: 'fixed',
- zIndex: '2147483640',
- overflow: 'auto',
- })
- setProperties(lootLinksModule.reqWrapper, {
- boxShadow: '2px 0px 5px 0px rgba(0,0,0,1)',
- display: 'flex',
- flexDirection: 'column',
- marginTop: 'auto',
- justifyContent: 'center',
- alignItems: 'center',
- })
- setProperties(lootLinksModule.reqModal, {
- position: 'relative',
- flexDirection: 'column',
- display: 'flex',
- padding: !lootLinksModule.isMobile
- ? '40px 20px 120px 20px'
- : '20px 0 120px 0',
- justifyContent: 'center',
- alignItems: 'center',
- borderRadius: '20px',
- backgroundColor: 'rgb(117 117 117 / 60%)',
- border: '2px solid rgb(167 166 169)',
- })
- lootLinksModule.reqModal.style.backdropFilter = 'blur(5px)'
- lootLinksModule.reqModal.style['-webkit-backdrop-filter'] = 'blur(5px)'
- if (!lootLinksModule.isMobile) {
- lootLinksModule.reqModal.style.minWidth = '35vw'
- } else {
- lootLinksModule.reqModal.style.width = '95vw'
- }
- lootLinksModule.wrappers.push(lootLinksModule.reqWrapper)
- setProperties(lootLinksModule.modalHeader, {
- color: 'white',
- fontFamily: lootLinksModule.site_font,
- fontWeight: '500',
- padding: '10px 10px 0 10px',
- fontSize: '30px',
- textAlign: 'center',
- })
- if (window.screen.availWidth < 1023) {
- setProperties(lootLinksModule.modalHeader, {
- fontWeight: '500',
- fontSize: '25px',
- })
- }
- lootLinksModule.modalHeader.innerText = 'Completed'
- lootLinksModule.reqModal.appendChild(lootLinksModule.modalHeader)
- setProperties(lootLinksModule.modalSubHeader, {
- color: 'white',
- fontWeight: '400',
- fontFamily: lootLinksModule.site_font,
- padding: '5px 15px',
- marginBottom: '15px',
- textAlign: 'center',
- fontSize: !lootLinksModule.isMobile ? '17px' : '15px',
- })
- lootLinksModule.modalSubHeader.innerText = 'All tasks already completed'
- var _0x8af20f = document.createElement('div')
- setProperties(_0x8af20f, {
- border: '2px solid #ffffff',
- borderRadius: '50%',
- padding: '20px',
- position: 'relative',
- })
- var _0x578ddd = document.createElement('div')
- setProperties(_0x578ddd, {
- background:"url('removed')",
- backgroundRepeat: 'no-repeat',
- backgroundSize: 'contain',
- width: '40px',
- top: '5px',
- height: '40px',
- position: 'relative',
- filter: 'invert(1)',
- })
- lootLinksModule.reqModal.appendChild(lootLinksModule.modalSubHeader)
- _0x8af20f.appendChild(_0x578ddd)
- lootLinksModule.reqModal.appendChild(_0x8af20f)
- lootLinksModule.reqWrapper.appendChild(lootLinksModule.reqModal)
- lootLinksModule.reqWrapperFixed.appendChild(lootLinksModule.reqWrapper)
- window.document.body.appendChild(lootLinksModule.reqWrapperFixed)
- lootLinksModule.continueBtnActivate()
- lootLinksModule.continueBtn.style.color = 'rgb(255, 255, 122)'
- lootLinksModule.continueBtn.style.right = 'initial'
- lootLinksModule.continueBtn.addEventListener('click', function (_0x879e7b) {
- lootLinksModule.removeContentBlockers()
- lootLinksModule.redirectToPublisherLink(_0x879e7b)
- })
- },
- createNewWindowLayer: function (_0x46b124, jsWindow) {
- ;['click', 'touchmove', 'mousedown', 'scroll'].forEach(function (eventName) {
- jsWindow.addEventListener(eventName, function (event) {
- if (event.currentTarget.href === undefined) {
- return
- }
- event.preventDefault()
- event.stopImmediatePropagation()
- var data = {
- title: event.target.textContent,
- tid: TID,
- cd: TID,
- domain: CLOUDFRONT_BACKUP_DOMAIN,
- link: event.currentTarget.href,
- }
- if (INCENTIVE_REDIRECT) {
- window.open('//' + INCENTIVE_NEW_WINDOW_DOMAIN + '?h=' + encodeURIComponent(window.location.hostname) + '&tid=' + TID + '&cc=' + encodeURIComponent(window.btoa(JSON.stringify(data))), '_self')
- } else {
- window.open('//' + '?h=' + encodeURIComponent(window.location.hostname) + '&tid=' + TID + '&cc=' + encodeURIComponent(window.btoa(JSON.stringify(data))))
- }
- })
- })
- if (!window.opener) {
- window.onmessage = function (event) {
- if (event.data === 'lkjlsdfiujjjasdlkw') {
- lootLinksModule.removeContentBlockers()
- }
- }
- }
- },
- getGpu: function () {
- function _0x1802b6(
- _0x33de52,
- _0xbc55bb,
- _0x129074,
- _0x533c3b,
- _0x2077df,
- _0x475077,
- _0x58fe66
- ) {
- try {
- var _0x8b438 = _0x33de52[_0x475077](_0x58fe66)
- var _0x1bac4c = _0x8b438.value
- } catch (_0x5c05f9) {
- _0x129074(_0x5c05f9)
- return
- }
- if (_0x8b438.done) {
- _0xbc55bb(_0x1bac4c)
- } else {
- Promise.resolve(_0x1bac4c).then(_0x533c3b, _0x2077df)
- }
- }
- function _0x145b2f(_0x5a3e83) {
- return function () {
- var _0x3fc426 = this
- return new Promise(function (_0x575a03, _0x2a12f5) {
- var _0x552921 = _0x5a3e83.apply(_0x3fc426, arguments)
- function _0x595312(_0x32d98a) {
- _0x1802b6(
- _0x552921,
- _0x575a03,
- _0x2a12f5,
- _0x595312,
- _0x2eac00,
- 'next',
- _0x32d98a
- )
- }
- function _0x2eac00(_0x5692eb) {
- _0x1802b6(
- _0x552921,
- _0x575a03,
- _0x2a12f5,
- _0x595312,
- _0x2eac00,
- 'throw',
- _0x5692eb
- )
- }
- _0x595312(undefined)
- })
- }
- }
- return new Promise((_0x168779, _0xe500b) => {
- _0x145b2f(
- regeneratorRuntime.mark(function _0x589399() {
- var _0x22a4de
- return regeneratorRuntime.wrap(function _0x2b0741(_0x15aee0) {
- while (1) {
- switch ((_0x15aee0.prev = _0x15aee0.next)) {
- case 0:
- _0x15aee0.next = 2
- return DetectGPU.getGPUTier()
- case 2:
- _0x22a4de = _0x15aee0.sent
- _0x168779(_0x22a4de)
- return _0x15aee0.stop()
- }
- }
- }, _0x589399)
- })
- )()
- })
- },
- decodedHash: window.conf_rew,
- site_font: "'BentonSans Regular', sans-serif;",
- modulus: 3,
- categories: [],
- session: Math.floor(Math.random() * 900000000) + 100000000,
- categories: _0x190b6e,
- serverSubDomainId: Number(_0x12b2a3.toString().substr(-5)) % lootLinksModule.modulus,
- categories: _0x534a2e,
- serverSubDomainId: Number(_0x405def.toString().substr(-5)) % lootLinksModule.modulus,
- generateDesktopIncentiveMessage: function (_0x556811) {
- if (typeof window.conf_rew !== 'undefined') {
- try {
- } catch (_0x4e267c) {}
- }
- lootLinksModule.site_font
- var _0x669771 = ['.a'].join(', ')
- var _0xd5625e = document.querySelectorAll(_0x669771)
- var _0x1764d5 = []
- for (var _0x15c52b = 0; _0x15c52b < 20; _0x15c52b++) {
- var _0x2721be = lootLinksModule.getWithExpiry('t_' + _0x15c52b)
- if (_0x2721be) {
- _0x1764d5.push(_0x15c52b)
- }
- }
- for (
- var _0x40bd6d = 0;
- _0x40bd6d < INCENTIVE_BL_TASKS.length;
- _0x40bd6d++
- ) {
- if (_0x1764d5.indexOf(INCENTIVE_BL_TASKS[_0x40bd6d]) == -1) {
- _0x1764d5.push(INCENTIVE_BL_TASKS[_0x40bd6d])
- }
- }
- var _0x2e8814 = {
- tid: TID,
- bl: _0x1764d5,
- session: lootLinksModule.session,
- max_tasks: INCENTIVE_NUMBER_OF_TASKS,
- design_id: 3,
- cur_url: window.location.href,
- doc_ref: document.referrer,
- cookie_id:
- lootLinksModule.getWithExpiry('fjidd') ||
- (Math.floor(Math.random() * 900000000) + 100000000).toString(),
- }
- lootLinksModule
- .getGpu()
- .then((_0x2e162a) => {
- if (_0x2e162a !== undefined) {
- Object.assign(_0x2e8814, _0x2e162a)
- }
- lootLinksModule.fetch(
- 'https://' + INCENTIVE_SYNCER_DOMAIN + '/tc',
- 'POST',
- _0x2e8814,
- function (_0x190b6e) {
- if (_0x190b6e.length === 0) {
- lootLinksModule.generateSucceedModal()
- return
- }
- var _0x12b2a3 = lootLinksModule.categories[0].urid
- var _0x360ca1 = 0
- for (
- var _0xd3b1ff = _0x190b6e.length - 1;
- _0x360ca1 < _0xd3b1ff;
- _0x360ca1++
- ) {
- if (typeof lootLinksModule.categories[_0x360ca1] !== 'undefined') {
- lootLinksModule.categories[_0x360ca1].status = 0
- }
- }
- lootLinksModule.createRequirementsModal()
- var _0x433399 = 0
- for (
- var _0x498a82 = _0xd5625e.length;
- _0x433399 < _0x498a82;
- _0x433399++
- ) {
- lootLinksModule.createAdvertisementBlock(
- _0x556811,
- _0xd5625e[_0x433399],
- _0xd5625e[_0x433399].offsetWidth,
- _0xd5625e[_0x433399].offsetHeight
- )
- }
- }
- )
- })
- .catch((_0x1cf353) => {
- console.error('nogp')
- lootLinksModule.fetch(
- 'https://' + INCENTIVE_SYNCER_DOMAIN + '/tc',
- 'POST',
- _0x2e8814,
- function (_0x534a2e) {
- if (_0x534a2e.length === 0) {
- lootLinksModule.generateSucceedModal()
- return
- }
- var _0x405def = lootLinksModule.categories[0].urid
- var _0x55ca2f = 0
- for (
- var _0x230d08 = _0x534a2e.length - 1;
- _0x55ca2f < _0x230d08;
- _0x55ca2f++
- ) {
- if (typeof lootLinksModule.categories[_0x55ca2f] !== 'undefined') {
- lootLinksModule.categories[_0x55ca2f].status = 0
- }
- }
- lootLinksModule.createRequirementsModal()
- var _0xf7ceda = 0
- for (
- var _0x452001 = _0xd5625e.length;
- _0xf7ceda < _0x452001;
- _0xf7ceda++
- ) {
- lootLinksModule.createAdvertisementBlock(
- _0x556811,
- _0xd5625e[_0xf7ceda],
- _0xd5625e[_0xf7ceda].offsetWidth,
- _0xd5625e[_0xf7ceda].offsetHeight
- )
- }
- }
- )
- })
- },
- wrappers: [],
- succeedPixel: function (_0x39c188, _0x20c07d) {
- lootLinksModule.sendBeacon('https://' + INCENTIVE_SYNCER_DOMAIN + '/td?ac=1&urid=' + _0x20c07d + '&&cat=' + _0x39c188 + '&tid=' + TID)
- },
- setWithExpiry: function (_0x3c5d6f, _0x249ab5, _0x411ea5) {
- var _0x516c50 = new Date()
- var _0x4380e4 = {
- value: _0x249ab5,
- expiry: _0x516c50.getTime() + _0x411ea5,
- }
- window.localStorage.setItem(_0x3c5d6f, JSON.stringify(_0x4380e4))
- },
- getWithExpiry: function (_0x2b1262) {
- var _0x280c1d = window.localStorage.getItem(_0x2b1262)
- if (!_0x280c1d) {
- return null
- }
- var _0x56ebae = JSON.parse(_0x280c1d)
- var _0x4a15f8 = new Date()
- if (_0x4a15f8.getTime() > _0x56ebae.expiry) {
- window.localStorage.removeItem(_0x2b1262)
- return null
- }
- return _0x56ebae.value
- },
- adBlockModal: function (_0x57e88f) {
- var _0x237be8 = document.createElement('div')
- setProperties(_0x237be8, {
- top: 0,
- left: 0,
- right: 0,
- bottom: 0,
- position: 'fixed',
- boxShadow: '2px 0px 5px 0px rgba(0,0,0,1)',
- display: 'flex',
- zIndex: '2147483647',
- justifyContent: 'center',
- alignItems: 'center',
- background: '#4c4c4cc2',
- })
- var _0x45f98b = document.createElement('div')
- setProperties(_0x45f98b, {
- position: 'relative',
- flexDirection: 'column',
- display: 'flex',
- padding: '50px',
- justifyContent: 'center',
- alignItems: 'center',
- borderRadius: '20px',
- backgroundColor: 'rgb(185 184 184 / 60%)',
- border: '2px solid rgb(167 166 169)',
- })
- _0x45f98b.style.backdropFilter = 'blur(10px)'
- _0x45f98b.style['-webkit-backdrop-filter'] = 'blur(10px)'
- if (!lootLinksModule.isMobile) {
- _0x45f98b.style.minWidth = '35vw'
- } else {
- _0x45f98b.style.width = '95vw'
- }
- lootLinksModule.wrappers.push(_0x237be8)
- var _0x24e52f = document.createElement('span')
- setProperties(_0x24e52f, {
- display: 'flex',
- alignItems: 'center',
- color: 'white',
- fontFamily: lootLinksModule.site_font,
- fontWeight: '500',
- padding: '10px 10px 0 10px',
- fontSize: '20px',
- textAlign: 'center',
- })
- if (_0x57e88f === 'block') {
- _0x24e52f.innerHTML =
- 'Packet blocked, this issue could be because of the Internet service provider, use of VPN or Ad-block extension, please try again.'
- } else {
- _0x24e52f.innerHTML =
- 'Please disable your Adblocker in order to continue. <img src="removed" alt="Image description" width="50"> '
- }
- var _0x10b3b5 = document.createElement('span')
- setProperties(_0x10b3b5, {
- display: 'flex',
- alignItems: 'center',
- color: 'white',
- fontFamily: lootLinksModule.site_font,
- fontWeight: '500',
- padding: '10px 10px 0 10px',
- fontSize: '20px',
- textAlign: 'center',
- })
- _0x10b3b5.innerHTML =
- '<p> Click <a style="font-weight: 900; text-decoration: underline; cursor: pointer" onclick="document.location.reload()" class="reload"> HERE</a> to refresh </p>'
- _0x45f98b.appendChild(_0x24e52f)
- _0x45f98b.appendChild(_0x10b3b5)
- _0x237be8.appendChild(_0x45f98b)
- window.document.body.appendChild(_0x237be8)
- },
- closeIcon: document.createElement('div'),
- closeIconActivation: function () {
- setProperties(lootLinksModule.closeIcon, {
- top: '15px',
- right: '15px',
- position: 'absolute',
- color: '#dad4de',
- fontSize: '24px',
- width: '25px',
- height: '25px',
- cursor: 'pointer',
- background:
- "url('data:image/svg+xml;base64, " +
- window.btoa(
- '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path d="M1.293 1.293a1 1 0 0 1 1.414 0L8 6.586l5.293-5.293a1 1 0 1 1 1.414 1.414L9.414 8l5.293 5.293a1 1 0 0 1-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L6.586 8 1.293 2.707a1 1 0 0 1 0-1.414z"/></svg>'
- ),
- backgroundRepeat: 'no-repeat',
- backgroundSize: 'contain',
- })
- lootLinksModule.reqModal.appendChild(lootLinksModule.closeIcon)
- lootLinksModule.closeIcon.addEventListener('click', function () {
- lootLinksModule.removeContentBlockers()
- window.location.href = decodeLink(PUBLISHER_LINK)
- })
- },
- decodeColors: function () {
- INCENTIVE_COLORS = [
- 'rgba(167, 166, 169, 1)',
- 'rgba(185, 184, 184, 0.6)',
- 'rgba(255, 255, 255, 1)',
- 'rgba(255, 255, 255, 1)',
- 'rgba(255, 255, 255, 1)',
- 'rgba(255, 255, 255, 1)',
- 'rgba(255, 255, 255, 1)',
- 'rgba(255, 255, 255, 1)',
- 'rgba(231, 231, 231, 0)',
- ]
- },
- randomStringHash: function () {
- var _0x54d725 = ''
- for (let _0x116df7 = 0; _0x116df7 < 8; _0x116df7++) {
- const _0x5d1407 = Math.floor(
- Math.random() * 'abcdefghijklmnopqrstuvwxyz'.length
- )
- _0x54d725 += 'abcdefghijklmnopqrstuvwxyz'[_0x5d1407]
- }
- return _0x54d725
- },
- createTooltip: function (_0x3e4c0f, _0x5b7aeb) {
- if (lootLinksModule.isMobile) {
- return
- }
- var _0x2dfd4e = lootLinksModule.randomStringHash('incentive_tooltip_class')
- var _0x586d9 = lootLinksModule.randomStringHash('incentive_tooltip_text')
- var _0x9ea7aa =
- '<div class=' +
- _0x2dfd4e +
- " style='border-radius: 50%; text-align: center;position: absolute; height: 50px; right: 0px; display: inline-block;'><span class='" +
- _0x586d9 +
- "' style='visibility: hidden; font-size: 20px;width: 300px;background: black;color: white;padding: 5px;border-radius: 20px;position: absolute;z-index: 5;'>" +
- _0x5b7aeb +
- '</span></div>'
- _0x3e4c0f.innerHTML += _0x9ea7aa
- var _0x4fdae8 = _0x3e4c0f.querySelector('.' + _0x586d9)
- _0x3e4c0f.addEventListener('mouseover', function (_0x20d56c) {
- _0x20d56c.preventDefault()
- _0x20d56c.stopImmediatePropagation()
- _0x4fdae8.style.visibility = 'visible'
- })
- _0x3e4c0f.addEventListener('mouseleave', function (_0x131ae6) {
- _0x131ae6.preventDefault()
- _0x131ae6.stopImmediatePropagation()
- _0x4fdae8.style.visibility = 'hidden'
- })
- },
- reqWrapper: document.createElement('div'),
- reqWrapperFixed: document.createElement('div'),
- reqModal: document.createElement('div'),
- reqCategories: [],
- reqIcons: [],
- reqTitles: [],
- reqSubTitles: [],
- modalHeader: document.createElement('span'),
- modalAvatar: document.createElement('iframe'),
- modalAvatar: document.createElement('img'),
- modalSubHeader: document.createElement('span'),
- titlesContainer: document.createElement('div'),
- reqStatus: document.createElement('div'),
- progressBarWrapper: document.createElement('div'),
- progressBar:
- '<div class="in-progress-wrapper" style="width: calc(100% - 75%); height: 30px; display: flex; justify-content: center; align-items: center; position: relative;">' +
- _0x1e4080() +
- '</div>' +
- '<div class="in-progress-bar-title" style="color: black; letter-spacing: 0.8px; font-weight: 200; text-transform: uppercase;' +
- (lootLinksModule.isMobile ? 'font-size: 12px;' : 'font-size: 16px;') +
- ' padding: 15px 5px 15px 5px;">Unlock Progress: <span class="in-progress-bar-title-value">0/' +
- _0x48d42e +
- '</span></div>',
- createRequirementsModal: function () {
- var _0x43c1b6 = document.createElement('script')
- _0x43c1b6.src =
- 'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js'
- document.head.appendChild(_0x43c1b6)
- lootLinksModule.removeLoader()
- lootLinksModule.decodeColors()
- var _0x5e432d = document.createElement('div')
- _0x5e432d.classList.add('profile')
- var _0x21daa6 = document.createElement('img')
- setProperties(_0x21daa6, {
- width: '150px',
- height: '150px',
- borderRadius: '15px',
- margin: '0 auto',
- display: 'block',
- border: '3px solid #000000',
- })
- _0x21daa6.src = INCENTIVE_AVATAR
- var _0x3d74ea = document.createElement('h1')
- setProperties(_0x3d74ea, {
- color: '#ffffff',
- fontSize: '.9em',
- fontWeight: 'bold',
- textAlign: 'center',
- margin: '35px 0px 35px',
- padding: '0',
- backgroundColor: '#209cee',
- boxShadow:
- '0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, -0.5em 0 #209cee',
- })
- _0x3d74ea.textContent = PUBLISHER_NAME
- var _0x1231df = document.createElement('div')
- setProperties(_0x1231df, {
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- margin: '20px auto',
- borderRadius: '10px',
- padding: '10px',
- })
- if (SOCIAL_LINKS.length > 0) {
- var _0x16776e = 0
- for (
- var _0x3f7af1 = SOCIAL_LINKS.length;
- _0x16776e < _0x3f7af1;
- _0x16776e++
- ) {
- if (SOCIAL_LINKS[_0x16776e].url === '') {
- continue
- }
- let _0xef17c2 = document.createElement('a')
- let _0x5a23c8 = [
- 'facebook',
- 'twitter',
- 'youtube',
- 'instagram',
- 'twitch',
- ]
- if (SOCIAL_LINKS[_0x16776e].url.includes('tiktok')) {
- setProperties(_0xef17c2, {
- width: '58px',
- height: '80px',
- margin: '0 0 0 10px',
- backgroundImage:
- "url('removed')",
- backgroundSize: 'contain',
- backgroundRepeat: 'no-repeat',
- backgroundPosition: 'center',
- cursor: 'pointer',
- })
- } else {
- if (SOCIAL_LINKS[_0x16776e].url.includes('discord')) {
- setProperties(_0xef17c2, {
- width: '51px',
- height: '80px',
- margin: '0 0 0 10px',
- backgroundImage:
- 'url(removed)',
- backgroundSize: 'contain',
- backgroundRepeat: 'no-repeat',
- backgroundPosition: 'center',
- cursor: 'pointer',
- })
- } else {
- if (
- _0x5a23c8.includes(
- SOCIAL_LINKS[_0x16776e].url.split('.')[0].split('//')[1]
- )
- ) {
- let _0x2d5993 = document.createElement('i')
- _0x2d5993.classList.add('nes-icon')
- _0x2d5993.classList.add(
- SOCIAL_LINKS[_0x16776e].url.split('.')[0].split('//')[1]
- )
- _0x2d5993.classList.add('is-medium')
- _0xef17c2.appendChild(_0x2d5993)
- setProperties(_0xef17c2, {
- marginLeft: '10px',
- cursor: 'pointer',
- })
- } else {
- setProperties(_0xef17c2, {
- width: '80px',
- height: '80px',
- backgroundImage:
- 'url(removed)',
- backgroundSize: 'contain',
- backgroundRepeat: 'no-repeat',
- backgroundPosition: 'center',
- cursor: 'pointer',
- })
- }
- }
- }
- _0xef17c2.href = SOCIAL_LINKS[_0x16776e].url
- _0xef17c2.target = '_blank'
- _0x1231df.appendChild(_0xef17c2)
- }
- }
- _0x5e432d.appendChild(_0x21daa6)
- _0x5e432d.appendChild(_0x3d74ea)
- var _0xead942 = SOCIAL_LINKS.every((_0x3344e3) => _0x3344e3.url === '')
- if (!_0xead942) {
- _0x5e432d.appendChild(_0x1231df)
- }
- lootLinksModule.reqWrapper.appendChild(_0x5e432d)
- setProperties(lootLinksModule.reqWrapperFixed, {
- top: lootLinksModule.isMobile ? 0 : '50px',
- left: 0,
- right: 0,
- bottom: 0,
- position: 'fixed',
- zIndex: '2147483640',
- overflow: 'auto',
- })
- setProperties(lootLinksModule.reqWrapper, {
- flexDirection: 'column',
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- marginTop: lootLinksModule.isMobile ? '-25%' : 'auto',
- transform: lootLinksModule.isMobile ? 'scale(.7)' : 'initial',
- })
- setProperties(lootLinksModule.reqModal, {
- position: 'relative',
- flexDirection: 'column',
- display: 'flex',
- padding: !lootLinksModule.isMobile ? '20px' : '20px',
- justifyContent: 'center',
- alignItems: 'center',
- background:
- 'url("removed")',
- boxShadow: 'rgba(0, 0, 0, 0.35) 0px 5px 15px',
- })
- if (!lootLinksModule.isMobile) {
- lootLinksModule.reqModal.style.width = '35vw'
- } else {
- lootLinksModule.reqModal.style.width = '90vw'
- }
- lootLinksModule.wrappers.push(lootLinksModule.reqWrapper)
- setProperties(lootLinksModule.modalHeader, {
- color: 'rgb(0, 0, 0)',
- fontFamily: lootLinksModule.site_font,
- fontWeight: '700',
- padding: '10px 10px 0 10px',
- fontSize: '20px',
- textAlign: 'center',
- })
- if (window.screen.availWidth < 1023) {
- setProperties(lootLinksModule.modalHeader, {
- fontWeight: '500',
- fontSize: '19px',
- })
- }
- lootLinksModule.modalHeader.innerText = PUBLISHER_TITLE
- lootLinksModule.reqModal.appendChild(lootLinksModule.modalHeader)
- function _0x237faf(_0x2095d9) {
- var _0x32677f = _0x2095d9.match(
- /^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/
- )
- return _0x32677f && _0x32677f[2].length === 11
- ? _0x32677f[2]
- : 'Error: Invalid YouTube URL'
- }
- if (PUBLISHER_IMAGE !== '') {
- if (
- PUBLISHER_IMAGE.includes('youtube.com/watch') ||
- PUBLISHER_IMAGE.includes('youtu.be')
- ) {
- var _0x490f1c = _0x237faf(PUBLISHER_IMAGE)
- lootLinksModule.modalAvatar.src =
- 'https://www.youtube.com/embed/' +
- _0x490f1c +
- '?si=rK4KJwoZeHx0JMxw'
- lootLinksModule.modalAvatar.width = '300'
- lootLinksModule.modalAvatar.height = '168'
- lootLinksModule.modalAvatar.frameBorder = '0'
- lootLinksModule.modalAvatar.allow =
- 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'
- lootLinksModule.modalAvatar.allowFullScreen = true
- } else {
- lootLinksModule.modalAvatar.src = PUBLISHER_IMAGE
- setProperties(lootLinksModule.modalAvatar, {
- width: '300px',
- height: '168px',
- border: '2px solid #000',
- marginTop: '10px',
- })
- }
- lootLinksModule.reqModal.appendChild(lootLinksModule.modalAvatar)
- }
- setProperties(lootLinksModule.modalSubHeader, {
- color: 'rgb(0, 0, 0)',
- fontWeight: '400',
- fontFamily: lootLinksModule.site_font,
- padding: '20px 15px 20px 15px',
- textAlign: 'center',
- fontSize: !lootLinksModule.isMobile ? '17px' : '15px',
- })
- lootLinksModule.modalSubHeader.innerText =
- 'Complete the actions and unlock the link'
- if (lootLinksModule.categories[0].test_choose === 1) {
- lootLinksModule.modalSubHeader.innerText =
- 'To reach the target page, complete 2 of the following tasks:'
- }
- lootLinksModule.reqModal.appendChild(lootLinksModule.modalSubHeader)
- var _0x3f7af1 = 0
- for (
- var _0x16776e = lootLinksModule.categories.length;
- _0x3f7af1 < _0x16776e;
- _0x3f7af1++
- ) {
- lootLinksModule.reqCategories[_0x3f7af1] = document.createElement('div')
- lootLinksModule.reqCategories[_0x3f7af1].classList.add(
- lootLinksModule.categories[_0x3f7af1].task_id +
- '_' +
- lootLinksModule.categories[_0x3f7af1].urid +
- '_' +
- lootLinksModule.categories[_0x3f7af1].task_id
- )
- lootLinksModule.reqCategories[_0x3f7af1].setAttribute(
- 'id',
- lootLinksModule.categories[_0x3f7af1].urid
- )
- setProperties(lootLinksModule.reqCategories[_0x3f7af1], {
- color: 'black',
- fontFamily: lootLinksModule.site_font,
- display: 'flex',
- cursor: 'pointer',
- alignItems: 'center',
- position: 'relative',
- background: 'none',
- width: '100%',
- padding: !lootLinksModule.isMobile ? '0 1px 1px 0px' : '0px 15px 0 15px',
- fontSize: '23px',
- margin: '3px 0',
- justifyContent: !lootLinksModule.isMobile ? 'center' : 'flex-start',
- })
- setProperties(lootLinksModule.titlesContainer, {
- flexDirection: 'column',
- display: 'flex',
- width: '100%',
- borderColor: '#BDC6FF #59639A #59639A #BDC6FF',
- backgroundColor: '#409df1',
- minWidth: !lootLinksModule.isMobile ? 'calc(100% - 70px)' : 'initial',
- padding: !lootLinksModule.isMobile ? '5px 15px' : '7px 35px',
- justifyContent: 'center',
- })
- lootLinksModule.titlesContainer.classList.add('btn-shadow')
- lootLinksModule.reqTitles[_0x3f7af1] = document.createElement('span')
- setProperties(lootLinksModule.reqTitles[_0x3f7af1], {
- marginRight: !lootLinksModule.isMobile ? '40px' : '10px',
- marginLeft: !lootLinksModule.isMobile ? '40px' : '5px',
- color: 'rgb(255, 255, 255)',
- textShadow: '3px 3px #4C4C4C',
- textAlign: 'center',
- fontFamily: lootLinksModule.site_font,
- letterSpacing: '.8px',
- fontWeight: '200',
- lineHeight: '25px',
- textTransform: 'uppercase',
- whiteSpace: !lootLinksModule.isMobile ? 'normal' : 'inherit',
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- fontSize: !lootLinksModule.isMobile ? '16px' : '12px',
- })
- lootLinksModule.reqTitles[_0x3f7af1].innerText =
- lootLinksModule.categories[_0x3f7af1].title
- if (lootLinksModule.categories[_0x3f7af1].test_counter == 1) {
- var _0x525a6b =
- lootLinksModule.categories[_0x3f7af1].time_to_complete / 1000
- lootLinksModule.reqTitles[_0x3f7af1].innerHTML =
- lootLinksModule.categories[_0x3f7af1].title +
- "<span style='font-size: 10px; color: white;'> (takes " +
- _0x525a6b +
- ' sec.)</span>'
- }
- lootLinksModule.reqTitles[_0x3f7af1].innerHTML =
- "<img style='width: 30px; position: relative; margin-right: 10px; border-radius: 50%; padding: 2px; left: 20px; position: absolute;' src='" +
- lootLinksModule.categories[_0x3f7af1].icon +
- "'>" +
- lootLinksModule.reqTitles[_0x3f7af1].innerHTML
- lootLinksModule.titlesContainer.appendChild(lootLinksModule.reqTitles[_0x3f7af1])
- lootLinksModule.reqCategories[_0x3f7af1].appendChild(
- lootLinksModule.titlesContainer
- )
- lootLinksModule.reqStatus.classList.add('sdfdsahps')
- setProperties(lootLinksModule.reqStatus, {
- position: 'absolute',
- right: '6px',
- transform: lootLinksModule.isMobile ? 'scale(.7)' : 'initial',
- border: 'none',
- display: 'flex',
- justifyContent: 'center',
- color: '#fff',
- alignItems: 'center',
- minWidth: '51px',
- borderRadius: '50%',
- margin: '0 15px',
- })
- lootLinksModule.reqStatus.innerHTML =
- '<span style="width: 25px; height: 25px; border-radius: 50%; text-align: center; line-height: 12px; border: 1px solid #ffffff; padding: 5px; color: #ffffff;font-family: monospace;">?</span>'
- lootLinksModule.titlesContainer.appendChild(lootLinksModule.reqStatus)
- lootLinksModule.reqModal.appendChild(lootLinksModule.reqCategories[_0x3f7af1])
- lootLinksModule.categoryHandler(lootLinksModule.reqCategories[_0x3f7af1])
- }
- function _0x1e4080() {
- var _0x2c2fd1 = ''
- var _0x18dede = lootLinksModule.categories.length
- if (lootLinksModule.categories[0].test_choose === 1) {
- _0x18dede = 2
- }
- for (var _0x14f84a = 0; _0x14f84a < _0x18dede; _0x14f84a++) {
- _0x2c2fd1 +=
- '<div class="in-bar in-bar-section' +
- _0x14f84a +
- '" style="' +
- 'transition: all 2s; width: ' +
- 30 +
- 'px; position: relative; margin: 3px; height: 30px; background-color: #aba9a9; color: #fff; font-weight: 100; font-size: 15px; justify-content: center; align-items: center; display: flex; line-height: 35px;"><span style="left: 50%; position: absolute;"></div>'
- }
- return _0x2c2fd1
- }
- lootLinksModule.progressBarWrapper.classList.add('in-progress-bar')
- setProperties(lootLinksModule.progressBarWrapper, {
- width: lootLinksModule.isMobile ? 'calc(100% - 2px)' : '100%',
- position: 'relative',
- display: 'flex',
- justifyContent: 'flex-start',
- alignItems: 'center',
- flexDirection: 'row',
- })
- var _0x48d42e = lootLinksModule.categories.length
- if (
- lootLinksModule.categories[0].test_choose === 1 &&
- lootLinksModule.categories.length >= 2
- ) {
- _0x48d42e = 2
- }
- lootLinksModule.progressBarWrapper.innerHTML = lootLinksModule.progressBar
- lootLinksModule.reqWrapper.appendChild(lootLinksModule.reqModal)
- lootLinksModule.reqModal.appendChild(lootLinksModule.progressBarWrapper)
- lootLinksModule.reqWrapperFixed.appendChild(lootLinksModule.reqWrapper)
- window.document.body.appendChild(lootLinksModule.reqWrapperFixed)
- if (INCENTIVE_CLOSE_BTN_INTERVAL !== 0) {
- setTimeout(function () {
- lootLinksModule.closeIconActivation()
- }, INCENTIVE_CLOSE_BTN_INTERVAL)
- }
- if (!lootLinksModule.categories.length) {
- lootLinksModule.removeContentBlockers()
- }
- lootLinksModule.continueBtnActivate()
- },
- noticeBlock: document.createElement('div'),
- notice: function () {
- lootLinksModule.noticeBlock.innerText =
- 'Your tasks are saved so you only have to complete them once'
- setProperties(lootLinksModule.noticeBlock, {
- width: '90%',
- textAlign: 'center',
- lineHeight: '20px',
- color: '#000000',
- fontWeight: '500',
- position: 'relative',
- fontSize: '13px',
- })
- lootLinksModule.reqModal.appendChild(lootLinksModule.noticeBlock)
- },
- continueBtnBuzzer: function () {
- lootLinksModule.continueBtn.animate(
- {
- transform: ['rotate(45deg)', 'rotate(-45deg)', 'rotate(0deg)'],
- },
- {
- duration: 100,
- iterations: 1,
- fill: 'forwards',
- }
- )
- },
- continueBtn: document.createElement('div'),
- continueBtnActivate: function () {
- if (lootLinksModule.categories.length === 0) {
- lootLinksModule.continueBtn.innerHTML = 'Done'
- } else {
- lootLinksModule.continueBtn.innerHTML = 'Unlock Content'.toUpperCase()
- lootLinksModule.continueBtn.addEventListener('click', function () {
- lootLinksModule.continueBtnBuzzer(lootLinksModule.continueBtn)
- })
- }
- lootLinksModule.continueBtn.classList.add('nes-btn')
- setProperties(lootLinksModule.continueBtn, {
- userSelect: 'none',
- textAlign: 'center',
- lineHeight: '20px',
- color: '#212529',
- fontFamily: lootLinksModule.site_font,
- fontWeight: '100',
- marginTop: '15px',
- padding: '10px',
- cursor: 'pointer',
- right: !lootLinksModule.isMobile ? '7%' : 'initial',
- backgroundColor: '#d3d3d3',
- fontSize: '16px',
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- boxSizing: 'border-box',
- boxShadow: 'inset -4px -4px #adafbc',
- opacity: '.6',
- border: 'solid',
- })
- if (TID === 991180 || TID === 991813) {
- setProperties(lootLinksModule.continueBtn, { color: '#96d26e !important' })
- }
- setProperties(lootLinksModule.continueBtn, { right: 'initial' })
- lootLinksModule.reqModal.appendChild(lootLinksModule.continueBtn)
- var _0x4ab68a = document.createElement('div')
- var _0x117d2b = document.createElement('p')
- setProperties(_0x117d2b, {
- marginLeft: '5px',
- fontSize: '11px',
- marginTop: '20px',
- color: '#5b5b5b',
- })
- _0x117d2b.innerHTML =
- 'Support Content Creators: The content is brought to you for FREE thanks to the ads on this page.'
- _0x4ab68a.appendChild(_0x117d2b)
- lootLinksModule.reqModal.appendChild(_0x4ab68a)
- if (TID === 991180 || TID === 991813) {
- setProperties(_0x117d2b, { color: 'white !important' })
- }
- var _0x3a6a2e = document.createElement('div')
- var _0x10fcad = document.createElement('h3')
- var _0x6a7242 = document.createElement('a')
- _0x6a7242.innerHTML = 'LootLabs - You Create, We Monetize'
- _0x6a7242.href = 'https://lootlabs.gg'
- _0x6a7242.target = '_blank'
- _0x10fcad.innerHTML = 'Powered By '
- setProperties(_0x3a6a2e, {
- fontSize: '12px',
- display: 'flex',
- color: '#5b5b5b',
- justifyContent: 'center',
- alignItems: 'center',
- textAlign: 'right',
- marginTop: '20px',
- marginLeft: 'auto',
- })
- setProperties(_0x6a7242, {
- textDecoration: 'none',
- fontWeight: 900,
- color: '#5b5b5b',
- })
- _0x3a6a2e.appendChild(_0x10fcad)
- _0x3a6a2e.appendChild(_0x6a7242)
- lootLinksModule.reqModal.appendChild(_0x3a6a2e)
- },
- socket: new WebSocket(
- 'wss://' +
- lootLinksModule.serverSubDomainId +
- '.' +
- INCENTIVE_SERVER_DOMAIN +
- '/c?uid=' +
- _0x592cbd.join(',') +
- '&cat=' +
- _0x158378.join(',') +
- '&key=' +
- KEY
- ),
- websocketHandler: function (_0x39273d) {
- var urlids = [] // UNUSED
- var taskids = [] // UNUSED
- var categories = 0
- for (var categoryLength = lootLinksModule.categories.length; categories < categoryLength; categories++) {
- urlids.push(lootLinksModule.categories[categories].urid)
- taskids.push(lootLinksModule.categories[categories].task_id)
- }
- lootLinksModule.socket.onopen = function (event) {
- setInterval(function () {
- lootLinksModule.socket.send('0')
- }, 10000)
- }
- lootLinksModule.socket.onerror = function (event) {
- console.log(event.type)
- }
- lootLinksModule.socket.onmessage = function (event) {
- if (event.data) {
- if (event.data.includes('r:')) {
- PUBLISHER_LINK = event.data.replace('r:', '')
- }
- var responseSplit = event.data.split(',')
- var urlid = responseSplit[0]
- var itemName = responseSplit[1]
- var expiration = Number(responseSplit[2]) * 60 * 1000
- var category = 0
- for (var currentCategory = lootLinksModule.categories.length; category < currentCategory; category++) {
- if (lootLinksModule.categories[category].urid.toString() === urlid) {
- lootLinksModule.categories[category].status = 2
- lootLinksModule.setWithExpiry('t_' + itemName, 1, expiration)
- }
- }
- var _0x3be26f = document.querySelector("[id='" + urlid + "']")
- if (_0x3be26f) {
- lootLinksModule.succeedPixel(_0x3be26f.className.split('_')[2], urlid)
- _0x3be26f.style.pointerEvents = 'none'
- _0x3be26f.querySelector('.sdfdsahps').innerHTML = ''
- var _0x506861 = document.createElement('div')
- setProperties(_0x506861, {
- background:
- "url('removed')",
- backgroundRepeat: 'no-repeat',
- backgroundSize: 'contain',
- width: '30px',
- height: '30px',
- top: '0',
- position: 'relative',
- filter: 'invert(1)',
- })
- var _0x3230c5 = _0x3be26f.querySelector('.sdfdsahps')
- var _0x33c1d3 = _0x3be26f.querySelector('div')
- var _0x5e1b84 = _0x3be26f.querySelector('span')
- var _0x7b7a4 = _0x33c1d3.querySelectorAll('span')[0]
- _0x3230c5.innerHTML = ''
- _0x3230c5.appendChild(_0x506861)
- if (!lootLinksModule.isMobile) {
- _0x33c1d3.style.backgroundImage =
- "url('removed')"
- _0x7b7a4.style.cssText += 'color: rgb(255, 255, 122) !important;'
- _0x7b7a4.style.color = 'rgb(255, 255, 122) !important'
- _0x7b7a4.style.textShadow = '3px 3px #4C4C4C'
- } else {
- _0x33c1d3.style.backgroundImage =
- "url('removed')"
- _0x7b7a4.style.cssText += 'color: rgb(255, 255, 122) !important;'
- _0x5e1b84.style.border = 'none'
- }
- var _0x477451 = 0
- var _0x496d19 = 0
- for (
- var _0xeac394 = lootLinksModule.categories.length;
- _0x496d19 < _0xeac394;
- _0x496d19++
- ) {
- if (lootLinksModule.categories[_0x496d19].status == 2) {
- _0x477451 += 1
- }
- }
- var _0x327f09 = document.querySelectorAll(
- '.in-progress-bar .in-bar'
- )
- var _0x2d4a7d = document.querySelector(
- '.in-progress-bar .in-progress-bar-title-value'
- )
- var _0x19ca23 = _0x2d4a7d.textContent.split('/')
- var _0x1fb4cc = _0x477451
- var _0xd744ea = parseInt(_0x19ca23[1])
- var _0x309bb0 = 0
- for (
- var _0x5396e4 = _0x477451;
- _0x309bb0 < _0x5396e4;
- _0x309bb0++
- ) {
- _0x327f09.item(_0x309bb0).style.backgroundColor = '#449121'
- _0x327f09.item(_0x309bb0).style.color = 'rgb(255, 255, 122)'
- }
- _0x2d4a7d.innerText = _0x1fb4cc + '/' + _0xd744ea
- if (
- _0x477451 === lootLinksModule.categories.length ||
- (lootLinksModule.categories[0].test_choose === 1 && _0x477451 >= 2)
- ) {
- lootLinksModule.continueBtn.classList.add('is-success')
- lootLinksModule.continueBtn.style.backgroundColor = '#92cc41'
- lootLinksModule.continueBtn.style.color = '#fff'
- lootLinksModule.continueBtn.style.opacity = '1'
- lootLinksModule.continueBtn.style.boxShadow = 'inset -4px -4px #4aa52e'
- lootLinksModule.continueBtn.style.borderImageSource =
- 'url(\'data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(33,37,41)" /></svg>\')" /></svg>)'
- lootLinksModule.continueBtn.style.borderImageOutset = '2'
- try {
- window.opener.postMessage('lkjlsdfiujjjasdlkw', '*')
- } catch (_0x133844) {}
- var _0x334319 = document.querySelector('.in-progress-bar')
- var _0x324ea9 = document.createElement('lottie-player')
- _0x324ea9.id = 'finalLottie'
- _0x324ea9.src = YES_ANIMATION
- _0x324ea9.background = 'transparent'
- _0x324ea9.speed = '1'
- _0x324ea9.setAttribute('style', 'width: 100px; height: 100px;')
- _0x334319.parentNode.insertBefore(
- _0x324ea9,
- _0x334319.nextSibling
- )
- _0x334319.parentNode.removeChild(_0x334319)
- setTimeout(function () {
- _0x324ea9.play()
- }, 1000)
- try {
- if (typeof window.rewTasksDone === 'function') {
- window.rewTasksDone()
- }
- } catch (_0x36c585) {}
- lootLinksModule.continueBtn.classList.add('btn-shadow')
- lootLinksModule.continueBtn.removeEventListener(
- 'click',
- lootLinksModule.continueBtnBuzzer
- )
- lootLinksModule.continueBtn.addEventListener(
- 'click',
- function (_0x1fec63) {
- lootLinksModule.removeContentBlockers()
- lootLinksModule.redirectToPublisherLink(_0x1fec63)
- }
- )
- }
- }
- }
- }
- },
- socketActivated: false,
- socketActivated: true,
- categoryHandler: function (_0x3515e4) {
- _0x3515e4.addEventListener('click', function () {
- var _0xda2ad2 = 0
- for (
- var _0x194349 = lootLinksModule.categories.length;
- _0xda2ad2 < _0x194349;
- _0xda2ad2++
- ) {
- if (
- lootLinksModule.categories[_0xda2ad2].uid === _0x3515e4.id.toString() &&
- lootLinksModule.categories[_0xda2ad2].status === 2
- ) {
- return
- }
- }
- if (!lootLinksModule.socketActivated) {
- lootLinksModule.websocketHandler(_0x3515e4.className.split('_')[1])
- }
- var _0x14686e = document.createElement('span')
- setProperties(_0x14686e, {
- width: !lootLinksModule.isMobile ? '50px' : '53px',
- height: !lootLinksModule.isMobile ? '50px' : '53px',
- transform: 'rotate(360deg)',
- overflow: 'hidden',
- transitionDuration: '11s',
- transitionProperty: 'transform',
- backgroundRepeat: 'no-repeat',
- backgroundSize: 'contain',
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- })
- var _0x2169b8 = document.createElement('style')
- _0x2169b8.innerHTML =
- '@keyframes jlfghas {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n'
- document.getElementsByTagName('head')[0].appendChild(_0x2169b8)
- _0x14686e.innerHTML =
- '<svg style="animation: jlfghas .4s linear infinite" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 42 42"> <path id="Path_2" data-name="Path 2" d="M10.559,952a15,15,0,1,1-15,15" transform="translate(10.441 -946)" fill="#1906AF" stroke="#1906AF" stroke-miterlimit="10" stroke-width="12" opacity="0.8"/><span class="_fhsdfs" style="position: absolute; font-size: 14px; color: black;width: 20px;height: 20px;line-height: 20px;background: white;border-radius: 50%;text-align: center;" class="_con"></span></svg>'
- _0x3515e4.querySelector('.sdfdsahps').innerHTML = _0x14686e.outerHTML
- var _0x9cef10 = 0
- for (
- var _0xa695cd = lootLinksModule.categories.length;
- _0x9cef10 < _0xa695cd;
- _0x9cef10++
- ) {
- if (
- lootLinksModule.categories[_0x9cef10].urid.toString() === _0x3515e4.id
- ) {
- if (lootLinksModule.categories[_0x9cef10].test_counter === 1) {
- var _0x15234d =
- lootLinksModule.categories[_0x9cef10].auto_complete_seconds
- var _0x394773 = setInterval(function () {
- _0x15234d = _0x15234d - 1
- _0x3515e4.querySelector('._fhsdfs').innerHTML = _0x15234d
- if (_0x15234d == 0) {
- _0x3515e4.querySelector('._fhsdfs').innerHTML = ''
- clearInterval(_0x394773)
- }
- }, 1000)
- }
- var _0x25a830 = JSON.parse(
- lootLinksModule.categories[_0x9cef10].window_size
- )
- window.open(
- lootLinksModule.categories[_0x9cef10].ad_url,
- _0x3515e4.className.split('_')[1],
- 'height=' + _0x25a830[0] + ',width=' + _0x25a830[1]
- )
- navigator.sendBeacon(
- 'https://' +
- lootLinksModule.serverSubDomainId +
- '.' +
- INCENTIVE_SERVER_DOMAIN +
- '/st?uid=' +
- lootLinksModule.categories[_0x9cef10].urid +
- '&cat=' +
- lootLinksModule.categories[_0x9cef10].task_id
- )
- if (
- typeof lootLinksModule.categories[_0x9cef10].auto_complete_seconds !==
- 'undefined'
- ) {
- var _0x54afcd = lootLinksModule.categories[_0x9cef10].urid
- setTimeout(function () {
- navigator.sendBeacon(
- 'https://' +
- lootLinksModule.serverSubDomainId +
- '.' +
- INCENTIVE_SERVER_DOMAIN +
- '/p?uid=' +
- _0x54afcd
- )
- }, lootLinksModule.categories[_0x9cef10].auto_complete_seconds * 1000)
- }
- lootLinksModule.sendBeacon(
- lootLinksModule.categories[_0x9cef10].action_pixel_url
- )
- lootLinksModule.categories[_0x9cef10].status = 1
- }
- }
- })
- },
- sendEmail: function (_0xe3b3c6, _0x59f723, _0x4bcd23) {
- var _0x3baea8 = {
- urid: _0xe3b3c6.toString(),
- email: _0x59f723,
- phone: '',
- is_phone_number: 0,
- }
- navigator.sendBeacon(
- 'https://' +
- lootLinksModule.serverSubDomainId +
- '.' +
- INCENTIVE_SERVER_DOMAIN +
- '/efc',
- JSON.stringify(_0x3baea8)
- )
- },
- socketActivated: true,
- categoryEmailHandler: function (_0x4b5581) {
- var _0x285e5c = _0x4b5581.querySelector('button')
- var _0x5bc98c = _0x4b5581.querySelector('input')
- _0x285e5c.addEventListener('click', function () {
- if (!_0x5bc98c.value.match(/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/)) {
- return
- }
- _0x285e5c.setAttribute('disabled', true)
- _0x285e5c.removeEventListener('click', function () {})
- var _0x230c05 = 0
- for (
- var _0x213cd8 = lootLinksModule.categories.length;
- _0x230c05 < _0x213cd8;
- _0x230c05++
- ) {
- if (
- lootLinksModule.categories[_0x230c05].uid === _0x4b5581.id.toString() &&
- lootLinksModule.categories[_0x230c05].status === 2
- ) {
- return
- }
- }
- if (!lootLinksModule.socketActivated) {
- lootLinksModule.websocketHandler(_0x4b5581.className.split('_')[1])
- }
- var _0x117979 = document.createElement('span')
- setProperties(_0x117979, {
- width: !lootLinksModule.isMobile ? '50px' : '53px',
- height: !lootLinksModule.isMobile ? '50px' : '53px',
- transform: 'rotate(360deg)',
- overflow: 'hidden',
- transitionDuration: '11s',
- transitionProperty: 'transform',
- backgroundRepeat: 'no-repeat',
- backgroundSize: 'contain',
- display: 'flex',
- justifyContent: 'center',
- alignItems: 'center',
- })
- var _0x18acb9 = document.createElement('style')
- _0x18acb9.innerHTML =
- '@keyframes jlfghas {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n'
- document.getElementsByTagName('head')[0].appendChild(_0x18acb9)
- _0x117979.innerHTML =
- '<svg style="animation: jlfghas .4s linear infinite" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 42 42"> <path id="Path_2" data-name="Path 2" d="M10.559,952a15,15,0,1,1-15,15" transform="translate(10.441 -946)" fill="none" stroke="#222" stroke-miterlimit="10" stroke-width="12" opacity="0.8"/><span class="_fhsdfs" style="position: absolute; font-size: 14px; color: black;width: 20px;height: 20px;line-height: 20px;background: white;border-radius: 50%;text-align: center;" class="_con"></span></svg>'
- _0x4b5581.querySelector('.sdfdsahps').innerHTML = _0x117979.outerHTML
- var _0x3989e3 = 0
- for (
- var _0x37724b = lootLinksModule.categories.length;
- _0x3989e3 < _0x37724b;
- _0x3989e3++
- ) {
- if (
- lootLinksModule.categories[_0x3989e3].urid.toString() === _0x4b5581.id
- ) {
- if (lootLinksModule.categories[_0x3989e3].test_counter === 1) {
- var _0x5cdfa6 =
- lootLinksModule.categories[_0x3989e3].auto_complete_seconds
- var _0x1d17c8 = setInterval(function () {
- _0x5cdfa6 = _0x5cdfa6 - 1
- _0x4b5581.querySelector('._fhsdfs').innerHTML = _0x5cdfa6
- if (_0x5cdfa6 == 0) {
- _0x4b5581.querySelector('._fhsdfs').innerHTML = ''
- clearInterval(_0x1d17c8)
- }
- }, 1000)
- }
- lootLinksModule.sendEmail(
- lootLinksModule.categories[_0x3989e3].urid,
- _0x5bc98c.value,
- ''
- )
- if (
- typeof lootLinksModule.categories[_0x3989e3].auto_complete_seconds !==
- 'undefined'
- ) {
- var _0x332767 = lootLinksModule.categories[_0x3989e3].urid
- setTimeout(function () {
- lootLinksModule.sendEmail(_0x332767, _0x5bc98c.value, '')
- }, lootLinksModule.categories[_0x3989e3].auto_complete_seconds * 1000)
- }
- lootLinksModule.categories[_0x3989e3].status = 1
- }
- }
- })
- },
- removeContentBlockers: function () {
- var _0x327262 = 0
- for (
- var _0x3f1eea = lootLinksModule.wrappers.length;
- _0x327262 < _0x3f1eea;
- _0x327262++
- ) {
- lootLinksModule.wrappers[_0x327262].remove()
- }
- },
- }
- const isMobileCheck = () => {
- const userAgent = navigator.userAgent
- return (
- /Mobi/i.test(userAgent) ||
- /Android/i.test(userAgent) ||
- /iPhone|iPod/i.test(userAgent) ||
- /iPad/i.test(userAgent)
- )
- }
- var setProperties = function (_0x41b5be, _0x38b720) {
- var _0x2471a6 = _0x41b5be.style
- if (_0x2471a6) {
- for (var _0xc79e5a in _0x38b720) {
- if (_0x38b720.hasOwnProperty(_0xc79e5a)) {
- _0x2471a6[_0xc79e5a] = _0x38b720[_0xc79e5a]
- }
- }
- }
- return _0x41b5be
- }
- const loadGoogleAds = () => {
- fetch('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js')
- .then(function (response) {
- if (response.redirected) {
- lootLinksModule.adBlockModal()
- }
- return response.text()
- })
- .catch(function (_0x9386e9) {
- lootLinksModule.adBlockModal()
- })
- }
- const _0x166c42 = [1024441]
- if (!lootLinksModule.isMobile && !_0x166c42.includes(TID)) {
- loadGoogleAds()
- }
- function decodeLink(content, keyLength = 5) {
- let currentString = ''
- let base64Decoded = atob(content)
- let key = base64Decoded.substring(0, keyLength)
- let encodedContent = base64Decoded.substring(keyLength)
- for (let i = 0; i < encodedContent.length; i++) {
- let encodedCharCode = encodedContent.charCodeAt(i)
- let charCodeKey = key.charCodeAt(i % key.length)
- let decodedCharCode = encodedCharCode ^ charCodeKey
- currentString += String.fromCharCode(decodedCharCode)
- }
- return currentString
- }
- lootLinksModule.generateDesktopIncentiveMessage()
- }
Add Comment
Please, Sign In to add comment