diff --git a/dist/email.js b/dist/email.js index 1d61d45..89f8c7a 100644 --- a/dist/email.js +++ b/dist/email.js @@ -2535,15 +2535,9 @@ var es_object_keys = __webpack_require__(7941); ;// CONCATENATED MODULE: ./es/models/EmailJSResponseStatus.js function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - var EmailJSResponseStatus = function EmailJSResponseStatus(httpResponse) { _classCallCheck(this, EmailJSResponseStatus); - _defineProperty(this, "status", void 0); - - _defineProperty(this, "text", void 0); - this.status = httpResponse.status; this.text = httpResponse.responseText; }; @@ -2596,7 +2590,7 @@ var send = function send(serviceID, templateID, templatePrams, userID) { var uID = userID || store._userID; validateParams(uID, serviceID, templateID); var params = { - lib_version: '3.0.1', + lib_version: '3.0.2', user_id: uID, service_id: serviceID, template_id: templateID, @@ -2643,7 +2637,7 @@ var sendForm = function sendForm(serviceID, templateID, form, userID) { var currentForm = findHTMLForm(form); validateParams(uID, serviceID, templateID); var formData = new FormData(currentForm); - formData.append('lib_version', '3.0.1'); + formData.append('lib_version', '3.0.2'); formData.append('service_id', serviceID); formData.append('template_id', templateID); formData.append('user_id', uID); diff --git a/dist/email.min.js b/dist/email.min.js index 74d7bcd..b92733f 100644 --- a/dist/email.min.js +++ b/dist/email.min.js @@ -1 +1 @@ -(()=>{var t={3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},5787:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},8533:(t,e,r)=>{"use strict";var n=r(2092).forEach,o=r(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1318:(t,e,r)=>{var n=r(5656),o=r(7466),i=r(1400),a=function(t){return function(e,r,a){var c,u=n(e),s=o(u.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(8361),i=r(7908),a=r(7466),c=r(5417),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,p=6==t,l=7==t,v=5==t||p;return function(h,d,y,m){for(var g,x,b=i(h),w=o(b),j=n(d,y,3),S=a(w.length),O=0,T=m||c,E=e?T(h,S):r||l?T(h,0):void 0;S>O;O++)if((v||O in w)&&(x=j(g=w[O],O,b),t))if(e)E[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(E,g)}else switch(t){case 4:return!1;case 7:u.call(E,g)}return p?-1:s||f?f:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},5417:(t,e,r)=>{var n=r(111),o=r(3157),i=r(5112)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},7072:(t,e,r)=>{var n=r(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:(t,e,r)=>{var n=r(1694),o=r(4326),i=r(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},9920:(t,e,r)=>{var n=r(6656),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e){for(var r=o(e),c=a.f,u=i.f,s=0;s{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7871:t=>{t.exports="object"==typeof window},6833:(t,e,r)=>{var n=r(8113);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},5268:(t,e,r)=>{var n=r(4326),o=r(7854);t.exports="process"==n(o.process)},1036:(t,e,r)=>{var n=r(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(1320),c=r(3505),u=r(9920),s=r(4705);t.exports=function(t,e){var r,f,p,l,v,h=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[h]||c(h,{}):(n[h]||{}).prototype)for(f in e){if(l=e[f],p=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(r,f,l,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9974:(t,e,r)=>{var n=r(3099);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},5005:(t,e,r)=>{var n=r(857),o=r(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},1246:(t,e,r)=>{var n=r(648),o=r(7497),i=r(5112)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},3501:t=>{t.exports={}},842:(t,e,r)=>{var n=r(7854);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(7293),o=r(4326),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:(t,e,r)=>{var n=r(5465),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},9909:(t,e,r)=>{var n,o,i,a=r(8536),c=r(7854),u=r(111),s=r(8880),f=r(6656),p=r(5465),l=r(6200),v=r(3501),h="Object already initialized",d=c.WeakMap;if(a||p.state){var y=p.state||(p.state=new d),m=y.get,g=y.has,x=y.set;n=function(t,e){if(g.call(y,t))throw new TypeError(h);return e.facade=t,x.call(y,t,e),e},o=function(t){return m.call(y,t)||{}},i=function(t){return g.call(y,t)}}else{var b=l("state");v[b]=!0,n=function(t,e){if(f(t,b))throw new TypeError(h);return e.facade=t,s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4705:(t,e,r)=>{var n=r(7293),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},408:(t,e,r)=>{var n=r(9670),o=r(7659),i=r(7466),a=r(9974),c=r(1246),u=r(9212),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var f,p,l,v,h,d,y,m=r&&r.that,g=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_ITERATOR),b=!(!r||!r.INTERRUPTED),w=a(e,m,1+g+b),j=function(t){return f&&u(f),new s(!0,t)},S=function(t){return g?(n(t),b?w(t[0],t[1],j):w(t[0],t[1])):b?w(t,j):w(t)};if(x)f=t;else{if("function"!=typeof(p=c(t)))throw TypeError("Target is not iterable");if(o(p)){for(l=0,v=i(t.length);v>l;l++)if((h=S(t[l]))&&h instanceof s)return h;return new s(!1)}f=p.call(t)}for(d=f.next;!(y=d.call(f)).done;){try{h=S(y.value)}catch(t){throw u(f),t}if("object"==typeof h&&h&&h instanceof s)return h}return new s(!1)}},9212:(t,e,r)=>{var n=r(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},7497:t=>{t.exports={}},5948:(t,e,r)=>{var n,o,i,a,c,u,s,f,p=r(7854),l=r(1236).f,v=r(261).set,h=r(6833),d=r(1036),y=r(5268),m=p.MutationObserver||p.WebKitMutationObserver,g=p.document,x=p.process,b=p.Promise,w=l(p,"queueMicrotask"),j=w&&w.value;j||(n=function(){var t,e;for(y&&(t=x.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},h||y||d||!m||!g?b&&b.resolve?((s=b.resolve(void 0)).constructor=b,f=s.then,a=function(){f.call(s,n)}):a=y?function(){x.nextTick(n)}:function(){v.call(p,n)}:(c=!0,u=g.createTextNode(""),new m(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=j||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},3366:(t,e,r)=>{var n=r(7854);t.exports=n.Promise},133:(t,e,r)=>{var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(t,e,r)=>{var n=r(7854),o=r(2788),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},8523:(t,e,r)=>{"use strict";var n=r(3099),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(9670),a=r(7593),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(5296),i=r(9114),a=r(5656),c=r(7593),u=r(6656),s=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},6324:(t,e,r)=>{var n=r(6656),o=r(5656),i=r(1318).indexOf,a=r(3501);t.exports=function(t,e){var r,c=o(t),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(s,r)||s.push(r));return s}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(9670),o=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3887:(t,e,r)=>{var n=r(5005),o=r(8006),i=r(5181),a=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},2534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9478:(t,e,r)=>{var n=r(9670),o=r(111),i=r(8523);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},2248:(t,e,r)=>{var n=r(1320);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},1320:(t,e,r)=>{var n=r(7854),o=r(8880),i=r(6656),a=r(3505),c=r(2788),u=r(9909),s=u.get,f=u.enforce,p=String(String).split("String");(t.exports=function(t,e,r,c){var u,s=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(u=f(r)).source||(u.source=p.join("string"==typeof e?e:""))),t!==n?(s?!v&&t[e]&&(l=!0):delete t[e],l?t[e]=r:o(t,e,r)):l?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},4488:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=r(8880);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},6340:(t,e,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),a=r(9781),c=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},8003:(t,e,r)=>{var n=r(3070).f,o=r(6656),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:(t,e,r)=>{var n=r(9670),o=r(3099),i=r(5112)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},261:(t,e,r)=>{var n,o,i,a=r(7854),c=r(7293),u=r(9974),s=r(490),f=r(317),p=r(6833),l=r(5268),v=a.location,h=a.setImmediate,d=a.clearImmediate,y=a.process,m=a.MessageChannel,g=a.Dispatch,x=0,b={},w="onreadystatechange",j=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},S=function(t){return function(){j(t)}},O=function(t){j(t.data)},T=function(t){a.postMessage(t+"",v.protocol+"//"+v.host)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return b[++x]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(x),x},d=function(t){delete b[t]},l?n=function(t){y.nextTick(S(t))}:g&&g.now?n=function(t){g.now(S(t))}:m&&!p?(i=(o=new m).port2,o.port1.onmessage=O,n=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&v&&"file:"!==v.protocol&&!c(T)?(n=T,a.addEventListener("message",O,!1)):n=w in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),j(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:h,clear:d}},1400:(t,e,r)=>{var n=r(9958),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9958:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},7466:(t,e,r)=>{var n=r(9958),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:(t,e,r)=>{var n=r(111);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},9711:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3307:(t,e,r)=>{var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(6656),a=r(9711),c=r(133),u=r(3307),s=o("wks"),f=n.Symbol,p=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)&&(c||"string"==typeof s[t])||(c&&i(f,t)?s[t]=f[t]:s[t]=p("Symbol."+t)),s[t]}},7941:(t,e,r)=>{var n=r(2109),o=r(7908),i=r(1956);n({target:"Object",stat:!0,forced:r(7293)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},1539:(t,e,r)=>{var n=r(1694),o=r(1320),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},8674:(t,e,r)=>{"use strict";var n,o,i,a,c=r(2109),u=r(1913),s=r(7854),f=r(5005),p=r(3366),l=r(1320),v=r(2248),h=r(7674),d=r(8003),y=r(6340),m=r(111),g=r(3099),x=r(5787),b=r(2788),w=r(408),j=r(7072),S=r(6707),O=r(261).set,T=r(5948),E=r(9478),L=r(842),P=r(8523),_=r(2534),M=r(9909),I=r(4705),A=r(5112),D=r(7871),k=r(5268),C=r(7392),N=A("species"),R="Promise",F=M.get,V=M.set,q=M.getterFor(R),G=p&&p.prototype,H=p,z=G,K=s.TypeError,U=s.document,W=s.process,B=P.f,J=B,X=!!(U&&U.createEvent&&s.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,Q="unhandledrejection",Z=!1,$=I(R,(function(){var t=b(H)!==String(H);if(!t&&66===C)return!0;if(u&&!z.finally)return!0;if(C>=51&&/native code/.test(H))return!1;var e=new H((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[N]=r,!(Z=e.then((function(){}))instanceof r)||!t&&D&&!Y})),tt=$||!j((function(t){H.all(t).catch((function(){}))})),et=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},rt=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;T((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,c,u,s=r[i++],f=o?s.ok:s.fail,p=s.resolve,l=s.reject,v=s.domain;try{f?(o||(2===t.rejection&&at(t),t.rejection=1),!0===f?a=n:(v&&v.enter(),a=f(n),v&&(v.exit(),u=!0)),a===s.promise?l(K("Promise-chain cycle")):(c=et(a))?c.call(a,p,l):p(a)):l(n)}catch(t){v&&!u&&v.exit(),l(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ot(t)}))}},nt=function(t,e,r){var n,o;X?((n=U.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},!Y&&(o=s["on"+t])?o(n):t===Q&&L("Unhandled promise rejection",r)},ot=function(t){O.call(s,(function(){var e,r=t.facade,n=t.value;if(it(t)&&(e=_((function(){k?W.emit("unhandledRejection",n,r):nt(Q,r,n)})),t.rejection=k||it(t)?2:1,e.error))throw e.value}))},it=function(t){return 1!==t.rejection&&!t.parent},at=function(t){O.call(s,(function(){var e=t.facade;k?W.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},ct=function(t,e,r){return function(n){t(e,n,r)}},ut=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,rt(t,!0))},st=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw K("Promise can't be resolved itself");var n=et(e);n?T((function(){var r={done:!1};try{n.call(e,ct(st,r,t),ct(ut,r,t))}catch(e){ut(r,e,t)}})):(t.value=e,t.state=1,rt(t,!1))}catch(e){ut({done:!1},e,t)}}};if($&&(z=(H=function(t){x(this,H,R),g(t),n.call(this);var e=F(this);try{t(ct(st,e),ct(ut,e))}catch(t){ut(e,t)}}).prototype,(n=function(t){V(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(z,{then:function(t,e){var r=q(this),n=B(S(this,H));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&rt(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=F(t);this.promise=t,this.resolve=ct(st,e),this.reject=ct(ut,e)},P.f=B=function(t){return t===H||t===i?new o(t):J(t)},!u&&"function"==typeof p&&G!==Object.prototype)){a=G.then,Z||(l(G,"then",(function(t,e){var r=this;return new H((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),l(G,"catch",z.catch,{unsafe:!0}));try{delete G.constructor}catch(t){}h&&h(G,z)}c({global:!0,wrap:!0,forced:$},{Promise:H}),d(H,R,!1,!0),y(R),i=f(R),c({target:R,stat:!0,forced:$},{reject:function(t){var e=B(this);return e.reject.call(void 0,t),e.promise}}),c({target:R,stat:!0,forced:u||$},{resolve:function(t){return E(u&&this===i?H:this,t)}}),c({target:R,stat:!0,forced:tt},{all:function(t){var e=this,r=B(e),n=r.resolve,o=r.reject,i=_((function(){var r=g(e.resolve),i=[],a=0,c=1;w(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,r.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=B(e),n=r.reject,o=_((function(){var o=g(e.resolve);w(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},4747:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8533),a=r(8880);for(var c in o){var u=n[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(t){s.forEach=i}}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{default:()=>f,init:()=>e,send:()=>u,sendForm:()=>s});var t={_origin:"https://api.emailjs.com"},e=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https://api.emailjs.com";t._userID=e,t._origin=r},o=function(t,e,r){if(!t)throw"The user ID is required. Visit https://dashboard.emailjs.com/admin/integration";if(!e)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!r)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates";return!0};r(1539),r(8674),r(4747),r(7941);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,"status",void 0),i(this,"text",void 0),this.status=e.status,this.text=e.responseText},c=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(o,i){var c=new XMLHttpRequest;c.addEventListener("load",(function(t){var e=t.target,r=new a(e);200===r.status||"OK"===r.text?o(r):i(r)})),c.addEventListener("error",(function(t){var e=t.target;i(new a(e))})),c.open("POST",t._origin+e,!0),Object.keys(n).forEach((function(t){c.setRequestHeader(t,n[t])})),c.send(r)}))},u=function(e,r,n,i){var a=i||t._userID;o(a,e,r);var u={lib_version:"3.0.1",user_id:a,service_id:e,template_id:r,template_params:n};return c("/api/v1.0/email/send",JSON.stringify(u),{"Content-type":"application/json"})},s=function(e,r,n,i){var a=i||t._userID,u=function(t){var e,r;if("FORM"!==(null===(e=r="string"==typeof t?document.querySelector(t):t)||void 0===e?void 0:e.nodeName))throw"The 3rd parameter is expected to be the HTML form element or the style selector of form";return r}(n);o(a,e,r);var s=new FormData(u);return s.append("lib_version","3.0.1"),s.append("service_id",e),s.append("template_id",r),s.append("user_id",a),c("/api/v1.0/email/send-form",s)};const f={init:e,send:u,sendForm:s}})(),self.emailjs=n})(); \ No newline at end of file +(()=>{var t={3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},5787:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},8533:(t,e,r)=>{"use strict";var n=r(2092).forEach,o=r(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1318:(t,e,r)=>{var n=r(5656),o=r(7466),i=r(1400),a=function(t){return function(e,r,a){var c,u=n(e),s=o(u.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(8361),i=r(7908),a=r(7466),c=r(5417),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,p=6==t,l=7==t,v=5==t||p;return function(h,d,y,m){for(var g,x,b=i(h),w=o(b),S=n(d,y,3),j=a(w.length),O=0,T=m||c,E=e?T(h,j):r||l?T(h,0):void 0;j>O;O++)if((v||O in w)&&(x=S(g=w[O],O,b),t))if(e)E[O]=x;else if(x)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(E,g)}else switch(t){case 4:return!1;case 7:u.call(E,g)}return p?-1:s||f?f:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},5417:(t,e,r)=>{var n=r(111),o=r(3157),i=r(5112)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},7072:(t,e,r)=>{var n=r(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:(t,e,r)=>{var n=r(1694),o=r(4326),i=r(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},9920:(t,e,r)=>{var n=r(6656),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e){for(var r=o(e),c=a.f,u=i.f,s=0;s{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7871:t=>{t.exports="object"==typeof window},6833:(t,e,r)=>{var n=r(8113);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},5268:(t,e,r)=>{var n=r(4326),o=r(7854);t.exports="process"==n(o.process)},1036:(t,e,r)=>{var n=r(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(1320),c=r(3505),u=r(9920),s=r(4705);t.exports=function(t,e){var r,f,p,l,v,h=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[h]||c(h,{}):(n[h]||{}).prototype)for(f in e){if(l=e[f],p=t.noTargetGet?(v=o(r,f))&&v.value:r[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(r,f,l,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9974:(t,e,r)=>{var n=r(3099);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},5005:(t,e,r)=>{var n=r(857),o=r(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},1246:(t,e,r)=>{var n=r(648),o=r(7497),i=r(5112)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},3501:t=>{t.exports={}},842:(t,e,r)=>{var n=r(7854);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(7293),o=r(4326),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:(t,e,r)=>{var n=r(5465),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},9909:(t,e,r)=>{var n,o,i,a=r(8536),c=r(7854),u=r(111),s=r(8880),f=r(6656),p=r(5465),l=r(6200),v=r(3501),h="Object already initialized",d=c.WeakMap;if(a||p.state){var y=p.state||(p.state=new d),m=y.get,g=y.has,x=y.set;n=function(t,e){if(g.call(y,t))throw new TypeError(h);return e.facade=t,x.call(y,t,e),e},o=function(t){return m.call(y,t)||{}},i=function(t){return g.call(y,t)}}else{var b=l("state");v[b]=!0,n=function(t,e){if(f(t,b))throw new TypeError(h);return e.facade=t,s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4705:(t,e,r)=>{var n=r(7293),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},408:(t,e,r)=>{var n=r(9670),o=r(7659),i=r(7466),a=r(9974),c=r(1246),u=r(9212),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var f,p,l,v,h,d,y,m=r&&r.that,g=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_ITERATOR),b=!(!r||!r.INTERRUPTED),w=a(e,m,1+g+b),S=function(t){return f&&u(f),new s(!0,t)},j=function(t){return g?(n(t),b?w(t[0],t[1],S):w(t[0],t[1])):b?w(t,S):w(t)};if(x)f=t;else{if("function"!=typeof(p=c(t)))throw TypeError("Target is not iterable");if(o(p)){for(l=0,v=i(t.length);v>l;l++)if((h=j(t[l]))&&h instanceof s)return h;return new s(!1)}f=p.call(t)}for(d=f.next;!(y=d.call(f)).done;){try{h=j(y.value)}catch(t){throw u(f),t}if("object"==typeof h&&h&&h instanceof s)return h}return new s(!1)}},9212:(t,e,r)=>{var n=r(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},7497:t=>{t.exports={}},5948:(t,e,r)=>{var n,o,i,a,c,u,s,f,p=r(7854),l=r(1236).f,v=r(261).set,h=r(6833),d=r(1036),y=r(5268),m=p.MutationObserver||p.WebKitMutationObserver,g=p.document,x=p.process,b=p.Promise,w=l(p,"queueMicrotask"),S=w&&w.value;S||(n=function(){var t,e;for(y&&(t=x.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},h||y||d||!m||!g?b&&b.resolve?((s=b.resolve(void 0)).constructor=b,f=s.then,a=function(){f.call(s,n)}):a=y?function(){x.nextTick(n)}:function(){v.call(p,n)}:(c=!0,u=g.createTextNode(""),new m(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=S||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},3366:(t,e,r)=>{var n=r(7854);t.exports=n.Promise},133:(t,e,r)=>{var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(t,e,r)=>{var n=r(7854),o=r(2788),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},8523:(t,e,r)=>{"use strict";var n=r(3099),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(9670),a=r(7593),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(5296),i=r(9114),a=r(5656),c=r(7593),u=r(6656),s=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},6324:(t,e,r)=>{var n=r(6656),o=r(5656),i=r(1318).indexOf,a=r(3501);t.exports=function(t,e){var r,c=o(t),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(s,r)||s.push(r));return s}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(9670),o=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3887:(t,e,r)=>{var n=r(5005),o=r(8006),i=r(5181),a=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},2534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9478:(t,e,r)=>{var n=r(9670),o=r(111),i=r(8523);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},2248:(t,e,r)=>{var n=r(1320);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},1320:(t,e,r)=>{var n=r(7854),o=r(8880),i=r(6656),a=r(3505),c=r(2788),u=r(9909),s=u.get,f=u.enforce,p=String(String).split("String");(t.exports=function(t,e,r,c){var u,s=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(u=f(r)).source||(u.source=p.join("string"==typeof e?e:""))),t!==n?(s?!v&&t[e]&&(l=!0):delete t[e],l?t[e]=r:o(t,e,r)):l?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},4488:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=r(8880);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},6340:(t,e,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),a=r(9781),c=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},8003:(t,e,r)=>{var n=r(3070).f,o=r(6656),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:(t,e,r)=>{var n=r(9670),o=r(3099),i=r(5112)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},261:(t,e,r)=>{var n,o,i,a=r(7854),c=r(7293),u=r(9974),s=r(490),f=r(317),p=r(6833),l=r(5268),v=a.location,h=a.setImmediate,d=a.clearImmediate,y=a.process,m=a.MessageChannel,g=a.Dispatch,x=0,b={},w="onreadystatechange",S=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},j=function(t){return function(){S(t)}},O=function(t){S(t.data)},T=function(t){a.postMessage(t+"",v.protocol+"//"+v.host)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return b[++x]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(x),x},d=function(t){delete b[t]},l?n=function(t){y.nextTick(j(t))}:g&&g.now?n=function(t){g.now(j(t))}:m&&!p?(i=(o=new m).port2,o.port1.onmessage=O,n=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&v&&"file:"!==v.protocol&&!c(T)?(n=T,a.addEventListener("message",O,!1)):n=w in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),S(t)}}:function(t){setTimeout(j(t),0)}),t.exports={set:h,clear:d}},1400:(t,e,r)=>{var n=r(9958),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9958:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},7466:(t,e,r)=>{var n=r(9958),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:(t,e,r)=>{var n=r(111);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},9711:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3307:(t,e,r)=>{var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(6656),a=r(9711),c=r(133),u=r(3307),s=o("wks"),f=n.Symbol,p=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)&&(c||"string"==typeof s[t])||(c&&i(f,t)?s[t]=f[t]:s[t]=p("Symbol."+t)),s[t]}},7941:(t,e,r)=>{var n=r(2109),o=r(7908),i=r(1956);n({target:"Object",stat:!0,forced:r(7293)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},1539:(t,e,r)=>{var n=r(1694),o=r(1320),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},8674:(t,e,r)=>{"use strict";var n,o,i,a,c=r(2109),u=r(1913),s=r(7854),f=r(5005),p=r(3366),l=r(1320),v=r(2248),h=r(7674),d=r(8003),y=r(6340),m=r(111),g=r(3099),x=r(5787),b=r(2788),w=r(408),S=r(7072),j=r(6707),O=r(261).set,T=r(5948),E=r(9478),L=r(842),P=r(8523),_=r(2534),M=r(9909),I=r(4705),A=r(5112),D=r(7871),k=r(5268),C=r(7392),N=A("species"),R="Promise",F=M.get,V=M.set,q=M.getterFor(R),G=p&&p.prototype,H=p,z=G,K=s.TypeError,U=s.document,W=s.process,B=P.f,J=B,X=!!(U&&U.createEvent&&s.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,Q="unhandledrejection",Z=!1,$=I(R,(function(){var t=b(H)!==String(H);if(!t&&66===C)return!0;if(u&&!z.finally)return!0;if(C>=51&&/native code/.test(H))return!1;var e=new H((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[N]=r,!(Z=e.then((function(){}))instanceof r)||!t&&D&&!Y})),tt=$||!S((function(t){H.all(t).catch((function(){}))})),et=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},rt=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;T((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,c,u,s=r[i++],f=o?s.ok:s.fail,p=s.resolve,l=s.reject,v=s.domain;try{f?(o||(2===t.rejection&&at(t),t.rejection=1),!0===f?a=n:(v&&v.enter(),a=f(n),v&&(v.exit(),u=!0)),a===s.promise?l(K("Promise-chain cycle")):(c=et(a))?c.call(a,p,l):p(a)):l(n)}catch(t){v&&!u&&v.exit(),l(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ot(t)}))}},nt=function(t,e,r){var n,o;X?((n=U.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},!Y&&(o=s["on"+t])?o(n):t===Q&&L("Unhandled promise rejection",r)},ot=function(t){O.call(s,(function(){var e,r=t.facade,n=t.value;if(it(t)&&(e=_((function(){k?W.emit("unhandledRejection",n,r):nt(Q,r,n)})),t.rejection=k||it(t)?2:1,e.error))throw e.value}))},it=function(t){return 1!==t.rejection&&!t.parent},at=function(t){O.call(s,(function(){var e=t.facade;k?W.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)}))},ct=function(t,e,r){return function(n){t(e,n,r)}},ut=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,rt(t,!0))},st=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw K("Promise can't be resolved itself");var n=et(e);n?T((function(){var r={done:!1};try{n.call(e,ct(st,r,t),ct(ut,r,t))}catch(e){ut(r,e,t)}})):(t.value=e,t.state=1,rt(t,!1))}catch(e){ut({done:!1},e,t)}}};if($&&(z=(H=function(t){x(this,H,R),g(t),n.call(this);var e=F(this);try{t(ct(st,e),ct(ut,e))}catch(t){ut(e,t)}}).prototype,(n=function(t){V(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(z,{then:function(t,e){var r=q(this),n=B(j(this,H));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&rt(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=F(t);this.promise=t,this.resolve=ct(st,e),this.reject=ct(ut,e)},P.f=B=function(t){return t===H||t===i?new o(t):J(t)},!u&&"function"==typeof p&&G!==Object.prototype)){a=G.then,Z||(l(G,"then",(function(t,e){var r=this;return new H((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),l(G,"catch",z.catch,{unsafe:!0}));try{delete G.constructor}catch(t){}h&&h(G,z)}c({global:!0,wrap:!0,forced:$},{Promise:H}),d(H,R,!1,!0),y(R),i=f(R),c({target:R,stat:!0,forced:$},{reject:function(t){var e=B(this);return e.reject.call(void 0,t),e.promise}}),c({target:R,stat:!0,forced:u||$},{resolve:function(t){return E(u&&this===i?H:this,t)}}),c({target:R,stat:!0,forced:tt},{all:function(t){var e=this,r=B(e),n=r.resolve,o=r.reject,i=_((function(){var r=g(e.resolve),i=[],a=0,c=1;w(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,r.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=B(e),n=r.reject,o=_((function(){var o=g(e.resolve);w(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},4747:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8533),a=r(8880);for(var c in o){var u=n[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(t){s.forEach=i}}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{default:()=>s,init:()=>e,send:()=>c,sendForm:()=>u});var t={_origin:"https://api.emailjs.com"},e=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https://api.emailjs.com";t._userID=e,t._origin=r},o=function(t,e,r){if(!t)throw"The user ID is required. Visit https://dashboard.emailjs.com/admin/integration";if(!e)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!r)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates";return!0};r(1539),r(8674),r(4747),r(7941);var i=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.status=e.status,this.text=e.responseText},a=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(o,a){var c=new XMLHttpRequest;c.addEventListener("load",(function(t){var e=t.target,r=new i(e);200===r.status||"OK"===r.text?o(r):a(r)})),c.addEventListener("error",(function(t){var e=t.target;a(new i(e))})),c.open("POST",t._origin+e,!0),Object.keys(n).forEach((function(t){c.setRequestHeader(t,n[t])})),c.send(r)}))},c=function(e,r,n,i){var c=i||t._userID;o(c,e,r);var u={lib_version:"3.0.2",user_id:c,service_id:e,template_id:r,template_params:n};return a("/api/v1.0/email/send",JSON.stringify(u),{"Content-type":"application/json"})},u=function(e,r,n,i){var c=i||t._userID,u=function(t){var e,r;if("FORM"!==(null===(e=r="string"==typeof t?document.querySelector(t):t)||void 0===e?void 0:e.nodeName))throw"The 3rd parameter is expected to be the HTML form element or the style selector of form";return r}(n);o(c,e,r);var s=new FormData(u);return s.append("lib_version","3.0.2"),s.append("service_id",e),s.append("template_id",r),s.append("user_id",c),a("/api/v1.0/email/send-form",s)};const s={init:e,send:c,sendForm:u}})(),self.emailjs=n})(); \ No newline at end of file diff --git a/es/methods/send/send.js b/es/methods/send/send.js index c90605d..a56f35d 100644 --- a/es/methods/send/send.js +++ b/es/methods/send/send.js @@ -13,7 +13,7 @@ export const send = (serviceID, templateID, templatePrams, userID) => { const uID = userID || store._userID; validateParams(uID, serviceID, templateID); const params = { - lib_version: '3.0.1', + lib_version: '3.0.2', user_id: uID, service_id: serviceID, template_id: templateID, diff --git a/es/methods/sendForm/sendForm.js b/es/methods/sendForm/sendForm.js index e6f8f68..ba6cdab 100644 --- a/es/methods/sendForm/sendForm.js +++ b/es/methods/sendForm/sendForm.js @@ -27,7 +27,7 @@ export const sendForm = (serviceID, templateID, form, userID) => { const currentForm = findHTMLForm(form); validateParams(uID, serviceID, templateID); const formData = new FormData(currentForm); - formData.append('lib_version', '3.0.1'); + formData.append('lib_version', '3.0.2'); formData.append('service_id', serviceID); formData.append('template_id', templateID); formData.append('user_id', uID); diff --git a/es/models/EmailJSResponseStatus.js b/es/models/EmailJSResponseStatus.js index 053d902..3b7f216 100644 --- a/es/models/EmailJSResponseStatus.js +++ b/es/models/EmailJSResponseStatus.js @@ -1,6 +1,4 @@ export class EmailJSResponseStatus { - status; - text; constructor(httpResponse) { this.status = httpResponse.status; this.text = httpResponse.responseText;