32 lines
151 KiB
HTML
32 lines
151 KiB
HTML
/*! elementor - v3.0.15 - 2020-12-20 */
|
|
// MarionetteJS (Backbone.Marionette)
|
|
// ----------------------------------
|
|
// v2.4.5.e1
|
|
// Change Log:
|
|
// e1: Fix - Compatibility with jQuery 3. (`Marionette.Region.reset`).
|
|
//
|
|
// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC.
|
|
// Distributed under MIT license
|
|
//
|
|
// http://marionettejs.com
|
|
|
|
|
|
/*!
|
|
* Includes BabySitter
|
|
* https://github.com/marionettejs/backbone.babysitter/
|
|
*
|
|
* Includes Wreqr
|
|
* https://github.com/marionettejs/backbone.wreqr/
|
|
*/
|
|
|
|
|
|
|
|
!function(a,b){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(c,d){return a.Marionette=a.Mn=b(a,c,d)});else if("undefined"!=typeof exports){var c=require("backbone"),d=require("underscore");module.exports=b(a,c,d)}else a.Marionette=a.Mn=b(a,a.Backbone,a._)}(this,function(a,b,c){"use strict";!function(a,b){var c=a.ChildViewContainer;return a.ChildViewContainer=function(a,b){var c=function(a){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),b.each(a,this.add,this)};b.extend(c.prototype,{add:function(a,b){var c=a.cid;return this._views[c]=a,a.model&&(this._indexByModel[a.model.cid]=c),b&&(this._indexByCustom[b]=c),this._updateLength(),this},findByModel:function(a){return this.findByModelCid(a.cid)},findByModelCid:function(a){var b=this._indexByModel[a];return this.findByCid(b)},findByCustom:function(a){var b=this._indexByCustom[a];return this.findByCid(b)},findByIndex:function(a){return b.values(this._views)[a]},findByCid:function(a){return this._views[a]},remove:function(a){var c=a.cid;return a.model&&delete this._indexByModel[a.model.cid],b.any(this._indexByCustom,function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this),delete this._views[c],this._updateLength(),this},call:function(a){this.apply(a,b.tail(arguments))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){this.length=b.size(this._views)}});var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce"];return b.each(d,function(a){c.prototype[a]=function(){var c=b.values(this._views),d=[c].concat(b.toArray(arguments));return b[a].apply(b,d)}}),c}(a,b),a.ChildViewContainer.VERSION="0.1.11",a.ChildViewContainer.noConflict=function(){return a.ChildViewContainer=c,this},a.ChildViewContainer}(b,c),function(a,b){var c=a.Wreqr,d=a.Wreqr={};return a.Wreqr.VERSION="1.3.6",a.Wreqr.noConflict=function(){return a.Wreqr=c,this},d.Handlers=function(a,b){var c=function(a){this.options=a,this._wreqrHandlers={},b.isFunction(this.initialize)&&this.initialize(a)};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events,{setHandlers:function(a){b.each(a,function(a,c){var d=null;b.isObject(a)&&!b.isFunction(a)&&(d=a.context,a=a.callback),this.setHandler(c,a,d)},this)},setHandler:function(a,b,c){var d={callback:b,context:c};this._wreqrHandlers[a]=d,this.trigger("handler:add",a,b,c)},hasHandler:function(a){return!!this._wreqrHandlers[a]},getHandler:function(a){var b=this._wreqrHandlers[a];if(b)return function(){return b.callback.apply(b.context,arguments)}},removeHandler:function(a){delete this._wreqrHandlers[a]},removeAllHandlers:function(){this._wreqrHandlers={}}}),c}(a,b),d.CommandStorage=function(){var c=function(a){this.options=a,this._commands={},b.isFunction(this.initialize)&&this.initialize(a)};return b.extend(c.prototype,a.Events,{getCommands:function(a){var b=this._commands[a];return b||(b={command:a,instances:[]},this._commands[a]=b),b},addCommand:function(a,b){var c=this.getCommands(a);c.instances.push(b)},clearCommands:function(a){var b=this.getCommands(a);b.instances=[]}}),c}(),d.Commands=function(a,b){return a.Handlers.extend({storageType:a.CommandStorage,constructor:function(b){this.options=b||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this),a.Handlers.prototype.constructor.apply(this,arguments)},execute:function(a){a=arguments[0];var c=b.rest(arguments);this.hasHandler(a)?this.getHandler(a).apply(this,c):this.storage.addCommand(a,c)},_executeCommands:function(a,c,d){var e=this.storage.getCommands(a);b.each(e.instances,function(a){c.apply(d,a)}),this.storage.clearCommands(a)},_initializeStorage:function(a){var c,d=a.storageType||this.storageType;c=b.isFunction(d)?new d:d,this.storage=c}})}(d,b),d.RequestResponse=function(a,b){return a.Handlers.extend({request:function(a){return this.hasHandler(a)?this.getHandler(a).apply(this,b.rest(arguments)):void 0}})}(d,b),d.EventAggregator=function(a,b){var c=function(){};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events),c}(a,b),d.Channel=function(c){var d=function(b){this.vent=new a.Wreqr.EventAggregator,this.reqres=new a.Wreqr.RequestResponse,this.commands=new a.Wreqr.Commands,this.channelName=b};return b.extend(d.prototype,{reset:function(){return this.vent.off(),this.vent.stopListening(),this.reqres.removeAllHandlers(),this.commands.removeAllHandlers(),this},connectEvents:function(a,b){return this._connect("vent",a,b),this},connectCommands:function(a,b){return this._connect("commands",a,b),this},connectRequests:function(a,b){return this._connect("reqres",a,b),this},_connect:function(a,c,d){if(c){d=d||this;var e="vent"===a?"on":"setHandler";b.each(c,function(c,f){this[a][e](f,b.bind(c,d))},this)}}}),d}(d),d.radio=function(a,b){var c=function(){this._channels={},this.vent={},this.commands={},this.reqres={},this._proxyMethods()};b.extend(c.prototype,{channel:function(a){if(!a)throw new Error("Channel must receive a name");return this._getChannel(a)},_getChannel:function(b){var c=this._channels[b];return c||(c=new a.Channel(b),this._channels[b]=c),c},_proxyMethods:function(){b.each(["vent","commands","reqres"],function(a){b.each(d[a],function(b){this[a][b]=e(this,a,b)},this)},this)}});var d={vent:["on","off","trigger","once","stopListening","listenTo","listenToOnce"],commands:["execute","setHandler","setHandlers","removeHandler","removeAllHandlers"],reqres:["request","setHandler","setHandlers","removeHandler","removeAllHandlers"]},e=function(a,c,d){return function(e){var f=a._getChannel(e)[c];return f[d].apply(f,b.rest(arguments))}};return new c}(d,b),a.Wreqr}(b,c);var d=a.Marionette,e=a.Mn,f=b.Marionette={};f.VERSION="2.4.5",f.noConflict=function(){return a.Marionette=d,a.Mn=e,this},b.Marionette=f,f.Deferred=b.$.Deferred,f.extend=b.Model.extend,f.isNodeAttached=function(a){return b.$.contains(document.documentElement,a)},f.mergeOptions=function(a,b){a&&c.extend(this,c.pick(a,b))},f.getOption=function(a,b){return a&&b?a.options&&void 0!==a.options[b]?a.options[b]:a[b]:void 0},f.proxyGetOption=function(a){return f.getOption(this,a)},f._getValue=function(a,b,d){return c.isFunction(a)&&(a=d?a.apply(b,d):a.call(b)),a},f.normalizeMethods=function(a){return c.reduce(a,function(a,b,d){return c.isFunction(b)||(b=this[b]),b&&(a[d]=b),a},{},this)},f.normalizeUIString=function(a,b){return a.replace(/@ui\.[a-zA-Z-_$0-9]*/g,function(a){return b[a.slice(4)]})},f.normalizeUIKeys=function(a,b){return c.reduce(a,function(a,c,d){var e=f.normalizeUIString(d,b);return a[e]=c,a},{})},f.normalizeUIValues=function(a,b,d){return c.each(a,function(e,g){c.isString(e)?a[g]=f.normalizeUIString(e,b):c.isObject(e)&&c.isArray(d)&&(c.extend(e,f.normalizeUIValues(c.pick(e,d),b)),c.each(d,function(a){var d=e[a];c.isString(d)&&(e[a]=f.normalizeUIString(d,b))}))}),a},f.actAsCollection=function(a,b){var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];c.each(d,function(d){a[d]=function(){var a=c.values(c.result(this,b)),e=[a].concat(c.toArray(arguments));return c[d].apply(c,e)}})};var g=f.deprecate=function(a,b){c.isObject(a)&&(a=a.prev+" is going to be removed in the future. Please use "+a.next+" instead."+(a.url?" See: "+a.url:"")),void 0!==b&&b||g._cache[a]||(g._warn("Deprecation warning: "+a),g._cache[a]=!0)};g._console="undefined"!=typeof console?console:{},g._warn=function(){var a=g._console.warn||g._console.log||function(){};return a.apply(g._console,arguments)},g._cache={},f._triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi;return function(d,e,f){var g=arguments.length<3;g&&(f=e,e=f[0]);var h,i="on"+e.replace(b,a),j=d[i];return c.isFunction(j)&&(h=j.apply(d,g?c.rest(f):f)),c.isFunction(d.trigger)&&(g+f.length>1?d.trigger.apply(d,g?f:[e].concat(c.drop(f,0))):d.trigger(e)),h}}(),f.triggerMethod=function(a){return f._triggerMethod(this,arguments)},f.triggerMethodOn=function(a){var b=c.isFunction(a.triggerMethod)?a.triggerMethod:f.triggerMethod;return b.apply(a,c.rest(arguments))},f.MonitorDOMRefresh=function(a){function b(){a._isShown=!0,d()}function c(){a._isRendered=!0,d()}function d(){a._isShown&&a._isRendered&&f.isNodeAttached(a.el)&&f.triggerMethodOn(a,"dom:refresh",a)}a._isDomRefreshMonitored||(a._isDomRefreshMonitored=!0,a.on({show:b,render:c}))},function(a){function b(b,d,e,f){var g=f.split(/\s+/);c.each(g,function(c){var f=b[c];if(!f)throw new a.Error('Method "'+c+'" was configured as an event handler, but does not exist.');b.listenTo(d,e,f)})}function d(a,b,c,d){a.listenTo(b,c,d)}function e(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e)})}function f(a,b,c,d){a.stopListening(b,c,d)}function g(b,d,e,f,g){if(d&&e){if(!c.isObject(e))throw new a.Error({message:"Bindings must be an object or function.",url:"marionette.functions.html#marionettebindentityevents"});e=a._getValue(e,b),c.each(e,function(a,e){c.isFunction(a)?f(b,d,e,a):g(b,d,e,a)})}}a.bindEntityEvents=function(a,c,e){g(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){g(a,b,c,f,e)},a.proxyBindEntityEvents=function(b,c){return a.bindEntityEvents(this,b,c)},a.proxyUnbindEntityEvents=function(b,c){return a.unbindEntityEvents(this,b,c)}}(f);var h=["description","fileName","lineNumber","name","message","number"];return f.Error=f.extend.call(Error,{urlRoot:"http://marionettejs.com/docs/v"+f.VERSION+"/",constructor:function(a,b){c.isObject(a)?(b=a,a=b.message):b||(b={});var d=Error.call(this,a);c.extend(this,c.pick(d,h),c.pick(b,h)),this.captureStackTrace(),b.url&&(this.url=this.urlRoot+b.url)},captureStackTrace:function(){Error.captureStackTrace&&Error.captureStackTrace(this,f.Error)},toString:function(){return this.name+": "+this.message+(this.url?" See: "+this.url:"")}}),f.Error.extend=f.extend,f.Callbacks=function(){this._deferred=f.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){var d=c.result(this._deferred,"promise");this._callbacks.push({cb:a,ctx:b}),d.then(function(c){b&&(c.context=b),a.call(c.context,c.options)})},run:function(a,b){this._deferred.resolve({options:a,context:b})},reset:function(){var a=this._callbacks;this._deferred=f.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{destroy:function(){return f._triggerMethod(this,"before:destroy",arguments),f._triggerMethod(this,"destroy",arguments),this.stopListening(),this.off(),this},triggerMethod:f.triggerMethod,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption}),f.Object=function(a){this.options=c.extend({},c.result(this,"options"),a),this.initialize.apply(this,arguments)},f.Object.extend=f.extend,c.extend(f.Object.prototype,b.Events,{initialize:function(){},destroy:function(a){return a=a||{},this.triggerMethod("before:destroy",a),this.triggerMethod("destroy",a),this.stopListening(),this},triggerMethod:f.triggerMethod,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.Region=f.Object.extend({constructor:function(a){if(this.options=a||{},this.el=this.getOption("el"),this.el=this.el instanceof b.$?this.el[0]:this.el,!this.el)throw new f.Error({name:"NoElError",message:'An "el" must be specified for a region.'});this.$el=this.getEl(this.el),f.Object.call(this,a)},show:function(a,b){if(this._ensureElement()){this._ensureViewIsIntact(a),f.MonitorDOMRefresh(a);var d=b||{},e=a!==this.currentView,g=!!d.preventDestroy,h=!!d.forceShow,i=!!this.currentView,j=e&&!g,k=e||h;if(i&&this.triggerMethod("before:swapOut",this.currentView,this,b),this.currentView&&e&&delete this.currentView._parent,j?this.empty():i&&k&&this.currentView.off("destroy",this.empty,this),k){a.once("destroy",this.empty,this),a._parent=this,this._renderView(a),i&&this.triggerMethod("before:swap",a,this,b),this.triggerMethod("before:show",a,this,b),f.triggerMethodOn(a,"before:show",a,this,b),i&&this.triggerMethod("swapOut",this.currentView,this,b);var l=f.isNodeAttached(this.el),m=[],n=c.extend({triggerBeforeAttach:this.triggerBeforeAttach,triggerAttach:this.triggerAttach},d);return l&&n.triggerBeforeAttach&&(m=this._displayedViews(a),this._triggerAttach(m,"before:")),this.attachHtml(a),this.currentView=a,l&&n.triggerAttach&&(m=this._displayedViews(a),this._triggerAttach(m)),i&&this.triggerMethod("swap",a,this,b),this.triggerMethod("show",a,this,b),f.triggerMethodOn(a,"show",a,this,b),this}return this}},triggerBeforeAttach:!0,triggerAttach:!0,_triggerAttach:function(a,b){var d=(b||"")+"attach";c.each(a,function(a){f.triggerMethodOn(a,d,a,this)},this)},_displayedViews:function(a){return c.union([a],c.result(a,"_getNestedViews")||[])},_renderView:function(a){a.supportsRenderLifecycle||f.triggerMethodOn(a,"before:render",a),a.render(),a.supportsRenderLifecycle||f.triggerMethodOn(a,"render",a)},_ensureElement:function(){if(c.isObject(this.el)||(this.$el=this.getEl(this.el),this.el=this.$el[0]),!this.$el||0===this.$el.length){if(this.getOption("allowMissingEl"))return!1;throw new f.Error('An "el" '+this.$el.selector+" must exist in DOM")}return!0},_ensureViewIsIntact:function(a){if(!a)throw new f.Error({name:"ViewNotValid",message:"The view passed is undefined and therefore invalid. You must pass a view instance to show."});if(a.isDestroyed)throw new f.Error({name:"ViewDestroyedError",message:'View (cid: "'+a.cid+'") has already been destroyed and cannot be used.'})},getEl:function(a){return b.$(a,f._getValue(this.options.parentEl,this))},attachHtml:function(a){this.$el.contents().detach(),this.el.appendChild(a.el)},empty:function(a){var b=this.currentView,c=a||{},d=!!c.preventDestroy;return b?(b.off("destroy",this.empty,this),this.triggerMethod("before:empty",b),d||this._destroyView(),this.triggerMethod("empty",b),delete this.currentView,d&&this.$el.contents().detach(),this):this},_destroyView:function(){var a=this.currentView;a.isDestroyed||(a.supportsDestroyLifecycle||f.triggerMethodOn(a,"before:destroy",a),a.destroy?a.destroy():(a.remove(),a.isDestroyed=!0),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"destroy",a))},attachView:function(a){return this.currentView&&delete this.currentView._parent,a._parent=this,this.currentView=a,this},hasView:function(){return!!this.currentView},reset:function(){return this.empty(),this.$el&&(this.el=this.options.el),delete this.$el,this}},{buildRegion:function(a,b){if(c.isString(a))return this._buildRegionFromSelector(a,b);if(a.selector||a.el||a.regionClass)return this._buildRegionFromObject(a,b);if(c.isFunction(a))return this._buildRegionFromRegionClass(a);throw new f.Error({message:"Improper region configuration type.",url:"marionette.region.html#region-configuration-types"})},_buildRegionFromSelector:function(a,b){return new b({el:a})},_buildRegionFromObject:function(a,b){var d=a.regionClass||b,e=c.omit(a,"selector","regionClass");return a.selector&&!e.el&&(e.el=a.selector),new d(e)},_buildRegionFromRegionClass:function(a){return new a}}),f.RegionManager=f.Controller.extend({constructor:function(a){this._regions={},this.length=0,f.Controller.call(this,a),this.addRegions(this.getOption("regions"))},addRegions:function(a,b){return a=f._getValue(a,this,arguments),c.reduce(a,function(a,d,e){return c.isString(d)&&(d={selector:d}),d.selector&&(d=c.defaults({},d,b)),a[e]=this.addRegion(e,d),a},{},this)},addRegion:function(a,b){var c;return c=b instanceof f.Region?b:f.Region.buildRegion(b,f.Region),this.triggerMethod("before:add:region",a,c),c._parent=this,this._store(a,c),this.triggerMethod("add:region",a,c),c},get:function(a){return this._regions[a]},getRegions:function(){return c.clone(this._regions)},removeRegion:function(a){var b=this._regions[a];return this._remove(a,b),b},removeRegions:function(){var a=this.getRegions();return c.each(this._regions,function(a,b){this._remove(b,a)},this),a},emptyRegions:function(){var a=this.getRegions();return c.invoke(a,"empty"),a},destroy:function(){return this.removeRegions(),f.Controller.prototype.destroy.apply(this,arguments)},_store:function(a,b){this._regions[a]||this.length++,this._regions[a]=b},_remove:function(a,b){this.triggerMethod("before:remove:region",a,b),b.empty(),b.stopListening(),delete b._parent,delete this._regions[a],this.length--,this.triggerMethod("remove:region",a,b)}}),f.actAsCollection(f.RegionManager.prototype,"_regions"),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a,b){var c=this.templateCaches[a];return c||(c=new f.TemplateCache(a),this.templateCaches[a]=c),c.load(b)},clear:function(){var a,b=c.toArray(arguments),d=b.length;if(d>0)for(a=0;d>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(a){if(this.compiledTemplate)return this.compiledTemplate;var b=this.loadTemplate(this.templateId,a);return this.compiledTemplate=this.compileTemplate(b,a),this.compiledTemplate},loadTemplate:function(a,c){var d=b.$(a);if(!d.length)throw new f.Error({name:"NoTemplateError",message:'Could not find template: "'+a+'"'});return d.html()},compileTemplate:function(a,b){return c.template(a,b)}}),f.Renderer={render:function(a,b){if(!a)throw new f.Error({name:"TemplateNotFoundError",message:"Cannot render the template since its false, null or undefined."});var d=c.isFunction(a)?a:f.TemplateCache.get(a);return d(b)}},f.View=b.View.extend({isDestroyed:!1,supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,constructor:function(a){this.render=c.bind(this.render,this),a=f._getValue(a,this),this.options=c.extend({},c.result(this,"options"),a),this._behaviors=f.Behaviors(this),b.View.call(this,this.options),f.MonitorDOMRefresh(this)},getTemplate:function(){return this.getOption("template")},serializeModel:function(a){return a.toJSON.apply(a,c.rest(arguments))},mixinTemplateHelpers:function(a){a=a||{};var b=this.getOption("templateHelpers");return b=f._getValue(b,this),c.extend(a,b)},normalizeUIKeys:function(a){var b=c.result(this,"_uiBindings");return f.normalizeUIKeys(a,b||c.result(this,"ui"))},normalizeUIValues:function(a,b){var d=c.result(this,"ui"),e=c.result(this,"_uiBindings");return f.normalizeUIValues(a,e||d,b)},configureTriggers:function(){if(this.triggers){var a=this.normalizeUIKeys(c.result(this,"triggers"));return c.reduce(a,function(a,b,c){return a[c]=this._buildViewTrigger(b),a},{},this)}},delegateEvents:function(a){return this._delegateDOMEvents(a),this.bindEntityEvents(this.model,this.getOption("modelEvents")),this.bindEntityEvents(this.collection,this.getOption("collectionEvents")),c.each(this._behaviors,function(a){a.bindEntityEvents(this.model,a.getOption("modelEvents")),a.bindEntityEvents(this.collection,a.getOption("collectionEvents"))},this),this},_delegateDOMEvents:function(a){var d=f._getValue(a||this.events,this);d=this.normalizeUIKeys(d),c.isUndefined(a)&&(this.events=d);var e={},g=c.result(this,"behaviorEvents")||{},h=this.configureTriggers(),i=c.result(this,"behaviorTriggers")||{};c.extend(e,g,d,h,i),b.View.prototype.delegateEvents.call(this,e)},undelegateEvents:function(){return b.View.prototype.undelegateEvents.apply(this,arguments),this.unbindEntityEvents(this.model,this.getOption("modelEvents")),this.unbindEntityEvents(this.collection,this.getOption("collectionEvents")),c.each(this._behaviors,function(a){a.unbindEntityEvents(this.model,a.getOption("modelEvents")),a.unbindEntityEvents(this.collection,a.getOption("collectionEvents"))},this),this},_ensureViewIsIntact:function(){if(this.isDestroyed)throw new f.Error({name:"ViewDestroyedError",message:'View (cid: "'+this.cid+'") has already been destroyed and cannot be used.'})},destroy:function(){if(this.isDestroyed)return this;var a=c.toArray(arguments);return this.triggerMethod.apply(this,["before:destroy"].concat(a)),this.isDestroyed=!0,this.triggerMethod.apply(this,["destroy"].concat(a)),this.unbindUIElements(),this.isRendered=!1,this.remove(),c.invoke(this._behaviors,"destroy",a),this},bindUIElements:function(){this._bindUIElements(),c.invoke(this._behaviors,this._bindUIElements)},_bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(a,function(a,b){this.ui[b]=this.$(a)},this)}},unbindUIElements:function(){this._unbindUIElements(),c.invoke(this._behaviors,this._unbindUIElements)},_unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)},_buildViewTrigger:function(a){var b=c.defaults({},a,{preventDefault:!0,stopPropagation:!0}),d=c.isObject(a)?b.event:a;return function(a){a&&(a.preventDefault&&b.preventDefault&&a.preventDefault(),a.stopPropagation&&b.stopPropagation&&a.stopPropagation());var c={view:this,model:this.model,collection:this.collection};this.triggerMethod(d,c)}},setElement:function(){var a=b.View.prototype.setElement.apply(this,arguments);return c.invoke(this._behaviors,"proxyViewProperties",this),a},triggerMethod:function(){var a=f._triggerMethod(this,arguments);return this._triggerEventOnBehaviors(arguments),this._triggerEventOnParentLayout(arguments[0],c.rest(arguments)),a},_triggerEventOnBehaviors:function(a){for(var b=f._triggerMethod,c=this._behaviors,d=0,e=c&&c.length;e>d;d++)b(c[d],a)},_triggerEventOnParentLayout:function(a,b){var d=this._parentLayoutView();if(d){var e=f.getOption(d,"childViewEventPrefix"),g=e+":"+a,h=[this].concat(b);f._triggerMethod(d,g,h);var i=f.getOption(d,"childEvents");i=f._getValue(i,d);var j=d.normalizeMethods(i);j&&c.isFunction(j[a])&&j[a].apply(d,h)}},_getImmediateChildren:function(){return[]},_getNestedViews:function(){var a=this._getImmediateChildren();return a.length?c.reduce(a,function(a,b){return b._getNestedViews?a.concat(b._getNestedViews()):a},a):a},_parentLayoutView:function(){for(var a=this._parent;a;){if(a instanceof f.LayoutView)return a;a=a._parent}},normalizeMethods:f.normalizeMethods,mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.ItemView=f.View.extend({constructor:function(){f.View.apply(this,arguments)},serializeData:function(){if(!this.model&&!this.collection)return{};var a=[this.model||this.collection];return arguments.length&&a.push.apply(a,arguments),this.model?this.serializeModel.apply(this,a):{items:this.serializeCollection.apply(this,a)}},serializeCollection:function(a){return a.toJSON.apply(a,c.rest(arguments))},render:function(){return this._ensureViewIsIntact(),this.triggerMethod("before:render",this),this._renderTemplate(),this.isRendered=!0,this.bindUIElements(),this.triggerMethod("render",this),this},_renderTemplate:function(){var a=this.getTemplate();if(a!==!1){if(!a)throw new f.Error({name:"UndefinedTemplateError",message:"Cannot render the template since it is null or undefined."});var b=this.mixinTemplateHelpers(this.serializeData()),c=f.Renderer.render(a,b,this);return this.attachElContent(c),this}},attachElContent:function(a){return this.$el.html(a),this}}),f.CollectionView=f.View.extend({childViewEventPrefix:"childview",sort:!0,constructor:function(a){this.once("render",this._initialEvents),this._initChildViewStorage(),f.View.apply(this,arguments),this.on({"before:show":this._onBeforeShowCalled,show:this._onShowCalled,"before:attach":this._onBeforeAttachCalled,attach:this._onAttachCalled}),this.initRenderBuffer()},initRenderBuffer:function(){this._bufferedChildren=[]},startBuffering:function(){this.initRenderBuffer(),this.isBuffering=!0},endBuffering:function(){var a,b=this._isShown&&f.isNodeAttached(this.el);this.isBuffering=!1,this._isShown&&this._triggerMethodMany(this._bufferedChildren,this,"before:show"),b&&this._triggerBeforeAttach&&(a=this._getNestedViews(),this._triggerMethodMany(a,this,"before:attach")),this.attachBuffer(this,this._createBuffer()),b&&this._triggerAttach&&(a=this._getNestedViews(),this._triggerMethodMany(a,this,"attach")),this._isShown&&this._triggerMethodMany(this._bufferedChildren,this,"show"),this.initRenderBuffer()},_triggerMethodMany:function(a,b,d){var e=c.drop(arguments,3);c.each(a,function(a){f.triggerMethodOn.apply(a,[a,d,a,b].concat(e))})},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"remove",this._onCollectionRemove),this.listenTo(this.collection,"reset",this.render),this.getOption("sort")&&this.listenTo(this.collection,"sort",this._sortViews))},_onCollectionAdd:function(a,b,d){var e=void 0!==d.at&&(d.index||b.indexOf(a));if((this.getOption("filter")||e===!1)&&(e=c.indexOf(this._filteredSortedModels(e),a)),this._shouldAddChild(a,e)){this.destroyEmptyView();var f=this.getChildView(a);this.addChild(a,f,e)}},_onCollectionRemove:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},_onBeforeShowCalled:function(){this._triggerBeforeAttach=this._triggerAttach=!1,this.children.each(function(a){f.triggerMethodOn(a,"before:show",a)})},_onShowCalled:function(){this.children.each(function(a){f.triggerMethodOn(a,"show",a)})},_onBeforeAttachCalled:function(){this._triggerBeforeAttach=!0},_onAttachCalled:function(){this._triggerAttach=!0},render:function(){return this._ensureViewIsIntact(),this.triggerMethod("before:render",this),this._renderChildren(),this.isRendered=!0,this.triggerMethod("render",this),this},reorder:function(){var a=this.children,b=this._filteredSortedModels(),d=c.some(b,function(b){return!a.findByModel(b)});if(d)this.render();else{var e=c.map(b,function(b,c){var d=a.findByModel(b);return d._index=c,d.el}),f=a.filter(function(a){return!c.contains(e,a.el)});this.triggerMethod("before:reorder"),this._appendReorderedChildren(e),c.each(f,this.removeChildView,this),this.checkEmpty(),this.triggerMethod("reorder")}},resortView:function(){f.getOption(this,"reorderOnSort")?this.reorder():this.render()},_sortViews:function(){var a=this._filteredSortedModels(),b=c.find(a,function(a,b){var c=this.children.findByModel(a);return!c||c._index!==b},this);b&&this.resortView()},_emptyViewIndex:-1,_appendReorderedChildren:function(a){this.$el.append(a)},_renderChildren:function(){this.destroyEmptyView(),this.destroyChildren({checkEmpty:!1}),this.isEmpty(this.collection)?this.showEmptyView():(this.triggerMethod("before:render:collection",this),this.startBuffering(),this.showCollection(),this.endBuffering(),this.triggerMethod("render:collection",this),this.children.isEmpty()&&this.getOption("filter")&&this.showEmptyView())},showCollection:function(){var a,b=this._filteredSortedModels();c.each(b,function(b,c){a=this.getChildView(b),this.addChild(b,a,c)},this)},_filteredSortedModels:function(a){var b=this.getViewComparator(),d=this.collection.models;if(a=Math.min(Math.max(a,0),d.length-1),b){var e;a&&(e=d[a],d=d.slice(0,a).concat(d.slice(a+1))),d=this._sortModelsBy(d,b),e&&d.splice(a,0,e)}return this.getOption("filter")&&(d=c.filter(d,function(a,b){return this._shouldAddChild(a,b)},this)),d},_sortModelsBy:function(a,b){return"string"==typeof b?c.sortBy(a,function(a){return a.get(b)},this):1===b.length?c.sortBy(a,b,this):a.sort(c.bind(b,this))},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this.triggerMethod("before:render:empty"),this._showingEmptyView=!0;var c=new b.Model;this.addEmptyView(c,a),this.triggerMethod("render:empty")}},destroyEmptyView:function(){this._showingEmptyView&&(this.triggerMethod("before:remove:empty"),this.destroyChildren(),delete this._showingEmptyView,this.triggerMethod("remove:empty"))},getEmptyView:function(){return this.getOption("emptyView")},addEmptyView:function(a,b){var d,e=this._isShown&&!this.isBuffering&&f.isNodeAttached(this.el),g=this.getOption("emptyViewOptions")||this.getOption("childViewOptions");c.isFunction(g)&&(g=g.call(this,a,this._emptyViewIndex));var h=this.buildChildView(a,b,g);h._parent=this,this.proxyChildEvents(h),h.once("render",function(){this._isShown&&f.triggerMethodOn(h,"before:show",h),e&&this._triggerBeforeAttach&&(d=this._getViewAndNested(h),this._triggerMethodMany(d,this,"before:attach"))},this),this.children.add(h),this.renderChildView(h,this._emptyViewIndex),e&&this._triggerAttach&&(d=this._getViewAndNested(h),this._triggerMethodMany(d,this,"attach")),this._isShown&&f.triggerMethodOn(h,"show",h)},getChildView:function(a){var b=this.getOption("childView");if(!b)throw new f.Error({name:"NoChildViewError",message:'A "childView" must be specified'});return b},addChild:function(a,b,c){var d=this.getOption("childViewOptions");d=f._getValue(d,this,[a,c]);var e=this.buildChildView(a,b,d);return this._updateIndices(e,!0,c),this.triggerMethod("before:add:child",e),this._addChildView(e,c),this.triggerMethod("add:child",e),e._parent=this,e},_updateIndices:function(a,b,c){this.getOption("sort")&&(b&&(a._index=c),this.children.each(function(c){c._index>=a._index&&(c._index+=b?1:-1)}))},_addChildView:function(a,b){var c,d=this._isShown&&!this.isBuffering&&f.isNodeAttached(this.el);this.proxyChildEvents(a),a.once("render",function(){this._isShown&&!this.isBuffering&&f.triggerMethodOn(a,"before:show",a),d&&this._triggerBeforeAttach&&(c=this._getViewAndNested(a),this._triggerMethodMany(c,this,"before:attach"))},this),this.children.add(a),this.renderChildView(a,b),d&&this._triggerAttach&&(c=this._getViewAndNested(a),this._triggerMethodMany(c,this,"attach")),this._isShown&&!this.isBuffering&&f.triggerMethodOn(a,"show",a)},renderChildView:function(a,b){return a.supportsRenderLifecycle||f.triggerMethodOn(a,"before:render",a),a.render(),a.supportsRenderLifecycle||f.triggerMethodOn(a,"render",a),this.attachHtml(this,a,b),a},buildChildView:function(a,b,d){var e=c.extend({model:a},d),g=new b(e);return f.MonitorDOMRefresh(g),g},removeChildView:function(a){return a?(this.triggerMethod("before:remove:child",a),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"before:destroy",a),a.destroy?a.destroy():a.remove(),a.supportsDestroyLifecycle||f.triggerMethodOn(a,"destroy",a),delete a._parent,this.stopListening(a),this.children.remove(a),this.triggerMethod("remove:child",a),this._updateIndices(a,!1),a):a},isEmpty:function(){return!this.collection||0===this.collection.length},checkEmpty:function(){this.isEmpty(this.collection)&&this.showEmptyView()},attachBuffer:function(a,b){a.$el.append(b)},_createBuffer:function(){var a=document.createDocumentFragment();return c.each(this._bufferedChildren,function(b){a.appendChild(b.el)}),a},attachHtml:function(a,b,c){a.isBuffering?a._bufferedChildren.splice(c,0,b):a._insertBefore(b,c)||a._insertAfter(b)},_insertBefore:function(a,b){var c,d=this.getOption("sort")&&b<this.children.length-1;return d&&(c=this.children.find(function(a){return a._index===b+1})),c?(c.$el.before(a.el),!0):!1},_insertAfter:function(a){this.$el.append(a.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},destroy:function(){return this.isDestroyed?this:(this.triggerMethod("before:destroy:collection"),this.destroyChildren({checkEmpty:!1}),this.triggerMethod("destroy:collection"),f.View.prototype.destroy.apply(this,arguments))},destroyChildren:function(a){var b=a||{},d=!0,e=this.children.map(c.identity);return c.isUndefined(b.checkEmpty)||(d=b.checkEmpty),this.children.each(this.removeChildView,this),d&&this.checkEmpty(),e},_shouldAddChild:function(a,b){var d=this.getOption("filter");return!c.isFunction(d)||d.call(this,a,b,this.collection)},proxyChildEvents:function(a){var b=this.getOption("childViewEventPrefix");this.listenTo(a,"all",function(){var d=c.toArray(arguments),e=d[0],f=this.normalizeMethods(c.result(this,"childEvents"));
|
|
d[0]=b+":"+e,d.splice(1,0,a),"undefined"!=typeof f&&c.isFunction(f[e])&&f[e].apply(this,d.slice(1)),this.triggerMethod.apply(this,d)})},_getImmediateChildren:function(){return c.values(this.children._views)},_getViewAndNested:function(a){return[a].concat(c.result(a,"_getNestedViews")||[])},getViewComparator:function(){return this.getOption("viewComparator")}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.apply(this,arguments)},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"remove",this._onCollectionRemove),this.listenTo(this.collection,"reset",this._renderChildren),this.getOption("sort")&&this.listenTo(this.collection,"sort",this._sortViews))},getChildView:function(a){var b=this.getOption("childView")||this.constructor;return b},serializeData:function(){var a={};return this.model&&(a=c.partial(this.serializeModel,this.model).apply(this,arguments)),a},render:function(){return this._ensureViewIsIntact(),this._isRendering=!0,this.resetChildViewContainer(),this.triggerMethod("before:render",this),this._renderTemplate(),this._renderChildren(),this._isRendering=!1,this.isRendered=!0,this.triggerMethod("render",this),this},_renderChildren:function(){(this.isRendered||this._isRendering)&&f.CollectionView.prototype._renderChildren.call(this)},_renderTemplate:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a),this.triggerMethod("before:render:template");var b=this.getTemplate(),c=f.Renderer.render(b,a,this);this.attachElContent(c),this.bindUIElements(),this.triggerMethod("render:template")},attachElContent:function(a){return this.$el.html(a),this},attachBuffer:function(a,b){var c=this.getChildViewContainer(a);c.append(b)},_insertAfter:function(a){var b=this.getChildViewContainer(this,a);b.append(a.el)},_appendReorderedChildren:function(a){var b=this.getChildViewContainer(this);b.append(a)},getChildViewContainer:function(a,b){if(a.$childViewContainer)return a.$childViewContainer;var c,d=f.getOption(a,"childViewContainer");if(d){var e=f._getValue(d,a);if(c="@"===e.charAt(0)&&a.ui?a.ui[e.substr(4)]:a.$(e),c.length<=0)throw new f.Error({name:"ChildViewContainerMissingError",message:'The specified "childViewContainer" was not found: '+a.childViewContainer})}else c=a.$el;return a.$childViewContainer=c,c},resetChildViewContainer:function(){this.$childViewContainer&&(this.$childViewContainer=void 0)}}),f.LayoutView=f.ItemView.extend({regionClass:f.Region,options:{destroyImmediate:!1},childViewEventPrefix:"childview",constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.call(this,a)},render:function(){return this._ensureViewIsIntact(),this._firstRender?this._firstRender=!1:this._reInitializeRegions(),f.ItemView.prototype.render.apply(this,arguments)},destroy:function(){return this.isDestroyed?this:(this.getOption("destroyImmediate")===!0&&this.$el.remove(),this.regionManager.destroy(),f.ItemView.prototype.destroy.apply(this,arguments))},showChildView:function(a,b,d){var e=this.getRegion(a);return e.show.apply(e,c.rest(arguments))},getChildView:function(a){return this.getRegion(a).currentView},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},getRegion:function(a){return this.regionManager.get(a)},getRegions:function(){return this.regionManager.getRegions()},_buildRegions:function(a){var b={regionClass:this.getOption("regionClass"),parentEl:c.partial(c.result,this,"el")};return this.regionManager.addRegions(a,b)},_initializeRegions:function(a){var b;this._initRegionManager(),b=f._getValue(this.regions,this,[a])||{};var d=this.getOption.call(a,"regions");d=f._getValue(d,this,[a]),c.extend(b,d),b=this.normalizeUIValues(b,["selector","el"]),this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.invoke("reset")},getRegionManager:function(){return new f.RegionManager},_initRegionManager:function(){this.regionManager=this.getRegionManager(),this.regionManager._parent=this,this.listenTo(this.regionManager,"before:add:region",function(a){this.triggerMethod("before:add:region",a)}),this.listenTo(this.regionManager,"add:region",function(a,b){this[a]=b,this.triggerMethod("add:region",a,b)}),this.listenTo(this.regionManager,"before:remove:region",function(a){this.triggerMethod("before:remove:region",a)}),this.listenTo(this.regionManager,"remove:region",function(a,b){delete this[a],this.triggerMethod("remove:region",a,b)})},_getImmediateChildren:function(){return c.chain(this.regionManager.getRegions()).pluck("currentView").compact().value()}}),f.Behavior=f.Object.extend({constructor:function(a,b){this.view=b,this.defaults=c.result(this,"defaults")||{},this.options=c.extend({},this.defaults,a),this.ui=c.extend({},c.result(b,"ui"),c.result(this,"ui")),f.Object.apply(this,arguments)},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this},proxyViewProperties:function(a){this.$el=a.$el,this.el=a.el}}),f.Behaviors=function(a,b){function c(a,d){return b.isObject(a.behaviors)?(d=c.parseBehaviors(a,d||b.result(a,"behaviors")),c.wrap(a,d,b.keys(g)),d):{}}function d(a,b){this._view=a,this._behaviors=b,this._triggers={}}function e(a){return a._uiBindings||a.ui}var f=/^(\S+)\s*(.*)$/,g={behaviorTriggers:function(a,b){var c=new d(this,b);return c.buildBehaviorTriggers()},behaviorEvents:function(c,d){var g={};return b.each(d,function(c,d){var h={},i=b.clone(b.result(c,"events"))||{};i=a.normalizeUIKeys(i,e(c));var j=0;b.each(i,function(a,e){var g=e.match(f),i=g[1]+"."+[this.cid,d,j++," "].join(""),k=g[2],l=i+k,m=b.isFunction(a)?a:c[a];m&&(h[l]=b.bind(m,c))},this),g=b.extend(g,h)},this),g}};return b.extend(c,{behaviorsLookup:function(){throw new a.Error({message:"You must define where your behaviors are stored.",url:"marionette.behaviors.html#behaviorslookup"})},getBehaviorClass:function(b,d){return b.behaviorClass?b.behaviorClass:a._getValue(c.behaviorsLookup,this,[b,d])[d]},parseBehaviors:function(a,d){return b.chain(d).map(function(d,e){var f=c.getBehaviorClass(d,e),g=new f(d,a),h=c.parseBehaviors(a,b.result(g,"behaviors"));return[g].concat(h)}).flatten().value()},wrap:function(a,c,d){b.each(d,function(d){a[d]=b.partial(g[d],a[d],c)})}}),b.extend(d.prototype,{buildBehaviorTriggers:function(){return b.each(this._behaviors,this._buildTriggerHandlersForBehavior,this),this._triggers},_buildTriggerHandlersForBehavior:function(c,d){var f=b.clone(b.result(c,"triggers"))||{};f=a.normalizeUIKeys(f,e(c)),b.each(f,b.bind(this._setHandlerForBehavior,this,c,d))},_setHandlerForBehavior:function(a,b,c,d){var e=d.replace(/^\S+/,function(a){return a+".behaviortriggers"+b});this._triggers[e]=this._view._buildViewTrigger(c)}}),c}(f,c),f.AppRouter=b.Router.extend({constructor:function(a){this.options=a||{},b.Router.apply(this,arguments);var c=this.getOption("appRoutes"),d=this._getController();this.processAppRoutes(d,c),this.on("route",this._processOnRoute,this)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},_processOnRoute:function(a,b){if(c.isFunction(this.onRoute)){var d=c.invert(this.getOption("appRoutes"))[a];this.onRoute(a,d,b)}},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return this.getOption("controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new f.Error('Method "'+d+'" was not found on the controller');this.route(b,d,c.bind(e,a))},mergeOptions:f.mergeOptions,getOption:f.proxyGetOption,triggerMethod:f.triggerMethod,bindEntityEvents:f.proxyBindEntityEvents,unbindEntityEvents:f.proxyUnbindEntityEvents}),f.Application=f.Object.extend({constructor:function(a){this._initializeRegions(a),this._initCallbacks=new f.Callbacks,this.submodules={},c.extend(this,a),this._initChannel(),f.Object.apply(this,arguments)},execute:function(){this.commands.execute.apply(this.commands,arguments)},request:function(){return this.reqres.request.apply(this.reqres,arguments)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("before:start",a),this._initCallbacks.run(a,this),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},emptyRegions:function(){return this._regionManager.emptyRegions()},removeRegion:function(a){return this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},getRegions:function(){return this._regionManager.getRegions()},module:function(a,b){var d=f.Module.getClass(b),e=c.toArray(arguments);return e.unshift(this),d.create.apply(d,e)},getRegionManager:function(){return new f.RegionManager},_initializeRegions:function(a){var b=c.isFunction(this.regions)?this.regions(a):this.regions||{};this._initRegionManager();var d=f.getOption(a,"regions");return c.isFunction(d)&&(d=d.call(this,a)),c.extend(b,d),this.addRegions(b),this},_initRegionManager:function(){this._regionManager=this.getRegionManager(),this._regionManager._parent=this,this.listenTo(this._regionManager,"before:add:region",function(){f._triggerMethod(this,"before:add:region",arguments)}),this.listenTo(this._regionManager,"add:region",function(a,b){this[a]=b,f._triggerMethod(this,"add:region",arguments)}),this.listenTo(this._regionManager,"before:remove:region",function(){f._triggerMethod(this,"before:remove:region",arguments)}),this.listenTo(this._regionManager,"remove:region",function(a){delete this[a],f._triggerMethod(this,"remove:region",arguments)})},_initChannel:function(){this.channelName=c.result(this,"channelName")||"global",this.channel=c.result(this,"channel")||b.Wreqr.radio.channel(this.channelName),this.vent=c.result(this,"vent")||this.channel.vent,this.commands=c.result(this,"commands")||this.channel.commands,this.reqres=c.result(this,"reqres")||this.channel.reqres}}),f.Module=function(a,b,d){this.moduleName=a,this.options=c.extend({},this.options,d),this.initialize=d.initialize||this.initialize,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,c.isFunction(this.initialize)&&this.initialize(a,b,this.options)},f.Module.extend=f.extend,c.extend(f.Module.prototype,b.Events,{startWithParent:!0,initialize:function(){},addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,this.triggerMethod("before:stop"),c.invoke(this.submodules,"stop"),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),this.triggerMethod("stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,b.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks},triggerMethod:f.triggerMethod}),c.extend(f.Module,{create:function(a,b,d){var e=a,f=c.drop(arguments,3);b=b.split(".");var g=b.length,h=[];return h[g-1]=d,c.each(b,function(b,c){var g=e;e=this._getModule(g,b,a,d),this._addModuleDefinition(g,e,h[c],f)},this),e},_getModule:function(a,b,d,e,f){var g=c.extend({},e),h=this.getClass(e),i=a[b];return i||(i=new h(b,d,g),a[b]=i,a.submodules[b]=i),i},getClass:function(a){var b=f.Module;return a?a.prototype instanceof b?a:a.moduleClass||b:b},_addModuleDefinition:function(a,b,c,d){var e=this._getDefine(c),f=this._getStartWithParent(c,b);e&&b.addDefinition(e,d),this._addStartWithParent(a,b,f)},_getStartWithParent:function(a,b){var d;return c.isFunction(a)&&a.prototype instanceof f.Module?(d=b.constructor.prototype.startWithParent,c.isUndefined(d)?!0:d):c.isObject(a)?(d=a.startWithParent,c.isUndefined(d)?!0:d):!0},_getDefine:function(a){return!c.isFunction(a)||a.prototype instanceof f.Module?c.isObject(a)?a.define:null:a},_addStartWithParent:function(a,b,c){b.startWithParent=b.startWithParent&&c,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f});
|
|
;
|
|
/*! elementor - v0.7.1 - 18-08-2016 */
|
|
// Backbone.Radio v1.0.4
|
|
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("underscore"),require("backbone")):"function"==typeof define&&define.amd?define(["underscore","backbone"],n):(e.Backbone=e.Backbone||{},e.Backbone.Radio=n(e._,e.Backbone))}(this,function(e,n){"use strict";function t(e,n,t,r){var o=e[n];return t&&t!==o.callback&&t!==o.callback._callback||r&&r!==o.context?void 0:(delete e[n],!0)}function r(n,r,o,i){n||(n={});for(var s=r?[r]:e.keys(n),u=!1,a=0,c=s.length;c>a;a++)r=s[a],n[r]&&t(n,r,o,i)&&(u=!0);return u}function o(n){return l[n]||(l[n]=e.partial(a.log,n))}function i(n){return e.isFunction(n)?n:function(){return n}}e="default"in e?e["default"]:e,n="default"in n?n["default"]:n;var s={};s["typeof"]="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};var u=n.Radio,a=n.Radio={};a.VERSION="1.0.4",a.noConflict=function(){return n.Radio=u,this},a.DEBUG=!1,a._debugText=function(e,n,t){return e+(t?" on the "+t+" channel":"")+': "'+n+'"'},a.debugLog=function(e,n,t){a.DEBUG&&console&&console.warn&&console.warn(a._debugText(e,n,t))};var c=/\s+/;a._eventsApi=function(n,t,r,o){if(!r)return!1;var i={};if("object"===("undefined"==typeof r?"undefined":s["typeof"](r))){for(var u in r){var a=n[t].apply(n,[u,r[u]].concat(o));c.test(u)?e.extend(i,a):i[u]=a}return i}if(c.test(r)){for(var l=r.split(c),f=0,h=l.length;h>f;f++)i[l[f]]=n[t].apply(n,[l[f]].concat(o));return i}return!1},a._callHandler=function(e,n,t){var r=t[0],o=t[1],i=t[2];switch(t.length){case 0:return e.call(n);case 1:return e.call(n,r);case 2:return e.call(n,r,o);case 3:return e.call(n,r,o,i);default:return e.apply(n,t)}};var l={};e.extend(a,{log:function(n,t){if("undefined"!=typeof console){var r=e.drop(arguments,2);console.log("["+n+'] "'+t+'"',r)}},tuneIn:function(e){var n=a.channel(e);return n._tunedIn=!0,n.on("all",o(e)),this},tuneOut:function(e){var n=a.channel(e);return n._tunedIn=!1,n.off("all",o(e)),delete l[e],this}}),a.Requests={request:function(n){var t=e.rest(arguments),r=a._eventsApi(this,"request",n,t);if(r)return r;var o=this.channelName,i=this._requests;if(o&&this._tunedIn&&a.log.apply(this,[o,n].concat(t)),i&&(i[n]||i["default"])){var s=i[n]||i["default"];return t=i[n]?t:arguments,a._callHandler(s.callback,s.context,t)}a.debugLog("An unhandled request was fired",n,o)},reply:function(e,n,t){return a._eventsApi(this,"reply",e,[n,t])?this:(this._requests||(this._requests={}),this._requests[e]&&a.debugLog("A request was overwritten",e,this.channelName),this._requests[e]={callback:i(n),context:t||this},this)},replyOnce:function(n,t,r){if(a._eventsApi(this,"replyOnce",n,[t,r]))return this;var o=this,s=e.once(function(){return o.stopReplying(n),i(t).apply(this,arguments)});return this.reply(n,s,r)},stopReplying:function(e,n,t){return a._eventsApi(this,"stopReplying",e)?this:(e||n||t?r(this._requests,e,n,t)||a.debugLog("Attempted to remove the unregistered request",e,this.channelName):delete this._requests,this)}},a._channels={},a.channel=function(e){if(!e)throw new Error("You must provide a name for the channel.");return a._channels[e]?a._channels[e]:a._channels[e]=new a.Channel(e)},a.Channel=function(e){this.channelName=e},e.extend(a.Channel.prototype,n.Events,a.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var f,h,d=[n.Events,a.Requests];return e.each(d,function(n){e.each(n,function(n,t){a[t]=function(n){return h=e.rest(arguments),f=this.channel(n),f[t].apply(f,h)}})}),a.reset=function(n){var t=n?[this._channels[n]]:this._channels;e.invoke(t,"reset")},a});
|
|
;
|
|
/*! elementor - v3.19.0 - 07-02-2024 */
|
|
(()=>{var C={71177:(C,T,B)=>{"use strict";function n(C){for(var T=arguments.length,B=Array(T>1?T-1:0),q=1;q<T;q++)B[q-1]=arguments[q];throw Error("[Immer] minified error nr: "+C+(B.length?" "+B.map((function(C){return"'"+C+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(C){return!!C&&!!C[X]}function t(C){var T;return!!C&&(function(C){if(!C||"object"!=typeof C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;var B=Object.hasOwnProperty.call(T,"constructor")&&T.constructor;return B===Object||"function"==typeof B&&Function.toString.call(B)===Q}(C)||Array.isArray(C)||!!C[K]||!!(null===(T=C.constructor)||void 0===T?void 0:T[K])||s(C)||v(C))}function e(C){return r(C)||n(23,C),C[X].t}function i(C,T,B){void 0===B&&(B=!1),0===o(C)?(B?Object.keys:G)(C).forEach((function(q){B&&"symbol"==typeof q||T(q,C[q],C)})):C.forEach((function(B,q){return T(q,B,C)}))}function o(C){var T=C[X];return T?T.i>3?T.i-4:T.i:Array.isArray(C)?1:s(C)?2:v(C)?3:0}function u(C,T){return 2===o(C)?C.has(T):Object.prototype.hasOwnProperty.call(C,T)}function a(C,T){return 2===o(C)?C.get(T):C[T]}function f(C,T,B){var q=o(C);2===q?C.set(T,B):3===q?C.add(B):C[T]=B}function c(C,T){return C===T?0!==C||1/C==1/T:C!=C&&T!=T}function s(C){return V&&C instanceof Map}function v(C){return $&&C instanceof Set}function p(C){return C.o||C.t}function l(C){if(Array.isArray(C))return Array.prototype.slice.call(C);var T=J(C);delete T[X];for(var B=G(T),q=0;q<B.length;q++){var H=B[q],L=T[H];!1===L.writable&&(L.writable=!0,L.configurable=!0),(L.get||L.set)&&(T[H]={configurable:!0,writable:!0,enumerable:L.enumerable,value:C[H]})}return Object.create(Object.getPrototypeOf(C),T)}function d(C,T){return void 0===T&&(T=!1),y(C)||r(C)||!t(C)||(o(C)>1&&(C.set=C.add=C.clear=C.delete=h),Object.freeze(C),T&&i(C,(function(C,T){return d(T,!0)}),!0)),C}function h(){n(2)}function y(C){return null==C||"object"!=typeof C||Object.isFrozen(C)}function b(C){var T=Z[C];return T||n(18,C),T}function m(C,T){Z[C]||(Z[C]=T)}function _(){return H}function j(C,T){T&&(b("Patches"),C.u=[],C.s=[],C.v=T)}function g(C){O(C),C.p.forEach(S),C.p=null}function O(C){C===H&&(H=C.l)}function w(C){return H={p:[],l:H,h:C,m:!0,_:0}}function S(C){var T=C[X];0===T.i||1===T.i?T.j():T.g=!0}function P(C,T){T._=T.p.length;var B=T.p[0],q=void 0!==C&&C!==B;return T.h.O||b("ES5").S(T,C,q),q?(B[X].P&&(g(T),n(4)),t(C)&&(C=M(T,C),T.l||x(T,C)),T.u&&b("Patches").M(B[X].t,C,T.u,T.s)):C=M(T,B,[]),g(T),T.u&&T.v(T.u,T.s),C!==W?C:void 0}function M(C,T,B){if(y(T))return T;var q=T[X];if(!q)return i(T,(function(H,L){return A(C,q,T,H,L,B)}),!0),T;if(q.A!==C)return T;if(!q.P)return x(C,q.t,!0),q.t;if(!q.I){q.I=!0,q.A._--;var H=4===q.i||5===q.i?q.o=l(q.k):q.o,L=H,V=!1;3===q.i&&(L=new Set(H),H.clear(),V=!0),i(L,(function(T,L){return A(C,q,H,T,L,B,V)})),x(C,H,!1),B&&C.u&&b("Patches").N(q,B,C.u,C.s)}return q.o}function A(C,T,B,q,H,L,V){if(r(H)){var $=M(C,H,L&&T&&3!==T.i&&!u(T.R,q)?L.concat(q):void 0);if(f(B,q,$),!r($))return;C.m=!1}else V&&B.add(H);if(t(H)&&!y(H)){if(!C.h.D&&C._<1)return;M(C,H),T&&T.A.l||x(C,H)}}function x(C,T,B){void 0===B&&(B=!1),!C.l&&C.h.D&&C.m&&d(T,B)}function z(C,T){var B=C[X];return(B?p(B):C)[T]}function I(C,T){if(T in C)for(var B=Object.getPrototypeOf(C);B;){var q=Object.getOwnPropertyDescriptor(B,T);if(q)return q;B=Object.getPrototypeOf(B)}}function k(C){C.P||(C.P=!0,C.l&&k(C.l))}function E(C){C.o||(C.o=l(C.t))}function N(C,T,B){var q=s(T)?b("MapSet").F(T,B):v(T)?b("MapSet").T(T,B):C.O?function(C,T){var B=Array.isArray(C),q={i:B?1:0,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:null,o:null,j:null,C:!1},H=q,L=Y;B&&(H=[q],L=ee);var V=Proxy.revocable(H,L),$=V.revoke,U=V.proxy;return q.k=U,q.j=$,U}(T,B):b("ES5").J(T,B);return(B?B.A:_()).p.push(q),q}function R(C){return r(C)||n(22,C),function n(C){if(!t(C))return C;var T,B=C[X],q=o(C);if(B){if(!B.P&&(B.i<4||!b("ES5").K(B)))return B.t;B.I=!0,T=D(C,q),B.I=!1}else T=D(C,q);return i(T,(function(C,q){B&&a(B.t,C)===q||f(T,C,n(q))})),3===q?new Set(T):T}(C)}function D(C,T){switch(T){case 2:return new Map(C);case 3:return Array.from(C)}return l(C)}function F(){function t(T,B){var q=C[T];return q?q.enumerable=B:C[T]=q={configurable:!0,enumerable:B,get:function(){var C=this[X];return Y.get(C,T)},set:function(C){var B=this[X];Y.set(B,T,C)}},q}function e(C){for(var T=C.length-1;T>=0;T--){var B=C[T][X];if(!B.P)switch(B.i){case 5:a(B)&&k(B);break;case 4:o(B)&&k(B)}}}function o(C){for(var T=C.t,B=C.k,q=G(B),H=q.length-1;H>=0;H--){var L=q[H];if(L!==X){var V=T[L];if(void 0===V&&!u(T,L))return!0;var $=B[L],U=$&&$[X];if(U?U.t!==V:!c($,V))return!0}}var W=!!T[X];return q.length!==G(T).length+(W?0:1)}function a(C){var T=C.k;if(T.length!==C.t.length)return!0;var B=Object.getOwnPropertyDescriptor(T,T.length-1);if(B&&!B.get)return!0;for(var q=0;q<T.length;q++)if(!T.hasOwnProperty(q))return!0;return!1}var C={};m("ES5",{J:function(C,T){var B=Array.isArray(C),q=function(C,T){if(C){for(var B=Array(T.length),q=0;q<T.length;q++)Object.defineProperty(B,""+q,t(q,!0));return B}var H=J(T);delete H[X];for(var L=G(H),V=0;V<L.length;V++){var $=L[V];H[$]=t($,C||!!H[$].enumerable)}return Object.create(Object.getPrototypeOf(T),H)}(B,C),H={i:B?5:4,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:q,o:null,g:!1,C:!1};return Object.defineProperty(q,X,{value:H,writable:!0}),q},S:function(C,T,B){B?r(T)&&T[X].A===C&&e(C.p):(C.u&&function n(C){if(C&&"object"==typeof C){var T=C[X];if(T){var B=T.t,q=T.k,H=T.R,L=T.i;if(4===L)i(q,(function(C){C!==X&&(void 0!==B[C]||u(B,C)?H[C]||n(q[C]):(H[C]=!0,k(T)))})),i(B,(function(C){void 0!==q[C]||u(q,C)||(H[C]=!1,k(T))}));else if(5===L){if(a(T)&&(k(T),H.length=!0),q.length<B.length)for(var V=q.length;V<B.length;V++)H[V]=!1;else for(var $=B.length;$<q.length;$++)H[$]=!0;for(var U=Math.min(q.length,B.length),W=0;W<U;W++)q.hasOwnProperty(W)||(H[W]=!0),void 0===H[W]&&n(q[W])}}}}(C.p[0]),e(C.p))},K:function(C){return 4===C.i?o(C):a(C)}})}B.r(T),B.d(T,{EnhancerArray:()=>Se,MiddlewareArray:()=>ke,SHOULD_AUTOBATCH:()=>Ue,TaskAbortError:()=>De,__DO_NOT_USE__ActionTypes:()=>ue,addListener:()=>ze,applyMiddleware:()=>applyMiddleware,autoBatchEnhancer:()=>autoBatchEnhancer,bindActionCreators:()=>bindActionCreators,clearAllListeners:()=>Le,combineReducers:()=>combineReducers,compose:()=>compose,configureStore:()=>configureStore,createAction:()=>createAction,createActionCreatorInvariantMiddleware:()=>createActionCreatorInvariantMiddleware,createAsyncThunk:()=>Pe,createDraftSafeSelector:()=>createDraftSafeSelector,createEntityAdapter:()=>createEntityAdapter,createImmutableStateInvariantMiddleware:()=>createImmutableStateInvariantMiddleware,createListenerMiddleware:()=>createListenerMiddleware,createNextState:()=>oe,createReducer:()=>createReducer,createSelector:()=>fe,createSerializableStateInvariantMiddleware:()=>createSerializableStateInvariantMiddleware,createSlice:()=>createSlice,createStore:()=>createStore,current:()=>R,findNonSerializableValue:()=>findNonSerializableValue,freeze:()=>d,getDefaultMiddleware:()=>getDefaultMiddleware,getType:()=>getType,isAction:()=>isAction,isActionCreator:()=>isActionCreator,isAllOf:()=>isAllOf,isAnyOf:()=>isAnyOf,isAsyncThunkAction:()=>isAsyncThunkAction,isDraft:()=>r,isFluxStandardAction:()=>isFSA,isFulfilled:()=>isFulfilled,isImmutableDefault:()=>isImmutableDefault,isPending:()=>isPending,isPlain:()=>isPlain,isPlainObject:()=>redux_toolkit_esm_isPlainObject,isRejected:()=>isRejected,isRejectedWithValue:()=>isRejectedWithValue,legacy_createStore:()=>ce,miniSerializeError:()=>miniSerializeError,nanoid:()=>nanoid,original:()=>e,prepareAutoBatched:()=>prepareAutoBatched,removeListener:()=>Ve,unwrapResult:()=>unwrapResult});var q,H,L="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,$="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,W=L?Symbol.for("immer-nothing"):((q={})["immer-nothing"]=!0,q),K=L?Symbol.for("immer-draftable"):"__$immer_draftable",X=L?Symbol.for("immer-state"):"__$immer_state",Q=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(C){var T={};return G(C).forEach((function(B){T[B]=Object.getOwnPropertyDescriptor(C,B)})),T},Z={},Y={get:function(C,T){if(T===X)return C;var B=p(C);if(!u(B,T))return function(C,T,B){var q,H=I(T,B);return H?"value"in H?H.value:null===(q=H.get)||void 0===q?void 0:q.call(C.k):void 0}(C,B,T);var q=B[T];return C.I||!t(q)?q:q===z(C.t,T)?(E(C),C.o[T]=N(C.A.h,q,C)):q},has:function(C,T){return T in p(C)},ownKeys:function(C){return Reflect.ownKeys(p(C))},set:function(C,T,B){var q=I(p(C),T);if(null==q?void 0:q.set)return q.set.call(C.k,B),!0;if(!C.P){var H=z(p(C),T),L=null==H?void 0:H[X];if(L&&L.t===B)return C.o[T]=B,C.R[T]=!1,!0;if(c(B,H)&&(void 0!==B||u(C.t,T)))return!0;E(C),k(C)}return C.o[T]===B&&(void 0!==B||T in C.o)||Number.isNaN(B)&&Number.isNaN(C.o[T])||(C.o[T]=B,C.R[T]=!0),!0},deleteProperty:function(C,T){return void 0!==z(C.t,T)||T in C.t?(C.R[T]=!1,E(C),k(C)):delete C.R[T],C.o&&delete C.o[T],!0},getOwnPropertyDescriptor:function(C,T){var B=p(C),q=Reflect.getOwnPropertyDescriptor(B,T);return q?{writable:!0,configurable:1!==C.i||"length"!==T,enumerable:q.enumerable,value:B[T]}:q},defineProperty:function(){n(11)},getPrototypeOf:function(C){return Object.getPrototypeOf(C.t)},setPrototypeOf:function(){n(12)}},ee={};i(Y,(function(C,T){ee[C]=function(){return arguments[0]=arguments[0][0],T.apply(this,arguments)}})),ee.deleteProperty=function(C,T){return ee.set.call(this,C,T,void 0)},ee.set=function(C,T,B){return Y.set.call(this,C[0],T,B,C[0])};var te=function(){function e(C){var T=this;this.O=U,this.D=!0,this.produce=function(C,B,q){if("function"==typeof C&&"function"!=typeof B){var H=B;B=C;var L=T;return function(C){var T=this;void 0===C&&(C=H);for(var q=arguments.length,V=Array(q>1?q-1:0),$=1;$<q;$++)V[$-1]=arguments[$];return L.produce(C,(function(C){var q;return(q=B).call.apply(q,[T,C].concat(V))}))}}var V;if("function"!=typeof B&&n(6),void 0!==q&&"function"!=typeof q&&n(7),t(C)){var $=w(T),U=N(T,C,void 0),K=!0;try{V=B(U),K=!1}finally{K?g($):O($)}return"undefined"!=typeof Promise&&V instanceof Promise?V.then((function(C){return j($,q),P(C,$)}),(function(C){throw g($),C})):(j($,q),P(V,$))}if(!C||"object"!=typeof C){if(void 0===(V=B(C))&&(V=C),V===W&&(V=void 0),T.D&&d(V,!0),q){var X=[],Q=[];b("Patches").M(C,V,X,Q),q(X,Q)}return V}n(21,C)},this.produceWithPatches=function(C,B){if("function"==typeof C)return function(B){for(var q=arguments.length,H=Array(q>1?q-1:0),L=1;L<q;L++)H[L-1]=arguments[L];return T.produceWithPatches(B,(function(T){return C.apply(void 0,[T].concat(H))}))};var q,H,L=T.produce(C,B,(function(C,T){q=C,H=T}));return"undefined"!=typeof Promise&&L instanceof Promise?L.then((function(C){return[C,q,H]})):[L,q,H]},"boolean"==typeof(null==C?void 0:C.useProxies)&&this.setUseProxies(C.useProxies),"boolean"==typeof(null==C?void 0:C.autoFreeze)&&this.setAutoFreeze(C.autoFreeze)}var C=e.prototype;return C.createDraft=function(C){t(C)||n(8),r(C)&&(C=R(C));var T=w(this),B=N(this,C,void 0);return B[X].C=!0,O(T),B},C.finishDraft=function(C,T){var B=(C&&C[X]).A;return j(B,T),P(void 0,B)},C.setAutoFreeze=function(C){this.D=C},C.setUseProxies=function(C){C&&!U&&n(20),this.O=C},C.applyPatches=function(C,T){var B;for(B=T.length-1;B>=0;B--){var q=T[B];if(0===q.path.length&&"replace"===q.op){C=q.value;break}}B>-1&&(T=T.slice(B+1));var H=b("Patches").$;return r(C)?H(C,T):this.produce(C,(function(C){return H(C,T)}))},e}(),re=new te,ne=re.produce;re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re);const oe=ne;function _typeof(C){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},_typeof(C)}function _toPropertyKey(C){var T=function _toPrimitive(C,T){if("object"!==_typeof(C)||null===C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var q=B.call(C,T||"default");if("object"!==_typeof(q))return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)}(C,"string");return"symbol"===_typeof(T)?T:String(T)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread2(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){var q,H,L;q=C,H=T,L=B[T],(H=_toPropertyKey(H))in q?Object.defineProperty(q,H,{value:L,enumerable:!0,configurable:!0,writable:!0}):q[H]=L})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function formatProdErrorMessage(C){return"Minified Redux error #"+C+"; visit https://redux.js.org/Errors?code="+C+" for the full message or use the non-minified dev environment for full errors. "}var ae="function"==typeof Symbol&&Symbol.observable||"@@observable",ie=function randomString(){return Math.random().toString(36).substring(7).split("").join(".")},ue={INIT:"@@redux/INIT"+ie(),REPLACE:"@@redux/REPLACE"+ie(),PROBE_UNKNOWN_ACTION:function PROBE_UNKNOWN_ACTION(){return"@@redux/PROBE_UNKNOWN_ACTION"+ie()}};function isPlainObject(C){if("object"!=typeof C||null===C)return!1;for(var T=C;null!==Object.getPrototypeOf(T);)T=Object.getPrototypeOf(T);return Object.getPrototypeOf(C)===T}function createStore(C,T,B){var q;if("function"==typeof T&&"function"==typeof B||"function"==typeof B&&"function"==typeof arguments[3])throw new Error(formatProdErrorMessage(0));if("function"==typeof T&&void 0===B&&(B=T,T=void 0),void 0!==B){if("function"!=typeof B)throw new Error(formatProdErrorMessage(1));return B(createStore)(C,T)}if("function"!=typeof C)throw new Error(formatProdErrorMessage(2));var H=C,L=T,V=[],$=V,U=!1;function ensureCanMutateNextListeners(){$===V&&($=V.slice())}function getState(){if(U)throw new Error(formatProdErrorMessage(3));return L}function subscribe(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(4));if(U)throw new Error(formatProdErrorMessage(5));var T=!0;return ensureCanMutateNextListeners(),$.push(C),function unsubscribe(){if(T){if(U)throw new Error(formatProdErrorMessage(6));T=!1,ensureCanMutateNextListeners();var B=$.indexOf(C);$.splice(B,1),V=null}}}function dispatch(C){if(!isPlainObject(C))throw new Error(formatProdErrorMessage(7));if(void 0===C.type)throw new Error(formatProdErrorMessage(8));if(U)throw new Error(formatProdErrorMessage(9));try{U=!0,L=H(L,C)}finally{U=!1}for(var T=V=$,B=0;B<T.length;B++){(0,T[B])()}return C}return dispatch({type:ue.INIT}),(q={dispatch,subscribe,getState,replaceReducer:function replaceReducer(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(10));H=C,dispatch({type:ue.REPLACE})}})[ae]=function observable(){var C,T=subscribe;return(C={subscribe:function subscribe(C){if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(11));function observeState(){C.next&&C.next(getState())}return observeState(),{unsubscribe:T(observeState)}}})[ae]=function(){return this},C},q}var ce=createStore;function combineReducers(C){for(var T=Object.keys(C),B={},q=0;q<T.length;q++){var H=T[q];0,"function"==typeof C[H]&&(B[H]=C[H])}var L,V=Object.keys(B);try{!function assertReducerShape(C){Object.keys(C).forEach((function(T){var B=C[T];if(void 0===B(void 0,{type:ue.INIT}))throw new Error(formatProdErrorMessage(12));if(void 0===B(void 0,{type:ue.PROBE_UNKNOWN_ACTION()}))throw new Error(formatProdErrorMessage(13))}))}(B)}catch(C){L=C}return function combination(C,T){if(void 0===C&&(C={}),L)throw L;for(var q=!1,H={},$=0;$<V.length;$++){var U=V[$],W=B[U],K=C[U],X=W(K,T);if(void 0===X){T&&T.type;throw new Error(formatProdErrorMessage(14))}H[U]=X,q=q||X!==K}return(q=q||V.length!==Object.keys(C).length)?H:C}}function bindActionCreator(C,T){return function(){return T(C.apply(this,arguments))}}function bindActionCreators(C,T){if("function"==typeof C)return bindActionCreator(C,T);if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(16));var B={};for(var q in C){var H=C[q];"function"==typeof H&&(B[q]=bindActionCreator(H,T))}return B}function compose(){for(var C=arguments.length,T=new Array(C),B=0;B<C;B++)T[B]=arguments[B];return 0===T.length?function(C){return C}:1===T.length?T[0]:T.reduce((function(C,T){return function(){return C(T.apply(void 0,arguments))}}))}function applyMiddleware(){for(var C=arguments.length,T=new Array(C),B=0;B<C;B++)T[B]=arguments[B];return function(C){return function(){var B=C.apply(void 0,arguments),q=function dispatch(){throw new Error(formatProdErrorMessage(15))},H={getState:B.getState,dispatch:function dispatch(){return q.apply(void 0,arguments)}},L=T.map((function(C){return C(H)}));return q=compose.apply(void 0,L)(B.dispatch),_objectSpread2(_objectSpread2({},B),{},{dispatch:q})}}}var le="NOT_FOUND";var se=function defaultEqualityCheck(C,T){return C===T};function defaultMemoize(C,T){var B="object"==typeof T?T:{equalityCheck:T},q=B.equalityCheck,H=void 0===q?se:q,L=B.maxSize,V=void 0===L?1:L,$=B.resultEqualityCheck,U=function createCacheKeyComparator(C){return function areArgumentsShallowlyEqual(T,B){if(null===T||null===B||T.length!==B.length)return!1;for(var q=T.length,H=0;H<q;H++)if(!C(T[H],B[H]))return!1;return!0}}(H),W=1===V?function createSingletonCache(C){var T;return{get:function get(B){return T&&C(T.key,B)?T.value:le},put:function put(C,B){T={key:C,value:B}},getEntries:function getEntries(){return T?[T]:[]},clear:function clear(){T=void 0}}}(U):function createLruCache(C,T){var B=[];function get(C){var q=B.findIndex((function(B){return T(C,B.key)}));if(q>-1){var H=B[q];return q>0&&(B.splice(q,1),B.unshift(H)),H.value}return le}return{get,put:function put(T,q){get(T)===le&&(B.unshift({key:T,value:q}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(V,U);function memoized(){var T=W.get(arguments);if(T===le){if(T=C.apply(null,arguments),$){var B=W.getEntries().find((function(C){return $(C.value,T)}));B&&(T=B.value)}W.put(arguments,T)}return T}return memoized.clearCache=function(){return W.clear()},memoized}function createSelectorCreator(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),q=1;q<T;q++)B[q-1]=arguments[q];return function createSelector(){for(var T=arguments.length,q=new Array(T),H=0;H<T;H++)q[H]=arguments[H];var L,V=0,$={memoizeOptions:void 0},U=q.pop();if("object"==typeof U&&($=U,U=q.pop()),"function"!=typeof U)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof U+"]");var W=$.memoizeOptions,K=void 0===W?B:W,X=Array.isArray(K)?K:[K],Q=function getDependencies(C){var T=Array.isArray(C[0])?C[0]:C;if(!T.every((function(C){return"function"==typeof C}))){var B=T.map((function(C){return"function"==typeof C?"function "+(C.name||"unnamed")+"()":typeof C})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+B+"]")}return T}(q),G=C.apply(void 0,[function recomputationWrapper(){return V++,U.apply(null,arguments)}].concat(X)),J=C((function dependenciesChecker(){for(var C=[],T=Q.length,B=0;B<T;B++)C.push(Q[B].apply(null,arguments));return L=G.apply(null,C)}));return Object.assign(J,{resultFunc:U,memoizedResultFunc:G,dependencies:Q,lastResult:function lastResult(){return L},recomputations:function recomputations(){return V},resetRecomputations:function resetRecomputations(){return V=0}}),J}}var fe=createSelectorCreator(defaultMemoize);function createThunkMiddleware(C){return function middleware(T){var B=T.dispatch,q=T.getState;return function(T){return function(H){return"function"==typeof H?H(B,q,C):T(H)}}}}var de=createThunkMiddleware();de.withExtraArgument=createThunkMiddleware;const pe=de;var ye,ve=(ye=function(C,T){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var B in T)Object.prototype.hasOwnProperty.call(T,B)&&(C[B]=T[B])},ye(C,T)},function(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function __(){this.constructor=C}ye(C,T),C.prototype=null===T?Object.create(T):(__.prototype=T.prototype,new __)}),__generator=function(C,T){var B,q,H,L,V={label:0,sent:function(){if(1&H[0])throw H[1];return H[1]},trys:[],ops:[]};return L={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(L[Symbol.iterator]=function(){return this}),L;function verb(L){return function($){return function step(L){if(B)throw new TypeError("Generator is already executing.");for(;V;)try{if(B=1,q&&(H=2&L[0]?q.return:L[0]?q.throw||((H=q.return)&&H.call(q),0):q.next)&&!(H=H.call(q,L[1])).done)return H;switch(q=0,H&&(L=[2&L[0],H.value]),L[0]){case 0:case 1:H=L;break;case 4:return V.label++,{value:L[1],done:!1};case 5:V.label++,q=L[1],L=[0];continue;case 7:L=V.ops.pop(),V.trys.pop();continue;default:if(!(H=V.trys,(H=H.length>0&&H[H.length-1])||6!==L[0]&&2!==L[0])){V=0;continue}if(3===L[0]&&(!H||L[1]>H[0]&&L[1]<H[3])){V.label=L[1];break}if(6===L[0]&&V.label<H[1]){V.label=H[1],H=L;break}if(H&&V.label<H[2]){V.label=H[2],V.ops.push(L);break}H[2]&&V.ops.pop(),V.trys.pop();continue}L=T.call(C,V)}catch(C){L=[6,C],q=0}finally{B=H=0}if(5&L[0])throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}([L,$])}}},__spreadArray=function(C,T){for(var B=0,q=T.length,H=C.length;B<q;B++,H++)C[H]=T[B];return C},he=Object.defineProperty,ge=Object.defineProperties,me=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,__defNormalProp=function(C,T,B){return T in C?he(C,T,{enumerable:!0,configurable:!0,writable:!0,value:B}):C[T]=B},__spreadValues=function(C,T){for(var B in T||(T={}))_e.call(T,B)&&__defNormalProp(C,B,T[B]);if(be)for(var q=0,H=be(T);q<H.length;q++){B=H[q];Oe.call(T,B)&&__defNormalProp(C,B,T[B])}return C},__spreadProps=function(C,T){return ge(C,me(T))},__async=function(C,T,B){return new Promise((function(q,H){var fulfilled=function(C){try{step(B.next(C))}catch(C){H(C)}},rejected=function(C){try{step(B.throw(C))}catch(C){H(C)}},step=function(C){return C.done?q(C.value):Promise.resolve(C.value).then(fulfilled,rejected)};step((B=B.apply(C,T)).next())}))},createDraftSafeSelector=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var B=fe.apply(void 0,C);return function(C){for(var T=[],q=1;q<arguments.length;q++)T[q-1]=arguments[q];return B.apply(void 0,__spreadArray([r(C)?R(C):C],T))}},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?compose:compose.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function redux_toolkit_esm_isPlainObject(C){if("object"!=typeof C||null===C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;for(var B=T;null!==Object.getPrototypeOf(B);)B=Object.getPrototypeOf(B);return T===B}var hasMatchFunction=function(C){return C&&"function"==typeof C.match};function createAction(C,T){function actionCreator(){for(var B=[],q=0;q<arguments.length;q++)B[q]=arguments[q];if(T){var H=T.apply(void 0,B);if(!H)throw new Error("prepareAction did not return an object");return __spreadValues(__spreadValues({type:C,payload:H.payload},"meta"in H&&{meta:H.meta}),"error"in H&&{error:H.error})}return{type:C,payload:B[0]}}return actionCreator.toString=function(){return""+C},actionCreator.type=C,actionCreator.match=function(T){return T.type===C},actionCreator}function isAction(C){return redux_toolkit_esm_isPlainObject(C)&&"type"in C}function isActionCreator(C){return"function"==typeof C&&"type"in C&&hasMatchFunction(C)}function isFSA(C){return isAction(C)&&"string"==typeof C.type&&Object.keys(C).every(isValidKey)}function isValidKey(C){return["type","payload","error","meta"].indexOf(C)>-1}function getType(C){return""+C}function createActionCreatorInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}var ke=function(C){function MiddlewareArray(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];var q=C.apply(this,T)||this;return Object.setPrototypeOf(q,MiddlewareArray.prototype),q}return ve(MiddlewareArray,C),Object.defineProperty(MiddlewareArray,Symbol.species,{get:function(){return MiddlewareArray},enumerable:!1,configurable:!0}),MiddlewareArray.prototype.concat=function(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];return C.prototype.concat.apply(this,T)},MiddlewareArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C[0].concat(this)))):new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C.concat(this))))},MiddlewareArray}(Array),Se=function(C){function EnhancerArray(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];var q=C.apply(this,T)||this;return Object.setPrototypeOf(q,EnhancerArray.prototype),q}return ve(EnhancerArray,C),Object.defineProperty(EnhancerArray,Symbol.species,{get:function(){return EnhancerArray},enumerable:!1,configurable:!0}),EnhancerArray.prototype.concat=function(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];return C.prototype.concat.apply(this,T)},EnhancerArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C[0].concat(this)))):new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C.concat(this))))},EnhancerArray}(Array);function freezeDraftable(C){return t(C)?oe(C,(function(){})):C}function isImmutableDefault(C){return"object"!=typeof C||null==C||Object.isFrozen(C)}function createImmutableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function isPlain(C){var T=typeof C;return null==C||"string"===T||"boolean"===T||"number"===T||Array.isArray(C)||redux_toolkit_esm_isPlainObject(C)}function findNonSerializableValue(C,T,B,q,H,L){var V;if(void 0===T&&(T=""),void 0===B&&(B=isPlain),void 0===H&&(H=[]),!B(C))return{keyPath:T||"<root>",value:C};if("object"!=typeof C||null===C)return!1;if(null==L?void 0:L.has(C))return!1;for(var $=null!=q?q(C):Object.entries(C),U=H.length>0,_loop_2=function(C,$){var W=T?T+"."+C:C;if(U&&H.some((function(C){return C instanceof RegExp?C.test(W):W===C})))return"continue";return B($)?"object"==typeof $&&(V=findNonSerializableValue($,W,B,q,H,L))?{value:V}:void 0:{value:{keyPath:W,value:$}}},W=0,K=$;W<K.length;W++){var X=K[W],Q=_loop_2(X[0],X[1]);if("object"==typeof Q)return Q.value}return L&&isNestedFrozen(C)&&L.add(C),!1}function isNestedFrozen(C){if(!Object.isFrozen(C))return!1;for(var T=0,B=Object.values(C);T<B.length;T++){var q=B[T];if("object"==typeof q&&null!==q&&!isNestedFrozen(q))return!1}return!0}function createSerializableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function getDefaultMiddleware(C){void 0===C&&(C={});var T=C.thunk,B=void 0===T||T,q=(C.immutableCheck,C.serializableCheck,C.actionCreatorCheck,new ke);return B&&(!function isBoolean(C){return"boolean"==typeof C}(B)?q.push(pe.withExtraArgument(B.extraArgument)):q.push(pe)),q}var Me=!0;function configureStore(C){var T,B=function curryGetDefaultMiddleware(){return function curriedGetDefaultMiddleware(C){return getDefaultMiddleware(C)}}(),q=C||{},H=q.reducer,L=void 0===H?void 0:H,V=q.middleware,$=void 0===V?B():V,U=q.devTools,W=void 0===U||U,K=q.preloadedState,X=void 0===K?void 0:K,Q=q.enhancers,G=void 0===Q?void 0:Q;if("function"==typeof L)T=L;else{if(!redux_toolkit_esm_isPlainObject(L))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');T=combineReducers(L)}var J=$;if("function"==typeof J&&(J=J(B),!Me&&!Array.isArray(J)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Me&&J.some((function(C){return"function"!=typeof C})))throw new Error("each middleware provided to configureStore must be a function");var Z=applyMiddleware.apply(void 0,J),Y=compose;W&&(Y=we(__spreadValues({trace:!Me},"object"==typeof W&&W)));var ee=new Se(Z),te=ee;return Array.isArray(G)?te=__spreadArray([Z],G):"function"==typeof G&&(te=G(ee)),createStore(T,X,Y.apply(void 0,te))}function executeReducerBuilderCallback(C){var T,B={},q=[],H={addCase:function(C,T){var q="string"==typeof C?C:C.type;if(!q)throw new Error("`builder.addCase` cannot be called with an empty action type");if(q in B)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return B[q]=T,H},addMatcher:function(C,T){return q.push({matcher:C,reducer:T}),H},addDefaultCase:function(C){return T=C,H}};return C(H),[B,q,T]}function createReducer(C,T,B,q){void 0===B&&(B=[]);var H,L="function"==typeof T?executeReducerBuilderCallback(T):[T,B,q],V=L[0],$=L[1],U=L[2];if(function isStateFunction(C){return"function"==typeof C}(C))H=function(){return freezeDraftable(C())};else{var W=freezeDraftable(C);H=function(){return W}}function reducer(C,T){void 0===C&&(C=H());var B=__spreadArray([V[T.type]],$.filter((function(C){return(0,C.matcher)(T)})).map((function(C){return C.reducer})));return 0===B.filter((function(C){return!!C})).length&&(B=[U]),B.reduce((function(C,B){if(B){var q;if(r(C))return void 0===(q=B(C,T))?C:q;if(t(C))return oe(C,(function(C){return B(C,T)}));if(void 0===(q=B(C,T))){if(null===C)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return q}return C}),C)}return reducer.getInitialState=H,reducer}function createSlice(C){var T=C.name;if(!T)throw new Error("`name` is a required option for createSlice");var B,q="function"==typeof C.initialState?C.initialState:freezeDraftable(C.initialState),H=C.reducers||{},L=Object.keys(H),V={},$={},U={};function buildReducer(){var T="function"==typeof C.extraReducers?executeReducerBuilderCallback(C.extraReducers):[C.extraReducers],B=T[0],H=void 0===B?{}:B,L=T[1],V=void 0===L?[]:L,U=T[2],W=void 0===U?void 0:U,K=__spreadValues(__spreadValues({},H),$);return createReducer(q,(function(C){for(var T in K)C.addCase(T,K[T]);for(var B=0,q=V;B<q.length;B++){var H=q[B];C.addMatcher(H.matcher,H.reducer)}W&&C.addDefaultCase(W)}))}return L.forEach((function(C){var B,q,L=H[C],W=function getType2(C,T){return C+"/"+T}(T,C);"reducer"in L?(B=L.reducer,q=L.prepare):B=L,V[C]=B,$[W]=B,U[C]=q?createAction(W,q):createAction(W)})),{name:T,reducer:function(C,T){return B||(B=buildReducer()),B(C,T)},actions:U,caseReducers:V,getInitialState:function(){return B||(B=buildReducer()),B.getInitialState()}}}function createStateOperator(C){return function operation(T,B){var runMutator=function(T){!function isPayloadActionArgument(C){return isFSA(C)}(B)?C(B,T):C(B.payload,T)};return r(T)?(runMutator(T),T):oe(T,runMutator)}}function selectIdValue(C,T){return T(C)}function ensureEntitiesArray(C){return Array.isArray(C)||(C=Object.values(C)),C}function splitAddedUpdatedEntities(C,T,B){for(var q=[],H=[],L=0,V=C=ensureEntitiesArray(C);L<V.length;L++){var $=V[L],U=selectIdValue($,T);U in B.entities?H.push({id:U,changes:$}):q.push($)}return[q,H]}function createUnsortedStateAdapter(C){function addOneMutably(T,B){var q=selectIdValue(T,C);q in B.entities||(B.ids.push(q),B.entities[q]=T)}function addManyMutably(C,T){for(var B=0,q=C=ensureEntitiesArray(C);B<q.length;B++){addOneMutably(q[B],T)}}function setOneMutably(T,B){var q=selectIdValue(T,C);q in B.entities||B.ids.push(q),B.entities[q]=T}function removeManyMutably(C,T){var B=!1;C.forEach((function(C){C in T.entities&&(delete T.entities[C],B=!0)})),B&&(T.ids=T.ids.filter((function(C){return C in T.entities})))}function updateManyMutably(T,B){var q={},H={};if(T.forEach((function(C){C.id in B.entities&&(H[C.id]={id:C.id,changes:__spreadValues(__spreadValues({},H[C.id]?H[C.id].changes:null),C.changes)})})),(T=Object.values(H)).length>0){var L=T.filter((function(T){return function takeNewKey(T,B,q){var H=q.entities[B.id],L=Object.assign({},H,B.changes),V=selectIdValue(L,C),$=V!==B.id;return $&&(T[B.id]=V,delete q.entities[B.id]),q.entities[V]=L,$}(q,T,B)})).length>0;L&&(B.ids=Object.keys(B.entities))}}function upsertManyMutably(T,B){var q=splitAddedUpdatedEntities(T,C,B),H=q[0];updateManyMutably(q[1],B),addManyMutably(H,B)}return{removeAll:(T=function removeAllMutably(C){Object.assign(C,{ids:[],entities:{}})},B=createStateOperator((function(C,B){return T(B)})),function operation(C){return B(C,void 0)}),addOne:createStateOperator(addOneMutably),addMany:createStateOperator(addManyMutably),setOne:createStateOperator(setOneMutably),setMany:createStateOperator((function setManyMutably(C,T){for(var B=0,q=C=ensureEntitiesArray(C);B<q.length;B++){setOneMutably(q[B],T)}})),setAll:createStateOperator((function setAllMutably(C,T){C=ensureEntitiesArray(C),T.ids=[],T.entities={},addManyMutably(C,T)})),updateOne:createStateOperator((function updateOneMutably(C,T){return updateManyMutably([C],T)})),updateMany:createStateOperator(updateManyMutably),upsertOne:createStateOperator((function upsertOneMutably(C,T){return upsertManyMutably([C],T)})),upsertMany:createStateOperator(upsertManyMutably),removeOne:createStateOperator((function removeOneMutably(C,T){return removeManyMutably([C],T)})),removeMany:createStateOperator(removeManyMutably)};var T,B}function createEntityAdapter(C){void 0===C&&(C={});var T=__spreadValues({sortComparer:!1,selectId:function(C){return C.id}},C),B=T.selectId,q=T.sortComparer,H=function createInitialStateFactory(){return{getInitialState:function getInitialState(C){return void 0===C&&(C={}),Object.assign({ids:[],entities:{}},C)}}}(),L=function createSelectorsFactory(){return{getSelectors:function getSelectors(C){var selectIds=function(C){return C.ids},selectEntities=function(C){return C.entities},T=createDraftSafeSelector(selectIds,selectEntities,(function(C,T){return C.map((function(C){return T[C]}))})),selectId=function(C,T){return T},selectById=function(C,T){return C[T]},B=createDraftSafeSelector(selectIds,(function(C){return C.length}));if(!C)return{selectIds,selectEntities,selectAll:T,selectTotal:B,selectById:createDraftSafeSelector(selectEntities,selectId,selectById)};var q=createDraftSafeSelector(C,selectEntities);return{selectIds:createDraftSafeSelector(C,selectIds),selectEntities:q,selectAll:createDraftSafeSelector(C,T),selectTotal:createDraftSafeSelector(C,B),selectById:createDraftSafeSelector(q,selectId,selectById)}}}}(),V=q?function createSortedStateAdapter(C,T){var B=createUnsortedStateAdapter(C);function addManyMutably(T,B){var q=(T=ensureEntitiesArray(T)).filter((function(T){return!(selectIdValue(T,C)in B.entities)}));0!==q.length&&merge(q,B)}function setManyMutably(C,T){0!==(C=ensureEntitiesArray(C)).length&&merge(C,T)}function updateManyMutably(T,B){for(var q=!1,H=0,L=T;H<L.length;H++){var V=L[H],$=B.entities[V.id];if($){q=!0,Object.assign($,V.changes);var U=C($);V.id!==U&&(delete B.entities[V.id],B.entities[U]=$)}}q&&resortEntities(B)}function upsertManyMutably(T,B){var q=splitAddedUpdatedEntities(T,C,B),H=q[0];updateManyMutably(q[1],B),addManyMutably(H,B)}function merge(T,B){T.forEach((function(T){B.entities[C(T)]=T})),resortEntities(B)}function resortEntities(B){var q=Object.values(B.entities);q.sort(T);var H=q.map(C);(function areArraysEqual(C,T){if(C.length!==T.length)return!1;for(var B=0;B<C.length&&B<T.length;B++)if(C[B]!==T[B])return!1;return!0})(B.ids,H)||(B.ids=H)}return{removeOne:B.removeOne,removeMany:B.removeMany,removeAll:B.removeAll,addOne:createStateOperator((function addOneMutably(C,T){return addManyMutably([C],T)})),updateOne:createStateOperator((function updateOneMutably(C,T){return updateManyMutably([C],T)})),upsertOne:createStateOperator((function upsertOneMutably(C,T){return upsertManyMutably([C],T)})),setOne:createStateOperator((function setOneMutably(C,T){return setManyMutably([C],T)})),setMany:createStateOperator(setManyMutably),setAll:createStateOperator((function setAllMutably(C,T){C=ensureEntitiesArray(C),T.entities={},T.ids=[],addManyMutably(C,T)})),addMany:createStateOperator(addManyMutably),updateMany:createStateOperator(updateManyMutably),upsertMany:createStateOperator(upsertManyMutably)}}(B,q):createUnsortedStateAdapter(B);return __spreadValues(__spreadValues(__spreadValues({selectId:B,sortComparer:q},H),L),V)}var nanoid=function(C){void 0===C&&(C=21);for(var T="",B=C;B--;)T+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return T},Ae=["name","message","stack","code"],Ce=function Ce(C,T){this.payload=C,this.meta=T},je=function je(C,T){this.payload=C,this.meta=T},miniSerializeError=function(C){if("object"==typeof C&&null!==C){for(var T={},B=0,q=Ae;B<q.length;B++){var H=q[B];"string"==typeof C[H]&&(T[H]=C[H])}return T}return{message:String(C)}},Pe=function(){function createAsyncThunk2(C,T,B){var q=createAction(C+"/fulfilled",(function(C,T,B,q){return{payload:C,meta:__spreadProps(__spreadValues({},q||{}),{arg:B,requestId:T,requestStatus:"fulfilled"})}})),H=createAction(C+"/pending",(function(C,T,B){return{payload:void 0,meta:__spreadProps(__spreadValues({},B||{}),{arg:T,requestId:C,requestStatus:"pending"})}})),L=createAction(C+"/rejected",(function(C,T,q,H,L){return{payload:H,error:(B&&B.serializeError||miniSerializeError)(C||"Rejected"),meta:__spreadProps(__spreadValues({},L||{}),{arg:q,requestId:T,rejectedWithValue:!!H,requestStatus:"rejected",aborted:"AbortError"===(null==C?void 0:C.name),condition:"ConditionError"===(null==C?void 0:C.name)})}})),V="undefined"!=typeof AbortController?AbortController:function(){function class_1(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return class_1.prototype.abort=function(){0},class_1}();return Object.assign((function actionCreator(C){return function($,U,W){var K,X=(null==B?void 0:B.idGenerator)?B.idGenerator(C):nanoid(),Q=new V;function abort(C){K=C,Q.abort()}var G=function(){return __async(this,null,(function(){var V,G,J,Z,Y,ee;return __generator(this,(function(te){switch(te.label){case 0:return te.trys.push([0,4,,5]),function isThenable(C){return null!==C&&"object"==typeof C&&"function"==typeof C.then}(Z=null==(V=null==B?void 0:B.condition)?void 0:V.call(B,C,{getState:U,extra:W}))?[4,Z]:[3,2];case 1:Z=te.sent(),te.label=2;case 2:if(!1===Z||Q.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,Y=new Promise((function(C,T){return Q.signal.addEventListener("abort",(function(){return T({name:"AbortError",message:K||"Aborted"})}))})),$(H(X,C,null==(G=null==B?void 0:B.getPendingMeta)?void 0:G.call(B,{requestId:X,arg:C},{getState:U,extra:W}))),[4,Promise.race([Y,Promise.resolve(T(C,{dispatch:$,getState:U,extra:W,requestId:X,signal:Q.signal,abort,rejectWithValue:function(C,T){return new Ce(C,T)},fulfillWithValue:function(C,T){return new je(C,T)}})).then((function(T){if(T instanceof Ce)throw T;return T instanceof je?q(T.payload,X,C,T.meta):q(T,X,C)}))])];case 3:return J=te.sent(),[3,5];case 4:return ee=te.sent(),J=ee instanceof Ce?L(null,X,C,ee.payload,ee.meta):L(ee,X,C),[3,5];case 5:return B&&!B.dispatchConditionRejection&&L.match(J)&&J.meta.condition||$(J),[2,J]}}))}))}();return Object.assign(G,{abort,requestId:X,arg:C,unwrap:function(){return G.then(unwrapResult)}})}}),{pending:H,rejected:L,fulfilled:q,typePrefix:C})}return createAsyncThunk2.withTypes=function(){return createAsyncThunk2},createAsyncThunk2}();function unwrapResult(C){if(C.meta&&C.meta.rejectedWithValue)throw C.payload;if(C.error)throw C.error;return C.payload}var matches=function(C,T){return hasMatchFunction(C)?C.match(T):C(T)};function isAnyOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.some((function(C){return matches(C,T)}))}}function isAllOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.every((function(C){return matches(C,T)}))}}function hasExpectedRequestMetadata(C,T){if(!C||!C.meta)return!1;var B="string"==typeof C.meta.requestId,q=T.indexOf(C.meta.requestStatus)>-1;return B&&q}function isAsyncThunkArray(C){return"function"==typeof C[0]&&"pending"in C[0]&&"fulfilled"in C[0]&&"rejected"in C[0]}function isPending(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending"])}:isAsyncThunkArray(C)?function(T){var B=C.map((function(C){return C.pending}));return isAnyOf.apply(void 0,B)(T)}:isPending()(C[0])}function isRejected(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["rejected"])}:isAsyncThunkArray(C)?function(T){var B=C.map((function(C){return C.rejected}));return isAnyOf.apply(void 0,B)(T)}:isRejected()(C[0])}function isRejectedWithValue(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var hasFlag=function(C){return C&&C.meta&&C.meta.rejectedWithValue};return 0===C.length||isAsyncThunkArray(C)?function(T){return isAllOf(isRejected.apply(void 0,C),hasFlag)(T)}:isRejectedWithValue()(C[0])}function isFulfilled(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["fulfilled"])}:isAsyncThunkArray(C)?function(T){var B=C.map((function(C){return C.fulfilled}));return isAnyOf.apply(void 0,B)(T)}:isFulfilled()(C[0])}function isAsyncThunkAction(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending","fulfilled","rejected"])}:isAsyncThunkArray(C)?function(T){for(var B=[],q=0,H=C;q<H.length;q++){var L=H[q];B.push(L.pending,L.rejected,L.fulfilled)}return isAnyOf.apply(void 0,B)(T)}:isAsyncThunkAction()(C[0])}var assertFunction=function(C,T){if("function"!=typeof C)throw new TypeError(T+" is not a function")},noop=function(){},catchRejection=function(C,T){return void 0===T&&(T=noop),C.catch(T),C},addAbortSignalListener=function(C,T){return C.addEventListener("abort",T,{once:!0}),function(){return C.removeEventListener("abort",T)}},abortControllerWithReason=function(C,T){var B=C.signal;B.aborted||("reason"in B||Object.defineProperty(B,"reason",{enumerable:!0,value:T,configurable:!0,writable:!0}),C.abort(T))},xe="listener",Re="completed",Ee="cancelled",Ie="task-"+Ee,Te="task-"+Re,Ne=xe+"-"+Ee,Be=xe+"-"+Re,De=function De(C){this.code=C,this.name="TaskAbortError",this.message="task "+Ee+" (reason: "+C+")"},validateActive=function(C){if(C.aborted)throw new De(C.reason)};function raceWithSignal(C,T){var B=noop;return new Promise((function(q,H){var notifyRejection=function(){return H(new De(C.reason))};C.aborted?notifyRejection():(B=addAbortSignalListener(C,notifyRejection),T.finally((function(){return B()})).then(q,H))})).finally((function(){B=noop}))}var createPause=function(C){return function(T){return catchRejection(raceWithSignal(C,T).then((function(T){return validateActive(C),T})))}},createDelay=function(C){var T=createPause(C);return function(C){return T(new Promise((function(T){return setTimeout(T,C)})))}},qe=Object.assign,Fe={},He="listenerMiddleware",createFork=function(C,T){return function(B,q){assertFunction(B,"taskExecutor");var H,L=new AbortController;H=L,addAbortSignalListener(C,(function(){return abortControllerWithReason(H,C.reason)}));var V,$,U=(V=function(){return __async(void 0,null,(function(){var T;return __generator(this,(function(q){switch(q.label){case 0:return validateActive(C),validateActive(L.signal),[4,B({pause:createPause(L.signal),delay:createDelay(L.signal),signal:L.signal})];case 1:return T=q.sent(),validateActive(L.signal),[2,T]}}))}))},$=function(){return abortControllerWithReason(L,Te)},__async(void 0,null,(function(){var C;return __generator(this,(function(T){switch(T.label){case 0:return T.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return T.sent(),[4,V()];case 2:return[2,{status:"ok",value:T.sent()}];case 3:return[2,{status:(C=T.sent())instanceof De?"cancelled":"rejected",error:C}];case 4:return null==$||$(),[7];case 5:return[2]}}))})));return(null==q?void 0:q.autoJoin)&&T.push(U),{result:createPause(C)(U),cancel:function(){abortControllerWithReason(L,Ie)}}}},createTakePattern=function(C,T){return function(B,q){return catchRejection(function(B,q){return __async(void 0,null,(function(){var H,L,V,$;return __generator(this,(function(U){switch(U.label){case 0:validateActive(T),H=function(){},L=new Promise((function(T,q){var L=C({predicate:B,effect:function(C,B){B.unsubscribe(),T([C,B.getState(),B.getOriginalState()])}});H=function(){L(),q()}})),V=[L],null!=q&&V.push(new Promise((function(C){return setTimeout(C,q,null)}))),U.label=1;case 1:return U.trys.push([1,,3,4]),[4,raceWithSignal(T,Promise.race(V))];case 2:return $=U.sent(),validateActive(T),[2,$];case 3:return H(),[7];case 4:return[2]}}))}))}(B,q))}},getListenerEntryPropsFrom=function(C){var T=C.type,B=C.actionCreator,q=C.matcher,H=C.predicate,L=C.effect;if(T)H=createAction(T).match;else if(B)T=B.type,H=B.match;else if(q)H=q;else if(!H)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return assertFunction(L,"options.listener"),{predicate:H,type:T,effect:L}},createListenerEntry=function(C){var T=getListenerEntryPropsFrom(C),B=T.type,q=T.predicate,H=T.effect;return{id:nanoid(),effect:H,type:B,predicate:q,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},cancelActiveListeners=function(C){C.pending.forEach((function(C){abortControllerWithReason(C,Ne)}))},createClearListenerMiddleware=function(C){return function(){C.forEach(cancelActiveListeners),C.clear()}},safelyNotifyError=function(C,T,B){try{C(T,B)}catch(C){setTimeout((function(){throw C}),0)}},ze=createAction(He+"/add"),Le=createAction(He+"/removeAll"),Ve=createAction(He+"/remove"),defaultErrorHandler=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];console.error.apply(console,__spreadArray([He+"/error"],C))};function createListenerMiddleware(C){var T=this;void 0===C&&(C={});var B=new Map,q=C.extra,H=C.onError,L=void 0===H?defaultErrorHandler:H;assertFunction(L,"onError");var findListenerEntry=function(C){for(var T=0,q=Array.from(B.values());T<q.length;T++){var H=q[T];if(C(H))return H}},startListening=function(C){var T=findListenerEntry((function(T){return T.effect===C.effect}));return T||(T=createListenerEntry(C)),function(C){return C.unsubscribe=function(){return B.delete(C.id)},B.set(C.id,C),function(T){C.unsubscribe(),(null==T?void 0:T.cancelActive)&&cancelActiveListeners(C)}}(T)},stopListening=function(C){var T=getListenerEntryPropsFrom(C),B=T.type,q=T.effect,H=T.predicate,L=findListenerEntry((function(C){return("string"==typeof B?C.type===B:C.predicate===H)&&C.effect===q}));return L&&(L.unsubscribe(),C.cancelActive&&cancelActiveListeners(L)),!!L},notifyListener=function(C,H,V,$){return __async(T,null,(function(){var T,U,W,K;return __generator(this,(function(X){switch(X.label){case 0:T=new AbortController,U=createTakePattern(startListening,T.signal),W=[],X.label=1;case 1:return X.trys.push([1,3,4,6]),C.pending.add(T),[4,Promise.resolve(C.effect(H,qe({},V,{getOriginalState:$,condition:function(C,T){return U(C,T).then(Boolean)},take:U,delay:createDelay(T.signal),pause:createPause(T.signal),extra:q,signal:T.signal,fork:createFork(T.signal,W),unsubscribe:C.unsubscribe,subscribe:function(){B.set(C.id,C)},cancelActiveListeners:function(){C.pending.forEach((function(C,B,q){C!==T&&(abortControllerWithReason(C,Ne),q.delete(C))}))}})))];case 2:return X.sent(),[3,6];case 3:return(K=X.sent())instanceof De||safelyNotifyError(L,K,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(W)];case 5:return X.sent(),abortControllerWithReason(T,Be),C.pending.delete(T),[7];case 6:return[2]}}))}))},V=createClearListenerMiddleware(B);return{middleware:function(C){return function(T){return function(q){if(!isAction(q))return T(q);if(ze.match(q))return startListening(q.payload);if(!Le.match(q)){if(Ve.match(q))return stopListening(q.payload);var H,$=C.getState(),getOriginalState=function(){if($===Fe)throw new Error(He+": getOriginalState can only be called synchronously");return $};try{if(H=T(q),B.size>0)for(var U=C.getState(),W=Array.from(B.values()),K=0,X=W;K<X.length;K++){var Q=X[K],G=!1;try{G=Q.predicate(q,U,$)}catch(C){G=!1,safelyNotifyError(L,C,{raisedBy:"predicate"})}G&¬ifyListener(Q,q,C,getOriginalState)}}finally{$=Fe}return H}V()}}},startListening,stopListening,clearListeners:V}}var $e,Ue="RTK_autoBatch",prepareAutoBatched=function(){return function(C){var T;return{payload:C,meta:(T={},T[Ue]=!0,T)}}},We="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:void 0!==B.g?B.g:globalThis):function(C){return($e||($e=Promise.resolve())).then(C).catch((function(C){return setTimeout((function(){throw C}),0)}))},createQueueWithTimer=function(C){return function(T){setTimeout(T,C)}},Ke="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=function(C){return void 0===C&&(C={type:"raf"}),function(T){return function(){for(var B=[],q=0;q<arguments.length;q++)B[q]=arguments[q];var H=T.apply(void 0,B),L=!0,V=!1,$=!1,U=new Set,W="tick"===C.type?We:"raf"===C.type?Ke:"callback"===C.type?C.queueNotification:createQueueWithTimer(C.timeout),notifyListeners=function(){$=!1,V&&(V=!1,U.forEach((function(C){return C()})))};return Object.assign({},H,{subscribe:function(C){var T=H.subscribe((function(){return L&&C()}));return U.add(C),function(){T(),U.delete(C)}},dispatch:function(C){var T;try{return L=!(null==(T=null==C?void 0:C.meta)?void 0:T[Ue]),(V=!L)&&($||($=!0,W(notifyListeners))),H.dispatch(C)}finally{L=!0}}})}}};F()},90381:(C,T)=>{"use strict";function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var q=0,H=function F(){};return{s:H,n:function n(){return q>=C.length?{done:!0}:{done:!1,value:C[q++]}},e:function e(C){throw C},f:H}}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 L,V=!0,$=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return V=C.done,C},e:function e(C){$=!0,L=C},f:function f(){try{V||null==B.return||B.return()}finally{if($)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,q=new Array(T);B<T;B++)q[B]=C[B];return q}Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;T.default=function _default(C,T){var B,q=_createForOfIteratorHelper(T=Array.isArray(T)?T:[T]);try{for(q.s();!(B=q.n()).done;){var H=B.value;if(C.constructor.name===H.prototype[Symbol.toStringTag])return!0}}catch(C){q.e(C)}finally{q.f()}return!1}},42618:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(7501)),L=q(B(78983)),V=q(B(42081)),$=q(B(58724)),U=q(B(71173)),W=q(B(74910)),K=q(B(27597)),X=q(B(90381));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,W.default)(C);if(T){var H=(0,W.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,$.default)(ArgsObject,C);var T=_createSuper(ArgsObject);function ArgsObject(C){var B;return(0,L.default)(this,ArgsObject),(B=T.call(this)).args=C,B}return(0,V.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(T,C))throw Error("".concat(C," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),(0,H.default)(B[C])!==T)throw Error("".concat(C," invalid type: ").concat(T,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),!(B[C]instanceof T||(0,X.default)(B[C],T)))throw Error("".concat(C," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),B[C].constructor.toString()!==T.prototype.constructor.toString())throw Error("".concat(C," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}]),ArgsObject}(K.default);T.default=Q},10869:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var H=q(B(42081)),L=q(B(78983)),V=q(B(77266)),$=q(B(58724)),U=q(B(71173)),W=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,W.default)(C);if(T){var H=(0,W.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,$.default)(ForceMethodImplementation,C);var T=_createSuper(ForceMethodImplementation);function ForceMethodImplementation(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,L.default)(this,ForceMethodImplementation),C=T.call(this,"".concat(B.isStatic?"static ":"").concat(B.fullName,"() should be implemented, please provide '").concat(B.functionName||B.fullName,"' functionality."),q),Object.keys(q).length&&console.error(q),Error.captureStackTrace((0,V.default)(C),ForceMethodImplementation),C}return(0,H.default)(ForceMethodImplementation)}((0,q(B(19952)).default)(Error));T.ForceMethodImplementation=K;T.default=function _default(C){var T=Error().stack.split("\n")[2].trim(),B=T.startsWith("at new")?"constructor":T.split(" ")[1],q={};if(q.functionName=B,q.fullName=B,q.functionName.includes(".")){var H=q.functionName.split(".");q.className=H[0],q.functionName=H[1]}else q.isStatic=!0;throw new K(q,C)}},27597:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(51121)),$=q(B(74910)),U=function(C){function InstanceType(){var C=this;(0,H.default)(this,InstanceType);for(var T=this instanceof InstanceType?this.constructor:void 0,B=[];T.__proto__&&T.__proto__.name;)B.push(T.__proto__),T=T.__proto__;B.reverse().forEach((function(T){return C instanceof T}))}return(0,L.default)(InstanceType,null,[{key:C,value:function value(C){var T=(0,V.default)((0,$.default)(InstanceType),Symbol.hasInstance,this).call(this,C);if(C&&!C.constructor.getInstanceType)return T;if(C&&(C.instanceTypes||(C.instanceTypes=[]),T||this.getInstanceType()===C.constructor.getInstanceType()&&(T=!0),T)){var B=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===C.instanceTypes.indexOf(B)&&C.instanceTypes.push(B)}return!T&&C&&(T=C.instanceTypes&&Array.isArray(C.instanceTypes)&&-1!==C.instanceTypes.indexOf(this.getInstanceType())),T}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}]),InstanceType}(Symbol.hasInstance);T.default=U},1192:(C,T,B)=>{"use strict";var q=B(73203)(B(7501)),H=function Module(){var C,T=jQuery,B=arguments,H=this,L={};this.getItems=function(C,T){if(T){var B=T.split("."),q=B.splice(0,1);if(!B.length)return C[q];if(!C[q])return;return this.getItems(C[q],B.join("."))}return C},this.getSettings=function(T){return this.getItems(C,T)},this.setSettings=function(B,L,V){if(V||(V=C),"object"===(0,q.default)(B))return T.extend(V,B),H;var $=B.split("."),U=$.splice(0,1);return $.length?(V[U]||(V[U]={}),H.setSettings($.join("."),L,V[U])):(V[U]=L,H)},this.getErrorMessage=function(C,T){var B;if("forceMethodImplementation"===C)B="The method '".concat(T,"' must to be implemented in the inheritor child.");else B="An error occurs";return B},this.forceMethodImplementation=function(C){throw new Error(this.getErrorMessage("forceMethodImplementation",C))},this.on=function(C,B){return"object"===(0,q.default)(C)?(T.each(C,(function(C){H.on(C,this)})),H):(C.split(" ").forEach((function(C){L[C]||(L[C]=[]),L[C].push(B)})),H)},this.off=function(C,T){if(!L[C])return H;if(!T)return delete L[C],H;var B=L[C].indexOf(T);return-1!==B&&(delete L[C][B],L[C]=L[C].filter((function(C){return C}))),H},this.trigger=function(C){var B="on"+C[0].toUpperCase()+C.slice(1),q=Array.prototype.slice.call(arguments,1);H[B]&&H[B].apply(H,q);var V=L[C];return V?(T.each(V,(function(C,T){T.apply(H,q)})),H):H},function init(){H.__construct.apply(H,B),function ensureClosureMethods(){T.each(H,(function(C){var T=H[C];"function"==typeof T&&(H[C]=function(){return T.apply(H,arguments)})}))}(),function initSettings(){C=H.getDefaultSettings();var q=B[0];q&&T.extend(!0,C,q)}(),H.trigger("init")}()};H.prototype.__construct=function(){},H.prototype.getDefaultSettings=function(){return{}},H.prototype.getConstructorID=function(){return this.constructor.name},H.extend=function(C){var T=jQuery,B=this,q=function child(){return B.apply(this,arguments)};return T.extend(q,B),(q.prototype=Object.create(T.extend({},B.prototype,C))).constructor=q,q.__super__=B.prototype,q},C.exports=H},36516:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(52640)).default.extend({getDefaultSettings:function getDefaultSettings(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function run(){var C=[],T=this.elements.$container.position().top,B=this.getSettings(),q=B.columnsCount;T+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(H){var L=Math.floor(H/q),V=jQuery(this),$=V[0].getBoundingClientRect().height+B.verticalSpaceBetween;if(L){var U=V.position(),W=H%q,K=U.top-T-C[W];K-=parseInt(V.css("margin-top"),10),K*=-1,V.css("margin-top",K+"px"),C[W]+=$}else C.push($)}))}});T.default=H},20400:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=function(){function Scroll(){(0,H.default)(this,Scroll)}return(0,L.default)(Scroll,null,[{key:"scrollObserver",value:function scrollObserver(C){var T=0,B={root:C.root||null,rootMargin:C.offset||"0px",threshold:function buildThreshholds(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,T=[];if(C>0&&C<=100)for(var B=100/C,q=0;q<=100;q+=B)T.push(q/100);else T.push(0);return T}(C.sensitivity)};return new IntersectionObserver((function handleIntersect(B){var q=B[0].boundingClientRect.y,H=B[0].isIntersecting,L=q<T?"down":"up",V=Math.abs(parseFloat((100*B[0].intersectionRatio).toFixed(2)));C.callback({sensitivity:C.sensitivity,isInViewport:H,scrollPercentage:V,intersectionScrollDirection:L}),T=q}),B)}},{key:"getElementViewportPercentage",value:function getElementViewportPercentage(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=C[0].getBoundingClientRect(),q=T.start||0,H=T.end||0,L=window.innerHeight*q/100,V=window.innerHeight*H/100,$=B.top-window.innerHeight,U=0-$+L,W=B.top+L+C.height()-$+V,K=Math.max(0,Math.min(U/W,1));return parseFloat((100*K).toFixed(2))}},{key:"getPageScrollPercentage",value:function getPageScrollPercentage(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0,B=C.start||0,q=C.end||0,H=T||document.documentElement.scrollHeight-document.documentElement.clientHeight,L=H*B/100,V=H+L+H*q/100;return(document.documentElement.scrollTop+document.body.scrollTop+L)/V*100}}]),Scroll}();T.default=V},52640:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(1192)).default.extend({elements:null,getDefaultElements:function getDefaultElements(){return{}},bindEvents:function bindEvents(){},onInit:function onInit(){this.initElements(),this.bindEvents()},initElements:function initElements(){this.elements=this.getDefaultElements()}});T.default=H},15955:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(1192)),L=q(B(52640)),V=q(B(42618)),$=q(B(36516)),U=q(B(20400)),W=q(B(10869)),K=window.elementorModules={Module:H.default,ViewModule:L.default,ArgsObject:V.default,ForceMethodImplementation:W.default,utils:{Masonry:$.default,Scroll:U.default}};T.default=K},99107:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,H.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"className",value:function className(){return"elementor-templates-modal__header"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header"}},{key:"regions",value:function regions(){return{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"}}},{key:"ui",value:function ui(){return{closeModal:".elementor-templates-modal__header__close"}}},{key:"events",value:function events(){return{"click @ui.closeModal":"onCloseModalClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{closeType:this.getOption("closeType")}}},{key:"onCloseModalClick",value:function onCloseModalClick(){this._parent._parent._parent.hideModal()}}]),_default}(Marionette.LayoutView);T.default=W},56525:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910)),W=q(B(99107)),K=q(B(31352)),X=q(B(20311));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var Q=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,H.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"el",value:function el(){return this.getModal().getElements("widget")}},{key:"regions",value:function regions(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}}},{key:"initialize",value:function initialize(){this.modalHeader.show(new W.default(this.getHeaderOptions()))}},{key:"getModal",value:function getModal(){return this.modal||this.initModal(),this.modal}},{key:"initModal",value:function initModal(){var C={className:"elementor-templates-modal",closeButton:!1,draggable:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1}};jQuery.extend(!0,C,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget("lightbox",C),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading")),C.draggable&&this.draggableModal()}},{key:"showModal",value:function showModal(){this.getModal().show()}},{key:"hideModal",value:function hideModal(){this.getModal().hide()}},{key:"draggableModal",value:function draggableModal(){var C=this.getModal().getElements("widgetContent");C.draggable({containment:"parent",stop:function stop(){C.height("")}}),C.css("position","absolute")}},{key:"getModalOptions",value:function getModalOptions(){return{}}},{key:"getLogoOptions",value:function getLogoOptions(){return{}}},{key:"getHeaderOptions",value:function getHeaderOptions(){return{closeType:"normal"}}},{key:"getHeaderView",value:function getHeaderView(){return this.modalHeader.currentView}},{key:"showLoadingView",value:function showLoadingView(){this.modalLoading.show(new X.default),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:"hideLoadingView",value:function hideLoadingView(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:"showLogo",value:function showLogo(){this.getHeaderView().logoArea.show(new K.default(this.getLogoOptions()))}}]),_default}(Marionette.LayoutView);T.default=Q},20311:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,H.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"id",value:function id(){return"elementor-template-library-loading"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-template-library-loading"}}]),_default}(Marionette.ItemView);T.default=W},31352:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,H.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header__logo"}},{key:"className",value:function className(){return"elementor-templates-modal__header__logo"}},{key:"events",value:function events(){return{click:"onClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{title:this.getOption("title")}}},{key:"onClick",value:function onClick(){var C=this.getOption("click");C&&C()}}]),_default}(Marionette.ItemView);T.default=W},83024:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910)),W=q(B(74774)),K=q(B(70170));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var X=function(C){(0,V.default)(CommandBase,C);var T=_createSuper(CommandBase);function CommandBase(){return(0,H.default)(this,CommandBase),T.apply(this,arguments)}return(0,L.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,C)}},{key:"onAfterRun",value:function onAfterRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,C,T)}},{key:"onBeforeApply",value:function onBeforeApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,C)}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runDataAfter(this.command,C,T)}},{key:"onCatchApply",value:function onCatchApply(C){this.runCatchHooks(C)}},{key:"runCatchHooks",value:function runCatchHooks(C){$e.hooks.runDataCatch(this.command,this.args,C),$e.hooks.runUICatch(this.command,this.args,C)}},{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(K.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach((function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}]),CommandBase}(W.default);T.default=X},46867:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(CommandCallbackBase,C);var T=_createSuper(CommandCallbackBase);function CommandCallbackBase(){return(0,H.default)(this,CommandCallbackBase),T.apply(this,arguments)}return(0,L.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}]),CommandCallbackBase}(q(B(83024)).default);T.default=W},74774:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910)),W=q(B(93231)),K=q(B(42618)),X=q(B(70170));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var Q=function(C){(0,V.default)(CommandInfra,C);var T=_createSuper(CommandInfra);function CommandInfra(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,H.default)(this,CommandInfra),!(C=T.call(this,B)).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return C.command=C.constructor.getCommand(),C.component=C.constructor.getComponent(),C.initialize(B),B=C.args,C.validateArgs(B),C}return(0,L.default)(CommandInfra,[{key:"currentCommand",get:function get(){return X.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(C){}}],[{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(C){this.registerConfig=Object.freeze(C)}}]),CommandInfra}(K.default);T.default=Q,(0,W.default)(Q,"registerConfig",null)},25683:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,H.default)(this,Close),T.apply(this,arguments)}return(0,L.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}]),Close}(q(B(83024)).default);T.Close=W;var K=W;T.default=K},53832:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return q.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return H.Open}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return L.Toggle}});var q=B(25683),H=B(57273),L=B(7493)},57273:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,H.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}(q(B(83024)).default);T.Open=W;var K=W;T.default=K},7493:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var H=q(B(78983)),L=q(B(42081)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,H.default)(this,Toggle),T.apply(this,arguments)}return(0,L.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}]),Toggle}(q(B(83024)).default);T.Toggle=W;var K=W;T.default=K},19263:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(93231)),L=q(B(40131)),V=q(B(78983)),$=q(B(42081)),U=q(B(58724)),W=q(B(71173)),K=q(B(74910)),X=q(B(46867)),Q=B(71177),G=q(B(1192)),J=q(B(40647)),Z=q(B(70170));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,H.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,K.default)(C);if(T){var H=(0,K.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,W.default)(this,B)}}var Y=function(C){(0,U.default)(ComponentBase,C);var T=_createSuper(ComponentBase);function ComponentBase(){return(0,V.default)(this,ComponentBase),T.apply(this,arguments)}return(0,$.default)(ComponentBase,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C.manager&&(this.manager=C.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var C=this;Object.entries(this.getTabs()).forEach((function(T){return C.registerTabRoute(T[0])})),Object.entries(this.getRoutes()).forEach((function(T){var B=(0,L.default)(T,2),q=B[0],H=B[1];return C.registerRoute(q,H)})),Object.entries(this.getCommands()).forEach((function(T){var B=(0,L.default)(T,2),q=B[0],H=B[1];return C.registerCommand(q,H)})),Object.entries(this.getCommandsInternal()).forEach((function(T){var B=(0,L.default)(T,2),q=B[0],H=B[1];return C.registerCommandInternal(q,H)})),Object.values(this.getHooks()).forEach((function(T){return C.registerHook(T)})),Object.entries(this.getData()).forEach((function(T){var B=(0,L.default)(T,2),q=B[0],H=B[1];return C.registerData(q,H)})),Object.values(this.getUiStates()).forEach((function(T){return C.registerUiState(T)})),Object.entries(this.getStates()).forEach((function(T){var B=(0,L.default)(T,2),q=B[0],H=B[1];return C.registerState(q,H)}))}},{key:"getNamespace",value:function getNamespace(){(0,J.default)()}},{key:"getRootContainer",value:function getRootContainer(){return Z.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(C,T){var B;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":B=$e.commands;break;case"internal":B=$e.commandsInternal;break;case"data":B=$e.data;break;default:throw new Error("Invalid commands type: '".concat(C,"'"))}var q=this.getNamespace()+"/"+C,H={command:q,component:this};!!T.getInstanceType&&T.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(q,"', context is unknown type.")),H.callback=T,T=function(C){(0,U.default)(context,C);var T=_createSuper(context);function context(){return(0,V.default)(this,context),T.apply(this,arguments)}return(0,$.default)(context)}(X.default)),T.setRegisterConfig(H),B.register(this,C,T)}},{key:"registerHook",value:function registerHook(C){return C.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(C,T){this.registerCommand(C,T,"internal")}},{key:"registerUiState",value:function registerUiState(C){$e.uiStates.register(C)}},{key:"registerState",value:function registerState(C,T){C=this.getNamespace()+(C?"/".concat(C):"");var B=(0,Q.createSlice)(_objectSpread(_objectSpread({},T),{},{name:C}));$e.store.register(C,B)}},{key:"registerRoute",value:function registerRoute(C,T){$e.routes.register(this,C,T)}},{key:"registerData",value:function registerData(C,T){this.registerCommand(C,T,"data")}},{key:"unregisterRoute",value:function unregisterRoute(C){$e.routes.unregister(this,C)}},{key:"registerTabRoute",value:function registerTabRoute(C){var T=this;this.registerRoute(C,(function(B){return T.activateTab(C,B)}))}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(C){this.toggleRouteClass(C,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",C)}},{key:"onCloseRoute",value:function onCloseRoute(C){this.toggleRouteClass(C,!1),this.inactivate(),this.trigger("route/close",C)}},{key:"setDefaultRoute",value:function setDefaultRoute(C){this.defaultRoute=this.getNamespace()+"/"+C}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(C){delete this.tabs[C],this.unregisterRoute(C)}},{key:"hasTab",value:function hasTab(C){return!!this.tabs[C]}},{key:"addTab",value:function addTab(C,T,B){var q=this;if(this.tabs[C]=T,void 0!==B){var H={},L=Object.keys(this.tabs);L.pop(),L.splice(B,0,C),L.forEach((function(C){H[C]=q.tabs[C]})),this.tabs=H}this.registerTabRoute(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(C){return this.getNamespace()+"/"+C}},{key:"renderTab",value:function renderTab(C){}},{key:"activateTab",value:function activateTab(C,T){var B=this;this.renderTab(C,T),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",(function(C){$e.route(B.getTabRoute(C.currentTarget.dataset.tab),T)})).removeClass("elementor-active").filter('[data-tab="'+C+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(C){return"e-route-"+C.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(C){return C.replace(/[A-Z]/g,(function(C,T){return(T>0?"-":"")+C.toLowerCase()}))}},{key:"importCommands",value:function importCommands(C){var T=this,B={};return Object.entries(C).forEach((function(C){var q=(0,L.default)(C,2),H=q[0],V=q[1],$=T.normalizeCommandName(H);B[$]=V})),B}},{key:"importHooks",value:function importHooks(C){var T={};for(var B in C){var q=new C[B];T[q.getId()]=q}return T}},{key:"importUiStates",value:function importUiStates(C){var T=this,B={};return Object.values(C).forEach((function(C){var q=new C(T);B[q.getId()]=q})),B}},{key:"setUiState",value:function setUiState(C,T){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(C),T)}},{key:"toggleRouteClass",value:function toggleRouteClass(C,T){document.body.classList.toggle(this.getBodyClass(C),T)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}]),ComponentBase}(G.default);T.default=Y},19076:(C,T,B)=>{"use strict";var q=B(73203),H=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=q(B(78983)),V=q(B(42081)),$=q(B(51121)),U=q(B(58724)),W=q(B(71173)),K=q(B(74910)),X=q(B(19263)),Q=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==H(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var V in C)if("default"!==V&&Object.prototype.hasOwnProperty.call(C,V)){var $=L?Object.getOwnPropertyDescriptor(C,V):null;$&&($.get||$.set)?Object.defineProperty(q,V,$):q[V]=C[V]}q.default=C,B&&B.set(C,q);return q}(B(53832)),G=q(B(40647));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,K.default)(C);if(T){var H=(0,K.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,W.default)(this,B)}}var J=function(C){(0,U.default)(ComponentModalBase,C);var T=_createSuper(ComponentModalBase);function ComponentModalBase(){return(0,L.default)(this,ComponentModalBase),T.apply(this,arguments)}return(0,V.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var C=this;(0,$.default)((0,K.default)(ComponentModalBase.prototype),"registerAPI",this).call(this),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return C.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Q)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var C=this;if(!this.layout){var T=this.getModalLayout();this.layout=new T({component:this}),this.layout.getModal().on("hide",(function(){return C.close()}))}return this.layout.showModal(),!0}},{key:"close",value:function close(){return!!(0,$.default)((0,K.default)(ComponentModalBase.prototype),"close",this).call(this)&&(this.layout.getModal().hide(),!0)}},{key:"getModalLayout",value:function getModalLayout(){(0,G.default)()}}]),ComponentModalBase}(X.default);T.default=J},13819:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(42081)),L=q(B(78983)),V=q(B(58724)),$=q(B(71173)),U=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,U.default)(C);if(T){var H=(0,U.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var W=function(C){(0,V.default)(HookBreak,C);var T=_createSuper(HookBreak);function HookBreak(){return(0,L.default)(this,HookBreak),T.call(this,"HookBreak")}return(0,H.default)(HookBreak)}((0,q(B(19952)).default)(Error));T.default=W},17341:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(78983)),L=q(B(42081)),V=function(){function Console(){(0,H.default)(this,Console)}return(0,L.default)(Console,null,[{key:"error",value:function error(C){$e.devTools&&$e.devTools.log.error(C),C instanceof $e.modules.HookBreak||console.error(C)}},{key:"warn",value:function warn(){for(var C,T='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),B=arguments.length,q=new Array(B),H=0;H<B;H++)q[H]=arguments[H];q.unshift("%c %c",T,""),(C=console).warn.apply(C,q)}}]),Console}();T.default=V},70170:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var H=q(B(40131)),L=q(B(78983)),V=q(B(42081)),$=q(B(17341)),U=function deprecatedMessage(C,T,B,q){var H="`".concat(T,"` is ").concat(C," deprecated since ").concat(B);q&&(H+=" - Use `".concat(q,"` instead")),$.default.warn(H)},W=function(){function Deprecation(){(0,L.default)(this,Deprecation)}return(0,V.default)(Deprecation,null,[{key:"deprecated",value:function deprecated(C,T,B){this.isHardDeprecated(T)?function hardDeprecated(C,T,B){U("hard",C,T,B)}(C,T,B):function softDeprecated(C,T,B){elementorWebCliConfig.isDebug&&U("soft",C,T,B)}(C,T,B)}},{key:"parseVersion",value:function parseVersion(C){var T=C.split(".");if(T.length<3||T.length>4)throw new RangeError("Invalid Semantic Version string provided");var B=(0,H.default)(T,4),q=B[0],L=B[1],V=B[2],$=B[3],U=void 0===$?"":$;return{major1:parseInt(q),major2:parseInt(L),minor:parseInt(V),build:U}}},{key:"getTotalMajor",value:function getTotalMajor(C){var T=parseInt("".concat(C.major1).concat(C.major2,"0"));return T=Number((T/10).toFixed(0)),C.major2>9&&(T=C.major2-9),T}},{key:"compareVersion",value:function compareVersion(C,T){var B=this;return[this.parseVersion(C),this.parseVersion(T)].map((function(C){return B.getTotalMajor(C)})).reduce((function(C,T){return C-T}))}},{key:"isSoftDeprecated",value:function isSoftDeprecated(C){return this.compareVersion(C,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(C){var T=this.compareVersion(C,elementorWebCliConfig.version);return T<0||T>=8}}]),Deprecation}();T.default=W},40647:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var H=q(B(42081)),L=q(B(78983)),V=q(B(77266)),$=q(B(58724)),U=q(B(71173)),W=q(B(74910));function _createSuper(C){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(C){return!1}}();return function _createSuperInternal(){var B,q=(0,W.default)(C);if(T){var H=(0,W.default)(this).constructor;B=Reflect.construct(q,arguments,H)}else B=q.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,$.default)(ForceMethodImplementation,C);var T=_createSuper(ForceMethodImplementation);function ForceMethodImplementation(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,L.default)(this,ForceMethodImplementation),C=T.call(this,"".concat(B.isStatic?"static ":"").concat(B.fullName,"() should be implemented, please provide '").concat(B.functionName||B.fullName,"' functionality.")),Error.captureStackTrace((0,V.default)(C),ForceMethodImplementation),C}return(0,H.default)(ForceMethodImplementation)}((0,q(B(19952)).default)(Error));T.ForceMethodImplementation=K;T.default=function _default(){var C=Error().stack.split("\n")[2].trim(),T=C.startsWith("at new")?"constructor":C.split(" ")[1],B={};if(B.functionName=T,B.fullName=T,B.functionName.includes(".")){var q=B.functionName.split(".");B.className=q[0],B.functionName=q[1]}else B.isStatic=!0;throw new K(B)}},98106:C=>{C.exports=function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,q=new Array(T);B<T;B++)q[B]=C[B];return q},C.exports.__esModule=!0,C.exports.default=C.exports},17358:C=>{C.exports=function _arrayWithHoles(C){if(Array.isArray(C))return C},C.exports.__esModule=!0,C.exports.default=C.exports},77266:C=>{C.exports=function _assertThisInitialized(C){if(void 0===C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C},C.exports.__esModule=!0,C.exports.default=C.exports},78983:C=>{C.exports=function _classCallCheck(C,T){if(!(C instanceof T))throw new TypeError("Cannot call a class as a function")},C.exports.__esModule=!0,C.exports.default=C.exports},76824:(C,T,B)=>{var q=B(96196),H=B(14161);function _construct(T,B,L){return H()?(C.exports=_construct=Reflect.construct.bind(),C.exports.__esModule=!0,C.exports.default=C.exports):(C.exports=_construct=function _construct(C,T,B){var H=[null];H.push.apply(H,T);var L=new(Function.bind.apply(C,H));return B&&q(L,B.prototype),L},C.exports.__esModule=!0,C.exports.default=C.exports),_construct.apply(null,arguments)}C.exports=_construct,C.exports.__esModule=!0,C.exports.default=C.exports},42081:(C,T,B)=>{var q=B(74040);function _defineProperties(C,T){for(var B=0;B<T.length;B++){var H=T[B];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(C,q(H.key),H)}}C.exports=function _createClass(C,T,B){return T&&_defineProperties(C.prototype,T),B&&_defineProperties(C,B),Object.defineProperty(C,"prototype",{writable:!1}),C},C.exports.__esModule=!0,C.exports.default=C.exports},93231:(C,T,B)=>{var q=B(74040);C.exports=function _defineProperty(C,T,B){return(T=q(T))in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,C},C.exports.__esModule=!0,C.exports.default=C.exports},51121:(C,T,B)=>{var q=B(79443);function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(C.exports=_get=Reflect.get.bind(),C.exports.__esModule=!0,C.exports.default=C.exports):(C.exports=_get=function _get(C,T,B){var H=q(C,T);if(H){var L=Object.getOwnPropertyDescriptor(H,T);return L.get?L.get.call(arguments.length<3?C:B):L.value}},C.exports.__esModule=!0,C.exports.default=C.exports),_get.apply(this,arguments)}C.exports=_get,C.exports.__esModule=!0,C.exports.default=C.exports},74910:C=>{function _getPrototypeOf(T){return C.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(C){return C.__proto__||Object.getPrototypeOf(C)},C.exports.__esModule=!0,C.exports.default=C.exports,_getPrototypeOf(T)}C.exports=_getPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},58724:(C,T,B)=>{var q=B(96196);C.exports=function _inherits(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&q(C,T)},C.exports.__esModule=!0,C.exports.default=C.exports},73203:C=>{C.exports=function _interopRequireDefault(C){return C&&C.__esModule?C:{default:C}},C.exports.__esModule=!0,C.exports.default=C.exports},94346:C=>{C.exports=function _isNativeFunction(C){try{return-1!==Function.toString.call(C).indexOf("[native code]")}catch(T){return"function"==typeof C}},C.exports.__esModule=!0,C.exports.default=C.exports},14161:C=>{C.exports=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(C){return!1}},C.exports.__esModule=!0,C.exports.default=C.exports},40608:C=>{C.exports=function _iterableToArrayLimit(C,T){var B=null==C?null:"undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(null!=B){var q,H,L,V,$=[],U=!0,W=!1;try{if(L=(B=B.call(C)).next,0===T){if(Object(B)!==B)return;U=!1}else for(;!(U=(q=L.call(B)).done)&&($.push(q.value),$.length!==T);U=!0);}catch(C){W=!0,H=C}finally{try{if(!U&&null!=B.return&&(V=B.return(),Object(V)!==V))return}finally{if(W)throw H}}return $}},C.exports.__esModule=!0,C.exports.default=C.exports},56894:C=>{C.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.")},C.exports.__esModule=!0,C.exports.default=C.exports},71173:(C,T,B)=>{var q=B(7501).default,H=B(77266);C.exports=function _possibleConstructorReturn(C,T){if(T&&("object"===q(T)||"function"==typeof T))return T;if(void 0!==T)throw new TypeError("Derived constructors may only return object or undefined");return H(C)},C.exports.__esModule=!0,C.exports.default=C.exports},96196:C=>{function _setPrototypeOf(T,B){return C.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(C,T){return C.__proto__=T,C},C.exports.__esModule=!0,C.exports.default=C.exports,_setPrototypeOf(T,B)}C.exports=_setPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},40131:(C,T,B)=>{var q=B(17358),H=B(40608),L=B(35068),V=B(56894);C.exports=function _slicedToArray(C,T){return q(C)||H(C,T)||L(C,T)||V()},C.exports.__esModule=!0,C.exports.default=C.exports},79443:(C,T,B)=>{var q=B(74910);C.exports=function _superPropBase(C,T){for(;!Object.prototype.hasOwnProperty.call(C,T)&&null!==(C=q(C)););return C},C.exports.__esModule=!0,C.exports.default=C.exports},56027:(C,T,B)=>{var q=B(7501).default;C.exports=function _toPrimitive(C,T){if("object"!==q(C)||null===C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var H=B.call(C,T||"default");if("object"!==q(H))return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)},C.exports.__esModule=!0,C.exports.default=C.exports},74040:(C,T,B)=>{var q=B(7501).default,H=B(56027);C.exports=function _toPropertyKey(C){var T=H(C,"string");return"symbol"===q(T)?T:String(T)},C.exports.__esModule=!0,C.exports.default=C.exports},7501:C=>{function _typeof(T){return C.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},C.exports.__esModule=!0,C.exports.default=C.exports,_typeof(T)}C.exports=_typeof,C.exports.__esModule=!0,C.exports.default=C.exports},35068:(C,T,B)=>{var q=B(98106);C.exports=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return q(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?q(C,T):void 0}},C.exports.__esModule=!0,C.exports.default=C.exports},19952:(C,T,B)=>{var q=B(74910),H=B(96196),L=B(94346),V=B(76824);function _wrapNativeSuper(T){var B="function"==typeof Map?new Map:void 0;return C.exports=_wrapNativeSuper=function _wrapNativeSuper(C){if(null===C||!L(C))return C;if("function"!=typeof C)throw new TypeError("Super expression must either be null or a function");if(void 0!==B){if(B.has(C))return B.get(C);B.set(C,Wrapper)}function Wrapper(){return V(C,arguments,q(this).constructor)}return Wrapper.prototype=Object.create(C.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),H(Wrapper,C)},C.exports.__esModule=!0,C.exports.default=C.exports,_wrapNativeSuper(T)}C.exports=_wrapNativeSuper,C.exports.__esModule=!0,C.exports.default=C.exports}},T={};function __webpack_require__(B){var q=T[B];if(void 0!==q)return q.exports;var H=T[B]={exports:{}};return C[B](H,H.exports,__webpack_require__),H.exports}__webpack_require__.d=(C,T)=>{for(var B in T)__webpack_require__.o(T,B)&&!__webpack_require__.o(C,B)&&Object.defineProperty(C,B,{enumerable:!0,get:T[B]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(C){if("object"==typeof window)return window}}(),__webpack_require__.o=(C,T)=>Object.prototype.hasOwnProperty.call(C,T),__webpack_require__.r=C=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},(()=>{"use strict";var C=__webpack_require__(73203),T=C(__webpack_require__(15955)),B=C(__webpack_require__(56525)),q=C(__webpack_require__(19263)),H=C(__webpack_require__(19076)),L=C(__webpack_require__(13819));T.default.common={get Component(){return setTimeout((function(){elementorDevTools.deprecation.deprecated("elementorModules.common.Component","2.9.0","$e.modules.ComponentBase")}),2e3),q.default},get ComponentModal(){return setTimeout((function(){elementorDevTools.deprecation.deprecated("elementorModules.common.ComponentModal","2.9.0","$e.modules.ComponentModalBase")}),2e3),H.default},get HookBreak(){return setTimeout((function(){elementorDevTools.deprecation.deprecated("elementorModules.common.HookBreak","2.9.0","$e.modules.HookBreak")}),2e3),L.default},views:{modal:{Layout:B.default}}}})()})();; |