PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.2
Elementor Website Builder – more than just a page builder v3.26.2
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | assets/js/editor-document.min.js +2 -3 4.3.0-beta23.26.2 View file →
@@ -1,3 +1,2 @@
1 -(function(){var t=Object.defineProperty,__name=(r,i)=>t(r,`name`,{value:i,configurable:!0});function _classCallCheck(t,r){if(!(t instanceof r))throw TypeError(`Cannot call a class as a function`)}function _typeof(t){"@babel/helpers - typeof";return _typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(t){return typeof t}:function(t){return t&&typeof Symbol==`function`&&t.constructor===Symbol&&t!==Symbol.prototype?`symbol`:typeof t},_typeof(t)}function toPrimitive(t,r){if(_typeof(t)!=`object`||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,r||`default`);if(_typeof(a)!=`object`)return a;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(r===`string`?String:Number)(t)}function toPropertyKey(t){var r=toPrimitive(t,`string`);return _typeof(r)==`symbol`?r:r+``}function _defineProperties(t,r){for(var i=0;i<r.length;i++){var a=r[i];a.enumerable=a.enumerable||!1,a.configurable=!0,`value`in a&&(a.writable=!0),Object.defineProperty(t,toPropertyKey(a.key),a)}}function _createClass(t,r,i){return r&&_defineProperties(t.prototype,r),i&&_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function _assertThisInitialized(t){if(t===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t}function _possibleConstructorReturn(t,r){if(r&&(_typeof(r)==`object`||typeof r==`function`))return r;if(r!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return _assertThisInitialized(t)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},_setPrototypeOf(t,r)}function _inherits(t,r){if(typeof r!=`function`&&r!==null)throw TypeError(`Super expression must either be null or a function`);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&_setPrototypeOf(t,r)}function _defineProperty(t,r,i){return(r=toPropertyKey(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function _superPropBase(t,r){for(;!{}.hasOwnProperty.call(t,r)&&(t=_getPrototypeOf(t))!==null;);return t}function _get(){return _get=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(t,r,i){var a=_superPropBase(t,r);if(a){var o=Object.getOwnPropertyDescriptor(a,r);return o.get?o.get.call(arguments.length<3?t:i):o.value}},_get.apply(null,arguments)}function _superPropGet$2(t,r,i,a){var o=_get(_getPrototypeOf(1&a?t.prototype:t),r,i);return 2&a&&typeof o==`function`?function(t){return o.apply(i,t)}:o}__name(_superPropGet$2,`_superPropGet`);var r=function(){function InstanceType(){var t=this;_classCallCheck(this,InstanceType);for(var r=this instanceof InstanceType?this.constructor:void 0,i=[];r.__proto__&&r.__proto__.name;)i.push(r.__proto__),r=r.__proto__;i.reverse().forEach(function(r){return t instanceof r})}return _createClass(InstanceType,null,[{key:Symbol.hasInstance,value:function value(t){var r=_superPropGet$2(InstanceType,Symbol.hasInstance,this,2)([t]);if(t&&!t.constructor.getInstanceType)return r;if(t&&(t.instanceTypes||(t.instanceTypes=[]),r||this.getInstanceType()===t.constructor.getInstanceType()&&(r=!0),r)){var i=this.getInstanceType===InstanceType.getInstanceType?`BaseInstanceType`:this.getInstanceType();t.instanceTypes.indexOf(i)===-1&&t.instanceTypes.push(i)}return!r&&t&&(r=t.instanceTypes&&Array.isArray(t.instanceTypes)&&t.instanceTypes.indexOf(this.getInstanceType())!==-1),r}},{key:`getInstanceType`,value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}();function _createForOfIteratorHelper(t,r){var i=typeof Symbol<`u`&&t[Symbol.iterator]||t[`@@iterator`];if(!i){if(Array.isArray(t)||(i=_unsupportedIterableToArray$1(t))||r&&t&&typeof t.length==`number`){i&&(t=i);var a=0,o=function F(){};return{s:o,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:o}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
2 -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c,l=!0,u=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return l=t.done,t},e:function e(t){u=!0,c=t},f:function f(){try{l||i.return==null||i.return()}finally{if(u)throw c}}}}function _unsupportedIterableToArray$1(t,r){if(t){if(typeof t==`string`)return _arrayLikeToArray$1(t,r);var i={}.toString.call(t).slice(8,-1);return i===`Object`&&t.constructor&&(i=t.constructor.name),i===`Map`||i===`Set`?Array.from(t):i===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_arrayLikeToArray$1(t,r):void 0}}__name(_unsupportedIterableToArray$1,`_unsupportedIterableToArray`);function _arrayLikeToArray$1(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,a=Array(r);i<r;i++)a[i]=t[i];return a}__name(_arrayLikeToArray$1,`_arrayLikeToArray`);var i=__name((function(t,r){r=Array.isArray(r)?r:[r];var i=_createForOfIteratorHelper(r),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(t.constructor.name===o.prototype[Symbol.toStringTag])return!0}}catch(t){i.e(t)}finally{i.f()}return!1}),`default`);function _callSuper$6(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct$6()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}__name(_callSuper$6,`_callSuper`);function _isNativeReflectConstruct$6(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct$6=function _isNativeReflectConstruct(){return!!t})()}__name(_isNativeReflectConstruct$6,`_isNativeReflectConstruct`);var a=function(t){function ArgsObject(t){var r;return _classCallCheck(this,ArgsObject),r=_callSuper$6(this,ArgsObject),r.args=t,r}return _inherits(ArgsObject,t),_createClass(ArgsObject,[{key:`requireArgument`,value:function requireArgument(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(r,t))throw Error(`${t} is required.`)}},{key:`requireArgumentType`,value:function requireArgumentType(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(t,i),_typeof(i[t])!==r)throw Error(`${t} invalid type: ${r}.`)}},{key:`requireArgumentInstance`,value:function requireArgumentInstance(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(t,a),!(a[t]instanceof r)&&!i(a[t],r))throw Error(`${t} invalid instance.`)}},{key:`requireArgumentConstructor`,value:function requireArgumentConstructor(t,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(t,i),i[t].constructor.toString()!==r.prototype.constructor.toString())throw Error(`${t} invalid constructor type.`)}}],[{key:`getInstanceType`,value:function getInstanceType(){return`ArgsObject`}}])}(r);function _arrayWithHoles(t){if(Array.isArray(t))return t}function _iterableToArrayLimit(t,r){var i=t==null?null:typeof Symbol<`u`&&t[Symbol.iterator]||t[`@@iterator`];if(i!=null){var a,o,c,l,u=[],d=!0,p=!1;try{if(c=(i=i.call(t)).next,r===0){if(Object(i)!==i)return;d=!1}else for(;!(d=(a=c.call(i)).done)&&(u.push(a.value),u.length!==r);d=!0);}catch(t){p=!0,o=t}finally{try{if(!d&&i.return!=null&&(l=i.return(),Object(l)!==l))return}finally{if(p)throw o}}return u}}function _arrayLikeToArray(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,a=Array(r);i<r;i++)a[i]=t[i];return a}function _unsupportedIterableToArray(t,r){if(t){if(typeof t==`string`)return _arrayLikeToArray(t,r);var i={}.toString.call(t).slice(8,-1);return i===`Object`&&t.constructor&&(i=t.constructor.name),i===`Map`||i===`Set`?Array.from(t):i===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_arrayLikeToArray(t,r):void 0}}function _nonIterableRest(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3 -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}var o=function(){function Console(){_classCallCheck(this,Console)}return _createClass(Console,null,[{key:`error`,value:function error(t){$e.devTools&&$e.devTools.log.error(t),t instanceof $e.modules.HookBreak||console.error(t)}},{key:`warn`,value:function warn(){for(var t,r=`font-size: 12px; background-image: url("${elementorWebCliConfig.urls.assets}images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;`,i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];a.unshift(`%c %c`,r,``),(t=console).warn.apply(t,a)}}])}(),c=function softDeprecated(t,r,i){elementorWebCliConfig.isDebug&&u(`soft`,t,r,i)},l=function hardDeprecated(t,r,i){u(`hard`,t,r,i)},u=function deprecatedMessage(t,r,i,a){var c=`\`${r}\` is ${t} deprecated since ${i}`;a&&(c+=` - Use \`${a}\` instead`),o.warn(c)},d=function(){function Deprecation(){_classCallCheck(this,Deprecation)}return _createClass(Deprecation,null,[{key:`deprecated`,value:function deprecated(t,r,i){this.isHardDeprecated(r)?l(t,r,i):c(t,r,i)}},{key:`parseVersion`,value:function parseVersion(t){var r=t.split(`.`);if(r.length<3||r.length>4)throw RangeError(`Invalid Semantic Version string provided`);var i=_slicedToArray(r,4),a=i[0],o=i[1],c=i[2],l=i[3];return{major1:parseInt(a),major2:parseInt(o),minor:parseInt(c),build:l===void 0?``:l}}},{key:`getTotalMajor`,value:function getTotalMajor(t){var r=parseInt(`${t.major1}${t.major2}0`);return r=Number((r/10).toFixed(0)),t.major2>9&&(r=t.major2-9),r}},{key:`compareVersion`,value:function compareVersion(t,r){var i=this;return[this.parseVersion(t),this.parseVersion(r)].map(function(t){return i.getTotalMajor(t)}).reduce(function(t,r){return t-r})}},{key:`isSoftDeprecated`,value:function isSoftDeprecated(t){return this.compareVersion(t,elementorWebCliConfig.version)<=4}},{key:`isHardDeprecated`,value:function isHardDeprecated(t){var r=this.compareVersion(t,elementorWebCliConfig.version);return r<0||r>=8}}])}();function _callSuper$5(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct$5()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}__name(_callSuper$5,`_callSuper`);function _isNativeReflectConstruct$5(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct$5=function _isNativeReflectConstruct(){return!!t})()}__name(_isNativeReflectConstruct$5,`_isNativeReflectConstruct`);var p=function(t){function CommandInfra(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(_classCallCheck(this,CommandInfra),t=_callSuper$5(this,CommandInfra,[r]),!t.constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return t.command=t.constructor.getCommand(),t.component=t.constructor.getComponent(),t.initialize(r),r=t.args,t.validateArgs(r),t}return _inherits(CommandInfra,t),_createClass(CommandInfra,[{key:`currentCommand`,get:function get(){return d.deprecated(`this.currentCommand`,`3.7.0`,`this.command`),this.command}},{key:`initialize`,value:function initialize(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`validateArgs`,value:function validateArgs(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`apply`,value:function apply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],elementorModules.ForceMethodImplementation()}},{key:`run`,value:function run(){return this.apply(this.args)}},{key:`onBeforeRun`,value:function onBeforeRun(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`onAfterRun`,value:function onAfterRun(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1]}},{key:`onBeforeApply`,value:function onBeforeApply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`onAfterApply`,value:function onAfterApply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1]}},{key:`onCatchApply`,value:function onCatchApply(t){}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandInfra`}},{key:`getInfo`,value:function getInfo(){return{}}},{key:`getCommand`,value:function getCommand(){return this.registerConfig.command}},{key:`getComponent`,value:function getComponent(){return this.registerConfig.component}},{key:`setRegisterConfig`,value:function setRegisterConfig(t){this.registerConfig=Object.freeze(t)}}])}(a);_defineProperty(p,`registerConfig`,null);function _callSuper$4(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct$4()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}__name(_callSuper$4,`_callSuper`);function _isNativeReflectConstruct$4(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct$4=function _isNativeReflectConstruct(){return!!t})()}__name(_isNativeReflectConstruct$4,`_isNativeReflectConstruct`);var m=function(t){function CommandBase(){return _classCallCheck(this,CommandBase),_callSuper$4(this,CommandBase,arguments)}return _inherits(CommandBase,t),_createClass(CommandBase,[{key:`onBeforeRun`,value:function onBeforeRun(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$e.hooks.runUIBefore(this.command,t)}},{key:`onAfterRun`,value:function onAfterRun(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,t,r)}},{key:`onBeforeApply`,value:function onBeforeApply(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$e.hooks.runDataDependency(this.command,t)}},{key:`onAfterApply`,value:function onAfterApply(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.command,t,r)}},{key:`onCatchApply`,value:function onCatchApply(t){this.runCatchHooks(t)}},{key:`runCatchHooks`,value:function runCatchHooks(t){$e.hooks.runDataCatch(this.command,this.args,t),$e.hooks.runUICatch(this.command,this.args,t)}},{key:`requireContainer`,value:function requireContainer(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.args;if(d.deprecated(`requireContainer()`,`3.7.0`,"Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!r.container&&!r.containers)throw Error(`container or containers are required.`);if(r.container&&r.containers)throw Error(`container and containers cannot go together please select one of them.`);(r.containers||[r.container]).forEach(function(r){t.requireArgumentInstance(`container`,elementorModules.editor.Container,{container:r})})}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandBase`}}])}(p);function _callSuper$3(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct$3()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}__name(_callSuper$3,`_callSuper`);function _isNativeReflectConstruct$3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct$3=function _isNativeReflectConstruct(){return!!t})()}__name(_isNativeReflectConstruct$3,`_isNativeReflectConstruct`);var h=function(t){function CommandContainerBase(){return _classCallCheck(this,CommandContainerBase),_callSuper$3(this,CommandContainerBase,arguments)}return _inherits(CommandContainerBase,t),_createClass(CommandContainerBase,[{key:`requireContainer`,value:function requireContainer(){var t=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.args;if(!r.container&&!r.containers)throw Error(`container or containers are required.`);if(r.container&&r.containers)throw Error(`container and containers cannot go together please select one of them.`);(r.containers||[r.container]).forEach(function(r){t.requireArgumentInstance(`container`,elementorModules.editor.Container,{container:r})})}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandContainerBase`}}])}(m);function _callSuper$2(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct$2()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}__name(_callSuper$2,`_callSuper`);function _isNativeReflectConstruct$2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct$2=function _isNativeReflectConstruct(){return!!t})()}__name(_isNativeReflectConstruct$2,`_isNativeReflectConstruct`);var g=function(t){function CommandContainerInternalBase(t){return _classCallCheck(this,CommandContainerInternalBase),_callSuper$2(this,CommandContainerInternalBase,[t,$e.commandsInternal])}return _inherits(CommandContainerInternalBase,t),_createClass(CommandContainerInternalBase,null,[{key:`getInstanceType`,value:function getInstanceType(){return`CommandContainerInternalBase`}}])}(h);function _callSuper$1(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct$1()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}__name(_callSuper$1,`_callSuper`);function _isNativeReflectConstruct$1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct$1=function _isNativeReflectConstruct(){return!!t})()}__name(_isNativeReflectConstruct$1,`_isNativeReflectConstruct`);function _superPropGet$1(t,r,i,a){var o=_get(_getPrototypeOf(1&a?t.prototype:t),r,i);return 2&a&&typeof o==`function`?function(t){return o.apply(i,t)}:o}__name(_superPropGet$1,`_superPropGet`);var v=function(t){function CommandHistoryBase(){return _classCallCheck(this,CommandHistoryBase),_callSuper$1(this,CommandHistoryBase,arguments)}return _inherits(CommandHistoryBase,t),_createClass(CommandHistoryBase,[{key:`initialize`,value:function initialize(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.options,i=(r===void 0?{}:r).useHistory;(i===void 0||i)&&(this.history=this.getHistory(t),this.historyId=!1)}},{key:`getHistory`,value:function getHistory(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],elementorModules.ForceMethodImplementation()}},{key:`isHistoryActive`,value:function isHistoryActive(){return elementor.documents.getCurrent().history.getActive()}},{key:`onBeforeRun`,value:function onBeforeRun(t){_superPropGet$1(CommandHistoryBase,`onBeforeRun`,this,3)([t]),this.history&&this.isHistoryActive()&&(this.historyId=$e.internal(`document/history/start-log`,this.history))}},{key:`onAfterRun`,value:function onAfterRun(t,r){_superPropGet$1(CommandHistoryBase,`onAfterRun`,this,3)([t,r]),this.history&&this.isHistoryActive()&&$e.internal(`document/history/end-log`,{id:this.historyId})}},{key:`onAfterApply`,value:function onAfterApply(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;_superPropGet$1(CommandHistoryBase,`onAfterApply`,this,3)([t,r]),this.isDataChanged()&&$e.internal(`document/save/set-is-modified`,{status:!0})}},{key:`onCatchApply`,value:function onCatchApply(t){t instanceof $e.modules.HookBreak&&this.historyId&&$e.internal(`document/history/delete-log`,{id:this.historyId}),_superPropGet$1(CommandHistoryBase,`onCatchApply`,this,3)([t])}},{key:`isDataChanged`,value:function isDataChanged(){return!0}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandHistoryBase`}}])}(h);function _callSuper(t,r,i){return r=_getPrototypeOf(r),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(r,i||[],_getPrototypeOf(t).constructor):r.apply(t,i))}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _superPropGet(t,r,i,a){var o=_get(_getPrototypeOf(1&a?t.prototype:t),r,i);return 2&a&&typeof o==`function`?function(t){return o.apply(i,t)}:o}var y=function getDefaultDebounceDelay(){var t=800;return elementor.config.document&&elementor.config.document.debounceDelay!==void 0&&(t=elementor.config.document.debounceDelay),t},b=function(t){function CommandHistoryDebounceBase(){return _classCallCheck(this,CommandHistoryDebounceBase),_callSuper(this,CommandHistoryDebounceBase,arguments)}return _inherits(CommandHistoryDebounceBase,t),_createClass(CommandHistoryDebounceBase,[{key:`initialize`,value:function initialize(t){var r=t.options,i=r===void 0?{}:r;_superPropGet(CommandHistoryDebounceBase,`initialize`,this,3)([t]),this.constructor.debounce||(this.constructor.debounce=_.debounce(function(t){return t()},y())),($e.commands.currentTrace.length===1||i.debounce)&&(this.isDebounceRequired=!0)}},{key:`onBeforeRun`,value:function onBeforeRun(t){$e.modules.CommandBase.prototype.onBeforeRun.call(this,t),this.history&&this.isHistoryActive()&&$e.internal(`document/history/add-transaction`,this.history)}},{key:`onAfterRun`,value:function onAfterRun(t,r){$e.modules.CommandBase.prototype.onAfterRun.call(this,t,r),this.isHistoryActive()&&(this.isDebounceRequired?this.constructor.debounce(function(){return $e.internal(`document/history/end-transaction`)}):$e.internal(`document/history/end-transaction`))}},{key:`onCatchApply`,value:function onCatchApply(t){$e.modules.CommandBase.prototype.onCatchApply.call(this,t),t instanceof $e.modules.HookBreak&&this.history&&(this.isDebounceRequired?this.constructor.debounce(function(){return $e.internal(`document/history/clear-transaction`)}):$e.internal(`document/history/clear-transaction`))}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandHistoryDebounceBase`}}])}(v);_defineProperty(b,`debounce`,void 0),$e.modules.editor={CommandContainerBase:h,CommandContainerInternalBase:g,document:{CommandHistoryBase:v,CommandHistoryDebounceBase:b}},$e.modules.document={get CommandHistory(){return elementorDevTools.deprecation.deprecated(`$e.modules.document.CommandHistory`,`3.7.0`,`$e.modules.editor.document.CommandHistoryBase`),$e.modules.editor.document.CommandHistoryBase},get CommandHistoryDebounce(){return elementorDevTools.deprecation.deprecated(`$e.modules.CommandHistoryDebounce`,`3.7.0`,`$e.modules.editor.document.CommandHistoryDebounceBase`),$e.modules.editor.document.CommandHistoryDebounceBase}}})();
1 +/*! elementor - v3.26.0 - 19-12-2024 */
2 +(()=>{var t={95480:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(15118)),l=a(o(29402)),d=a(o(87861)),p=a(o(83535));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}r.default=function(t){function CommandContainerBase(){return(0,u.default)(this,CommandContainerBase),function _callSuper(t,r,o){return r=(0,l.default)(r),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,l.default)(t).constructor):r.apply(t,o))}(this,CommandContainerBase,arguments)}return(0,d.default)(CommandContainerBase,t),(0,i.default)(CommandContainerBase,[{key:"requireContainer",value:function requireContainer(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(!r.container&&!r.containers)throw Error("container or containers are required.");if(r.container&&r.containers)throw Error("container and containers cannot go together please select one of them.");(r.containers||[r.container]).forEach((function(r){t.requireArgumentInstance("container",elementorModules.editor.Container,{container:r})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandContainerBase"}}])}(p.default)},12508:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(15118)),l=a(o(29402)),d=a(o(87861)),p=a(o(95480));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}r.default=function(t){function CommandContainerInternalBase(t){return(0,u.default)(this,CommandContainerInternalBase),function _callSuper(t,r,o){return r=(0,l.default)(r),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,l.default)(t).constructor):r.apply(t,o))}(this,CommandContainerInternalBase,[t,$e.commandsInternal])}return(0,d.default)(CommandContainerInternalBase,t),(0,i.default)(CommandContainerInternalBase,null,[{key:"getInstanceType",value:function getInstanceType(){return"CommandContainerInternalBase"}}])}(p.default)},8813:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(15118)),l=a(o(29402)),d=a(o(41621)),p=a(o(87861)),y=a(o(95480));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _superPropGet(t,r,o,a){var u=(0,d.default)((0,l.default)(1&a?t.prototype:t),r,o);return 2&a&&"function"==typeof u?function(t){return u.apply(o,t)}:u}r.default=function(t){function CommandHistoryBase(){return(0,u.default)(this,CommandHistoryBase),function _callSuper(t,r,o){return r=(0,l.default)(r),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,l.default)(t).constructor):r.apply(t,o))}(this,CommandHistoryBase,arguments)}return(0,p.default)(CommandHistoryBase,t),(0,i.default)(CommandHistoryBase,[{key:"initialize",value:function initialize(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.options,o=(void 0===r?{}:r).useHistory;(void 0===o||o)&&(this.history=this.getHistory(t),this.historyId=!1)}},{key:"getHistory",value:function getHistory(){elementorModules.ForceMethodImplementation()}},{key:"isHistoryActive",value:function isHistoryActive(){return elementor.documents.getCurrent().history.getActive()}},{key:"onBeforeRun",value:function onBeforeRun(t){_superPropGet(CommandHistoryBase,"onBeforeRun",this,3)([t]),this.history&&this.isHistoryActive()&&(this.historyId=$e.internal("document/history/start-log",this.history))}},{key:"onAfterRun",value:function onAfterRun(t,r){_superPropGet(CommandHistoryBase,"onAfterRun",this,3)([t,r]),this.history&&this.isHistoryActive()&&$e.internal("document/history/end-log",{id:this.historyId})}},{key:"onAfterApply",value:function onAfterApply(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;_superPropGet(CommandHistoryBase,"onAfterApply",this,3)([t,r]),this.isDataChanged()&&$e.internal("document/save/set-is-modified",{status:!0})}},{key:"onCatchApply",value:function onCatchApply(t){t instanceof $e.modules.HookBreak&&this.historyId&&$e.internal("document/history/delete-log",{id:this.historyId}),_superPropGet(CommandHistoryBase,"onCatchApply",this,3)([t])}},{key:"isDataChanged",value:function isDataChanged(){return!0}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandHistoryBase"}}])}(y.default)},26665:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.getDefaultDebounceDelay=r.default=r.DEFAULT_DEBOUNCE_DELAY=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(15118)),l=a(o(29402)),d=a(o(41621)),p=a(o(87861)),y=a(o(85707)),m=a(o(8813));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}var v=r.DEFAULT_DEBOUNCE_DELAY=800,h=r.getDefaultDebounceDelay=function getDefaultDebounceDelay(){var t=v;return elementor.config.document&&void 0!==elementor.config.document.debounceDelay&&(t=elementor.config.document.debounceDelay),t},g=r.default=function(t){function CommandHistoryDebounceBase(){return(0,u.default)(this,CommandHistoryDebounceBase),function _callSuper(t,r,o){return r=(0,l.default)(r),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,l.default)(t).constructor):r.apply(t,o))}(this,CommandHistoryDebounceBase,arguments)}return(0,p.default)(CommandHistoryDebounceBase,t),(0,i.default)(CommandHistoryDebounceBase,[{key:"initialize",value:function initialize(t){var r=t.options,o=void 0===r?{}:r;!function _superPropGet(t,r,o,a){var u=(0,d.default)((0,l.default)(1&a?t.prototype:t),r,o);return 2&a&&"function"==typeof u?function(t){return u.apply(o,t)}:u}(CommandHistoryDebounceBase,"initialize",this,3)([t]),this.constructor.debounce||(this.constructor.debounce=_.debounce((function(t){return t()}),h())),(1===$e.commands.currentTrace.length||o.debounce)&&(this.isDebounceRequired=!0)}},{key:"onBeforeRun",value:function onBeforeRun(t){$e.modules.CommandBase.prototype.onBeforeRun.call(this,t),this.history&&this.isHistoryActive()&&$e.internal("document/history/add-transaction",this.history)}},{key:"onAfterRun",value:function onAfterRun(t,r){$e.modules.CommandBase.prototype.onAfterRun.call(this,t,r),this.isHistoryActive()&&(this.isDebounceRequired?this.constructor.debounce((function(){return $e.internal("document/history/end-transaction")})):$e.internal("document/history/end-transaction"))}},{key:"onCatchApply",value:function onCatchApply(t){$e.modules.CommandBase.prototype.onCatchApply.call(this,t),t instanceof $e.modules.HookBreak&&this.history&&(this.isDebounceRequired?this.constructor.debounce((function(){return $e.internal("document/history/clear-transaction")})):$e.internal("document/history/clear-transaction"))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandHistoryDebounceBase"}}])}(m.default);(0,y.default)(g,"debounce",void 0)},15213:(t,r)=>{"use strict";function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,u=function F(){};return{s:u,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:u}}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 i,c=!0,l=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){l=!0,i=t},f:function f(){try{c||null==o.return||o.return()}finally{if(l)throw i}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=Array(r);o<r;o++)a[o]=t[o];return a}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=function _default(t,r){var o,a=_createForOfIteratorHelper(r=Array.isArray(r)?r:[r]);try{for(a.s();!(o=a.n()).done;){var u=o.value;if(t.constructor.name===u.prototype[Symbol.toStringTag])return!0}}catch(t){a.e(t)}finally{a.f()}return!1}},82946:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(10564)),i=a(o(39805)),c=a(o(40989)),l=a(o(15118)),d=a(o(29402)),p=a(o(87861)),y=a(o(70751)),m=a(o(15213));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}r.default=function(t){function ArgsObject(t){var r;return(0,i.default)(this,ArgsObject),(r=function _callSuper(t,r,o){return r=(0,d.default)(r),(0,l.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,d.default)(t).constructor):r.apply(t,o))}(this,ArgsObject)).args=t,r}return(0,p.default)(ArgsObject,t),(0,c.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(r,t))throw Error("".concat(t," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(t,o),(0,u.default)(o[t])!==r)throw Error("".concat(t," invalid type: ").concat(r,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(t,o),!(o[t]instanceof r||(0,m.default)(o[t],r)))throw Error("".concat(t," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(t,o),o[t].constructor.toString()!==r.prototype.constructor.toString())throw Error("".concat(t," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}])}(y.default)},70751:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(29402)),l=a(o(41621));r.default=function(){function InstanceType(){var t=this;(0,u.default)(this,InstanceType);for(var r=this instanceof InstanceType?this.constructor:void 0,o=[];r.__proto__&&r.__proto__.name;)o.push(r.__proto__),r=r.__proto__;o.reverse().forEach((function(r){return t instanceof r}))}return(0,i.default)(InstanceType,null,[{key:Symbol.hasInstance,value:function value(t){var r=function _superPropGet(t,r,o,a){var u=(0,l.default)((0,c.default)(1&a?t.prototype:t),r,o);return 2&a&&"function"==typeof u?function(t){return u.apply(o,t)}:u}(InstanceType,Symbol.hasInstance,this,2)([t]);if(t&&!t.constructor.getInstanceType)return r;if(t&&(t.instanceTypes||(t.instanceTypes=[]),r||this.getInstanceType()===t.constructor.getInstanceType()&&(r=!0),r)){var o=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===t.instanceTypes.indexOf(o)&&t.instanceTypes.push(o)}return!r&&t&&(r=t.instanceTypes&&Array.isArray(t.instanceTypes)&&-1!==t.instanceTypes.indexOf(this.getInstanceType())),r}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}()},83535:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(15118)),l=a(o(29402)),d=a(o(87861)),p=a(o(79958)),y=a(o(92766));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}r.default=function(t){function CommandBase(){return(0,u.default)(this,CommandBase),function _callSuper(t,r,o){return r=(0,l.default)(r),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,l.default)(t).constructor):r.apply(t,o))}(this,CommandBase,arguments)}return(0,d.default)(CommandBase,t),(0,i.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,t)}},{key:"onAfterRun",value:function onAfterRun(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,t,r)}},{key:"onBeforeApply",value:function onBeforeApply(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,t)}},{key:"onAfterApply",value:function onAfterApply(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;$e.hooks.runDataAfter(this.command,t,r)}},{key:"onCatchApply",value:function onCatchApply(t){this.runCatchHooks(t)}},{key:"runCatchHooks",value:function runCatchHooks(t){$e.hooks.runDataCatch(this.command,this.args,t),$e.hooks.runUICatch(this.command,this.args,t)}},{key:"requireContainer",value:function requireContainer(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(y.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!r.container&&!r.containers)throw Error("container or containers are required.");if(r.container&&r.containers)throw Error("container and containers cannot go together please select one of them.");(r.containers||[r.container]).forEach((function(r){t.requireArgumentInstance("container",elementorModules.editor.Container,{container:r})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}])}(p.default)},79958:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989)),c=a(o(15118)),l=a(o(29402)),d=a(o(87861)),p=a(o(85707)),y=a(o(82946)),m=a(o(92766));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}var v=r.default=function(t){function CommandInfra(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,u.default)(this,CommandInfra),!(t=function _callSuper(t,r,o){return r=(0,l.default)(r),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],(0,l.default)(t).constructor):r.apply(t,o))}(this,CommandInfra,[r])).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return t.command=t.constructor.getCommand(),t.component=t.constructor.getComponent(),t.initialize(r),r=t.args,t.validateArgs(r),t}return(0,d.default)(CommandInfra,t),(0,i.default)(CommandInfra,[{key:"currentCommand",get:function get(){return m.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(t){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(t){this.registerConfig=Object.freeze(t)}}])}(y.default);(0,p.default)(v,"registerConfig",null)},88413:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(39805)),i=a(o(40989));r.default=function(){return(0,i.default)((function Console(){(0,u.default)(this,Console)}),null,[{key:"error",value:function error(t){$e.devTools&&$e.devTools.log.error(t),t instanceof $e.modules.HookBreak||console.error(t)}},{key:"warn",value:function warn(){for(var t,r='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];a.unshift("%c %c",r,""),(t=console).warn.apply(t,a)}}])}()},92766:(t,r,o)=>{"use strict";var a=o(96784);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var u=a(o(18821)),i=a(o(39805)),c=a(o(40989)),l=a(o(88413)),d=function deprecatedMessage(t,r,o,a){var u="`".concat(r,"` is ").concat(t," deprecated since ").concat(o);a&&(u+=" - Use `".concat(a,"` instead")),l.default.warn(u)};r.default=function(){return(0,c.default)((function Deprecation(){(0,i.default)(this,Deprecation)}),null,[{key:"deprecated",value:function deprecated(t,r,o){this.isHardDeprecated(r)?function hardDeprecated(t,r,o){d("hard",t,r,o)}(t,r,o):function softDeprecated(t,r,o){elementorWebCliConfig.isDebug&&d("soft",t,r,o)}(t,r,o)}},{key:"parseVersion",value:function parseVersion(t){var r=t.split(".");if(r.length<3||r.length>4)throw new RangeError("Invalid Semantic Version string provided");var o=(0,u.default)(r,4),a=o[0],i=o[1],c=o[2],l=o[3],d=void 0===l?"":l;return{major1:parseInt(a),major2:parseInt(i),minor:parseInt(c),build:d}}},{key:"getTotalMajor",value:function getTotalMajor(t){var r=parseInt("".concat(t.major1).concat(t.major2,"0"));return r=Number((r/10).toFixed(0)),t.major2>9&&(r=t.major2-9),r}},{key:"compareVersion",value:function compareVersion(t,r){var o=this;return[this.parseVersion(t),this.parseVersion(r)].map((function(t){return o.getTotalMajor(t)})).reduce((function(t,r){return t-r}))}},{key:"isSoftDeprecated",value:function isSoftDeprecated(t){return this.compareVersion(t,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(t){var r=this.compareVersion(t,elementorWebCliConfig.version);return r<0||r>=8}}])}()},78113:t=>{t.exports=function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=Array(r);o<r;o++)a[o]=t[o];return a},t.exports.__esModule=!0,t.exports.default=t.exports},70569:t=>{t.exports=function _arrayWithHoles(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},36417:t=>{t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},39805:t=>{t.exports=function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},40989:(t,r,o)=>{var a=o(45498);function _defineProperties(t,r){for(var o=0;o<r.length;o++){var u=r[o];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,a(u.key),u)}}t.exports=function _createClass(t,r,o){return r&&_defineProperties(t.prototype,r),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},85707:(t,r,o)=>{var a=o(45498);t.exports=function _defineProperty(t,r,o){return(r=a(r))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t},t.exports.__esModule=!0,t.exports.default=t.exports},41621:(t,r,o)=>{var a=o(14718);function _get(){return t.exports=_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,r,o){var u=a(t,r);if(u){var i=Object.getOwnPropertyDescriptor(u,r);return i.get?i.get.call(arguments.length<3?t:o):i.value}},t.exports.__esModule=!0,t.exports.default=t.exports,_get.apply(null,arguments)}t.exports=_get,t.exports.__esModule=!0,t.exports.default=t.exports},29402:t=>{function _getPrototypeOf(r){return t.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,_getPrototypeOf(r)}t.exports=_getPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},87861:(t,r,o)=>{var a=o(91270);t.exports=function _inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&a(t,r)},t.exports.__esModule=!0,t.exports.default=t.exports},96784:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},65474:t=>{t.exports=function _iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,u,i,c,l=[],d=!0,p=!1;try{if(i=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;d=!1}else for(;!(d=(a=i.call(o)).done)&&(l.push(a.value),l.length!==r);d=!0);}catch(t){p=!0,u=t}finally{try{if(!d&&null!=o.return&&(c=o.return(),Object(c)!==c))return}finally{if(p)throw u}}return l}},t.exports.__esModule=!0,t.exports.default=t.exports},11018:t=>{t.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},15118:(t,r,o)=>{var a=o(10564).default,u=o(36417);t.exports=function _possibleConstructorReturn(t,r){if(r&&("object"==a(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return u(t)},t.exports.__esModule=!0,t.exports.default=t.exports},91270:t=>{function _setPrototypeOf(r,o){return t.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},t.exports.__esModule=!0,t.exports.default=t.exports,_setPrototypeOf(r,o)}t.exports=_setPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},18821:(t,r,o)=>{var a=o(70569),u=o(65474),i=o(37744),c=o(11018);t.exports=function _slicedToArray(t,r){return a(t)||u(t,r)||i(t,r)||c()},t.exports.__esModule=!0,t.exports.default=t.exports},14718:(t,r,o)=>{var a=o(29402);t.exports=function _superPropBase(t,r){for(;!{}.hasOwnProperty.call(t,r)&&null!==(t=a(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},11327:(t,r,o)=>{var a=o(10564).default;t.exports=function toPrimitive(t,r){if("object"!=a(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var u=o.call(t,r||"default");if("object"!=a(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},45498:(t,r,o)=>{var a=o(10564).default,u=o(11327);t.exports=function toPropertyKey(t){var r=u(t,"string");return"symbol"==a(r)?r:r+""},t.exports.__esModule=!0,t.exports.default=t.exports},10564:t=>{function _typeof(r){return t.exports=_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.exports.__esModule=!0,t.exports.default=t.exports,_typeof(r)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports},37744:(t,r,o)=>{var a=o(78113);t.exports=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return a(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?a(t,r):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}},r={};function __webpack_require__(o){var a=r[o];if(void 0!==a)return a.exports;var u=r[o]={exports:{}};return t[o](u,u.exports,__webpack_require__),u.exports}(()=>{"use strict";var t=__webpack_require__(96784),r=t(__webpack_require__(95480)),o=t(__webpack_require__(12508)),a=t(__webpack_require__(8813)),u=t(__webpack_require__(26665));$e.modules.editor={CommandContainerBase:r.default,CommandContainerInternalBase:o.default,document:{CommandHistoryBase:a.default,CommandHistoryDebounceBase:u.default}},$e.modules.document={get CommandHistory(){return elementorDevTools.deprecation.deprecated("$e.modules.document.CommandHistory","3.7.0","$e.modules.editor.document.CommandHistoryBase"),$e.modules.editor.document.CommandHistoryBase},get CommandHistoryDebounce(){return elementorDevTools.deprecation.deprecated("$e.modules.CommandHistoryDebounce","3.7.0","$e.modules.editor.document.CommandHistoryDebounceBase"),$e.modules.editor.document.CommandHistoryDebounceBase}}})()})();