HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/advanced-ads/assets/dist/screen-settings.js.map
{"version":3,"file":"screen-settings.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,aAAa,GAAGA,CAACC,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,MAAM,KAAK;EACtDA,MAAM,CAACC,SAAS,CAACC,GAAG,CAAC,UAAU,CAAC;EAChC,MAAMC,IAAI,GAAGN,MAAM,CAACO,SAAS,CAACP,MAAM,CAACQ,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAER,MAAM,CAACQ,OAAO,CAAC,GAAG,CAAC,CAAC;EAC3EC,EAAE,CAACC,IAAI,CACLC,IAAI,CAAC,uBAAuB,EAAE;IAC9BC,WAAW,EAAEV,KAAK;IAClBF,MAAM;IACNM,IAAI;IACJL;EACD,CAAC,CAAC,CACDY,IAAI,CAAC,YAAY;IACjBV,MAAM,CAACW,SAAS,GAAG,wBAAwB;IAC3CX,MAAM,CAACY,SAAS,GAAGC,MAAM,CAACC,SAAS,CAACC,MAAM;IAC1C,MAAMC,IAAI,GAAGC,QAAQ,CAACC,aAAa,CAAC,GAAG,CAAC;IACxCF,IAAI,CAACL,SAAS,GAAG,WAAW;IAC5BK,IAAI,CAACG,KAAK,CAACC,OAAO,GAAG,kBAAkB;IACvCpB,MAAM,CAACqB,YAAY,CAACL,IAAI,EAAEhB,MAAM,CAACsB,UAAU,CAAC;EAC7C,CAAC,CAAC,CACDC,IAAI,CAAC,UAAUC,QAAQ,EAAE;IACzB,IAAI,WAAW,KAAK,OAAOA,QAAQ,CAACC,YAAY,EAAE;MACjD;MACAzB,MAAM,CACJ0B,OAAO,CAAC,MAAM,CAA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M,CAAE,MAAM;EACbpB,uEAAQ,CAAC,CAAC;AACX,CAAE,CAAC,C","sources":["webpack://advanced-ads/./src/admin/screen-dashboard/addon-box.js","webpack://advanced-ads/./src/admin/screen-settings/settings.css","webpack://advanced-ads/external window \"jQuery\"","webpack://advanced-ads/webpack/bootstrap","webpack://advanced-ads/webpack/runtime/compat get default export","webpack://advanced-ads/webpack/runtime/define property getters","webpack://advanced-ads/webpack/runtime/hasOwnProperty shorthand","webpack://advanced-ads/webpack/runtime/make namespace object","webpack://advanced-ads/./src/admin/screen-settings/index.js"],"sourcesContent":["/**\r\n * Background plugin activation\r\n *\r\n * @param {string}  plugin path to the plugin's main file relative to WP's plugins folder.\r\n * @param {string}  name   the plugin name.\r\n * @param {string}  nonce  ajax nonce.\r\n * @param {Element} button the button that triggered the activation\r\n */\r\nconst activateAddOn = (plugin, name, nonce, button) => {\r\n\tbutton.classList.add('disabled');\r\n\tconst slug = plugin.substring(plugin.indexOf('/') + 1, plugin.indexOf('.'));\r\n\twp.ajax\r\n\t\t.post('advads_activate_addon', {\r\n\t\t\t_ajax_nonce: nonce,\r\n\t\t\tplugin,\r\n\t\t\tslug,\r\n\t\t\tname,\r\n\t\t})\r\n\t\t.done(function () {\r\n\t\t\tbutton.className = 'button active disabled';\r\n\t\t\tbutton.innerText = window.advadstxt.active;\r\n\t\t\tconst icon = document.createElement('i');\r\n\t\t\ticon.className = 'dashicons';\r\n\t\t\ticon.style.cssText = 'content:\"\\\\f147\"';\r\n\t\t\tbutton.insertBefore(icon, button.firstChild);\r\n\t\t})\r\n\t\t.fail(function (response) {\r\n\t\t\tif ('undefined' !== typeof response.errorMessage) {\r\n\t\t\t\t// Error message from `wp_ajax_activate_plugin()`.\r\n\t\t\t\tbutton\r\n\t\t\t\t\t.closest('.cta')\r\n\t\t\t\t\t.parentNode.querySelector('.description').innerText =\r\n\t\t\t\t\tresponse.errorMessage;\r\n\t\t\t}\r\n\t\t});\r\n};\r\n\r\nexport default function () {\r\n\tconst addonBox = document.getElementById('advads_overview_addons');\r\n\r\n\tif (!addonBox) {\r\n\t\treturn;\r\n\t}\r\n\r\n\taddonBox.addEventListener('click', (ev) => {\r\n\t\tconst target = ev.target;\r\n\r\n\t\tif (\r\n\t\t\t'a' === target.tagName.toLowerCase() &&\r\n\t\t\ttarget.classList.contains('disabled')\r\n\t\t) {\r\n\t\t\tev.preventDefault();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Newsletter subscription.\r\n\t\tif (\r\n\t\t\ttarget.classList.contains('button') &&\r\n\t\t\ttarget.classList.contains('subscribe')\r\n\t\t) {\r\n\t\t\tev.preventDefault();\r\n\t\t\ttarget.disabled = true;\r\n\t\t\ttarget.classList.add('disabled');\r\n\r\n\t\t\twp.ajax\r\n\t\t\t\t.post('advads_newsletter', {\r\n\t\t\t\t\tnonce: target.dataset.nonce,\r\n\t\t\t\t})\r\n\t\t\t\t.done(function (response) {\r\n\t\t\t\t\tif (response) {\r\n\t\t\t\t\t\ttarget\r\n\t\t\t\t\t\t\t.closest('.item-details')\r\n\t\t\t\t\t\t\t.querySelector('.description').innerHTML =\r\n\t\t\t\t\t\t\t`<p style=\"font-weight: 600;\">${response}</p>`;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t.fail(function (response) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\ttarget\r\n\t\t\t\t\t\t\t.closest('.item-details')\r\n\t\t\t\t\t\t\t.querySelector('.description').innerHTML =\r\n\t\t\t\t\t\t\t`<p style=\"font-weight: 600;\">${response.responseJSON.data.message}</p>`;\r\n\t\t\t\t\t} catch (e) {}\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Background plugin activation\r\n\t\tif (\r\n\t\t\ttarget.classList.contains('button') &&\r\n\t\t\ttarget.classList.contains('installed')\r\n\t\t) {\r\n\t\t\tconst marker = '#activate-aaplugin_';\r\n\t\t\tconst href = target.href ? target.href : '';\r\n\r\n\t\t\tif (-1 !== href.indexOf(marker)) {\r\n\t\t\t\tev.preventDefault();\r\n\t\t\t\tconst data = href.split('_');\r\n\t\t\t\tactivateAddOn(\r\n\t\t\t\t\tdata[2],\r\n\t\t\t\t\tdecodeURIComponent(data[3]),\r\n\t\t\t\t\tdata[1],\r\n\t\t\t\t\ttarget\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"jQuery\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Check if module exists (development only)\n\tif (__webpack_modules__[moduleId] === undefined) {\n\t\tvar e = new Error(\"Cannot find module '\" + moduleId + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import jQuery from 'jquery';\r\n\r\nimport './settings.css';\r\n\r\nimport addonBox from '../screen-dashboard/addon-box';\r\n\r\njQuery( () => {\r\n\taddonBox();\r\n} );\r\n"],"names":["activateAddOn","plugin","name","nonce","button","classList","add","slug","substring","indexOf","wp","ajax","post","_ajax_nonce","done","className","innerText","window","advadstxt","active","icon","document","createElement","style","cssText","insertBefore","firstChild","fail","response","errorMessage","closest","parentNode","querySelector","addonBox","getElementById","addEventListener","ev","target","tagName","toLowerCase","contains","preventDefault","disabled","dataset","innerHTML","responseJSON","data","message","e","marker","href","split","decodeURIComponent","jQuery"],"sourceRoot":""}