From 0d2bad544c837f3b058fff3834bac8a157ff893f Mon Sep 17 00:00:00 2001 From: John Holdun Date: Thu, 11 Aug 2022 12:05:44 -0700 Subject: [PATCH] chore: Update builds --- dist/mercury.esm.js | 4 + dist/mercury.js | 384 +++++++++++++++++++++++++++++++++++++++++--- dist/mercury.web.js | 2 +- 3 files changed, 363 insertions(+), 27 deletions(-) create mode 100644 dist/mercury.esm.js diff --git a/dist/mercury.esm.js b/dist/mercury.esm.js new file mode 100644 index 00000000..e68fd852 --- /dev/null +++ b/dist/mercury.esm.js @@ -0,0 +1,4 @@ +function e(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=t((function(e){!function(t){var n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag",u=t.regeneratorRuntime;if(u)e.exports=u;else{(u=t.regeneratorRuntime=e.exports).wrap=p;var c={},l={};l[i]=function(){return this};var f=Object.getPrototypeOf,d=f&&f(f(E([])));d&&d!==n&&r.call(d,i)&&(l=d);var h=y.prototype=g.prototype=Object.create(l);v.prototype=h.constructor=y,y.constructor=v,y[s]=v.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(h),e},u.awrap=function(e){return{__await:e}},_(b.prototype),b.prototype[o]=function(){return this},u.AsyncIterator=b,u.async=function(e,t,n,r){var a=new b(p(e,t,n,r));return u.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(h),h[s]="Generator",h[i]=function(){return this},h.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=E,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;x(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}}}function p(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),o=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return S()}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=w(o,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=m(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,o),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function g(){}function v(){}function y(){}function _(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function b(e){var t;this._invoke=function(n,a){function i(){return new Promise((function(t,i){!function t(n,a,i,o){var s=m(e[n],e,a);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,i,o)}),(function(e){t("throw",e,i,o)})):Promise.resolve(c).then((function(e){u.value=e,i(u)}),(function(e){return t("throw",e,i,o)}))}o(s.arg)}(n,a,t,i)}))}return t=t?t.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=m(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n=0,i=a&&r.regeneratorRuntime;r.regeneratorRuntime=void 0;var o=n;if(a)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}var s=o,u={}.toString,c=function(e){return u.call(e).slice(8,-1)},l=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==c(e)?e.split(""):Object(e)},f=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},d=function(e){return l(f(e))},h={f:{}.propertyIsEnumerable},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},g=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},v={}.hasOwnProperty,y=function(e,t){return v.call(e,t)},_=function(e){try{return!!e()}catch(e){return!0}},b=!_((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),w=t((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),A=w.document,x=m(A)&&m(A.createElement),k=function(e){return x?A.createElement(e):{}},E=!b&&!_((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,M={f:b?S:function(e,t){if(e=d(e),t=g(t,!0),E)try{return S(e,t)}catch(e){}if(y(e,t))return p(!h.f.call(e,t),e[t])}},T=t((function(e){var t=e.exports={version:"2.6.2"};"number"==typeof __e&&(__e=t)})),C=(T.version,function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}),D=function(e,t,n){if(C(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}},O=function(e){if(!m(e))throw TypeError(e+" is not an object!");return e},N=Object.defineProperty,j={f:b?Object.defineProperty:function(e,t,n){if(O(e),t=g(t,!0),O(n),E)try{return N(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},P=b?function(e,t,n){return j.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},z=function(e,t,n){var r,a,i,o=e&z.F,s=e&z.G,u=e&z.S,c=e&z.P,l=e&z.B,f=e&z.W,d=s?T:T[t]||(T[t]={}),h=d.prototype,p=s?w:u?w[t]:(w[t]||{}).prototype;for(r in s&&(n=t),n)(a=!o&&p&&void 0!==p[r])&&y(d,r)||(i=a?p[r]:n[r],d[r]=s&&"function"!=typeof p[r]?n[r]:l&&a?D(i,w):f&&p[r]==i?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(i):c&&"function"==typeof i?D(Function.call,i):i,c&&((d.virtual||(d.virtual={}))[r]=i,e&z.R&&h&&!h[r]&&P(h,r,i)))};z.F=1,z.G=2,z.S=4,z.P=8,z.B=16,z.W=32,z.U=64,z.R=128;var L=z,R=function(e,t){var n=(T.Object||{})[e]||Object[e],r={};r[e]=t(n),L(L.S+L.F*_((function(){n(1)})),"Object",r)},Y=M.f;R("getOwnPropertyDescriptor",(function(){return function(e,t){return Y(d(e),t)}}));var W,q=T.Object,I=function(e,t){return q.getOwnPropertyDescriptor(e,t)},H=P,B=0,F=Math.random(),G=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++B+F).toString(36))},U=t((function(e){var t=G("meta"),n=j.f,r=0,a=Object.isExtensible||function(){return!0},i=!_((function(){return a(Object.preventExtensions({}))})),o=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!m(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!y(e,t)){if(!a(e))return"F";if(!n)return"E";o(e)}return e[t].i},getWeak:function(e,n){if(!y(e,t)){if(!a(e))return!0;if(!n)return!1;o(e)}return e[t].w},onFreeze:function(e){return i&&s.NEED&&a(e)&&!y(e,t)&&o(e),e}}})),$=(U.KEY,U.NEED,U.fastKey,U.getWeak,U.onFreeze,t((function(e){var t=w["__core-js_shared__"]||(w["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:T.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}))),V=t((function(e){var t=$("wks"),n=w.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:G)("Symbol."+e))}).store=t})),J=j.f,K=V("toStringTag"),X=function(e,t,n){e&&!y(e=n?e:e.prototype,K)&&J(e,K,{configurable:!0,value:t})},Z={f:V},Q=j.f,ee=function(e){var t=T.Symbol||(T.Symbol={});"_"==e.charAt(0)||e in t||Q(t,e,{value:Z.f(e)})},te=Math.ceil,ne=Math.floor,re=function(e){return isNaN(e=+e)?0:(e>0?ne:te)(e)},ae=Math.min,ie=function(e){return e>0?ae(re(e),9007199254740991):0},oe=Math.max,se=Math.min,ue=$("keys"),ce=function(e){return ue[e]||(ue[e]=G(e))},le=(W=!1,function(e,t,n){var r,a=d(e),i=ie(a.length),o=function(e,t){return(e=re(e))<0?oe(e+t,0):se(e,t)}(n,i);if(W&&t!=t){for(;i>o;)if((r=a[o++])!=r)return!0}else for(;i>o;o++)if((W||o in a)&&a[o]===t)return W||o||0;return!W&&-1}),fe=ce("IE_PROTO"),de=function(e,t){var n,r=d(e),a=0,i=[];for(n in r)n!=fe&&y(r,n)&&i.push(n);for(;t.length>a;)y(r,n=t[a++])&&(~le(i,n)||i.push(n));return i},he="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),pe=Object.keys||function(e){return de(e,he)},me={f:Object.getOwnPropertySymbols},ge=Array.isArray||function(e){return"Array"==c(e)},ve=b?Object.defineProperties:function(e,t){O(e);for(var n,r=pe(t),a=r.length,i=0;a>i;)j.f(e,n=r[i++],t[n]);return e},ye=w.document,_e=ye&&ye.documentElement,be=ce("IE_PROTO"),we=function(){},Ae=function(){var e,t=k("iframe"),n=he.length;for(t.style.display="none",_e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("