File "kit-elements-defaults-editor.min.js"

Full Path: /home/flipjqml/onlinebetsolution.com/next_old/wp-content/plugins/elementor/assets/js/kit-elements-defaults-editor.min.js
File size: 35.36 KB
MIME-type: text/plain
Charset: utf-8

/*! elementor - v3.22.0 - 26-06-2024 */
/*! For license information please see kit-elements-defaults-editor.min.js.LICENSE.txt */
(()=>{var e={6482:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.deleteElementDefaults=function deleteElementDefaults(e){return _deleteElementDefaults.apply(this,arguments)},t.getElementDefaults=function getElementDefaults(e){return($e.data.cache.storage.getItem(u)||{})[e]||{}},t.loadElementsDefaults=loadElementsDefaults,t.updateElementDefaults=function updateElementDefaults(e,t){return _updateElementDefaults.apply(this,arguments)};var o=n(r(50824)),a=n(r(10029)),u="kit-elements-defaults";function loadElementsDefaults(){return _loadElementsDefaults.apply(this,arguments)}function _loadElementsDefaults(){return(_loadElementsDefaults=(0,a.default)(o.default.mark((function _callee(){return o.default.wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return $e.data.cache.storage.removeItem(u),e.abrupt("return",$e.data.get("".concat(u,"/index")));case 2:case"end":return e.stop()}}),_callee)})))).apply(this,arguments)}function _updateElementDefaults(){return(_updateElementDefaults=(0,a.default)(o.default.mark((function _callee2(e,t){return o.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,$e.data.update("".concat(u,"/index"),{settings:t},{type:e});case 2:return r.next=4,loadElementsDefaults();case 4:case"end":return r.stop()}}),_callee2)})))).apply(this,arguments)}function _deleteElementDefaults(){return(_deleteElementDefaults=(0,a.default)(o.default.mark((function _callee3(e){return o.default.wrap((function _callee3$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,$e.data.delete("".concat(u,"/index"),{type:e});case 2:return t.next=4,loadElementsDefaults();case 4:case"end":return t.stop()}}),_callee3)})))).apply(this,arguments)}},52133:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(50824)),a=n(r(10029)),u=n(r(78983)),i=n(r(42081)),l=n(r(58724)),c=n(r(71173)),s=n(r(74910)),f=r(14653);function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,c.default)(this,r)}}var p=function(e){(0,l.default)(ConfirmCreation,e);var t,r=_createSuper(ConfirmCreation);function ConfirmCreation(){return(0,u.default)(this,ConfirmCreation),r.apply(this,arguments)}return(0,i.default)(ConfirmCreation,[{key:"validateArgs",value:function validateArgs(){this.requireContainer()}},{key:"apply",value:(t=(0,a.default)(o.default.mark((function _callee(e){var t,r;return o.default.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if(t=e.container,!(r=(0,f.getConfirmCreationDialog)({onConfirm:function onConfirm(){return $e.run("kit-elements-defaults/create",{container:t})}})).doNotShowAgain){n.next=5;break}return $e.run("kit-elements-defaults/create",{container:t}),n.abrupt("return");case 5:r.show();case 6:case"end":return n.stop()}}),_callee)}))),function apply(e){return t.apply(this,arguments)})}]),ConfirmCreation}($e.modules.editor.CommandContainerBase);t.default=p},10075:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r(50824)),u=o(r(10029)),i=o(r(78983)),l=o(r(42081)),c=o(r(58724)),s=o(r(71173)),f=o(r(74910)),p=r(6482),d=o(r(60600)),y=r(20267);function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,f.default)(e);if(t){var o=(0,f.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}var h=function(e){(0,c.default)(Create,e);var t,r=_createSuper(Create);function Create(){return(0,i.default)(this,Create),r.apply(this,arguments)}return(0,l.default)(Create,[{key:"validateArgs",value:function validateArgs(){this.requireContainer()}},{key:"apply",value:(t=(0,u.default)(a.default.mark((function _callee(e){var t,r,o,u;return a.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:return t=e.container,$e.internal("panel/state-loading"),r=(0,y.extractElementType)(t.model),o=(0,p.getElementDefaults)(r),u=(0,d.default)(t),a.prev=3,a.next=6,(0,p.updateElementDefaults)(r,u);case 6:elementor.notifications.showToast({message:n("Default settings changed.","elementor"),buttons:[{name:"undo",text:n("Undo","elementor"),callback:function callback(){$e.run("kit-elements-defaults/restore",{type:r,settings:o})}}]}),a.next=13;break;case 9:throw a.prev=9,a.t0=a.catch(3),elementor.notifications.showToast({message:n("An error occurred.","elementor")}),a.t0;case 13:return a.prev=13,$e.internal("panel/state-ready"),a.finish(13);case 16:case"end":return a.stop()}}),_callee,null,[[3,9,13,16]])}))),function apply(e){return t.apply(this,arguments)})}]),Create}($e.modules.editor.CommandContainerBase);t.default=h},73646:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r(50824)),u=o(r(10029)),i=o(r(78983)),l=o(r(42081)),c=o(r(58724)),s=o(r(71173)),f=o(r(74910)),p=r(6482);function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,f.default)(e);if(t){var o=(0,f.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}var d=function(e){(0,c.default)(Delete,e);var t,r=_createSuper(Delete);function Delete(){return(0,i.default)(this,Delete),r.apply(this,arguments)}return(0,l.default)(Delete,[{key:"apply",value:(t=(0,u.default)(a.default.mark((function _callee(e){var t;return a.default.wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return t=e.type,$e.internal("panel/state-loading"),r.prev=2,r.next=5,(0,p.deleteElementDefaults)(t);case 5:elementor.notifications.showToast({message:n("Default settings has been reset.","elementor")}),r.next=12;break;case 8:throw r.prev=8,r.t0=r.catch(2),elementor.notifications.showToast({message:n("An error occurred.","elementor")}),r.t0;case 12:return r.prev=12,$e.internal("panel/state-ready"),r.finish(12);case 15:case"end":return r.stop()}}),_callee,null,[[2,8,12,15]])}))),function apply(e){return t.apply(this,arguments)})}]),Delete}($e.modules.CommandBase);t.default=d},8034:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfirmCreation",{enumerable:!0,get:function get(){return o.default}}),Object.defineProperty(t,"Create",{enumerable:!0,get:function get(){return a.default}}),Object.defineProperty(t,"Delete",{enumerable:!0,get:function get(){return u.default}}),Object.defineProperty(t,"Restore",{enumerable:!0,get:function get(){return i.default}});var o=n(r(52133)),a=n(r(10075)),u=n(r(73646)),i=n(r(88430))},88430:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r(50824)),u=o(r(10029)),i=o(r(78983)),l=o(r(42081)),c=o(r(58724)),s=o(r(71173)),f=o(r(74910)),p=r(6482);function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,f.default)(e);if(t){var o=(0,f.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}var d=function(e){(0,c.default)(Restore,e);var t,r=_createSuper(Restore);function Restore(){return(0,i.default)(this,Restore),r.apply(this,arguments)}return(0,l.default)(Restore,[{key:"apply",value:(t=(0,u.default)(a.default.mark((function _callee(e){var t,r;return a.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return t=e.type,r=e.settings,$e.internal("panel/state-loading"),o.prev=2,o.next=5,(0,p.updateElementDefaults)(t,r);case 5:elementor.notifications.showToast({message:n("Previous settings restored.","elementor")}),o.next=12;break;case 8:throw o.prev=8,o.t0=o.catch(2),elementor.notifications.showToast({message:n("An error occurred.","elementor")}),o.t0;case 12:return o.prev=12,$e.internal("panel/state-ready"),o.finish(12);case 15:case"end":return o.stop()}}),_callee,null,[[2,8,12,15]])}))),function apply(e){return t.apply(this,arguments)})}]),Restore}($e.modules.CommandBase);t.default=d},62297:(e,t,r)=>{"use strict";var n=r(73203),o=r(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(78983)),u=n(r(42081)),i=n(r(58724)),l=n(r(71173)),c=n(r(74910)),s=_interopRequireWildcard(r(20156)),f=_interopRequireWildcard(r(44699)),p=_interopRequireWildcard(r(8034));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}var d=function(e){(0,i.default)(Component,e);var t=_createSuper(Component);function Component(){return(0,a.default)(this,Component),t.apply(this,arguments)}return(0,u.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"kit-elements-defaults"}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(s)}},{key:"defaultData",value:function defaultData(){return this.importCommands(f)}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(p)}}]),Component}($e.modules.ComponentBase);t.default=d},14653:(e,t,r)=>{"use strict";var n=r(38003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.getConfirmCreationDialog=function getConfirmCreationDialog(e){var r=e.onConfirm;if(!a){var u;t.introductionManager=a=function createIntroductionManager(){var e,t,r="e-kit-elements-defaults-create-dialog",a=new elementorModules.editor.utils.Introduction({introductionKey:o,dialogType:"confirm",dialogOptions:{id:r,headerMessage:n("Sure you want to change default settings?","elementor"),message:n("Your changes will automatically be saved for future uses of this element. %1$sNote:%2$s This includes sensitive information like emails, API keys, etc.","elementor").replace("%1$s","<strong>").replace("%2$s","</strong>"),effects:{show:"fadeIn",hide:"fadeOut"},hide:{onBackgroundClick:!0},strings:{confirm:n("Save","elementor"),cancel:n("Cancel","elementor")},onShow:function onShow(){var e;null===(e=this.getElements("checkbox-dont-show-again"))||void 0===e||e.prop("checked",!0)}}}),u=function createCheckboxAndLabel(e){var t="".concat(e,"-dont-show-again"),r=document.createElement("input");r.type="checkbox",r.name=t,r.id=t,r.checked=!0;var o=document.createElement("label");return o.htmlFor=t,o.textContent=n("Do not show this message again","elementor"),o.prepend(r),{checkbox:r,label:o}}(r),i=u.checkbox,l=u.label;return a.getDialog().addElement("checkbox-dont-show-again",i),null===(e=a.getDialog().getElements("message"))||void 0===e||null===(t=e.append)||void 0===t||t.call(e,l),a}(),a.introductionViewed=!(null===(u=elementor.config.user.introduction)||void 0===u||!u[o])}var i=a.getDialog();return i.onConfirm=function(){i.getElements("checkbox-dont-show-again").prop("checked")&&a.setViewed(),r()},{doNotShowAgain:!!a.introductionViewed,show:function show(){return a.show()}}},t.introductionManager=t.introductionKey=void 0,t.removeConfirmCreationDialog=function removeConfirmCreationDialog(){t.introductionManager=a=null};var o="kit_elements_defaults_create_dialog";t.introductionKey=o;var a=null;t.introductionManager=a},44699:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.Index=void 0;var o=n(r(78983)),a=n(r(42081)),u=n(r(58724)),i=n(r(71173)),l=n(r(74910));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,l.default)(e);if(t){var o=(0,l.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,i.default)(this,r)}}var c=function(e){(0,u.default)(Index,e);var t=_createSuper(Index);function Index(){return(0,o.default)(this,Index),t.apply(this,arguments)}return(0,a.default)(Index,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"kit-elements-defaults/{type}"}}]),Index}($e.modules.CommandData);t.Index=c},60600:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function extractContainerSettings(e){var t=e.settings,r=t.controls,n=t.toJSON({remove:["default"]}),o=extractSettings(n,r);return _objectSpread(_objectSpread({},o),function extractSpecialSettings(e,t,r){return i.reduce((function(n,o){var i=extractSettings((null==e?void 0:e[o])||{},t,r);return(0,u.isPopulatedObject)(i)?_objectSpread(_objectSpread({},n),{},(0,a.default)({},o,i)):n}),{})}(n,r,o))};var o=n(r(40131)),a=n(r(93231)),u=r(20267);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){(0,a.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var i=["__dynamic__","__globals__"];function extractSettings(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Object.entries(e).filter((function(e){var n=(0,o.default)(e,1)[0];return!!t[n]&&!Object.prototype.hasOwnProperty.call(r,n)}));return Object.fromEntries(n)}},13946:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(93231)),a=n(r(78983)),u=n(r(42081)),i=n(r(58724)),l=n(r(71173)),c=n(r(74910)),s=r(6482),f=r(20267);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}var p=function(e){(0,i.default)(FillDefaultsOnDrop,e);var t=_createSuper(FillDefaultsOnDrop);function FillDefaultsOnDrop(){return(0,a.default)(this,FillDefaultsOnDrop),t.apply(this,arguments)}return(0,u.default)(FillDefaultsOnDrop,[{key:"getCommand",value:function getCommand(){return"preview/drop"}},{key:"getId",value:function getId(){return"fill-defaults-on-drop"}},{key:"getConditions",value:function getConditions(e){var t,r;return(null===(t=e.model)||void 0===t?void 0:t.widgetType)||(null===(r=e.model)||void 0===r?void 0:r.elType)}},{key:"apply",value:function apply(e){var t=e.model,r=(0,s.getElementDefaults)((0,f.extractElementType)(t));if(!(0,f.isPopulatedObject)(r))return!0;var n=_objectSpread(_objectSpread({},r),e.model.settings||{});return["__dynamic__","__globals__"].forEach((function(t){var o;(0,f.isPopulatedObject)(r[t])&&(n[t]=_objectSpread(_objectSpread({},r[t]||{}),(null===(o=e.model.settings)||void 0===o?void 0:o[t])||{}))})),e.model=_objectSpread(_objectSpread({},e.model),{},{settings:n}),!0}}]),FillDefaultsOnDrop}($e.modules.hookData.Dependency);t.default=p},20156:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FillDefaultsOnDrop",{enumerable:!0,get:function get(){return o.default}});var o=n(r(13946))},33602:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(r(9833)),u=o(r(78983)),i=o(r(42081)),l=o(r(77266)),c=o(r(58724)),s=o(r(71173)),f=o(r(74910)),p=o(r(62297)),d=r(6482),y=r(20267);function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,f.default)(e);if(t){var o=(0,f.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}function _classPrivateMethodInitSpec(e,t){!function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}var h=new WeakSet,v=function(e){(0,c.default)(Module,e);var t=_createSuper(Module);function Module(){var e;(0,u.default)(this,Module);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return e=t.call.apply(t,[this].concat(n)),_classPrivateMethodInitSpec((0,l.default)(e),h),e}return(0,i.default)(Module,[{key:"onElementorInit",value:function onElementorInit(){(0,d.loadElementsDefaults)(),function _classPrivateMethodGet(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}(this,h,_addContextMenuItem2).call(this)}},{key:"onElementorInitComponents",value:function onElementorInitComponents(){window.$e.components.register(new p.default)}}]),Module}(elementorModules.editor.utils.Module);function _addContextMenuItem2(){var e,t;null!==(e=elementor.config)&&void 0!==e&&null!==(t=e.user)&&void 0!==t&&t.is_administrator&&["widget","container","section"].forEach((function(e){elementor.hooks.addFilter("elements/".concat(e,"/contextMenuGroups"),(function(e,t){var r;return"section"===(0,y.extractElementType)((null===(r=t.options)||void 0===r?void 0:r.model)||{})?e:e.map((function(e){return"save"!==e.name||(e.actions=[].concat((0,a.default)(e.actions),[{name:"save-as-default",title:n("Save as default","elementor"),isEnabled:function isEnabled(){return!t.getContainer().isLocked()},callback:function callback(){$e.run("kit-elements-defaults/confirm-creation",{container:t.getContainer()})}}])),e}))}))}))}t.default=v},20267:(e,t,r)=>{"use strict";var n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.extractElementType=function extractElementType(e){var t=(e=e.attributes||e).widgetType||e.elType;"section"===t&&e.isInner&&(t="inner-section");return t},t.isPopulatedObject=function isPopulatedObject(e){return e&&"object"===(0,o.default)(e)&&!Array.isArray(e)&&Object.keys(e).length>0};var o=n(r(7501))},38003:e=>{"use strict";e.exports=wp.i18n},98106:e=>{e.exports=function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},17358:e=>{e.exports=function _arrayWithHoles(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},34102:(e,t,r)=>{var n=r(98106);e.exports=function _arrayWithoutHoles(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},77266:e=>{e.exports=function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},10029:e=>{function asyncGeneratorStep(e,t,r,n,o,a,u){try{var i=e[a](u),l=i.value}catch(e){return void r(e)}i.done?t(l):Promise.resolve(l).then(n,o)}e.exports=function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function _next(e){asyncGeneratorStep(a,n,o,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(a,n,o,_next,_throw,"throw",e)}_next(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},78983:e=>{e.exports=function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},42081:(e,t,r)=>{var n=r(74040);function _defineProperties(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},93231:(e,t,r)=>{var n=r(74040);e.exports=function _defineProperty(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},74910:e=>{function _getPrototypeOf(t){return e.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,_getPrototypeOf(t)}e.exports=_getPrototypeOf,e.exports.__esModule=!0,e.exports.default=e.exports},58724:(e,t,r)=>{var n=r(96196);e.exports=function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},73203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},68:e=>{e.exports=function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},40608:e=>{e.exports=function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,u,i=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(i.push(n.value),i.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},56894:e=>{e.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.")},e.exports.__esModule=!0,e.exports.default=e.exports},91282:e=>{e.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},71173:(e,t,r)=>{var n=r(7501).default,o=r(77266);e.exports=function _possibleConstructorReturn(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},21337:(e,t,r)=>{var n=r(7501).default;function _regeneratorRuntime(){"use strict";e.exports=_regeneratorRuntime=function _regeneratorRuntime(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},o=Object.prototype,a=o.hasOwnProperty,u=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function define(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(t){define=function define(e,t,r){return e[t]=r}}function wrap(e,t,r,n){var o=t&&t.prototype instanceof Generator?t:Generator,a=Object.create(o.prototype),i=new Context(n||[]);return u(a,"_invoke",{value:makeInvokeMethod(e,r,i)}),a}function tryCatch(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=wrap;var f="suspendedStart",p="suspendedYield",d="executing",y="completed",h={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var v={};define(v,l,(function(){return this}));var m=Object.getPrototypeOf,_=m&&m(m(values([])));_&&_!==o&&a.call(_,l)&&(v=_);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(v);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){function invoke(r,o,u,i){var l=tryCatch(e[r],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==n(s)&&a.call(s,"__await")?t.resolve(s.__await).then((function(e){invoke("next",e,u,i)}),(function(e){invoke("throw",e,u,i)})):t.resolve(s).then((function(e){c.value=e,u(c)}),(function(e){return invoke("throw",e,u,i)}))}i(l.arg)}var r;u(this,"_invoke",{value:function value(e,n){function callInvokeWithMethodAndArg(){return new t((function(t,r){invoke(e,n,t,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=f;return function(a,u){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===a)throw u;return{value:t,done:!0}}for(n.method=a,n.arg=u;;){var i=n.delegate;if(i){var l=maybeInvokeDelegate(i,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var c=tryCatch(e,r,n);if("normal"===c.type){if(o=n.done?y:p,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var a=tryCatch(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,h;var u=a.arg;return u?u.done?(r[e.resultName]=u.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,u=function next(){for(;++o<e.length;)if(a.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return u.next=u}}throw new TypeError(n(e)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,u(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),u(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,s,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,s,"GeneratorFunction")),e.prototype=Object.create(g),e},r.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),r.AsyncIterator=AsyncIterator,r.async=function(e,t,n,o,a){void 0===a&&(a=Promise);var u=new AsyncIterator(wrap(e,t,n,o),a);return r.isGeneratorFunction(t)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},defineIteratorMethods(g),define(g,s,"Generator"),define(g,l,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function next(){for(;r.length;){var e=r.pop();if(e in t)return next.value=e,next.done=!1,next}return next.done=!0,next}},r.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function stop(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],u=o.completion;if("root"===o.tryLoc)return handle("end");if(o.tryLoc<=this.prev){var i=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(i&&l){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0);if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}}}},abrupt:function abrupt(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=e,u.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(u)},complete:function complete(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function finish(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),h}},catch:function _catch(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},r}e.exports=_regeneratorRuntime,e.exports.__esModule=!0,e.exports.default=e.exports},96196:e=>{function _setPrototypeOf(t,r){return e.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,_setPrototypeOf(t,r)}e.exports=_setPrototypeOf,e.exports.__esModule=!0,e.exports.default=e.exports},40131:(e,t,r)=>{var n=r(17358),o=r(40608),a=r(35068),u=r(56894);e.exports=function _slicedToArray(e,t){return n(e)||o(e,t)||a(e,t)||u()},e.exports.__esModule=!0,e.exports.default=e.exports},9833:(e,t,r)=>{var n=r(34102),o=r(68),a=r(35068),u=r(91282);e.exports=function _toConsumableArray(e){return n(e)||o(e)||a(e)||u()},e.exports.__esModule=!0,e.exports.default=e.exports},56027:(e,t,r)=>{var n=r(7501).default;e.exports=function toPrimitive(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},74040:(e,t,r)=>{var n=r(7501).default,o=r(56027);e.exports=function toPropertyKey(e){var t=o(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:e=>{function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},35068:(e,t,r)=>{var n=r(98106);e.exports=function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},50824:(e,t,r)=>{var n=r(21337)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,__webpack_require__),o.exports}(()=>{"use strict";new(__webpack_require__(73203)(__webpack_require__(33602)).default)})()})();