shell bypass 403
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 7); /******/ }) /************************************************************************/ /******/ ({ /***/ "./resources/js/parts/product_show.js": /*!********************************************!*\ !*** ./resources/js/parts/product_show.js ***! \********************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } (function () { "use strict"; var offerCountDown = $('#offerCountDown'); if (offerCountDown.length) { var endtimeDate = offerCountDown.attr('data-day'); var endtimeHours = offerCountDown.attr('data-hour'); var endtimeMinutes = offerCountDown.attr('data-minute'); var endtimeSeconds = offerCountDown.attr('data-second'); offerCountDown.countdown100({ endtimeYear: 0, endtimeMonth: 0, endtimeDate: endtimeDate, endtimeHours: endtimeHours, endtimeMinutes: endtimeMinutes, endtimeSeconds: endtimeSeconds, timeZone: "" }); } function handleImageLazy() { var lazyImages = document.querySelectorAll('.lazyImage img'); var _iterator = _createForOfIteratorHelper(lazyImages), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var img = _step.value; if (!img.complete) { img.parentNode.classList.add('lazyImageWaiting'); img.addEventListener('load', function (e) { e.currentTarget.parentNode.classList.remove('lazyImageWaiting'); }, false); } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } } $('body').on('click', '.product-show-thumbnail-card .thumbnail-card', function (e) { e.preventDefault(); var $this = $(this); var newPath = $this.find('img').attr('src'); $('.product-show-image-card img.main-s-image').attr('src', newPath); var $productDemoVideoBtn = $('#productDemoVideoBtn'); if ($productDemoVideoBtn.length) { if ($this.hasClass('is-first-thumbnail-card')) { $productDemoVideoBtn.addClass('d-flex').removeClass('d-none'); } else { $productDemoVideoBtn.addClass('d-none').removeClass('d-flex'); } } handleImageLazy(); }); function handleQuantityValue(type) { var input = $('.cart-quantity input[name="quantity"]'); var value = input.val(); var productAvailabilityCount = $('#productAvailabilityCount').val(); if (type === 'minus' && value > 1) { value = Number(value) - 1; } else if (type === 'plus') { value = Number(value) + 1; } if (!isNaN(productAvailabilityCount) && value > Number(productAvailabilityCount)) { value = Number(productAvailabilityCount); } input.val(value); var $productPoints = $('.js-product-points'); var productRequirePointText = $('.js-product-require-point-text'); if ($productPoints.length) { var requirePoint = value * $productPoints.val(); $('.js-buy-with-point-show-btn').find('span').text(requirePoint); if (productRequirePointText.length) { productRequirePointText.find('span').text(value * $productPoints.val()); } } } $('body').on('click', '.cart-quantity .minus', function (e) { e.preventDefault(); handleQuantityValue('minus'); }); $('body').on('click', '.cart-quantity .plus', function (e) { e.preventDefault(); handleQuantityValue('plus'); }); $('.barrating-stars select').each(function (index, element) { var $element = $(element); $element.barrating({ theme: 'css-stars', readonly: false, initialRating: $element.data('rate') }); }); $('body').on('click', '.js-share-product', function (e) { e.preventDefault(); Swal.fire({ html: $('#productShareModal').html(), showCancelButton: false, showConfirmButton: false, customClass: { content: 'p-0 text-left' }, onOpen: function onOpen() { $('[data-toggle="tooltip"]').tooltip(); }, width: '32rem' }); }); $('body').on('click', '.js-buy-with-point', function (e) { e.preventDefault(); Swal.fire({ html: $('#buyWithPointModal').html(), showCancelButton: false, showConfirmButton: false, customClass: { content: 'p-0 text-left' }, width: '28rem' }); }); $('body').on('click', '.js-buy-product-with-point-modal-btn', function (e) { var action = $(this).attr('data-action'); var form = $('#productAddToCartForm'); form.attr('action', action); form.trigger('submit'); }); var productDemoVideoPlayer; $('body').on('click', '#productDemoVideoBtn', function (e) { e.preventDefault(); if (productDemoVideoPlayer !== undefined) { productDemoVideoPlayer.dispose(); } var path = $(this).attr('data-video-path'); var height = 'auto'; var videoTagId = 'demoVideoPlayer'; var _makeVideoPlayerHtml = makeVideoPlayerHtml(path, 'local', height, videoTagId), html = _makeVideoPlayerHtml.html, options = _makeVideoPlayerHtml.options; var modalHtml = '<div id="productDemoVideoModal" class="demo-video-modal">\n' + '<h3 class="section-title after-line font-20 text-dark-blue">' + productDemoLang + '</h3>\n' + '<div class="demo-video-card mt-25">\n'; modalHtml += html; modalHtml += '</div></div>'; Swal.fire({ html: modalHtml, showCancelButton: false, showConfirmButton: false, customClass: { content: 'p-0 text-left' }, width: '48rem', onOpen: function onOpen() { productDemoVideoPlayer = videojs(videoTagId, options); } }); }); $('body').on('click', '.js-online-show', function () { var path = $(this).attr('data-href'); var html = "<div class=\"offline-modal\">\n <h3 class=\"section-title after-line\">".concat(onlineViewerModalTitleLang, "</h3>\n\n <div class=\"product-online-viewer-modal-body rounded-sm mt-15\">\n <iframe src=\"/ViewerJS/index.html#").concat(path, "\" class=\"w-100 h-100 rounded-sm\" frameborder=\"0\" allowfullscreen></iframe>\n </div>\n\n <div class=\"mt-15 d-flex align-items-center justify-content-end\">\n <button type=\"button\" class=\"btn btn-danger ml-10 close-swl btn-sm\">").concat(closeLang, "</button>\n </div>\n </div>"); Swal.fire({ html: html, showCancelButton: false, showConfirmButton: false, customClass: { content: 'p-0 text-left' }, width: '75rem' }); }); $('body').on('click', '.js-product-share-link-copy', function (e) { e.preventDefault(); $(this).attr('data-original-title', copiedLang).tooltip('show'); $(this).attr('data-original-title', copyLang); copyToClipboard(); }); function copyToClipboard() { var $temp = $("<input>"); $("body").append($temp); $temp.css('position', 'absolute'); $temp.val($('.js-product-share-link').html()).select(); document.execCommand("copy"); $temp.remove(); } $('body').on('click', '.js-product-direct-payment', function (e) { var $this = $(this); $this.addClass('loadingbar danger').prop('disabled', true); var $form = $this.closest('form'); $form.attr('action', '/products/direct-payment'); $form.trigger('submit'); }); $('body').on('click', '.js-installments-btn', function (e) { var _$$val; e.preventDefault(); var href = $(this).attr('href'); var quantity = (_$$val = $('input[name="quantity"]').val()) !== null && _$$val !== void 0 ? _$$val : 1; var specifications = $('.selectable-specification-item input:checked'); var path = href + '?quantity=' + quantity; if (specifications.length) { var _iterator2 = _createForOfIteratorHelper(specifications), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var specification = _step2.value; var name = $(specification).attr('name'); var value = $(specification).val(); path += '&' + name + '=' + value; } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } } window.location.href = path; }); })(jQuery); /***/ }), /***/ 7: /*!**************************************************!*\ !*** multi ./resources/js/parts/product_show.js ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(/*! /home/jack/projects/webinar/resources/js/parts/product_show.js */"./resources/js/parts/product_show.js"); /***/ }) /******/ });