UNPKG

ooko

Version:

Task management service based on the Kanban methodology

2 lines 1.95 MB
/*! For license information please see main..js.LICENSE.txt */ (()=>{var t={62:(t,e,r)=>{"use strict";r(629)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},76:t=>{"use strict";t.exports=Function.prototype.call},107:(t,e,r)=>{"use strict";var n=r(4228),o=r(3048),i="number";t.exports=function(t){if("string"!==t&&t!==i&&"default"!==t)throw TypeError("Incorrect hint");return o(n(this),t!=i)}},128:t=>{t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},157:(t,e,r)=>{var n=r(7087),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},177:(t,e,r)=>{"use strict";var n=r(2127),o=r(1485),i=r(8942),a="startsWith",u=""[a];n(n.P+n.F*r(5203)(a),"String",{startsWith:function(t){var e=i(this,t,a),r=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return u?u.call(e,n,r):e.slice(r,r+n.length)===n}})},210:(t,e,r)=>{var n=r(2127);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},237:(t,e,r)=>{for(var n,o=r(7526),i=r(3341),a=r(4415),u=a("typed_array"),c=a("view"),l=!(!o.ArrayBuffer||!o.DataView),s=l,f=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(n=o[h[f++]])?(i(n.prototype,u,!0),i(n.prototype,c,!0)):s=!1;t.exports={ABV:l,CONSTR:s,TYPED:u,VIEW:c}},261:(t,e,r)=>{"use strict";var n=r(7720),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},u=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e,r){if(t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(1===e.arrayLimit?"":"s")+" allowed in an array.");return t},l=function(t,e,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,u=/(\[[^[\]]*])/g,l=r.depth>0&&/(\[[^[\]]*])/.exec(a),s=l?a.slice(0,l.index):a,f=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;f.push(s)}for(var h=0;r.depth>0&&null!==(l=u.exec(a))&&h<r.depth;){if(h+=1,!r.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(l[1])}if(l){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");f.push("["+a.slice(l.index)+"]")}return function(t,e,r,o){var i=0;if(t.length>0&&"[]"===t[t.length-1]){var a=t.slice(0,-1).join("");i=Array.isArray(e)&&e[a]?e[a].length:0}for(var u=o?e:c(e,r,i),l=t.length-1;l>=0;--l){var s,f=t[l];if("[]"===f&&r.parseArrays)s=r.allowEmptyArrays&&(""===u||r.strictNullHandling&&null===u)?[]:n.combine([],u);else{s=r.plainObjects?{__proto__:null}:{};var h="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,p=r.decodeDotInKeys?h.replace(/%2E/g,"."):h,d=parseInt(p,10);r.parseArrays||""!==p?!isNaN(d)&&f!==p&&String(d)===p&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(s=[])[d]=u:"__proto__"!==p&&(s[p]=u):s={0:u}}u=s}return u}(f,e,r,i)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==t.throwOnLimitExceeded&&"boolean"!=typeof t.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var e=void 0===t.charset?a.charset:t.charset,r=void 0===t.duplicates?a.duplicates:t.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||a.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof t.throwOnLimitExceeded&&t.throwOnLimitExceeded}}(e);if(""===t||null==t)return r.plainObjects?{__proto__:null}:{};for(var s="string"==typeof t?function(t,e){var r={__proto__:null},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var s=e.parameterLimit===1/0?void 0:e.parameterLimit,f=l.split(e.delimiter,e.throwOnLimitExceeded?s+1:s);if(e.throwOnLimitExceeded&&f.length>s)throw new RangeError("Parameter limit exceeded. Only "+s+" parameter"+(1===s?"":"s")+" allowed.");var h,p=-1,d=e.charset;if(e.charsetSentinel)for(h=0;h<f.length;++h)0===f[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[h]?d="utf-8":"utf8=%26%2310003%3B"===f[h]&&(d="iso-8859-1"),p=h,h=f.length);for(h=0;h<f.length;++h)if(h!==p){var y,v,m=f[h],g=m.indexOf("]="),b=-1===g?m.indexOf("="):g+1;-1===b?(y=e.decoder(m,a.decoder,d,"key"),v=e.strictNullHandling?null:""):(y=e.decoder(m.slice(0,b),a.decoder,d,"key"),v=n.maybeMap(c(m.slice(b+1),e,i(r[y])?r[y].length:0),(function(t){return e.decoder(t,a.decoder,d,"value")}))),v&&e.interpretNumericEntities&&"iso-8859-1"===d&&(v=u(String(v))),m.indexOf("[]=")>-1&&(v=i(v)?[v]:v);var w=o.call(r,y);w&&"combine"===e.duplicates?r[y]=n.combine(r[y],v):w&&"last"!==e.duplicates||(r[y]=v)}return r}(t,r):t,f=r.plainObjects?{__proto__:null}:{},h=Object.keys(s),p=0;p<h.length;++p){var d=h[p],y=l(d,s[d],r,"string"==typeof t);f=n.merge(f,y,r)}return!0===r.allowSparse?f:n.compact(f)}},333:(t,e,r)=>{r(7209)("Uint8",1,(function(t){return function(e,r,n){return t(this,e,r,n)}}),!0)},341:(t,e,r)=>{"use strict";var n=r(5411),o=r(4228),i=r(9190),a=r(8828),u=r(1485),c=r(2535),l=r(9600),s=r(9448),f=Math.min,h=[].push,p="split",d="length",y="lastIndex",v=4294967295,m=!s((function(){RegExp(v,"y")}));r(9228)("split",2,(function(t,e,r,s){var g;return g="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[d]||2!="ab"[p](/(?:ab)*/)[d]||4!="."[p](/(.?)(.?)/)[d]||"."[p](/()()/)[d]>1||""[p](/.?/)[d]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!n(t))return r.call(o,t,e);for(var i,a,u,c=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,p=void 0===e?v:e>>>0,m=new RegExp(t.source,s+"g");(i=l.call(m,o))&&!((a=m[y])>f&&(c.push(o.slice(f,i.index)),i[d]>1&&i.index<o[d]&&h.apply(c,i.slice(1)),u=i[0][d],f=a,c[d]>=p));)m[y]===i.index&&m[y]++;return f===o[d]?!u&&m.test("")||c.push(""):c.push(o.slice(f)),c[d]>p?c.slice(0,p):c}:"0"[p](void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,n){var o=t(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,o,n):g.call(String(o),r,n)},function(t,e){var n=s(g,t,this,e,g!==r);if(n.done)return n.value;var l=o(t),h=String(this),p=i(l,RegExp),d=l.unicode,y=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(m?"y":"g"),b=new p(m?l:"^(?:"+l.source+")",y),w=void 0===e?v:e>>>0;if(0===w)return[];if(0===h.length)return null===c(b,h)?[h]:[];for(var _=0,x=0,k=[];x<h.length;){b.lastIndex=m?x:0;var E,L=c(b,m?h:h.slice(x));if(null===L||(E=f(u(b.lastIndex+(m?0:x)),h.length))===_)x=a(h,x,d);else{if(k.push(h.slice(_,x)),k.length===w)return k;for(var S=1;S<=L.length-1;S++)if(k.push(L[S]),k.length===w)return k;x=_=E}}return k.push(h.slice(_)),k}]}))},345:(t,e,r)=>{var n=r(2127);n(n.S,"Math",{sign:r(3733)})},414:t=>{"use strict";t.exports=Math.round},453:(t,e,r)=>{"use strict";var n,o=r(9612),i=r(9383),a=r(1237),u=r(9290),c=r(9538),l=r(8068),s=r(9675),f=r(5345),h=r(1514),p=r(8968),d=r(6188),y=r(8002),v=r(5880),m=r(414),g=r(3093),b=Function,w=function(t){try{return b('"use strict"; return ('+t+").constructor;")()}catch(t){}},_=r(5795),x=r(655),k=function(){throw new s},E=_?function(){try{return k}catch(t){try{return _(arguments,"callee").get}catch(t){return k}}}():k,L=r(4039)(),S=r(3628),j=r(1064),O=r(8648),P=r(1002),T=r(76),C={},A="undefined"!=typeof Uint8Array&&S?S(Uint8Array):n,N={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":L&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":C,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L&&S?S(S([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&L&&S?S((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":u,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&L&&S?S((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L&&S?S(""[Symbol.iterator]()):n,"%Symbol%":L?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":E,"%TypedArray%":A,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":P,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":j,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":d,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":m,"%Math.sign%":g,"%Reflect.getPrototypeOf%":O};if(S)try{null.error}catch(t){var F=S(S(t));N["%Error.prototype%"]=F}var I=function t(e){var r;if("%AsyncFunction%"===e)r=w("async function () {}");else if("%GeneratorFunction%"===e)r=w("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=w("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&S&&(r=S(o.prototype))}return N[e]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=r(6743),B=r(9957),z=D.call(T,Array.prototype.concat),R=D.call(P,Array.prototype.splice),U=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),X=D.call(T,RegExp.prototype.exec),Y=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,W=function(t,e){var r,n=t;if(B(M,n)&&(n="%"+(r=M[n])[0]+"%"),B(N,n)){var o=N[n];if(o===C&&(o=I(n)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new l("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===X(/^%?[^%]*%?$/,t))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=G(t,0,1),r=G(t,-1);if("%"===e&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return U(t,Y,(function(t,e,r,o){n[n.length]=r?U(o,H,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",o=W("%"+n+"%",e),i=o.name,a=o.value,u=!1,c=o.alias;c&&(n=c[0],R(r,z([0,1],c)));for(var f=1,h=!0;f<r.length;f+=1){var p=r[f],d=G(p,0,1),y=G(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===y||"'"===y||"`"===y)&&d!==y)throw new l("property names with quotes must have matching quotes");if("constructor"!==p&&h||(u=!0),B(N,i="%"+(n+="."+p)+"%"))a=N[i];else if(null!=a){if(!(p in a)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(_&&f+1>=r.length){var v=_(a,p);a=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[p]}else h=B(a,p),a=a[p];h&&!u&&(N[i]=a)}}return a}},489:(t,e,r)=>{var n=r(7967).f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||r(1763)&&n(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},507:(t,e,r)=>{"use strict";var n=r(453),o=r(6556),i=r(1240),a=r(9675),u=n("%Map%",!0),c=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),s=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),h=o("Map.prototype.size",!0);t.exports=!!u&&function(){var t,e={assert:function(t){if(!e.has(t))throw new a("Side channel does not contain "+i(t))},delete:function(e){if(t){var r=f(t,e);return 0===h(t)&&(t=void 0),r}return!1},get:function(e){if(t)return c(t,e)},has:function(e){return!!t&&s(t,e)},set:function(e,r){t||(t=new u),l(t,e,r)}};return e}},521:(t,e,r)=>{"use strict";r(629)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},571:(t,e,r)=>{var n=r(2127),o=r(2738);n(n.G+n.F*(parseInt!=o),{parseInt:o})},627:(t,e,r)=>{var n=r(7917),o=r(8270),i=r(766)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},629:(t,e,r)=>{var n=r(2127),o=r(3344),i=r(9448),a=r(832),u="["+a+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),s=function(t,e,r){var o={},u=i((function(){return!!a[t]()||"​…"!="​…"[t]()})),c=o[t]=u?e(f):a[t];r&&(o[r]=c),n(n.P+n.F*u,"String",o)},f=s.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=s},655:t=>{"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},660:(t,e,r)=>{var n=r(2127);n(n.G+n.W+n.F*!r(237).ABV,{DataView:r(8032).DataView})},752:(t,e,r)=>{var n=r(4401);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")}},762:(t,e,r)=>{var n=r(4848),o=r(7574)("iterator"),i=r(906);t.exports=r(6094).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},766:(t,e,r)=>{var n=r(4556)("keys"),o=r(4415);t.exports=function(t){return n[t]||(n[t]=o(t))}},812:(t,e,r)=>{var n=r(4401);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},830:t=>{"use strict";var e="__",r="--",n=Array.isArray;t.exports=function(t){var o=e,i=r,a="-",u=""+t;return c.setup=function(t,n,u){return o=u||e,i=n||r,a=t||"-",c},c;function c(t){var e,r;if(t)if(43===t.charCodeAt(0)){var a=t.indexOf(".");-1!==a?(e=u+o+t.substr(a+1),r=t.substr(0,a+1)+e):r=t+"."+(e=u)}else r=e=u+o+t;else r=e=u;var c=arguments.length;if(c<2)return r;for(var f=[r],h=e+i,p=1;p<c;p++){var d=arguments[p];if(d)if("string"!=typeof d)if("object"!=typeof d);else{if(n(d)){s(f,h,d);continue}l(f,h,d)}else f.push(d)}return f.join(" ")}function l(t,e,r){for(var n in r){var o=r[n];!0!==o?(o||0===o)&&t.push(e+n+a+o):t.push(e+n)}}function s(t,e,r){for(var o=0,i=r.length;o<i;o++){var a=r[o];a&&("object"!=typeof a?"string"==typeof a&&t.push(a):n(a)?s(t,e,a):l(t,e,a))}}}},832:t=>{t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},906:t=>{t.exports={}},920:(t,e,r)=>{"use strict";var n=r(9675),o=r(1240),i=r(4803),a=r(507),u=r(2271)||a||i;t.exports=function(){var t,e={assert:function(t){if(!e.has(t))throw new n("Side channel does not contain "+o(t))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,r){t||(t=u()),t.set(e,r)}};return e}},923:(t,e,r)=>{var n=r(2127),o=r(6094),i=r(9448);t.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],a={};a[t]=e(r),n(n.S+n.F*i((function(){r(1)})),"Object",a)}},935:(t,e,r)=>{var n=r(2127);n(n.S,"Object",{create:r(4719)})},957:(t,e,r)=>{"use strict";r(629)("trim",(function(t){return function(){return t(this,3)}}))},961:(t,e,r)=>{"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=r(2551)},977:function(t,e,r){t.exports=function(t,e){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(t),o=r(e);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)),n}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e){if(null==t)return{};var r,n=function(t,e){if(null==t)return{};for(var r,n={},o=Object.keys(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r]);return n}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n,o=s(t);return!(n=e?(r=s(this).constructor,Reflect.construct(o,arguments,r)):o.apply(this,arguments))||"object"!=typeof n&&"function"!=typeof n?p(this):n}}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(t,e)||v(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){if(t){if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){return new Promise((function(r,n){var o,i=new Image;i.onload=function(){return r(i)},i.onerror=n,0==(null!==(o=t)&&!!o.match(/^\s*data:([a-z]+\/[a-z]+(;[a-z-]+=[a-z-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=\-._~:@/?%\s]*\s*$/i))&&e&&(i.crossOrigin=e),i.src=t}))}var b,w=!("undefined"==typeof window||"undefined"==typeof navigator||!("ontouchstart"in window||0<navigator.msMaxTouchPoints)),_="undefined"!=typeof File,x={touch:{react:{down:"onTouchStart",mouseDown:"onMouseDown",drag:"onTouchMove",move:"onTouchMove",mouseMove:"onMouseMove",up:"onTouchEnd",mouseUp:"onMouseUp"},native:{down:"touchstart",mouseDown:"mousedown",drag:"touchmove",move:"touchmove",mouseMove:"mousemove",up:"touchend",mouseUp:"mouseup"}},desktop:{react:{down:"onMouseDown",drag:"onDragOver",move:"onMouseMove",up:"onMouseUp"},native:{down:"mousedown",drag:"dragStart",move:"mousemove",up:"mouseup"}}},k=w?x.touch:x.desktop,E="undefined"!=typeof window&&window.devicePixelRatio?window.devicePixelRatio:1,L={x:.5,y:.5},S=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(c,o.default.Component);var t,e,r,n=d(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a(p(e=n.call(this,t)),"state",{drag:!1,my:null,mx:null,image:L}),a(p(e),"handleImageReady",(function(t){var r=e.getInitialSize(t.width,t.height);r.resource=t,r.x=.5,r.y=.5,r.backgroundColor=e.props.backgroundColor,e.setState({drag:!1,image:r},e.props.onImageReady),e.props.onLoadSuccess(r)})),a(p(e),"clearImage",(function(){e.canvas.getContext("2d").clearRect(0,0,e.canvas.width,e.canvas.height),e.setState({image:L})})),a(p(e),"handleMouseDown",(function(t){(t=t||window.event).preventDefault(),e.setState({drag:!0,mx:null,my:null})})),a(p(e),"handleMouseUp",(function(){e.state.drag&&(e.setState({drag:!1}),e.props.onMouseUp())})),a(p(e),"handleMouseMove",(function(t){var r,n,o,i,a,u,c,s,f,h,p,d,y,v,m,g;t=t||window.event,!1!==e.state.drag&&(t.preventDefault(),o={mx:r=t.targetTouches?t.targetTouches[0].pageX:t.clientX,my:n=t.targetTouches?t.targetTouches[0].pageY:t.clientY},g=e.props.rotate,g=(g%=360)<0?g+360:g,e.state.mx&&e.state.my&&(i=e.state.mx-r,a=e.state.my-n,u=e.state.image.width*e.props.scale,c=e.state.image.height*e.props.scale,f=(s=e.getCroppingRect()).x,h=s.y,f*=u,h*=c,p=function(t){return t*(Math.PI/180)},d=Math.cos(p(g)),v=h+-i*(y=Math.sin(p(g)))+a*d,m={x:(f+i*d+a*y)/u+1/e.props.scale*e.getXScale()/2,y:v/c+1/e.props.scale*e.getYScale()/2},e.props.onPositionChange(m),o.image=l(l({},e.state.image),m)),e.setState(o),e.props.onMouseMove(t))})),a(p(e),"setCanvas",(function(t){e.canvas=t})),e.canvas=null,e}return t=c,(e=[{key:"componentDidMount",value:function(){this.props.disableHiDPIScaling&&(E=1);var t,e,r=this.canvas.getContext("2d");this.props.image&&this.loadImage(this.props.image),this.paint(r),document&&(t=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}()&&{passive:!1},e=k.native,document.addEventListener(e.move,this.handleMouseMove,t),document.addEventListener(e.up,this.handleMouseUp,t),w&&(document.addEventListener(e.mouseMove,this.handleMouseMove,t),document.addEventListener(e.mouseUp,this.handleMouseUp,t)))}},{key:"componentDidUpdate",value:function(t,e){this.props.image&&this.props.image!==t.image||this.props.width!==t.width||this.props.height!==t.height||this.props.backgroundColor!==t.backgroundColor?this.loadImage(this.props.image):this.props.image||e.image===L||this.clearImage();var r=this.canvas.getContext("2d");r.clearRect(0,0,this.canvas.width,this.canvas.height),this.paint(r),this.paintImage(r,this.state.image,this.props.border),t.image===this.props.image&&t.width===this.props.width&&t.height===this.props.height&&t.position===this.props.position&&t.scale===this.props.scale&&t.rotate===this.props.rotate&&e.my===this.state.my&&e.mx===this.state.mx&&e.image.x===this.state.image.x&&e.image.y===this.state.image.y&&e.backgroundColor===this.state.backgroundColor||this.props.onImageChange()}},{key:"componentWillUnmount",value:function(){var t;document&&(t=k.native,document.removeEventListener(t.move,this.handleMouseMove,!1),document.removeEventListener(t.up,this.handleMouseUp,!1),w&&(document.removeEventListener(t.mouseMove,this.handleMouseMove,!1),document.removeEventListener(t.mouseUp,this.handleMouseUp,!1)))}},{key:"isVertical",value:function(){return!this.props.disableCanvasRotation&&this.props.rotate%180!=0}},{key:"getBorders",value:function(t){var e=0<arguments.length&&void 0!==t?t:this.props.border;return Array.isArray(e)?e:[e,e]}},{key:"getDimensions",value:function(){var t=this.props,e=t.width,r=t.height,n=t.rotate,o=t.border,i={},a=y(this.getBorders(o),2),u=a[0],c=a[1],l=e,s=r;return this.isVertical()?(i.width=s,i.height=l):(i.width=l,i.height=s),i.width+=2*u,i.height+=2*c,{canvas:i,rotate:n,width:e,height:r,border:o}}},{key:"getImage",value:function(){var t=this.getCroppingRect(),e=this.state.image;t.x*=e.resource.width,t.y*=e.resource.height,t.width*=e.resource.width,t.height*=e.resource.height;var r=document.createElement("canvas");this.isVertical()?(r.width=t.height,r.height=t.width):(r.width=t.width,r.height=t.height);var n=r.getContext("2d");return n.translate(r.width/2,r.height/2),n.rotate(this.props.rotate*Math.PI/180),n.translate(-r.width/2,-r.height/2),this.isVertical()&&n.translate((r.width-r.height)/2,(r.height-r.width)/2),e.backgroundColor&&(n.fillStyle=e.backgroundColor,n.fillRect(-t.x,-t.y,e.resource.width,e.resource.height)),n.drawImage(e.resource,-t.x,-t.y),r}},{key:"getImageScaledToCanvas",value:function(){var t=this.getDimensions(),e=t.width,r=t.height,n=document.createElement("canvas");return this.isVertical()?(n.width=r,n.height=e):(n.width=e,n.height=r),this.paintImage(n.getContext("2d"),this.state.image,0,1),n}},{key:"getXScale",value:function(){var t=this.props.width/this.props.height,e=this.state.image.width/this.state.image.height;return Math.min(1,t/e)}},{key:"getYScale",value:function(){var t=this.props.height/this.props.width,e=this.state.image.height/this.state.image.width;return Math.min(1,t/e)}},{key:"getCroppingRect",value:function(){var t=this.props.position||{x:this.state.image.x,y:this.state.image.y},e=1/this.props.scale*this.getXScale(),r=1/this.props.scale*this.getYScale(),n={x:t.x-e/2,y:t.y-r/2,width:e,height:r},o=0,i=1-n.width,a=0,u=1-n.height;return(this.props.disableBoundaryChecks||1<e||1<r)&&(o=-n.width,a=-n.height,u=i=1),l(l({},n),{},{x:Math.max(o,Math.min(n.x,i)),y:Math.max(a,Math.min(n.y,u))})}},{key:"loadImage",value:function(t){var e;_&&t instanceof File?this.loadingImage=(e=t,new Promise((function(t,r){var n=new FileReader;n.onload=function(e){try{var n=g(e.target.result);t(n)}catch(e){r(e)}},n.readAsDataURL(e)})).then(this.handleImageReady).catch(this.props.onLoadFailure)):"string"==typeof t&&(this.loadingImage=g(t,this.props.crossOrigin).then(this.handleImageReady).catch(this.props.onLoadFailure))}},{key:"getInitialSize",value:function(t,e){var r,n,o=this.getDimensions();return e/t<o.height/o.width?n=t*((r=this.getDimensions().height)/e):r=e*((n=this.getDimensions().width)/t),{height:r,width:n}}},{key:"paintImage",value:function(t,e,r,n){var o,i=3<arguments.length&&void 0!==n?n:E;e.resource&&(o=this.calculatePosition(e,r),t.save(),t.translate(t.canvas.width/2,t.canvas.height/2),t.rotate(this.props.rotate*Math.PI/180),t.translate(-t.canvas.width/2,-t.canvas.height/2),this.isVertical()&&t.translate((t.canvas.width-t.canvas.height)/2,(t.canvas.height-t.canvas.width)/2),t.scale(i,i),t.globalCompositeOperation="destination-over",t.drawImage(e.resource,o.x,o.y,o.width,o.height),e.backgroundColor&&(t.fillStyle=e.backgroundColor,t.fillRect(o.x,o.y,o.width,o.height)),t.restore())}},{key:"calculatePosition",value:function(t,e){t=t||this.state.image;var r=y(this.getBorders(e),2),n=r[0],o=r[1],i=this.getCroppingRect(),a=t.width*this.props.scale,u=t.height*this.props.scale,c=-i.x*a,l=-i.y*u;return this.isVertical()?(c+=o,l+=n):(c+=n,l+=o),{x:c,y:l,height:u,width:a}}},{key:"paint",value:function(t){t.save(),t.scale(E,E),t.translate(0,0),t.fillStyle="rgba("+this.props.color.slice(0,4).join(",")+")";var e,r,n,o,i,a,u,c,l=this.props.borderRadius,s=this.getDimensions(),f=y(this.getBorders(s.border),2),h=f[0],p=f[1],d=s.canvas.height,v=s.canvas.width;l=Math.max(l,0),l=Math.min(l,v/2-h,d/2-p),t.beginPath(),e=t,o=v-2*(r=h),i=d-2*(n=p),0===(a=l)?e.rect(r,n,o,i):(u=o-a,c=i-a,e.translate(r,n),e.arc(a,a,a,Math.PI,1.5*Math.PI),e.lineTo(u,0),e.arc(u,a,a,1.5*Math.PI,2*Math.PI),e.lineTo(o,c),e.arc(u,c,a,2*Math.PI,.5*Math.PI),e.lineTo(a,i),e.arc(a,c,a,.5*Math.PI,Math.PI),e.translate(-r,-n)),t.rect(v,0,-v,d),t.fill("evenodd"),t.restore()}},{key:"render",value:function(){var t=this.props,e=(t.scale,t.rotate,t.image,t.border,t.borderRadius,t.width,t.height,t.position,t.color,t.backgroundColor,t.style),r=(t.crossOrigin,t.onLoadFailure,t.onLoadSuccess,t.onImageReady,t.onImageChange,t.onMouseUp,t.onMouseMove,t.onPositionChange,t.disableBoundaryChecks,t.disableHiDPIScaling,t.disableCanvasRotation,h(t,["scale","rotate","image","border","borderRadius","width","height","position","color","backgroundColor","style","crossOrigin","onLoadFailure","onLoadSuccess","onImageReady","onImageChange","onMouseUp","onMouseMove","onPositionChange","disableBoundaryChecks","disableHiDPIScaling","disableCanvasRotation"])),n=this.getDimensions(),i={width:n.canvas.width,height:n.canvas.height,cursor:this.state.drag?"grabbing":"grab",touchAction:"none"},a={width:n.canvas.width*E,height:n.canvas.height*E,style:l(l({},i),e)};return a[k.react.down]=this.handleMouseDown,w&&(a[k.react.mouseDown]=this.handleMouseDown),o.default.createElement("canvas",u({ref:this.setCanvas},a,r))}}])&&i(t.prototype,e),r&&i(t,r),c}();return a(S,"propTypes",{scale:n.default.number,rotate:n.default.number,image:n.default.oneOfType([n.default.string].concat(function(t){if(Array.isArray(t))return m(t)}(b=_?[n.default.instanceOf(File)]:[])||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(b)||v(b)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),border:n.default.oneOfType([n.default.number,n.default.arrayOf(n.default.number)]),borderRadius:n.default.number,width:n.default.number,height:n.default.number,position:n.default.shape({x:n.default.number,y:n.default.number}),color:n.default.arrayOf(n.default.number),backgroundColor:n.default.string,crossOrigin:n.default.oneOf(["","anonymous","use-credentials"]),onLoadFailure:n.default.func,onLoadSuccess:n.default.func,onImageReady:n.default.func,onImageChange:n.default.func,onMouseUp:n.default.func,onMouseMove:n.default.func,onPositionChange:n.default.func,disableBoundaryChecks:n.default.bool,disableHiDPIScaling:n.default.bool,disableCanvasRotation:n.default.bool}),a(S,"defaultProps",{scale:1,rotate:0,border:25,borderRadius:0,width:200,height:200,color:[0,0,0,.5],onLoadFailure:function(){},onLoadSuccess:function(){},onImageReady:function(){},onImageChange:function(){},onMouseUp:function(){},onMouseMove:function(){},onPositionChange:function(){},disableBoundaryChecks:!1,disableHiDPIScaling:!1,disableCanvasRotation:!0}),S}(r(5556),r(6540))},1002:t=>{"use strict";t.exports=Function.prototype.apply},1060:(t,e)=>{e.f=Object.getOwnPropertySymbols},1064:(t,e,r)=>{"use strict";var n=r(9612);t.exports=n.getPrototypeOf||null},1104:(t,e,r)=>{var n=r(2127),o=r(627),i=r(4228);n(n.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},1124:(t,e,r)=>{var n=r(8535);n(n.G,{global:r(6670)})},1158:(t,e,r)=>{"use strict";var n=r(4228);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},1212:(t,e,r)=>{var n=r(7087),o=r(3344);t.exports=function(t){return function(e,r){var i,a,u=String(o(e)),c=n(r),l=u.length;return c<0||c>=l?t?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===l||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},1220:(t,e,r)=>{r(7209)("Int16",2,(function(t){return function(e,r,n){return t(this,e,r,n)}}))},1237:t=>{"use strict";t.exports=EvalError},1240:(t,e,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,u="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=u&&c&&"function"==typeof c.get?c.get:null,s=u&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,x=RegExp.prototype.test,k=Array.prototype.concat,E=Array.prototype.join,L=Array.prototype.slice,S=Math.floor,j="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function F(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||x.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-S(-t):S(t);if(n!==t){var o=String(n),i=g.call(e,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,r,"$&_")}var I=r(2634),M=I.custom,D=H(M)?M:null,B={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function R(t,e,r){var n=r.quoteStyle||e,o=B[n];return o+t+o}function U(t){return b.call(String(t),/"/g,"&quot;")}function G(t){return!C||!("object"==typeof t&&(C in t||void 0!==t[C]))}function X(t){return"[object Array]"===V(t)&&G(t)}function Y(t){return"[object RegExp]"===V(t)&&G(t)}function H(t){if(T)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!P)return!1;try{return P.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,o,u){var c=n||{};if($(c,"quoteStyle")&&!$(B,c.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!$(c,"customInspect")||c.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return q(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var x=String(e);return w?F(e,x):x}if("bigint"==typeof e){var S=String(e)+"n";return w?F(e,S):S}var O=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=O&&O>0&&"object"==typeof e)return X(e)?"[Array]":"[Object]";var M=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=E.call(Array(t.indent+1)," ")}return{base:r,prev:E.call(Array(e+1),r)}}(c,o);if(void 0===u)u=[];else if(K(u,e)>=0)return"[Circular]";function z(e,r,n){if(r&&(u=L.call(u)).push(r),n){var i={depth:c.depth};return $(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),t(e,i,o+1,u)}return t(e,c,o+1,u)}if("function"==typeof e&&!Y(e)){var W=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),Z=rt(e,z);return"[Function"+(W?": "+W:" (anonymous)")+"]"+(Z.length>0?" { "+E.call(Z,", ")+" }":"")}if(H(e)){var nt=T?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(e);return"object"!=typeof e||T?nt:Q(nt)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var ot="<"+_.call(String(e.nodeName)),it=e.attributes||[],at=0;at<it.length;at++)ot+=" "+it[at].name+"="+R(U(it[at].value),"double",c);return ot+=">",e.childNodes&&e.childNodes.length&&(ot+="..."),ot+="</"+_.call(String(e.nodeName))+">"}if(X(e)){if(0===e.length)return"[]";var ut=rt(e,z);return M&&!function(t){for(var e=0;e<t.length;e++)if(K(t[e],"\n")>=0)return!1;return!0}(ut)?"["+et(ut,M)+"]":"[ "+E.call(ut,", ")+" ]"}if(function(t){return"[object Error]"===V(t)&&G(t)}(e)){var ct=rt(e,z);return"cause"in Error.prototype||!("cause"in e)||A.call(e,"cause")?0===ct.length?"["+String(e)+"]":"{ ["+String(e)+"] "+E.call(ct,", ")+" }":"{ ["+String(e)+"] "+E.call(k.call("[cause]: "+z(e.cause),ct),", ")+" }"}if("object"==typeof e&&y){if(D&&"function"==typeof e[D]&&I)return I(e,{depth:O-o});if("symbol"!==y&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{l.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var lt=[];return a&&a.call(e,(function(t,r){lt.push(z(r,e,!0)+" => "+z(t,e))})),tt("Map",i.call(e),lt,M)}if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return s&&s.call(e,(function(t){st.push(z(t,e))})),tt("Set",l.call(e),st,M)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{return p.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return"[object Number]"===V(t)&&G(t)}(e))return Q(z(Number(e)));if(function(t){if(!t||"object"!=typeof t||!j)return!1;try{return j.call(t),!0}catch(t){}return!1}(e))return Q(z(j.call(e)));if(function(t){return"[object Boolean]"===V(t)&&G(t)}(e))return Q(d.call(e));if(function(t){return"[object String]"===V(t)&&G(t)}(e))return Q(z(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==r.g&&e===r.g)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===V(t)&&G(t)}(e)&&!Y(e)){var ft=rt(e,z),ht=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,pt=e instanceof Object?"":"null prototype",dt=!ht&&C&&Object(e)===e&&C in e?g.call(V(e),8,-1):pt?"Object":"",yt=(ht||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(dt||pt?"["+E.call(k.call([],dt||[],pt||[]),": ")+"] ":"");return 0===ft.length?yt+"{}":M?yt+"{"+et(ft,M)+"}":yt+"{ "+E.call(ft,", ")+" }"}return String(e)};var W=Object.prototype.hasOwnProperty||function(t){return t in this};function $(t,e){return W.call(t,e)}function V(t){return y.call(t)}function K(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function q(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return q(g.call(t,0,e.maxStringLength),e)+n}var o=z[e.quoteStyle||"single"];return o.lastIndex=0,R(b.call(b.call(t,o,"\\$1"),/[\x00-\x1f]/g,Z),"single",e)}function Z(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function Q(t){return"Object("+t+")"}function J(t){return t+" { ? }"}function tt(t,e,r,n){return t+" ("+e+") {"+(n?et(r,n):E.call(r,", "))+"}"}function et(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+E.call(t,","+r)+"\n"+e.prev}function rt(t,e){var r=X(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=$(t,o)?e(t[o],t):""}var i,a="function"==typeof O?O(t):[];if(T){i={};for(var u=0;u<a.length;u++)i["$"+a[u]]=a[u]}for(var c in t)$(t,c)&&(r&&String(Number(c))===c&&c<t.length||T&&i["$"+c]instanceof Symbol||(x.call(/[^\w$]/,c)?n.push(e(c,t)+": "+e(t[c],t)):n.push(c+": "+e(t[c],t))));if("function"==typeof O)for(var l=0;l<a.length;l++)A.call(t,a[l])&&n.push("["+e(a[l])+"]: "+e(t[a[l]],t));return n}},1243:(t,e,r)=>{r(7146),t.exports=r(6094).Object.entries},1249:(t,e,r)=>{var n=r(5089);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},1308:(t,e,r)=>{var n=r(7526).document;t.exports=n&&n.documentElement},1311:(t,e,r)=>{var n=r(4561),o=r(6140);t.exports=Object.keys||function(t){return n(t,o)}},1318:(t,e,r)=>{var n=r(2127);n(n.S,"Math",{fround:r(2122)})},1333:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},1368:(t,e,r)=>{r(62),t.exports=r(6094).String.trimLeft},1384:(t,e,r)=>{var n=r(7526),o=r(2780).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,u=n.Promise,c="process"==r(5089)(a);t.exports=function(){var t,e,r,l=function(){var n,o;for(c&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(l)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var s=u.resolve(void 0);r=function(){s.then(l)}}else r=function(){o.call(n,l)};else{var f=!0,h=document.createTextNode("");new i(l).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},1430:(t,e,r)=>{var n=r(2127);n(n.S+n.F,"Object",{assign:r(8206)})},1449:(t,e,r)=>{"use strict";var n=r(2127),o=r(6543);n(n.P+n.F*!r(6884)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},1464:(t,e,r)=>{var n=r(7221),o=r(1485),i=r(157);t.exports=function(t){return function(e,r,a){var u,c=n(e),l=o(c.length),s=i(a,l);if(t&&r!=r){for(;l>s;)if((u=c[s++])!=u)return!0}else for(;l>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}}},1473:t=>{t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},1485:(t,e,r)=>{var n=r(7087),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},1508:(t,e,r)=>{var n=r(906),o=r(7574)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},1514:t=>{"use strict";t.exports=Math.abs},1626:(t,e,r)=>{var n=r(7967),o=r(4228),i=r(1311);t.exports=r(1763)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),u=a.length,c=0;u>c;)n.f(t,r=a[c++],e[r]);return t}},1632:(t,e,r)=>{"use strict";var n=r(6197),o=r(2888);t.exports=r(8933)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return n.def(o(this,"Set"),t=0===t?0:t,