/** * Minified by jsDelivr using Terser v3.14.1. * Original file: /npm/chimee@0.12.0/lib/index.browser.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Chimee=t()}(this,function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r=n(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)}),i=n(function(e){var t=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)}),o=(i.version,function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}),a=function(e,t,n){if(o(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,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},u=function(e){return"object"==typeof e?null!==e:"function"==typeof e},s=function(e){if(!u(e))throw TypeError(e+" is not an object!");return e},c=function(e){try{return!!e()}catch(e){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),f=r.document,d=u(f)&&u(f.createElement),h=function(e){return d?f.createElement(e):{}},p=!l&&!c(function(){return 7!=Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a}),v=function(e,t){if(!u(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!u(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!u(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!u(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},y=Object.defineProperty,g={f:l?Object.defineProperty:function(e,t,n){if(s(e),t=v(t,!0),s(n),p)try{return y(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}},m=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l?function(e,t,n){return g.f(e,t,m(1,n))}:function(e,t,n){return e[t]=n,e},b={}.hasOwnProperty,_=function(e,t){return b.call(e,t)},E=function(e,t,n){var o,u,s,c=e&E.F,l=e&E.G,f=e&E.S,d=e&E.P,h=e&E.B,p=e&E.W,v=l?i:i[t]||(i[t]={}),y=v.prototype,g=l?r:f?r[t]:(r[t]||{}).prototype;for(o in l&&(n=t),n)(u=!c&&g&&void 0!==g[o])&&_(v,o)||(s=u?g[o]:n[o],v[o]=l&&"function"!=typeof g[o]?n[o]:h&&u?a(s,r):p&&g[o]==s?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}(s):d&&"function"==typeof s?a(Function.call,s):s,d&&((v.virtual||(v.virtual={}))[o]=s,e&E.R&&y&&!y[o]&&w(y,o,s)))};E.F=1,E.G=2,E.S=4,E.P=8,E.B=16,E.W=32,E.U=64,E.R=128;var k=E;k(k.S+k.F*!l,"Object",{defineProperty:g.f});var x=i.Object,O=function(e,t,n){return x.defineProperty(e,t,n)},S=n(function(e){e.exports={default:O,__esModule:!0}}),P=t(S),T={}.toString,A=function(e){return T.call(e).slice(8,-1)},j=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==A(e)?e.split(""):Object(e)},L=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},M=function(e){return j(L(e))},C={f:{}.propertyIsEnumerable},N=Object.getOwnPropertyDescriptor,z={f:l?N:function(e,t){if(e=M(e),t=v(t,!0),p)try{return N(e,t)}catch(e){}if(_(e,t))return m(!C.f.call(e,t),e[t])}},F=function(e,t){var n=(i.Object||{})[e]||Object[e],r={};r[e]=t(n),k(k.S+k.F*c(function(){n(1)}),"Object",r)},I=z.f;F("getOwnPropertyDescriptor",function(){return function(e,t){return I(M(e),t)}});var R=i.Object,$=function(e,t){return R.getOwnPropertyDescriptor(e,t)},V=n(function(e){e.exports={default:$,__esModule:!0}}),D=t(V),K=function(e){return Object(L(e))},B=n(function(e){var t=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:i.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),W=0,G=Math.random(),q=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++W+G).toString(36))},H=B("keys"),U=function(e){return H[e]||(H[e]=q(e))},Y=U("IE_PROTO"),Q=Object.prototype,Z=Object.getPrototypeOf||function(e){return e=K(e),_(e,Y)?e[Y]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Q:null};F("getPrototypeOf",function(){return function(e){return Z(K(e))}});var J,X=i.Object.getPrototypeOf,ee=n(function(e){e.exports={default:X,__esModule:!0}}),te=t(ee),ne=Math.ceil,re=Math.floor,ie=function(e){return isNaN(e=+e)?0:(e>0?re:ne)(e)},oe=w,ae={},ue=Math.min,se=function(e){return e>0?ue(ie(e),9007199254740991):0},ce=Math.max,le=Math.min,fe=(J=!1,function(e,t,n){var r,i=M(e),o=se(i.length),a=function(e,t){return(e=ie(e))<0?ce(e+t,0):le(e,t)}(n,o);if(J&&t!=t){for(;o>a;)if((r=i[a++])!=r)return!0}else for(;o>a;a++)if((J||a in i)&&i[a]===t)return J||a||0;return!J&&-1}),de=U("IE_PROTO"),he=function(e,t){var n,r=M(e),i=0,o=[];for(n in r)n!=de&&_(r,n)&&o.push(n);for(;t.length>i;)_(r,n=t[i++])&&(~fe(o,n)||o.push(n));return o},pe="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ve=Object.keys||function(e){return he(e,pe)},ye=l?Object.defineProperties:function(e,t){s(e);for(var n,r=ve(t),i=r.length,o=0;i>o;)g.f(e,n=r[o++],t[n]);return e},ge=r.document,me=ge&&ge.documentElement,we=U("IE_PROTO"),be=function(){},_e=function(){var e,t=h("iframe"),n=pe.length;for(t.style.display="none",me.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("