@keyframes bounce{20%,53%,80%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(.755,.050,.855,.060);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(.755,.050,.855,.060);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce{animation-name:bounce;transform-origin:center bottom}@keyframes flash{50%,from,to{opacity:1}25%,75%{opacity:0}}.flash{animation-name:flash}@keyframes pulse{from,to{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}}.pulse{animation-name:pulse}@keyframes rubberBand{from,to{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}}.rubberBand{animation-name:rubberBand}@keyframes shake{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}.shake{animation-name:shake}@keyframes headShake{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}.headShake{animation-timing-function:ease-in-out;animation-name:headShake}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}.swing{transform-origin:top center;animation-name:swing}@keyframes tada{from,to{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}}.tada{animation-name:tada}@keyframes wobble{from,to{transform:none}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}}.wobble{animation-name:wobble}@keyframes jello{11.1%,from,to{transform:none}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{transform:skewX(.390625deg) skewY(.390625deg)}88.8%{transform:skewX(-.1953125deg) skewY(-.1953125deg)}}.jello{animation-name:jello;transform-origin:center}@keyframes bounceIn{20%,40%,60%,80%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scale3d(1,1,1)}}.bounceIn{animation-name:bounceIn}@keyframes bounceInDown{60%,75%,90%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}.bounceInDown{animation-name:bounceInDown}@keyframes bounceInLeft{60%,75%,90%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}.bounceInLeft{animation-name:bounceInLeft}@keyframes bounceInRight{60%,75%,90%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}.bounceInRight{animation-name:bounceInRight}@keyframes bounceInUp{60%,75%,90%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}from{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}.bounceInUp{animation-name:bounceInUp}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:fadeIn}@keyframes fadeInDown{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}.fadeInDown{animation-name:fadeInDown}@keyframes fadeInLeft{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:none}}.fadeInLeft{animation-name:fadeInLeft}@keyframes fadeInRight{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:none}}.fadeInRight{animation-name:fadeInRight}@keyframes fadeInUp{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}.fadeInUp{animation-name:fadeInUp}@keyframes lightSpeedIn{from{transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{transform:skewX(20deg);opacity:1}80%{transform:skewX(-5deg);opacity:1}to{transform:none;opacity:1}}.lightSpeedIn{animation-name:lightSpeedIn;animation-timing-function:ease-out}@keyframes rotateIn{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:none;opacity:1}}.rotateIn{animation-name:rotateIn}@keyframes rotateInDownLeft{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:none;opacity:1}}.rotateInDownLeft{animation-name:rotateInDownLeft}@keyframes rotateInDownRight{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:none;opacity:1}}.rotateInDownRight{animation-name:rotateInDownRight}@keyframes rotateInUpLeft{from{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left bottom;transform:none;opacity:1}}.rotateInUpLeft{animation-name:rotateInUpLeft}@keyframes rotateInUpRight{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:none;opacity:1}}.rotateInUpRight{animation-name:rotateInUpRight}@keyframes rollIn{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:none}}.rollIn{animation-name:rollIn}@keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{animation-name:zoomIn}@keyframes zoomInDown{from{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{animation-name:zoomInDown}@keyframes zoomInLeft{from{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{animation-name:zoomInLeft}@keyframes zoomInRight{from{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{animation-name:zoomInRight}@keyframes zoomInUp{from{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{animation-name:zoomInUp}@keyframes slideInDown{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}.slideInDown{animation-name:slideInDown}@keyframes slideInLeft{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}.slideInLeft{animation-name:slideInLeft}@keyframes slideInRight{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}.slideInRight{animation-name:slideInRight}@keyframes slideInUp{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}.slideInUp{animation-name:slideInUp} .elementor-animation-grow{transition-duration:.3s;transition-property:transform}.elementor-animation-grow:active,.elementor-animation-grow:focus,.elementor-animation-grow:hover{transform:scale(1.1)}.elementor-animation-shrink{transition-duration:.3s;transition-property:transform}.elementor-animation-shrink:active,.elementor-animation-shrink:focus,.elementor-animation-shrink:hover{transform:scale(0.9)}@keyframes elementor-animation-pulse{25%{transform:scale(1.1)}75%{transform:scale(0.9)}}.elementor-animation-pulse:active,.elementor-animation-pulse:focus,.elementor-animation-pulse:hover{animation-name:elementor-animation-pulse;animation-duration:1s;animation-timing-function:linear;animation-iteration-count:infinite}@keyframes elementor-animation-pulse-grow{to{transform:scale(1.1)}}.elementor-animation-pulse-grow:active,.elementor-animation-pulse-grow:focus,.elementor-animation-pulse-grow:hover{animation-name:elementor-animation-pulse-grow;animation-duration:.3s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate}@keyframes elementor-animation-pulse-shrink{to{transform:scale(0.9)}}.elementor-animation-pulse-shrink:active,.elementor-animation-pulse-shrink:focus,.elementor-animation-pulse-shrink:hover{animation-name:elementor-animation-pulse-shrink;animation-duration:.3s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate}@keyframes elementor-animation-push{50%{transform:scale(0.8)}100%{transform:scale(1)}}.elementor-animation-push:active,.elementor-animation-push:focus,.elementor-animation-push:hover{animation-name:elementor-animation-push;animation-duration:.3s;animation-timing-function:linear;animation-iteration-count:1}@keyframes elementor-animation-pop{50%{transform:scale(1.2)}}.elementor-animation-pop:active,.elementor-animation-pop:focus,.elementor-animation-pop:hover{animation-name:elementor-animation-pop;animation-duration:.3s;animation-timing-function:linear;animation-iteration-count:1}.elementor-animation-bounce-in{transition-duration:.5s}.elementor-animation-bounce-in:active,.elementor-animation-bounce-in:focus,.elementor-animation-bounce-in:hover{transform:scale(1.2);transition-timing-function:cubic-bezier(0.47,2.02,.31,-.36)}.elementor-animation-bounce-out{transition-duration:.5s}.elementor-animation-bounce-out:active,.elementor-animation-bounce-out:focus,.elementor-animation-bounce-out:hover{transform:scale(0.8);transition-timing-function:cubic-bezier(0.47,2.02,.31,-.36)}.elementor-animation-rotate{transition-duration:.3s;transition-property:transform}.elementor-animation-rotate:active,.elementor-animation-rotate:focus,.elementor-animation-rotate:hover{transform:rotate(4deg)}.elementor-animation-grow-rotate{transition-duration:.3s;transition-property:transform}.elementor-animation-grow-rotate:active,.elementor-animation-grow-rotate:focus,.elementor-animation-grow-rotate:hover{transform:scale(1.1) rotate(4deg)}.elementor-animation-float{transition-duration:.3s;transition-property:transform;transition-timing-function:ease-out}.elementor-animation-float:active,.elementor-animation-float:focus,.elementor-animation-float:hover{transform:translateY(-8px)}.elementor-animation-sink{transition-duration:.3s;transition-property:transform;transition-timing-function:ease-out}.elementor-animation-sink:active,.elementor-animation-sink:focus,.elementor-animation-sink:hover{transform:translateY(8px)}@keyframes elementor-animation-bob{0%{transform:translateY(-8px)}50%{transform:translateY(-4px)}100%{transform:translateY(-8px)}}@keyframes elementor-animation-bob-float{100%{transform:translateY(-8px)}}.elementor-animation-bob:active,.elementor-animation-bob:focus,.elementor-animation-bob:hover{animation-name:elementor-animation-bob-float,elementor-animation-bob;animation-duration:.3s,1.5s;animation-delay:0s,.3s;animation-timing-function:ease-out,ease-in-out;animation-iteration-count:1,infinite;animation-fill-mode:forwards;animation-direction:normal,alternate}@keyframes elementor-animation-hang{0%{transform:translateY(8px)}50%{transform:translateY(4px)}100%{transform:translateY(8px)}}@keyframes elementor-animation-hang-sink{100%{transform:translateY(8px)}}.elementor-animation-hang:active,.elementor-animation-hang:focus,.elementor-animation-hang:hover{animation-name:elementor-animation-hang-sink,elementor-animation-hang;animation-duration:.3s,1.5s;animation-delay:0s,.3s;animation-timing-function:ease-out,ease-in-out;animation-iteration-count:1,infinite;animation-fill-mode:forwards;animation-direction:normal,alternate}.elementor-animation-skew{transition-duration:.3s;transition-property:transform}.elementor-animation-skew:active,.elementor-animation-skew:focus,.elementor-animation-skew:hover{transform:skew(-10deg)}.elementor-animation-skew-forward{transition-duration:.3s;transition-property:transform;transform-origin:0 100%}.elementor-animation-skew-forward:active,.elementor-animation-skew-forward:focus,.elementor-animation-skew-forward:hover{transform:skew(-10deg)}.elementor-animation-skew-backward{transition-duration:.3s;transition-property:transform;transform-origin:0 100%}.elementor-animation-skew-backward:active,.elementor-animation-skew-backward:focus,.elementor-animation-skew-backward:hover{transform:skew(10deg)}@keyframes elementor-animation-wobble-vertical{16.65%{transform:translateY(8px)}33.3%{transform:translateY(-6px)}49.95%{transform:translateY(4px)}66.6%{transform:translateY(-2px)}83.25%{transform:translateY(1px)}100%{transform:translateY(0)}}.elementor-animation-wobble-vertical:active,.elementor-animation-wobble-vertical:focus,.elementor-animation-wobble-vertical:hover{animation-name:elementor-animation-wobble-vertical;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-wobble-horizontal{16.65%{transform:translateX(8px)}33.3%{transform:translateX(-6px)}49.95%{transform:translateX(4px)}66.6%{transform:translateX(-2px)}83.25%{transform:translateX(1px)}100%{transform:translateX(0)}}.elementor-animation-wobble-horizontal:active,.elementor-animation-wobble-horizontal:focus,.elementor-animation-wobble-horizontal:hover{animation-name:elementor-animation-wobble-horizontal;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-wobble-to-bottom-right{16.65%{transform:translate(8px,8px)}33.3%{transform:translate(-6px,-6px)}49.95%{transform:translate(4px,4px)}66.6%{transform:translate(-2px,-2px)}83.25%{transform:translate(1px,1px)}100%{transform:translate(0,0)}}.elementor-animation-wobble-to-bottom-right:active,.elementor-animation-wobble-to-bottom-right:focus,.elementor-animation-wobble-to-bottom-right:hover{animation-name:elementor-animation-wobble-to-bottom-right;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-wobble-to-top-right{16.65%{transform:translate(8px,-8px)}33.3%{transform:translate(-6px,6px)}49.95%{transform:translate(4px,-4px)}66.6%{transform:translate(-2px,2px)}83.25%{transform:translate(1px,-1px)}100%{transform:translate(0,0)}}.elementor-animation-wobble-to-top-right:active,.elementor-animation-wobble-to-top-right:focus,.elementor-animation-wobble-to-top-right:hover{animation-name:elementor-animation-wobble-to-top-right;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-wobble-top{16.65%{transform:skew(-12deg)}33.3%{transform:skew(10deg)}49.95%{transform:skew(-6deg)}66.6%{transform:skew(4deg)}83.25%{transform:skew(-2deg)}100%{transform:skew(0)}}.elementor-animation-wobble-top{transform-origin:0 100%}.elementor-animation-wobble-top:active,.elementor-animation-wobble-top:focus,.elementor-animation-wobble-top:hover{animation-name:elementor-animation-wobble-top;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-wobble-bottom{16.65%{transform:skew(-12deg)}33.3%{transform:skew(10deg)}49.95%{transform:skew(-6deg)}66.6%{transform:skew(4deg)}83.25%{transform:skew(-2deg)}100%{transform:skew(0)}}.elementor-animation-wobble-bottom{transform-origin:100% 0}.elementor-animation-wobble-bottom:active,.elementor-animation-wobble-bottom:focus,.elementor-animation-wobble-bottom:hover{animation-name:elementor-animation-wobble-bottom;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-wobble-skew{16.65%{transform:skew(-12deg)}33.3%{transform:skew(10deg)}49.95%{transform:skew(-6deg)}66.6%{transform:skew(4deg)}83.25%{transform:skew(-2deg)}100%{transform:skew(0)}}.elementor-animation-wobble-skew:active,.elementor-animation-wobble-skew:focus,.elementor-animation-wobble-skew:hover{animation-name:elementor-animation-wobble-skew;animation-duration:1s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes elementor-animation-buzz{50%{transform:translateX(3px) rotate(2deg)}100%{transform:translateX(-3px) rotate(-2deg)}}.elementor-animation-buzz:active,.elementor-animation-buzz:focus,.elementor-animation-buzz:hover{animation-name:elementor-animation-buzz;animation-duration:.15s;animation-timing-function:linear;animation-iteration-count:infinite}@keyframes elementor-animation-buzz-out{10%{transform:translateX(3px) rotate(2deg)}20%{transform:translateX(-3px) rotate(-2deg)}30%{transform:translateX(3px) rotate(2deg)}40%{transform:translateX(-3px) rotate(-2deg)}50%{transform:translateX(2px) rotate(1deg)}60%{transform:translateX(-2px) rotate(-1deg)}70%{transform:translateX(2px) rotate(1deg)}80%{transform:translateX(-2px) rotate(-1deg)}90%{transform:translateX(1px) rotate(0)}100%{transform:translateX(-1px) rotate(0)}}.elementor-animation-buzz-out:active,.elementor-animation-buzz-out:focus,.elementor-animation-buzz-out:hover{animation-name:elementor-animation-buzz-out;animation-duration:.75s;animation-timing-function:linear;animation-iteration-count:1}/******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 936: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { /** * Copyright (C) 2014-2023 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ var Modal = __webpack_require__(544), $ = jQuery; var Import = function Import() { var self = this; // Set params this.params = []; // Set modal this.modal = new Modal(); // Set confirm listener this.modal.onConfirm = function (options) { self.onConfirm(options); }; // Set blogs listener this.modal.onBlogs = function (options) { self.onBlogs(options); }; // Set stop listener this.modal.onStop = function (options) { options = (options || []).concat({ name: 'ai1wm_import_cancel', value: 1 }); self.onStop(options); }; // Set disk space listener this.modal.onDiskSpaceConfirm = function (options) { self.onDiskSpaceConfirm(options); }; // Set decrypt password listener this.modal.onDecryptPassword = function (password, options) { self.onDecryptPassword(password, options); }; }; Import.prototype.setParams = function (params) { this.params = Ai1wm.Util.list(params); }; Import.prototype.start = function (options, retries) { var self = this; retries = retries || 0; // Reset stop flag if (retries === 0) { this.stopImport(false); } // Stop running import if (this.isImportStopped()) { return; } // Initializing beforeunload event $(window).bind('beforeunload', function () { return ai1wm_locale.stop_importing_your_website; }); // Set initial status this.setStatus({ type: 'info', message: ai1wm_locale.preparing_to_import }); // Set params var params = this.params.concat({ name: 'secret_key', value: ai1wm_import.secret_key }); // Set additional params if (options) { params = params.concat(Ai1wm.Util.list(options)); } // Import $.ajax({ url: ai1wm_import.ajax.url, type: 'POST', dataType: 'json', data: params, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function () { self.getStatus(); }).done(function (result) { if (result) { self.run(result); } }).fail(function (xhr) { var timeout = retries * 1000; try { var json = Ai1wm.Util.json(xhr.responseText); if (json) { var result = JSON.parse(json); var error = result.errors.pop(); if (error.message) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } } } catch (e) {} if (retries >= 5) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: ai1wm_locale.unable_to_start_the_import, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } retries++; setTimeout(self.start.bind(self, options, retries), timeout); }); }; Import.prototype.run = function (params, retries) { var self = this; retries = retries || 0; // Stop running import if (this.isImportStopped()) { return; } // Import $.ajax({ url: ai1wm_import.ajax.url, type: 'POST', dataType: 'json', data: params, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function (result) { if (result) { self.run(result); } }).fail(function (xhr) { var timeout = retries * 1000; try { var json = Ai1wm.Util.json(xhr.responseText); if (json) { var result = JSON.parse(json); var error = result.errors.pop(); if (error.message) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } } } catch (e) {} retries++; setTimeout(self.run.bind(self, params, retries), timeout); }); }; Import.prototype.decryptPassword = function (options, password, retries) { var self = this; retries = retries || 0; // Stop running import if (this.isImportStopped()) { return; } this.params = this.params.concat({ name: 'decryption_password', value: password }); // Set params var params = this.params.concat({ name: 'secret_key', value: ai1wm_import.secret_key }).concat({ name: 'priority', value: 90 }); $.ajax({ url: ai1wm_import.ajax.url, type: 'POST', dataType: 'json', data: params, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function () { self.getStatus(); }).done(function (result) { if (result) { self.run(result); } }).fail(function (xhr) { var timeout = retries * 1000; try { var json = Ai1wm.Util.json(xhr.responseText); if (json) { var result = JSON.parse(json); var error = result.errors.pop(); if (error.message) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } } } catch (e) {} if (retries >= 5) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: ai1wm_locale.unable_to_check_decryption_password, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } retries++; setTimeout(self.decryptPassword.bind(self, options, password, retries), timeout); }); }; Import.prototype.confirm = function (options, retries) { var self = this; retries = retries || 0; // Stop running import if (this.isImportStopped()) { return; } // Set params var params = this.params.concat({ name: 'secret_key', value: ai1wm_import.secret_key }).concat({ name: 'priority', value: 150 }); // Set additional params if (options) { params = params.concat(Ai1wm.Util.list(options)); } // Confirm $.ajax({ url: ai1wm_import.ajax.url, type: 'POST', dataType: 'json', data: params, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function () { self.getStatus(); }).done(function (result) { if (result) { self.run(result); } }).fail(function (xhr) { var timeout = retries * 1000; try { var json = Ai1wm.Util.json(xhr.responseText); if (json) { var result = JSON.parse(json); var error = result.errors.pop(); if (error.message) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } } } catch (e) {} if (retries >= 5) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: ai1wm_locale.unable_to_confirm_the_import, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } retries++; setTimeout(self.confirm.bind(self, options, retries), timeout); }); }; Import.prototype.checkDiskSpace = function (fileSize, callback) { this.diskSpaceCallback = callback; var diskSpaceFree = parseInt(ai1wm_disk_space.free, 10); var diskSpaceFactor = parseInt(ai1wm_disk_space.factor, 10); var diskSpaceExtra = parseInt(ai1wm_disk_space.extra, 10); if (diskSpaceFree >= 0) { var diskSpaceRequired = fileSize * diskSpaceFactor + diskSpaceExtra; if (diskSpaceRequired > diskSpaceFree) { this.setStatus({ type: 'disk_space_confirm', message: ai1wm_locale.out_of_disk_space.replace('%s', Ai1wm.Util.sizeFormat(diskSpaceRequired - diskSpaceFree)) }); return; } } callback(); }; Import.prototype.blogs = function (options, retries) { var self = this; retries = retries || 0; // Stop running import if (this.isImportStopped()) { return; } // Set params var params = this.params.concat({ name: 'secret_key', value: ai1wm_import.secret_key }).concat({ name: 'priority', value: 150 }); // Set additional params if (options) { params = params.concat(Ai1wm.Util.list(options)); } // Blogs $.ajax({ url: ai1wm_import.ajax.url, type: 'POST', dataType: 'json', data: params, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function () { self.getStatus(); }).done(function (result) { if (result) { self.run(result); } }).fail(function (xhr) { var timeout = retries * 1000; try { var json = Ai1wm.Util.json(xhr.responseText); if (json) { var result = JSON.parse(json); var error = result.errors.pop(); if (error.message) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } } } catch (e) {} if (retries >= 5) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: ai1wm_locale.unable_to_prepare_blogs_on_import, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } retries++; setTimeout(self.blogs.bind(self, options, retries), timeout); }); }; Import.prototype.clean = function (options, retries) { var self = this; retries = retries || 0; // Reset stop flag if (retries === 0) { this.stopImport(true); } // Set initial status this.setStatus({ type: 'info', message: ai1wm_locale.please_wait_stopping_the_import }); // Set params var params = this.params.concat({ name: 'secret_key', value: ai1wm_import.secret_key }).concat({ name: 'priority', value: 400 }); // Set additional params if (options) { params = params.concat(Ai1wm.Util.list(options)); } // Clean $.ajax({ url: ai1wm_import.ajax.url, type: 'POST', dataType: 'json', data: params, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function () { // Unbinding the beforeunload event when we stop importing $(window).unbind('beforeunload'); // Destroy modal self.modal.destroy(); }).fail(function (xhr) { var timeout = retries * 1000; try { var json = Ai1wm.Util.json(xhr.responseText); if (json) { var result = JSON.parse(json); var error = result.errors.pop(); if (error.message) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } } } catch (e) {} if (retries >= 5) { self.stopImport(true); self.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: ai1wm_locale.unable_to_stop_the_import, nonce: Ai1wm.Util.findValueByName(params, 'storage') }); return; } retries++; setTimeout(self.clean.bind(self, options, retries), timeout); }); }; Import.prototype.getStatus = function () { var self = this; // Stop getting status if (this.isImportStopped()) { return; } this.statusXhr = $.ajax({ url: ai1wm_import.status.url, type: 'GET', dataType: 'json', cache: false, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function (params) { if (params) { self.setStatus(params); // Next status switch (params.type) { case 'done': case 'error': // Unbinding the beforeunload event when any case is performed $(window).unbind('beforeunload'); return; case 'confirm': case 'disk_space_confirm': case 'blogs': case 'backup_is_encrypted': return; } } // Import is not done yet, let's check status in 3 seconds setTimeout(self.getStatus.bind(self), 3000); }).fail(function () { // Import is not done yet, let's check status in 3 seconds setTimeout(self.getStatus.bind(self), 3000); }); }; Import.prototype.setStatus = function (params) { this.modal.render(params); }; Import.prototype.onConfirm = function (options) { this.confirm(options); }; Import.prototype.onDecryptPassword = function (password, options) { this.decryptPassword(options, password); }; Import.prototype.onBlogs = function (options) { this.blogs(options); }; Import.prototype.onStop = function (options) { this.clean(options); }; Import.prototype.onDiskSpaceConfirm = function (options) { this.diskSpaceCallback(options); }; Import.prototype.stopImport = function (isStopped) { try { if (isStopped && this.statusXhr) { this.statusXhr.abort(); } } finally { this.isStopped = isStopped; } }; Import.prototype.isImportStopped = function () { return this.isStopped; }; module.exports = Import; /***/ }), /***/ 544: /***/ (function(module) { /** * Copyright (C) 2014-2023 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ var $ = jQuery; var Modal = function Modal() { var self = this; // Error Modal this.error = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold title var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create title var title = $('').addClass('ai1wm-title-red').text(params.title); // Create close button var closeButton = $('').on('click', function () { self.destroy(); }); // Append text to close button closeButton.append(ai1wm_locale.close_import); // Append close button to action action.append(closeButton); // Append title to section header.append(title); // Append header and message to section section.append(header).append(message); // Create view log button if (params.nonce) { var logButton = $(''); logButton.text(ai1wm_locale.view_error_log_button); logButton.prop('href', ai1wm_export.storage.url + '/' + ai1wm_export.error_log.pattern.replace('%s', params.nonce)); section.append($('
').append(logButton)); } // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Progress Modal this.progress = function (params) { // Update progress bar meter if (this.progress.progressBarMeter) { this.progress.progressBarMeter.width(params.percent + '%'); } // Update progress bar percent if (this.progress.progressBarPercent) { this.progress.progressBarPercent.text(params.percent + '%'); return; } // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold progress bar var header = $('

'); // Create action section var action = $('
'); // Create progress bar var progressBar = $(''); // Create progress bar meter this.progress.progressBarMeter = $('').width(params.percent + '%'); // Create progress bar percent this.progress.progressBarPercent = $('').text(params.percent + '%'); // Create stop import var stopButton = $('').on('click', function () { stopButton.attr('disabled', 'disabled'); self.onStop(); }); // Append text to stop button stopButton.append(' ' + ai1wm_locale.stop_import); // Append progress meter and progress percent progressBar.append(this.progress.progressBarMeter).append(this.progress.progressBarPercent); // Append stop button to action action.append(stopButton); // Append progress bar to section header.append(progressBar); // Append header to section section.append(header); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Pro Modal this.pro = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold warning var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create warning var warning = $(''); // Create close button var closeButton = $('').on('click', function () { self.destroy(); }); // Append text to close button closeButton.append(ai1wm_locale.close_import); // Append close button to action action.append(closeButton); // Append warning to section header.append(warning); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Confirm Modal this.confirm = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold warning var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create warning var warning = $(''); // Create close button var closeButton = $('').on('click', function () { closeButton.attr('disabled', 'disabled'); self.onStop(); }); // Create confirm button var confirmButton = $('').on('click', function () { confirmButton.attr('disabled', 'disabled'); self.onConfirm(); }); // Append text to close button closeButton.append(ai1wm_locale.close_import); // Append text to confirm button confirmButton.append(ai1wm_locale.confirm_import + ' >'); // Append close button to action action.append(closeButton); // Append confirm button to action action.append(confirmButton); // Append warning to section header.append(warning); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Disk space Confirm Modal this.diskSpaceConfirm = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold warning var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create warning var warning = $(''); // Create close button var closeButton = $('').on('click', function () { self.destroy(); }); // Create confirm button var confirmButton = $('').on('click', function () { $(this).attr('disabled', 'disabled'); self.onDiskSpaceConfirm(); }); // Append text to close button closeButton.append(ai1wm_locale.close_import); // Append text to confirm button confirmButton.append(ai1wm_locale.confirm_disk_space); // Append close button to action action.append(closeButton); // Append confirm button to action action.append(confirmButton); // Append warning to section header.append(warning); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Blogs Modal this.blogs = function (params) { // Create the modal container var container = $('
').on('submit', function (e) { e.preventDefault(); continueButton.attr('disabled', 'disabled'); self.onBlogs(container.serializeArray()); }); // Create section to hold title, message and action var section = $('
'); // Create header to hold title var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create title var title = $('').addClass('ai1wm-title-grey').text(params.title); // Create continue button var continueButton = $(''); // Append text to continue button continueButton.append(ai1wm_locale.continue_import); // Append continue button to action action.append(continueButton); // Append title to section header.append(title); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Info Modal this.info = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold loader var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create loader var loader = $(''); // Create warning var warning = $('

').html(ai1wm_locale.please_do_not_close_this_browser); // Create notice to be displayed during import process var notice = $('
'); // Append warning to notice notice.append(warning); // Append stop button to action action.append(notice); // Append loader to header header.append(loader); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Done Modal this.done = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold title var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create action section var action = $('
'); // Create title var title = $('').addClass('ai1wm-title-green').text(params.title); // Create close button var closeButton = $('').on('click', function () { self.destroy(); }); // Append text to close button closeButton.append(ai1wm_locale.finish_import + ' >'); // Append close button to action action.append(closeButton); // Append title to section header.append(title); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; this.backup_is_encrypted = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold title var header = $('

').html(ai1wm_locale.backup_encrypted); var message = $('

').html(ai1wm_locale.backup_encrypted_message); var confirmButton = $('').on('click', function () { var password = $('#ai1wm-backup-decrypt-password'); var passwordConfirmation = $('#ai1wm-backup-decrypt-password-confirmation'); if (password.val().length && password.val() === passwordConfirmation.val()) { confirmButton.attr('disabled', 'disabled'); self.onDecryptPassword(password.val()); } else { passwordConfirmation.parent().addClass('ai1wm-has-error'); password.parent().addClass('ai1wm-has-error'); } }); var closeButton = $('').on('click', function () { closeButton.attr('disabled', 'disabled'); self.onStop(); }); var form = $('
'); var passwordContainer = $('
'); var passwordInput = $('').prop('placeholder', ai1wm_locale.enter_password).on('keyup', function () { var password = $(this); var passwordConfirmation = $('#ai1wm-backup-decrypt-password-confirmation'); if (password.val() !== passwordConfirmation.val()) { passwordConfirmation.parent().addClass('ai1wm-has-error'); password.parent().addClass('ai1wm-has-error'); } else { password.parent().removeClass('ai1wm-has-error'); passwordConfirmation.parent().removeClass('ai1wm-has-error'); } }); var passwordView = $('').on('click', function () { $(this).toggleClass('ai1wm-icon-eye ai1wm-icon-eye-blocked'); $(this).prev().prop('type', function (index, oldPropertyValue) { return oldPropertyValue === 'text' ? 'password' : 'text'; }); return false; }); passwordContainer.append(passwordInput).append(passwordView); if (params.error) { passwordContainer.addClass('ai1wm-has-error'); var passwordError = $('
').html(params.error); passwordContainer.append(passwordError); } var passwordConfirmationContainer = $('
'); var passwordConfirmationInput = $('').prop('placeholder', ai1wm_locale.repeat_password).on('keyup', function () { var passwordConfirmation = $(this); var password = $('#ai1wm-backup-decrypt-password'); if (passwordInput.val() !== passwordConfirmation.val()) { password.parent().addClass('ai1wm-has-error'); passwordConfirmation.parent().addClass('ai1wm-has-error'); } else { password.parent().removeClass('ai1wm-has-error'); passwordConfirmation.parent().removeClass('ai1wm-has-error'); } }); var passwordConfirmationView = $('').on('click', function () { $(this).toggleClass('ai1wm-icon-eye ai1wm-icon-eye-blocked'); $(this).prev().prop('type', function (index, oldPropertyValue) { return oldPropertyValue === 'text' ? 'password' : 'text'; }); return false; }); var passwordConfirmationError = $('
').html(ai1wm_locale.passwords_do_not_match); passwordConfirmationContainer.append(passwordConfirmationInput).append(passwordConfirmationView).append(passwordConfirmationError); confirmButton.append(ai1wm_locale.submit); closeButton.append(ai1wm_locale.close_import); var buttonContainer = $('
'); buttonContainer.append(closeButton).append(confirmButton); form.append(passwordContainer).append(passwordConfirmationContainer); // Append header and message to section section.append(header).append(message).append(form).append(buttonContainer); // Append section and action to container container.append(section); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Server cannot decrypt Modal this.server_cannot_decrypt = function (params) { // Create the modal container var container = $('
'); // Create section to hold title, message and action var section = $('
'); // Create header to hold title var header = $('

'); // Create paragraph to hold mesage var message = $('

').html(params.message); // Create warning var warning = $(''); // Create action section var action = $('
'); // Create close button var closeButton = $('').on('click', function () { closeButton.attr('disabled', 'disabled'); self.onStop(); }); // Append text to close button closeButton.append(ai1wm_locale.close_import); // Append close button to action action.append(closeButton); // Append warning to header header.append(warning); // Append header and message to section section.append(header).append(message); // Append section and action to container container.append(section).append(action); // Render modal self.modal.html(container).show(); self.modal.trigger('focus'); self.overlay.show(); }; // Create the overlay this.overlay = $('
'); // Create the modal container this.modal = $(''); $('body').append(this.overlay) // Append overlay to body .append(this.modal); // Append modal to body }; Modal.prototype.render = function (params) { $(document).trigger('ai1wm-import-status', params); // Show modal switch (params.type) { case 'pro': this.pro(params); break; case 'error': this.error(params); break; case 'confirm': this.confirm(params); break; case 'disk_space_confirm': this.diskSpaceConfirm(params); break; case 'blogs': this.blogs(params); break; case 'progress': this.progress(params); break; case 'info': this.info(params); break; case 'done': this.done(params); break; case 'backup_is_encrypted': this.backup_is_encrypted(params); break; case 'server_cannot_decrypt': this.server_cannot_decrypt(params); break; } }; Modal.prototype.destroy = function () { this.modal.hide(); this.overlay.hide(); // Reset progress bar this.progress.progressBarMeter = null; this.progress.progressBarPercent = null; }; module.exports = Modal; /***/ }), /***/ 814: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { /** * Copyright (C) 2014-2023 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ var Import = __webpack_require__(936), $ = jQuery; var FileUploader = function FileUploader() {}; FileUploader.prototype.setDefaultValues = function () { this.model = new Import(); this.stopUpload = false; }; FileUploader.prototype.init = function () { var _this = this; var formElement = $('#ai1wm-import-form'); var selectElement = $('#ai1wm-import-file'); var dropElement = $('#ai1wm-drag-drop-area'); selectElement.on('change', function (e) { _this.setDefaultValues(); var file = e.target.files.item(0); if (file) { _this.fileSize = file.size; if (_this.fileSize > ai1wm_uploader.max_file_size) { _this.model.setStatus({ type: 'pro', message: ai1wm_locale.import_from_file }); } else { _this.model.checkDiskSpace(_this.fileSize, function () { try { _this.onFilesAdded(file); _this.onBeforeUpload(file); _this.upload(file); } catch (error) { _this.onError(error); } }); } } formElement.trigger('reset'); e.preventDefault(); }); dropElement.on('dragenter', function (e) { dropElement.addClass('ai1wm-drag-over'); e.preventDefault(); }); dropElement.on('dragover', function (e) { dropElement.addClass('ai1wm-drag-over'); e.preventDefault(); }); dropElement.on('dragleave', function (e) { dropElement.removeClass('ai1wm-drag-over'); e.preventDefault(); }); dropElement.on('drop', function (e) { _this.setDefaultValues(); dropElement.removeClass('ai1wm-drag-over'); var file = e.originalEvent.dataTransfer.files.item(0); if (file) { _this.fileSize = file.size; if (_this.fileSize > ai1wm_uploader.max_file_size) { _this.model.setStatus({ type: 'pro', message: ai1wm_locale.import_from_file }); } else { _this.model.checkDiskSpace(_this.fileSize, function () { try { _this.onFilesAdded(file); _this.onBeforeUpload(file); _this.upload(file); } catch (error) { _this.onError(error); } }); } } formElement.trigger('reset'); e.preventDefault(); }); }; // Check extension FileUploader.prototype.c1 = function (file) { if (file.name.substr(-6) !== 'wpress') { throw new Error(ai1wm_locale.invalid_archive_extension); } }; // Check compatibility FileUploader.prototype.c3 = function () { if (ai1wm_compatibility.messages.length > 0) { throw new Error(ai1wm_compatibility.messages.join()); } }; FileUploader.prototype.onFilesAdded = function (file) { this.c1(file); this.c3(file); // Initializing beforeunload event $(window).bind('beforeunload', function () { return ai1wm_locale.stop_importing_your_website; }); }; FileUploader.prototype.onBeforeUpload = function (file) { var self = this; var storage = Ai1wm.Util.random(12); var options = Ai1wm.Util.form('#ai1wm-import-form').concat({ name: 'storage', value: storage }).concat({ name: 'archive', value: file.name }).concat({ name: 'file', value: 1 }); // Set global params this.model.setParams(options); // Set multipart params $.extend(ai1wm_uploader.params, { storage: storage, archive: file.name }); // Set stop this.model.onStop = function () { self.stopUpload = true; // Clean storage self.model.clean(); }; // Set status this.model.setStatus({ type: 'progress', percent: '0.00' }); }; FileUploader.prototype.upload = function (file) { var self = this; var formData = new FormData(); formData.append('upload-file', file); for (var name in ai1wm_uploader.params) { formData.append(name, ai1wm_uploader.params[name]); } $.ajax({ url: ai1wm_uploader.url, type: 'POST', data: formData, cache: false, contentType: false, processData: false, xhr: function xhr() { var handle = $.ajaxSettings.xhr(); if (handle.upload) { handle.upload.addEventListener('progress', function (event) { var percent = event.loaded / event.total * 100; self.model.setStatus({ type: 'progress', percent: percent.toFixed(2) }); }); } return handle; }, success: function success() { if (self.stopUpload) { return; } self.onFileUploaded(); }, error: function error(jqXHR, textStatus) { throw new Error(textStatus); } }); }; FileUploader.prototype.onUploadProgress = function (percent) { this.model.setStatus({ type: 'progress', percent: percent }); }; FileUploader.prototype.onFileUploaded = function () { this.model.start(); }; FileUploader.prototype.onError = function (error) { this.model.setStatus({ type: 'error', title: ai1wm_locale.unable_to_import, message: error.message }); }; module.exports = FileUploader; /***/ }), /***/ 332: /***/ (function() { /** * Copyright (C) 2014-2023 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ jQuery(document).ready(function ($) { 'use strict'; // Idea $('#ai1wm-feedback-type-link-1').on('click', function () { var radio = $('#ai1wm-feedback-type-1'); if (radio.is(':checked')) { radio.attr('checked', false); } else { radio.attr('checked', true); } }); // Help $('#ai1wm-feedback-type-2').on('click', function () { // Hide other options $('#ai1wm-feedback-type-1').closest('li').hide(); // Change placeholder message $('.ai1wm-feedback-form').find('.ai1wm-feedback-message').attr('placeholder', ai1wm_locale.how_may_we_help_you); // Show feedback form $('.ai1wm-feedback-form').fadeIn(); }); // Cancel feedback form $('#ai1wm-feedback-cancel').on('click', function (e) { $('.ai1wm-feedback-form').fadeOut(function () { $('.ai1wm-feedback-type').attr('checked', false).closest('li').show(); }); e.preventDefault(); }); // Send feedback form $('#ai1wm-feedback-submit').on('click', function (e) { var self = $(this); var spinner = self.next(); var type = $('.ai1wm-feedback-type:checked').val(); var email = $('.ai1wm-feedback-email').val(); var message = $('.ai1wm-feedback-message').val(); var terms = $('.ai1wm-feedback-terms').is(':checked'); self.attr('disabled', true); spinner.css('visibility', 'visible'); $.ajax({ url: ai1wm_feedback.ajax.url, type: 'POST', dataType: 'json', async: true, data: { secret_key: ai1wm_feedback.secret_key, ai1wm_type: type, ai1wm_email: email, ai1wm_message: message, ai1wm_terms: +terms }, dataFilter: function dataFilter(data) { return Ai1wm.Util.json(data); } }).done(function (data) { self.attr('disabled', false); spinner.css('visibility', 'hidden'); if (data.errors.length > 0) { $('.ai1wm-feedback .ai1wm-message').remove(); var errorMessage = $('
').addClass('ai1wm-message ai1wm-error-message'); $.each(data.errors, function (key, value) { errorMessage.append($('

').text(value)); }); $('.ai1wm-feedback').prepend(errorMessage); } else { var successMessage = $('

').addClass('ai1wm-message ai1wm-success-message'); successMessage.append($('

').text(ai1wm_locale.thanks_for_submitting_your_feedback)); $('.ai1wm-feedback').html(successMessage); } }); e.preventDefault(); }); }); /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/global */ /******/ !function() { /******/ __webpack_require__.g = (function() { /******/ if (typeof globalThis === 'object') return globalThis; /******/ try { /******/ return this || new Function('return this')(); /******/ } catch (e) { /******/ if (typeof window === 'object') return window; /******/ } /******/ })(); /******/ }(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. !function() { /** * Copyright (C) 2014-2023 ServMask Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗ * ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝ * ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝ * ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗ * ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗ * ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ */ var FileUploader = __webpack_require__(814), Feedback = __webpack_require__(332), Import = __webpack_require__(936); jQuery(document).ready(function ($) { 'use strict'; var uploader; if (Ai1wm.MultisiteExtensionUploader) { uploader = new Ai1wm.MultisiteExtensionUploader(); } else if (Ai1wm.UnlimitedExtensionUploader) { uploader = new Ai1wm.UnlimitedExtensionUploader(); } else if (Ai1wm.FileExtensionUploader) { uploader = new Ai1wm.FileExtensionUploader(); } else { uploader = new Ai1wm.FileUploader(); } uploader.init(); // Expands/Collapses Import from $('.ai1wm-expandable > div.ai1wm-button-main').on('click', function () { $(this).parent().toggleClass('ai1wm-open'); }); }); __webpack_require__.g.Ai1wm = jQuery.extend({}, __webpack_require__.g.Ai1wm, { FileUploader: FileUploader, Feedback: Feedback, Import: Import }); }(); /******/ })() ; Numerology Examination: Understanding the Power of Numbers – Masjid Raya Kebayoran Residences

Numerology Examination: Understanding the Power of Numbers

Numerology is an ancient kind of divination that uses numbers to acquire insight into a person’s character, toughness, weak points, and life course. By recognizing the importance and definition behind different numbers, people can reveal concealed facts concerning themselves and the globe around them. One of the most preferred methods of discovering numerology is via taking a numerology test.

What is a Numerology Examination?

A numerology test is a device made use of to analyze an individual’s birth date and full name to reveal essential elements of their personality and life path. It is based upon the belief that each number holds an unique vibration and relevance, influencing the events and experiences in an individual’s life. By computing certain numbers associated with an individual’s birth date and name, a numerologist can expose understandings into their character, staminas, weaknesses, and future opportunities.

There are different sorts of numerology examinations available, each concentrating on tarot reader australia various elements of an individual’s life. Some tests may highlight compatibility with others, profession options, individual growth, or life purpose. The results of a numerology test can offer useful support and direction for people looking for to understand themselves far better and make educated decisions in their lives.

Below are some common sorts of numerology examinations:

  • Life Course Number Examination
  • Expression Number Test
  • Heart Desire Number Test
  • Individuality Number Examination
  • Birth Day Number Examination

Exactly how to Take a Numerology Examination

To take a numerology examination, you will need to offer your complete birth date and full name as it shows up on your birth certification. The numerologist will certainly utilize this details to compute your core numbers and give you with a detailed evaluation of your personality type, strengths, weaknesses, and possible challenges.

It is essential to come close to a numerology test with an open mind and readiness to explore the deeper facets of your being. The results of the examination might reverberate with you on an extensive degree and offer important understandings into your life’s trip and objective.

Numerous online systems supply cost-free numerology examinations that you can draw from the convenience of your own home. These tests commonly need you to input your birth day and complete name right into a numerology calculator, which will then create your core numbers and offer you with an individualized report.

The Benefits of Taking a Numerology Examination

There are numerous benefits to taking a numerology test, including:

  • Self-Discovery: Numerology tests can aid people obtain a deeper understanding of themselves and their distinct high qualities.
  • Individual Development: By discovering their toughness and weaknesses, individuals can work with personal development and self-improvement.
  • Decision-Making: Numerology can provide advice on vital decisions related to career, partnerships, and personal development.
  • Boosted Relationships: Understanding the core varieties of others can lead to enhanced communication and consistency in partnerships.
  • Spiritual Understanding: Numerology can provide spiritual insights and attach individuals to a higher function or meaning in life.

Conclusion

Numerology examinations are effective tools for self-discovery and personal growth. By discovering the symbolism and value of numbers, people can unlock covert facts concerning themselves and browse their life courses with higher quality and function. Whether you are new to numerology or a skilled lover, taking a numerology test can provide important understandings and support for your journey in advance.

Leave a Comment

Your email address will not be published. Required fields are marked *