!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define(["globals"],t):"object"==typeof exports?exports.cd3fd=t():e.cd3fd=t()}(this,(function(globals){var $w=globals.$w,$ns=globals.$ns,console=(globals.$wixContext,globals.$widget,globals.console);globals.elementorySupport,globals.generateWebMethodUrl;return function(){"use strict";var e={n:function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,{a:o}),o},d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t);var o=$ns["wix-members-frontend"],n=$ns["wix-location"],r=e.n(n);return $w.onReady((function(){$w("#logIn").onClick((function(){var e,t;e=$w("#email").value,t=$w("#password").value,o.authentication.login(e,t).then((function(){console.log("Member is logged in"),r().to(r().url)})).catch((function(e){console.error(e),$w("#errorText").text="Login failed: "+e.message}))}))})),t}()})); //# sourceMappingURL=https://bundler.wix-code.com/8980537a-1633-4e71-a2ca-dd2e84efc99a/3c4e9899-e0c9-4580-ac6a-d583ef0af03c/e2534d14-ba98-42a9-86a7-75a88ad72c2c/pages/cd3fd.js.map?get-app-def-id-from-package-name=false&disable-yarn-pnp-mode=false