!function(global,factory){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=factory():"function"==typeofdefine&&define.amd?define(factory):(global="undefined"!=typeofglobalThis?globalThis:global||self).Livewire=factory()}(this,(function(){"use strict";function_iterableToArrayLimit(arr,i){var_i=null==arr?null:"undefined"!=typeofSymbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var_s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}elsefor(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw_e}}return_arr}}functionownKeys$1(object,enumerableOnly){varkeys=Object.keys(object);if(Object.getOwnPropertySymbols){varsymbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){returnObject.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}returnkeys}function_objectSpread2(target){for(vari=1;i<arguments.length;i++){varsource=null!=arguments[i]?arguments[i]:{};i%2?ownKeys$1(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys$1(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}returntarget}function_typeof(obj){return_typeof="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(obj){returntypeofobj}:function(obj){returnobj&&"function"==typeofSymbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeofobj},_typeof(obj)}function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor))thrownewTypeError("Cannot call a class as a function")}function_defineProperties(target,props){for(vari=0;i<props.length;i++){vardescriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"indescriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function_createClass(Constructor,protoProps,staticProps){returnprotoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function_defineProperty(obj,key,value){return(key=_toPropertyKey(key))inobj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function_inherits(subClass,superClass){if("function"!=typeofsuperClass&&null!==superClass)thrownewTypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function_getPrototypeOf(o){return_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){returno.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function_setPrototypeOf(o,p){return_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,p){returno.__proto__=p,o},_setPrototypeOf(o,p)}function_isNativeReflectConstruct(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function_assertThisInitialized(self){if(void0===self)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnself}function_possibleConstructorReturn(self,call){if(call&&("object"==typeofcall||"function"==typeofcall))returncall;if(void0!==call)thrownewTypeError("Derived constructors may only return object or undefined");return_assertThisInitialized(self)}functio