PageSourceSearch

https://dermastore.co.za/wp-content/plugins/woocommerce-waitlist/assets/js/wcwl_account.min.js?ver=2.6.2

js dermastore.co.za collected 2026-10-05 06:25:41 UTC 3,496 bytes, 32 lines download raw bytes

1/*
2 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3 * This devtool is neither made for production nor for readable output files.
4 * It uses "eval()" calls to create a separate source file in the browser devtools.
5 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6 * or disable the default devtool with "devtool: false".
7 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8 */
9/******/ (() => { // webpackBootstrap
10/******/ 	var __webpack_modules__ = ({
11
12/***/ "./src/js/wcwl_account.js"
13/*!********************************!*\
14  !*** ./src/js/wcwl_account.js ***!
15  \********************************/
16() {
17
18eval("{// JS required for the user account waitlist tab frontend\njQuery( document ).ready( function( $ ) {\n\n    // Remove user from chosen waitlist\n    $( '.waitlist-single-product' ).on( 'click', '.wcwl_remove_product', function( e ) {\n        e.preventDefault();\n        $( '.woocommerce-message, .woocommerce-error' ).remove();\n        var current_product = $( this ).closest( '.waitlist-single-product' );\n        $( this ).closest( 'p' ).hide();\n        current_product.find( '.spinner' ).show();\n        var data = {\n            action: 'wcwl_user_remove_self_waitlist',\n            product_id: $( this ).data( 'product-id' ),\n            user_id: wcwl_account.user_id,\n            wcwl_remove_user_nonce: $( this ).data( 'nonce' )\n        };\n        $.post( wcwl_account.ajaxurl, data, function( response ) {\n            if ( response.success ) {\n                current_product.remove();\n            }\n            $( response.data ).insertAfter( $( '#wcwl_my_waitlist' ) );\n\n            if ( $( '.waitlist-single-product' ).length == 0 ) {\n                $( '.waitlist-user-waitlist-wrapper' ).html( wcwl_account.no_waitlist_html );\n            }\n            var heading = document.getElementById( 'wcwl_my_waitlist' );\n            heading.scrollIntoView();\n        });\n    });\n    // Delete user from all archives\n    $( '.waitlist-user-waitlist-archive-wrapper' ).on( 'click', '#wcwl_remove_archives', function( e ) {\n        e.preventDefault();\n        $( '.woocommerce-message, .woocommerce-error' ).remove();\n        var archive_entries = $( this ).closest( '.waitlist-user-waitlist-archive-wrapper' );\n        var data = {\n            action: 'wcwl_user_remove_self_archives',\n            user_id: wcwl_account.user_id,\n            wcwl_remove_user_archive_nonce: $( this ).data( 'nonce' )\n        };\n        $.post( wcwl_account.ajaxurl, data, function( response ) {\n            if ( response.success ) {\n                archive_entries.remove();\n            }\n            $( response.data ).insertAfter( $( '#wcwl_my_waitlist' ) );\n            var heading = document.getElementById( 'wcwl_my_waitlist' );\n            heading.scrollIntoView();\n        });\n    });\n} );\n\n//# sourceURL=webpack://woocommerce-waitlist/./src/js/wcwl_account.js?\n}");
19
20/***/ }
21
22/******/ 	});
23/************************************************************************/
24/******/ 	
25/******/ 	// startup
26/******/ 	// Load entry module and return exports
27/******/ 	// This entry module can't be inlined because the eval devtool is used.
28/******/ 	let __webpack_exports__ = {};
29/******/ 	__webpack_modules__["./src/js/wcwl_account.js"]();
30/******/ 	
31/******/ })()
32;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.