dozy 1.0.72 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -465,7 +465,7 @@ declare function $formatDate(dateInput: string | number | Date): string;
|
|
|
465
465
|
* $formatPoints(12.34, 2) // 返回 "1,234.00"
|
|
466
466
|
* $formatPoints(0.5, 3) // 返回 "500.000"
|
|
467
467
|
*/
|
|
468
|
-
declare function $formatPoints(points
|
|
468
|
+
declare function $formatPoints(points?: number, bits?: number): string;
|
|
469
469
|
/**
|
|
470
470
|
* 格式化数值为带符号和颜色的显示元组,并添加千分位分隔符。
|
|
471
471
|
*
|
|
@@ -488,7 +488,7 @@ declare function $formatPoints(points: number, bits?: number): string;
|
|
|
488
488
|
* $formatPointsWithChange(-0.5, 2) // 返回 ["-50.00", "#a00"]
|
|
489
489
|
* $formatPointsWithChange(0, 2) // 返回 ["0.00", "#333"]
|
|
490
490
|
*/
|
|
491
|
-
declare function $formatPointsWithChange(points
|
|
491
|
+
declare function $formatPointsWithChange(points?: number, bits?: number): [display: string, color: string];
|
|
492
492
|
/**
|
|
493
493
|
* 将错误转换成一个始终包含 `msg` 字段的对象。
|
|
494
494
|
*
|
|
@@ -977,6 +977,6 @@ declare function toRgbString(input: string | Color | any): string | undefined;
|
|
|
977
977
|
*/
|
|
978
978
|
declare function toHslString(input: string | Color | any): string | undefined;
|
|
979
979
|
|
|
980
|
-
declare const DOZY = "1.0.
|
|
980
|
+
declare const DOZY = "1.0.73";
|
|
981
981
|
|
|
982
982
|
export { $Headers, $Request, $Response, $URL, $URLSearchParams, $arrayFrom, $arrayIsArray, $assign, $backgroundColor, $borderColor, $capitalize, $checkValidEmailWithUnicode, $clamp, $clearInterval, $clearTimeout, $clone, $compressImage, $compressImageBase64, $compressImageDefaultOptions, $copy, $crypto, $date, $decodeBase64ToBinary, $decodeBase64ToUnicode, $deepClone, $defineProperty, $document, $encodeUnicodeToBase64, $entries, $escapeHTML, $fallbackCopy, $fetch, $fileToBase64, $formatDate, $formatPoints, $formatPointsWithChange, $formatWithCommas, $freeze, $genSSF, $getFileType, $getHue, $getTimeString, $hasKey, $if, $inRange, $inRange2, $inferMimeTypeFormPureBase64, $is, $isObject, $isPlainClass, $isValidEmailWithUnicode, $isValidOrBriefURL, $jsonParse, $jsonStringify, $keys, $lastIndex, $lindex, $loadOpt, $location, $log, $lplus, $magic, $math, $now, $numberIsFinite, $numberIsNaN, $oc, $open, $parseParams, $promise, $pureText, $purifyBase64, $randomByte, $replaceHolesWithUndefined, $rmvSlash, $rsValue, $rsetValue, $rvalue, $s, $sc, $setInterval, $setRange, $setTimeout, $stringFromCharCode, $stringFromCodePoint, $stringToRange, $strings, $toDataUrlFromBase64, $validName, $values, $window, type Any, type Atoa, type Coord, type Coord3, DOZY, type DozyConfig, type DozyConfigItem, type FileType, Gens, type Hel, type IOpt, type Items, type Null, type Nullable, RainbowGen, type ScaleComputer, type ScaleIniter, StringObfuscator, type UNumber, __GensDirectives, _res, boxShadow, dozy, enableScaler, err403, errArg, errCode, errContent, errMsg, errNotLoggedIn, errToString, getBrightness, getColorMap, isNowAroundUtcHour, isNull, isValidColor, maybeString, registerCustomColor, s, shanghaiDateFormatter, smallChance, smartParse, smartString, standardIniter, textShadow, toHexString, toHslString, toRgbString, toRgbaArray, web$enableHttpsRedirect, web$enableProdProtector, web$encodeURI, web$pathStartData, web$redirectToDomain, web$setPathTarget, xtrim };
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import{a as $1,b as le,c as Rc,d as k8,e as Ma,f as W0,g as q0}from"./chunk-7Q6C
|
|
|
4
4
|
`+a.map(wh).join(`
|
|
5
5
|
`):" "+wh(a[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return n}var tf={getAdapter:Q3,adapters:Xc};function Kc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pr(null,e)}function rf(e){return Kc(e),e.headers=dt.from(e.headers),e.data=za.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tf.getAdapter(e.adapter||Un.adapter,e)(e).then(function(o){return Kc(e),o.data=za.call(e,e.transformResponse,o),o.headers=dt.from(o.headers),o},function(o){return Na(o)||(Kc(e),o&&o.response&&(o.response.data=za.call(e,e.transformResponse,o.response),o.response.headers=dt.from(o.response.headers))),Promise.reject(o)})}var of="1.13.2";var nf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nf[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});var Bh={};nf.transitional=function(t,r,o){function n(i,a){return"[Axios v"+of+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,f)=>{if(t===!1)throw new re(n(a," has been removed"+(r?" in "+r:"")),re.ERR_DEPRECATED);return r&&!Bh[a]&&(Bh[a]=!0,console.warn(n(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,f):!0}};nf.spelling=function(t){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function Z3(e,t,r){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);let o=Object.keys(e),n=o.length;for(;n-- >0;){let i=o[n],a=t[i];if(a){let f=e[i],u=f===void 0||a(f,i,e);if(u!==!0)throw new re("option "+i+" must be "+u,re.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new re("Unknown option "+i,re.ERR_BAD_OPTION)}}var qa={assertOptions:Z3,validators:nf};var kr=qa.validators,jn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Oc,response:new Oc}}async request(t,r){try{return await this._request(t,r)}catch(o){if(o instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;let i=n.stack?n.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
|
6
6
|
`+i):o.stack=i}catch{}}throw o}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Cr(this.defaults,r);let{transitional:o,paramsSerializer:n,headers:i}=r;o!==void 0&&qa.assertOptions(o,{silentJSONParsing:kr.transitional(kr.boolean),forcedJSONParsing:kr.transitional(kr.boolean),clarifyTimeoutError:kr.transitional(kr.boolean)},!1),n!=null&&(H.isFunction(n)?r.paramsSerializer={serialize:n}:qa.assertOptions(n,{encode:kr.function,serialize:kr.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),qa.assertOptions(r,{baseUrl:kr.spelling("baseURL"),withXsrfToken:kr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&H.merge(i.common,i[r.method]);i&&H.forEach(["delete","get","head","post","put","patch","common"],c=>{delete i[c]}),r.headers=dt.concat(a,i);let f=[],u=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(u=u&&h.synchronous,f.unshift(h.fulfilled,h.rejected))});let m=[];this.interceptors.response.forEach(function(h){m.push(h.fulfilled,h.rejected)});let s,l=0,p;if(!u){let c=[rf.bind(this),void 0];for(c.unshift(...f),c.push(...m),p=c.length,s=Promise.resolve(r);l<p;)s=s.then(c[l++],c[l++]);return s}p=f.length;let d=r;for(;l<p;){let c=f[l++],h=f[l++];try{d=c(d)}catch(g){h.call(this,g);break}}try{s=rf.call(this,d)}catch(c){return Promise.reject(c)}for(l=0,p=m.length;l<p;)s=s.then(m[l++],m[l++]);return s}getUri(t){t=Cr(this.defaults,t);let r=Wa(t.baseURL,t.url,t.allowAbsoluteUrls);return ka(r,t.params,t.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(t){jn.prototype[t]=function(r,o){return this.request(Cr(o||{},{method:t,url:r,data:(o||{}).data}))}});H.forEach(["post","put","patch"],function(t){function r(o){return function(i,a,f){return this.request(Cr(f||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}jn.prototype[t]=r(),jn.prototype[t+"Form"]=r(!0)});var ja=jn;var Yc=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});let o=this;this.promise.then(n=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](n);o._listeners=null}),this.promise.then=n=>{let i,a=new Promise(f=>{o.subscribe(f),i=f}).then(n);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,f){o.reason||(o.reason=new Pr(i,a,f),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){let t=new AbortController,r=o=>{t.abort(o)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new e(function(n){t=n}),cancel:t}}},Fh=Yc;function Jc(e){return function(r){return e.apply(null,r)}}function Qc(e){return H.isObject(e)&&e.isAxiosError===!0}var Zc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Zc).forEach(([e,t])=>{Zc[t]=e});var Rh=Zc;function Sh(e){let t=new ja(e),r=Oa(ja.prototype.request,t);return H.extend(r,ja.prototype,t,{allOwnKeys:!0}),H.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return Sh(Cr(e,n))},r}var ot=Sh(Un);ot.Axios=ja;ot.CanceledError=Pr;ot.CancelToken=Fh;ot.isCancel=Na;ot.VERSION=of;ot.toFormData=ho;ot.AxiosError=re;ot.Cancel=ot.CanceledError;ot.all=function(t){return Promise.all(t)};ot.spread=Jc;ot.isAxiosError=Qc;ot.mergeConfig=Cr;ot.AxiosHeaders=dt;ot.formToJSON=e=>Q0(H.isHTMLForm(e)?new FormData(e):e);ot.getAdapter=tf.getAdapter;ot.HttpStatusCode=Rh;ot.default=ot;var Vc=ot;var{Axios:nq,AxiosError:Th,CanceledError:iq,isCancel:aq,CancelToken:fq,VERSION:sq,all:uq,Cancel:lq,isAxiosError:pq,spread:mq,toFormData:dq,AxiosHeaders:cq,HttpStatusCode:xq,formToJSON:hq,getAdapter:gq,mergeConfig:bq}=Vc;var Dh=JSON.parse,Mh=JSON.stringify,Oh=Object.keys,yq=Object.entries,Aq=Object.values,_q=Object.assign,Eq=Object.defineProperty,Cq=Object.freeze,wq=Object.is,Bq=Array.from,Fq=Array.isArray,Rq=String.fromCharCode,Sq=String.fromCodePoint,Tq=Number.isNaN,Dq=Number.isFinite,Mq=Math,Oq=Date.now,Iq=Date,Lq=Promise,Pq=URL,kq=URLSearchParams,Hq=globalThis.structuredClone,zq=typeof window>"u"?void 0:window,Nq=typeof document>"u"?void 0:document,Uq=typeof window>"u"?void 0:window.location,Wq=typeof window>"u"?void 0:window.open,qq=typeof window>"u"?void 0:window.setTimeout,jq=typeof window>"u"?void 0:window.clearTimeout,$q=typeof window>"u"?void 0:window.setInterval,Gq=typeof window>"u"?void 0:window.clearInterval,Xq=typeof fetch>"u"?void 0:fetch,Kq=typeof Headers>"u"?void 0:Headers,Yq=typeof Request>"u"?void 0:Request,Jq=typeof Response>"u"?void 0:Response,Qq=(e,...t)=>(console.log(e,...t),e),Zq=typeof crypto>"u"?void 0:crypto;function rj(e){return e!==null&&typeof e=="object"}function oj(e){return typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e))}function nj(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}function ij(e,t,r){return Math.min(r,Math.max(t,e))}function Lh(e,t){if(!t)return e;let r=Oh(t);for(let o of r){let n=t[o],i=e[o];if(n instanceof Object&&i instanceof Object)i.$loadOpt(n);else{let a=e;a[o]=n}}return e}function $a(e){throw new Error(e)}function aj(e){return(new DOMParser().parseFromString(e,"text/html").body.textContent||"").replace(/\n/g,"").trim()}function fj(e){return typeof e=="object"&&e!==null}function ex(e,t){return typeof e!="string"?!1:t?!!e:!0}function Br(e){return typeof e!="number"?!1:isFinite(e)}function Ga(e,t,r=1){for(e+=r;e>=t;)e-=t;for(;e<0;)e+=t;return e}function sj(e,t){let r=e.length;if(r!==0){for(;t>=r;)t-=r;for(;t<0;)t+=r;return e[t]}}function uj(e){return!!e&&/^[a-zA-Z0-9-_]+$/.test(e)}function lj(e){let t=e.split(".").pop()?.toLowerCase();if(!t)return"unknown";let r=["txt","csv","json","xml","html","css","js","ts","md","log"],o=["jpg","jpeg","png","gif","bmp","svg","webp"],n=["mp3","wav","ogg","aac","flac","m4a"],i=["mp4","webm","ogv","mov","avi","mkv"],a=["woff","woff2","ttf","otf"];return r.includes(t)?"text":o.includes(t)?"image":n.includes(t)?"audio":i.includes(t)?"video":a.includes(t)?"font":"unknown"}function pj(e){return e?new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e):!1}function mj(e,t,r=!1,o=!1){if(!Br(e))return t?"00:00":"00:00:00";r&&(e*=40);let n=e/(2400*60);n=Math.floor(n);let i=e;t||(i%=2400*60),i/=2400,i=Math.floor(i);let a=e%2400;a/=40,a=Math.floor(a);let f=e%40/40*100;f=Math.floor(f);let u=String(n).padStart(2,"0"),m=String(i).padStart(2,"0"),s=String(a).padStart(2,"0"),l=t?""+m+":"+s:""+u+":"+m+":"+s;return o?l+"%"+String(f).padStart(2,"0"):l}function dj(e,t){if(typeof t!="number")return e<=1?0:Math.floor(Math.random()*e);{if(t<=e)return 0;let r=t-e;return e+Math.floor(Math.random()*r)}}function cj(e=32){e<1&&(e=1);let t="";for(;t.length<e;)t+=Math.random().toString(36).substring(2);return t.substring(0,e)}function xj(e="",t,r){return e?Ph(Dh(e),t,r):r}function hj(e,t,r){return Ph(e,t,r,!0,!0)}function Ph(e,t,r,o=!1,n=!1){if(n&&(o=!0),!e)return r;let i=t?t.split("."):[],a=e,f=-1;for(let u of i){if(f++,f==i.length-1)return n?(a[u]=r,r):Ih(a,u)?a[u]:(o&&(a[u]=r),r);if(Ih(a,u)){a=a[u];continue}if(o){a[u]={},a=a[u];continue}return r}return a}function Ih(e,t){return Object.hasOwnProperty.call(e,t)}function kh(e,t=600,r=0){let o="";if(r>=6)o="[Too deep]";else try{o=(JSON.stringify(e)??String(e))||"[never]"}catch(n){o="Failed to stringify: "+kh(n,void 0,r+1)}return t>0&&o.length>t&&(o=o.slice(0,t)+"..."),o}function gj(e,t=600){return kh(e,t)}function V3(e){if(e instanceof Th){let t=e.response?.data?.msg;if(ex(t,!0))return t}return(e instanceof Error?e.message:String(e))||"ERROR"}function bj(){return Math.random()>.8}function vj(e,t=Object){return typeof e=="object"&&e!==null&&e.constructor===t}function Hh(e){return btoa(unescape(encodeURIComponent(e)))}function zh(e){return decodeURIComponent(escape(atob(e)))}async function yj(e){return new Promise((t,r)=>{let o=new FileReader;o.onload=()=>{let n=o.result;typeof n=="string"?t(n.split(",")[1]):r(new Error("Failed to convert file to Base64."))},o.onerror=()=>{r(new Error("Error reading file."))},o.readAsDataURL(e)})}function Aj(e){let t=atob(e),r=new Uint8Array(t.length);for(let o=0;o<t.length;o++)r[o]=t.charCodeAt(o);return r}function _j(e,t,r){return Br(t)&&t>e&&(e=t),Br(r)&&r<e&&(e=r),e}function Ej(e,t,r){return e6(e,t-r,t+r)}function e6(e,t,r){return!(Br(t)&&t>e||Br(r)&&r<e)}function t6(e,t="^"){return e.split(t)}function Nh(e,t=""){return(...r)=>{let o=r.length===1&&r[0].includes("^")?t6(r[0]):r,n="",i=Math.ceil(o.length/2);for(let a=0;a<i;a++){n&&(n+=t);let f=o[a*2],u=o[a*2+1];n+=e(f,u)}return n}}function Uh(e){return e.replace(/(\r?\n)+/g,`
|
|
7
|
-
`).replace(/[^\S\n]+/g," ").replace(/(^\s*|\s*$)/g,"")}function Cj(e,t){let r=t[e];return typeof r=="function"?r():r}function wj(e){let t=Br(e)?e:e.length;return t-=1,t>=0?t:0}function Bj(e){let t=e.slice();for(let r=0;r<t.length;r++)r in t||(e[r]=void 0);return t}function r6(e,t){e||(e="");let r=5381;for(let i=0;i<e.length;i++)r=r*33^e.charCodeAt(i);r=Math.abs(r);let n=r*.61803398875%1;return Math.floor(n*t)}function o6(e){return e.startsWith("/")?e.slice(1):e}function Fj(e){e=o6(e);let t=[],r="",o=0,n="PLACEHOLDER_"+Math.random().toString(36).slice(2,10);for(;o<e.length;)e[o]==="-"?e[o+1]==="-"?(r+="-",o+=2):(t.push(r),r="",o++):(r+=e[o],o++);return r&&t.push(r),t.map(a=>a.replace(/__/g,n).replace(/_/g," ").replace(/%20/g," ").replace(new RegExp(n,"g"),"_"))}function Wh(e){let[t,r]=e.toString().split("."),o=t.replace(/\B(?=(\d{3})+(?!\d))/g,",");return r?`${o}.${r}`:o}function n6(e){return e=e||"",/^[\p{L}\p{N}._%+-]+@(?:[\p{L}\p{N}-]+\.)+[\p{L}]{2,}$/u.test(e)}function Rj(e){n6(e)||$a("Invalid email address")}var i6=new Intl.DateTimeFormat("zh-CN",{timeZone:"Asia/Shanghai",year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1});function Sj(e){let t=new Date(e),r=i6.formatToParts(t),o=m=>r.find(s=>s.type===m)?.value??"",n=o("year"),i=o("month"),a=o("day"),f=o("hour"),u=o("minute");return`${n}\u5E74${i}\u6708${a}\u65E5 ${f}:${u}`}function Tj(e,t=2){return Br(e)?Wh((e*Math.pow(10,t)).toFixed(t)):"-"}function Dj(e,t=2){let r="#333";if(!Br(e))return["+?",r];let o="";return e>0?(o="+",r="#0a0"):e<0&&(o="-",r="#a00"),[o+Wh((e*Math.pow(10,t)).toFixed(t)),r]}function Mj(e,t){let r=V3(e);return t?{msg:r,...t}:{msg:r}}function Oj(){$a("\u5185\u5BB9\u4E0D\u6B63\u786E")}function Ij(){$a("\u53C2\u6570\u4E0D\u6B63\u786E")}function Lj(){$a("\u4F60\u8FD8\u6CA1\u6709\u767B\u5F55")}function Pj(){$a("\u4F60\u6CA1\u6709\u8FD9\u4E2A\u6743\u9650")}function kj(e){let t=new Date,r=t.getUTCHours(),o=t.getUTCMinutes(),n=e*60,i=r*60+o,a=Math.abs(i-n),f=1440-a;return a<=3||f<=3}function a6(e){let t=e.trim();if(!t)return new Uint8Array(0);try{if(typeof atob=="function"){let r=atob(t),o=new Uint8Array(r.length);for(let n=0;n<r.length;n++)o[n]=r.charCodeAt(n);return o}}catch{}try{if(typeof Buffer<"u")return Uint8Array.from(Buffer.from(t,"base64"))}catch{}return new Uint8Array(0)}function wr(e,t,r){let o="";for(let n=t;n<r&&n<e.length;n++)o+=String.fromCharCode(e[n]);return o}function qh(e){if(typeof e!="string")return null;let t=e.replace(/^data:[^;]+;base64,/i,"").replace(/\s+/g,"").trim();return!t||!/^[A-Za-z0-9+/]+={0,2}$/.test(t)||t.length%4!==0?null:t}function f6(e){let t=qh(e);if(!t)return"image/png";let r=a6(t);return r.length>=3&&r[0]===255&&r[1]===216&&r[2]===255?"image/jpeg":r.length>=8&&r[0]===137&&r[1]===80&&r[2]===78&&r[3]===71&&r[4]===13&&r[5]===10&&r[6]===26&&r[7]===10?"image/png":r.length>=6&&(wr(r,0,6)==="GIF87a"||wr(r,0,6)==="GIF89a")?"image/gif":r.length>=12&&wr(r,0,4)==="RIFF"&&wr(r,8,12)==="WEBP"?"image/webp":r.length>=2&&r[0]===66&&r[1]===77?"image/bmp":r.length>=4&&(r[0]===73&&r[1]===73&&r[2]===42&&r[3]===0||r[0]===77&&r[1]===77&&r[2]===0&&r[3]===42)?"image/tiff":r.length>=12&&wr(r,4,8)==="ftyp"&&wr(r,8,12)==="avif"?"image/avif":r.length>=12&&wr(r,4,8)==="ftyp"&&(wr(r,8,12)==="heic"||wr(r,8,12)==="heix"||wr(r,8,12)==="hevc"||wr(r,8,12)==="hevx")?"image/heic":r.length>=8&&r[0]===0&&r[1]===0&&r[2]===1&&r[3]===0?"image/x-icon":"image/png"}function jh(e){if(typeof e!="string")return null;let t=qh(e);if(!t)return null;try{return`data:${/^data:([^;]+);base64,/i.exec(e.trim())?.[1]||f6(t)};base64,${t}`}catch{return null}}var $h=e=>{let t="";try{t=Mh(e)}catch{t=String(e)}return r6(t,360)},Hj=e=>`hsl(${$h(e)}, 100%, 33%)`,zj=e=>`hsl(${$h(e)}, 100%, 40%)`;var tx=class{constructor(){this.config={}}loadConfig(t){Lh(this.config,t)}},Wj=new tx;var af="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var s6=e=>crypto.getRandomValues(new Uint8Array(e)),u6=(e,t,r)=>{let o=(2<<Math.log2(e.length-1))-1,n=-~(1.6*o*t/e.length);return(i=t)=>{let a="";for(;;){let f=r(n),u=n|0;for(;u--;)if(a+=e[f[u]&o]||"",a.length>=i)return a}}},l6=(e,t=21)=>u6(e,t|0,s6),ff=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=af[r[e]&63];return t};function p6(e,t){return t.forEach((function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach((function(o){if(o!=="default"&&!(o in e)){var n=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(e,o,n.get?n:{enumerable:!0,get:function(){return r[o]}})}}))})),Object.freeze(e)}function Xh(e,t){return new Promise((function(r,o){let n;return m6(e).then((function(i){try{return n=i,r(new Blob([t.slice(0,2),n,t.slice(2)],{type:"image/jpeg"}))}catch(a){return o(a)}}),o)}))}var m6=e=>new Promise(((t,r)=>{let o=new FileReader;o.addEventListener("load",(({target:{result:n}})=>{let i=new DataView(n),a=0;if(i.getUint16(a)!==65496)return r("not a valid JPEG");for(a+=2;;){let f=i.getUint16(a);if(f===65498)break;let u=i.getUint16(a+2);if(f===65505&&i.getUint32(a+4)===1165519206){let m=a+10,s;switch(i.getUint16(m)){case 18761:s=!0;break;case 19789:s=!1;break;default:return r("TIFF header contains invalid endian")}if(i.getUint16(m+2,s)!==42)return r("TIFF header contains invalid version");let l=i.getUint32(m+4,s),p=m+l+2+12*i.getUint16(m+l,s);for(let d=m+l+2;d<p;d+=12)if(i.getUint16(d,s)==274){if(i.getUint16(d+2,s)!==3)return r("Orientation data type is invalid");if(i.getUint32(d+4,s)!==1)return r("Orientation data count is invalid");i.setUint16(d+8,1,s);break}return t(n.slice(a,a+2+u))}a+=2+u}return t(new Blob)})),o.readAsArrayBuffer(e)})),uf={},d6={get exports(){return uf},set exports(e){uf=e}};(function(e){var t,r,o={};d6.exports=o,o.parse=function(n,i){for(var a=o.bin.readUshort,f=o.bin.readUint,u=0,m={},s=new Uint8Array(n),l=s.length-4;f(s,l)!=101010256;)l--;u=l,u+=4;var p=a(s,u+=4);a(s,u+=2);var d=f(s,u+=2),c=f(s,u+=4);u+=4,u=c;for(var h=0;h<p;h++){f(s,u),u+=4,u+=4,u+=4,f(s,u+=4),d=f(s,u+=4);var g=f(s,u+=4),x=a(s,u+=4),b=a(s,u+2),B=a(s,u+4);u+=6;var E=f(s,u+=8);u+=4,u+=x+b+B,o._readLocal(s,E,m,d,g,i)}return m},o._readLocal=function(n,i,a,f,u,m){var s=o.bin.readUshort,l=o.bin.readUint;l(n,i),s(n,i+=4),s(n,i+=2);var p=s(n,i+=2);l(n,i+=2),l(n,i+=4),i+=4;var d=s(n,i+=8),c=s(n,i+=2);i+=2;var h=o.bin.readUTF8(n,i,d);if(i+=d,i+=c,m)a[h]={size:u,csize:f};else{var g=new Uint8Array(n.buffer,i);if(p==0)a[h]=new Uint8Array(g.buffer.slice(i,i+f));else{if(p!=8)throw"unknown compression method: "+p;var x=new Uint8Array(u);o.inflateRaw(g,x),a[h]=x}}},o.inflateRaw=function(n,i){return o.F.inflate(n,i)},o.inflate=function(n,i){return n[0],n[1],o.inflateRaw(new Uint8Array(n.buffer,n.byteOffset+2,n.length-6),i)},o.deflate=function(n,i){i==null&&(i={level:6});var a=0,f=new Uint8Array(50+Math.floor(1.1*n.length));f[a]=120,f[a+1]=156,a+=2,a=o.F.deflateRaw(n,f,a,i.level);var u=o.adler(n,0,n.length);return f[a+0]=u>>>24&255,f[a+1]=u>>>16&255,f[a+2]=u>>>8&255,f[a+3]=u>>>0&255,new Uint8Array(f.buffer,0,a+4)},o.deflateRaw=function(n,i){i==null&&(i={level:6});var a=new Uint8Array(50+Math.floor(1.1*n.length)),f=o.F.deflateRaw(n,a,f,i.level);return new Uint8Array(a.buffer,0,f)},o.encode=function(n,i){i==null&&(i=!1);var a=0,f=o.bin.writeUint,u=o.bin.writeUshort,m={};for(var s in n){var l=!o._noNeed(s)&&!i,p=n[s],d=o.crc.crc(p,0,p.length);m[s]={cpr:l,usize:p.length,crc:d,file:l?o.deflateRaw(p):p}}for(var s in m)a+=m[s].file.length+30+46+2*o.bin.sizeUTF8(s);a+=22;var c=new Uint8Array(a),h=0,g=[];for(var s in m){var x=m[s];g.push(h),h=o._writeHeader(c,h,s,x,0)}var b=0,B=h;for(var s in m)x=m[s],g.push(h),h=o._writeHeader(c,h,s,x,1,g[b++]);var E=h-B;return f(c,h,101010256),h+=4,u(c,h+=4,b),u(c,h+=2,b),f(c,h+=2,E),f(c,h+=4,B),h+=4,h+=2,c.buffer},o._noNeed=function(n){var i=n.split(".").pop().toLowerCase();return"png,jpg,jpeg,zip".indexOf(i)!=-1},o._writeHeader=function(n,i,a,f,u,m){var s=o.bin.writeUint,l=o.bin.writeUshort,p=f.file;return s(n,i,u==0?67324752:33639248),i+=4,u==1&&(i+=2),l(n,i,20),l(n,i+=2,0),l(n,i+=2,f.cpr?8:0),s(n,i+=2,0),s(n,i+=4,f.crc),s(n,i+=4,p.length),s(n,i+=4,f.usize),l(n,i+=4,o.bin.sizeUTF8(a)),l(n,i+=2,0),i+=2,u==1&&(i+=2,i+=2,s(n,i+=6,m),i+=4),i+=o.bin.writeUTF8(n,i,a),u==0&&(n.set(p,i),i+=p.length),i},o.crc={table:(function(){for(var n=new Uint32Array(256),i=0;i<256;i++){for(var a=i,f=0;f<8;f++)1&a?a=3988292384^a>>>1:a>>>=1;n[i]=a}return n})(),update:function(n,i,a,f){for(var u=0;u<f;u++)n=o.crc.table[255&(n^i[a+u])]^n>>>8;return n},crc:function(n,i,a){return 4294967295^o.crc.update(4294967295,n,i,a)}},o.adler=function(n,i,a){for(var f=1,u=0,m=i,s=i+a;m<s;){for(var l=Math.min(m+5552,s);m<l;)u+=f+=n[m++];f%=65521,u%=65521}return u<<16|f},o.bin={readUshort:function(n,i){return n[i]|n[i+1]<<8},writeUshort:function(n,i,a){n[i]=255&a,n[i+1]=a>>8&255},readUint:function(n,i){return 16777216*n[i+3]+(n[i+2]<<16|n[i+1]<<8|n[i])},writeUint:function(n,i,a){n[i]=255&a,n[i+1]=a>>8&255,n[i+2]=a>>16&255,n[i+3]=a>>24&255},readASCII:function(n,i,a){for(var f="",u=0;u<a;u++)f+=String.fromCharCode(n[i+u]);return f},writeASCII:function(n,i,a){for(var f=0;f<a.length;f++)n[i+f]=a.charCodeAt(f)},pad:function(n){return n.length<2?"0"+n:n},readUTF8:function(n,i,a){for(var f,u="",m=0;m<a;m++)u+="%"+o.bin.pad(n[i+m].toString(16));try{f=decodeURIComponent(u)}catch{return o.bin.readASCII(n,i,a)}return f},writeUTF8:function(n,i,a){for(var f=a.length,u=0,m=0;m<f;m++){var s=a.charCodeAt(m);if((4294967168&s)==0)n[i+u]=s,u++;else if((4294965248&s)==0)n[i+u]=192|s>>6,n[i+u+1]=128|s>>0&63,u+=2;else if((4294901760&s)==0)n[i+u]=224|s>>12,n[i+u+1]=128|s>>6&63,n[i+u+2]=128|s>>0&63,u+=3;else{if((4292870144&s)!=0)throw"e";n[i+u]=240|s>>18,n[i+u+1]=128|s>>12&63,n[i+u+2]=128|s>>6&63,n[i+u+3]=128|s>>0&63,u+=4}}return u},sizeUTF8:function(n){for(var i=n.length,a=0,f=0;f<i;f++){var u=n.charCodeAt(f);if((4294967168&u)==0)a++;else if((4294965248&u)==0)a+=2;else if((4294901760&u)==0)a+=3;else{if((4292870144&u)!=0)throw"e";a+=4}}return a}},o.F={},o.F.deflateRaw=function(n,i,a,f){var u=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][f],m=o.F.U,s=o.F._goodIndex;o.F._hash;var l=o.F._putsE,p=0,d=a<<3,c=0,h=n.length;if(f==0){for(;p<h;)l(i,d,p+(F=Math.min(65535,h-p))==h?1:0),d=o.F._copyExact(n,p,F,i,d+8),p+=F;return d>>>3}var g=m.lits,x=m.strt,b=m.prev,B=0,E=0,S=0,v=0,O=0,y=0;for(h>2&&(x[y=o.F._hash(n,0)]=0),p=0;p<h;p++){if(O=y,p+1<h-2){y=o.F._hash(n,p+1);var A=p+1&32767;b[A]=x[y],x[y]=A}if(c<=p){(B>14e3||E>26697)&&h-p>100&&(c<p&&(g[B]=p-c,B+=2,c=p),d=o.F._writeBlock(p==h-1||c==h?1:0,g,B,v,n,S,p-S,i,d),B=E=v=0,S=p);var D=0;p<h-2&&(D=o.F._bestMatch(n,p,b,O,Math.min(u[2],h-p),u[3]));var F=D>>>16,T=65535&D;if(D!=0){T=65535&D;var I=s(F=D>>>16,m.of0);m.lhst[257+I]++;var R=s(T,m.df0);m.dhst[R]++,v+=m.exb[I]+m.dxb[R],g[B]=F<<23|p-c,g[B+1]=T<<16|I<<8|R,B+=2,c=p+F}else m.lhst[n[p]]++;E++}}for(S==p&&n.length!=0||(c<p&&(g[B]=p-c,B+=2,c=p),d=o.F._writeBlock(1,g,B,v,n,S,p-S,i,d),B=0,E=0,B=E=v=0,S=p);(7&d)!=0;)d++;return d>>>3},o.F._bestMatch=function(n,i,a,f,u,m){var s=32767&i,l=a[s],p=s-l+32768&32767;if(l==s||f!=o.F._hash(n,i-p))return 0;for(var d=0,c=0,h=Math.min(32767,i);p<=h&&--m!=0&&l!=s;){if(d==0||n[i+d]==n[i+d-p]){var g=o.F._howLong(n,i,p);if(g>d){if(c=p,(d=g)>=u)break;p+2<g&&(g=p+2);for(var x=0,b=0;b<g-2;b++){var B=i-p+b+32768&32767,E=B-a[B]+32768&32767;E>x&&(x=E,l=B)}}}p+=(s=l)-(l=a[s])+32768&32767}return d<<16|c},o.F._howLong=function(n,i,a){if(n[i]!=n[i-a]||n[i+1]!=n[i+1-a]||n[i+2]!=n[i+2-a])return 0;var f=i,u=Math.min(n.length,i+258);for(i+=3;i<u&&n[i]==n[i-a];)i++;return i-f},o.F._hash=function(n,i){return(n[i]<<8|n[i+1])+(n[i+2]<<4)&65535},o.saved=0,o.F._writeBlock=function(n,i,a,f,u,m,s,l,p){var d,c,h,g,x,b,B,E,S,v=o.F.U,O=o.F._putsF,y=o.F._putsE;v.lhst[256]++,c=(d=o.F.getTrees())[0],h=d[1],g=d[2],x=d[3],b=d[4],B=d[5],E=d[6],S=d[7];var A=32+((p+3&7)==0?0:8-(p+3&7))+(s<<3),D=f+o.F.contSize(v.fltree,v.lhst)+o.F.contSize(v.fdtree,v.dhst),F=f+o.F.contSize(v.ltree,v.lhst)+o.F.contSize(v.dtree,v.dhst);F+=14+3*B+o.F.contSize(v.itree,v.ihst)+(2*v.ihst[16]+3*v.ihst[17]+7*v.ihst[18]);for(var T=0;T<286;T++)v.lhst[T]=0;for(T=0;T<30;T++)v.dhst[T]=0;for(T=0;T<19;T++)v.ihst[T]=0;var I=A<D&&A<F?0:D<F?1:2;if(O(l,p,n),O(l,p+1,I),p+=3,I==0){for(;(7&p)!=0;)p++;p=o.F._copyExact(u,m,s,l,p)}else{var R,P;if(I==1&&(R=v.fltree,P=v.fdtree),I==2){o.F.makeCodes(v.ltree,c),o.F.revCodes(v.ltree,c),o.F.makeCodes(v.dtree,h),o.F.revCodes(v.dtree,h),o.F.makeCodes(v.itree,g),o.F.revCodes(v.itree,g),R=v.ltree,P=v.dtree,y(l,p,x-257),y(l,p+=5,b-1),y(l,p+=5,B-4),p+=4;for(var w=0;w<B;w++)y(l,p+3*w,v.itree[1+(v.ordr[w]<<1)]);p+=3*B,p=o.F._codeTiny(E,v.itree,l,p),p=o.F._codeTiny(S,v.itree,l,p)}for(var C=m,N=0;N<a;N+=2){for(var M=i[N],L=M>>>23,z=C+(8388607&M);C<z;)p=o.F._writeLit(u[C++],R,l,p);if(L!=0){var k=i[N+1],$=k>>16,W=k>>8&255,U=255&k;y(l,p=o.F._writeLit(257+W,R,l,p),L-v.of0[W]),p+=v.exb[W],O(l,p=o.F._writeLit(U,P,l,p),$-v.df0[U]),p+=v.dxb[U],C+=L}}p=o.F._writeLit(256,R,l,p)}return p},o.F._copyExact=function(n,i,a,f,u){var m=u>>>3;return f[m]=a,f[m+1]=a>>>8,f[m+2]=255-f[m],f[m+3]=255-f[m+1],m+=4,f.set(new Uint8Array(n.buffer,i,a),m),u+(a+4<<3)},o.F.getTrees=function(){for(var n=o.F.U,i=o.F._hufTree(n.lhst,n.ltree,15),a=o.F._hufTree(n.dhst,n.dtree,15),f=[],u=o.F._lenCodes(n.ltree,f),m=[],s=o.F._lenCodes(n.dtree,m),l=0;l<f.length;l+=2)n.ihst[f[l]]++;for(l=0;l<m.length;l+=2)n.ihst[m[l]]++;for(var p=o.F._hufTree(n.ihst,n.itree,7),d=19;d>4&&n.itree[1+(n.ordr[d-1]<<1)]==0;)d--;return[i,a,p,u,s,d,f,m]},o.F.getSecond=function(n){for(var i=[],a=0;a<n.length;a+=2)i.push(n[a+1]);return i},o.F.nonZero=function(n){for(var i="",a=0;a<n.length;a+=2)n[a+1]!=0&&(i+=(a>>1)+",");return i},o.F.contSize=function(n,i){for(var a=0,f=0;f<i.length;f++)a+=i[f]*n[1+(f<<1)];return a},o.F._codeTiny=function(n,i,a,f){for(var u=0;u<n.length;u+=2){var m=n[u],s=n[u+1];f=o.F._writeLit(m,i,a,f);var l=m==16?2:m==17?3:7;m>15&&(o.F._putsE(a,f,s,l),f+=l)}return f},o.F._lenCodes=function(n,i){for(var a=n.length;a!=2&&n[a-1]==0;)a-=2;for(var f=0;f<a;f+=2){var u=n[f+1],m=f+3<a?n[f+3]:-1,s=f+5<a?n[f+5]:-1,l=f==0?-1:n[f-1];if(u==0&&m==u&&s==u){for(var p=f+5;p+2<a&&n[p+2]==u;)p+=2;(d=Math.min(p+1-f>>>1,138))<11?i.push(17,d-3):i.push(18,d-11),f+=2*d-2}else if(u==l&&m==u&&s==u){for(p=f+5;p+2<a&&n[p+2]==u;)p+=2;var d=Math.min(p+1-f>>>1,6);i.push(16,d-3),f+=2*d-2}else i.push(u,0)}return a>>>1},o.F._hufTree=function(n,i,a){var f=[],u=n.length,m=i.length,s=0;for(s=0;s<m;s+=2)i[s]=0,i[s+1]=0;for(s=0;s<u;s++)n[s]!=0&&f.push({lit:s,f:n[s]});var l=f.length,p=f.slice(0);if(l==0)return 0;if(l==1){var d=f[0].lit;return p=d==0?1:0,i[1+(d<<1)]=1,i[1+(p<<1)]=1,1}f.sort((function(E,S){return E.f-S.f}));var c=f[0],h=f[1],g=0,x=1,b=2;for(f[0]={lit:-1,f:c.f+h.f,l:c,r:h,d:0};x!=l-1;)c=g!=x&&(b==l||f[g].f<f[b].f)?f[g++]:f[b++],h=g!=x&&(b==l||f[g].f<f[b].f)?f[g++]:f[b++],f[x++]={lit:-1,f:c.f+h.f,l:c,r:h};var B=o.F.setDepth(f[x-1],0);for(B>a&&(o.F.restrictDepth(p,a,B),B=a),s=0;s<l;s++)i[1+(p[s].lit<<1)]=p[s].d;return B},o.F.setDepth=function(n,i){return n.lit!=-1?(n.d=i,i):Math.max(o.F.setDepth(n.l,i+1),o.F.setDepth(n.r,i+1))},o.F.restrictDepth=function(n,i,a){var f=0,u=1<<a-i,m=0;for(n.sort((function(l,p){return p.d==l.d?l.f-p.f:p.d-l.d})),f=0;f<n.length&&n[f].d>i;f++){var s=n[f].d;n[f].d=i,m+=u-(1<<a-s)}for(m>>>=a-i;m>0;)(s=n[f].d)<i?(n[f].d++,m-=1<<i-s-1):f++;for(;f>=0;f--)n[f].d==i&&m<0&&(n[f].d--,m++);m!=0&&console.log("debt left")},o.F._goodIndex=function(n,i){var a=0;return i[16|a]<=n&&(a|=16),i[8|a]<=n&&(a|=8),i[4|a]<=n&&(a|=4),i[2|a]<=n&&(a|=2),i[1|a]<=n&&(a|=1),a},o.F._writeLit=function(n,i,a,f){return o.F._putsF(a,f,i[n<<1]),f+i[1+(n<<1)]},o.F.inflate=function(n,i){var a=Uint8Array;if(n[0]==3&&n[1]==0)return i||new a(0);var f=o.F,u=f._bitsF,m=f._bitsE,s=f._decodeTiny,l=f.makeCodes,p=f.codes2map,d=f._get17,c=f.U,h=i==null;h&&(i=new a(n.length>>>2<<3));for(var g,x,b=0,B=0,E=0,S=0,v=0,O=0,y=0,A=0,D=0;b==0;)if(b=u(n,D,1),B=u(n,D+1,2),D+=3,B!=0){if(h&&(i=o.F._check(i,A+(1<<17))),B==1&&(g=c.flmap,x=c.fdmap,O=511,y=31),B==2){E=m(n,D,5)+257,S=m(n,D+5,5)+1,v=m(n,D+10,4)+4,D+=14;for(var F=0;F<38;F+=2)c.itree[F]=0,c.itree[F+1]=0;var T=1;for(F=0;F<v;F++){var I=m(n,D+3*F,3);c.itree[1+(c.ordr[F]<<1)]=I,I>T&&(T=I)}D+=3*v,l(c.itree,T),p(c.itree,T,c.imap),g=c.lmap,x=c.dmap,D=s(c.imap,(1<<T)-1,E+S,n,D,c.ttree);var R=f._copyOut(c.ttree,0,E,c.ltree);O=(1<<R)-1;var P=f._copyOut(c.ttree,E,S,c.dtree);y=(1<<P)-1,l(c.ltree,R),p(c.ltree,R,g),l(c.dtree,P),p(c.dtree,P,x)}for(;;){var w=g[d(n,D)&O];D+=15&w;var C=w>>>4;if(!(C>>>8))i[A++]=C;else{if(C==256)break;var N=A+C-254;if(C>264){var M=c.ldef[C-257];N=A+(M>>>3)+m(n,D,7&M),D+=7&M}var L=x[d(n,D)&y];D+=15&L;var z=L>>>4,k=c.ddef[z],$=(k>>>4)+u(n,D,15&k);for(D+=15&k,h&&(i=o.F._check(i,A+(1<<17)));A<N;)i[A]=i[A++-$],i[A]=i[A++-$],i[A]=i[A++-$],i[A]=i[A++-$];A=N}}}else{(7&D)!=0&&(D+=8-(7&D));var W=4+(D>>>3),U=n[W-4]|n[W-3]<<8;h&&(i=o.F._check(i,A+U)),i.set(new a(n.buffer,n.byteOffset+W,U),A),D=W+U<<3,A+=U}return i.length==A?i:i.slice(0,A)},o.F._check=function(n,i){var a=n.length;if(i<=a)return n;var f=new Uint8Array(Math.max(a<<1,i));return f.set(n,0),f},o.F._decodeTiny=function(n,i,a,f,u,m){for(var s=o.F._bitsE,l=o.F._get17,p=0;p<a;){var d=n[l(f,u)&i];u+=15&d;var c=d>>>4;if(c<=15)m[p]=c,p++;else{var h=0,g=0;c==16?(g=3+s(f,u,2),u+=2,h=m[p-1]):c==17?(g=3+s(f,u,3),u+=3):c==18&&(g=11+s(f,u,7),u+=7);for(var x=p+g;p<x;)m[p]=h,p++}}return u},o.F._copyOut=function(n,i,a,f){for(var u=0,m=0,s=f.length>>>1;m<a;){var l=n[m+i];f[m<<1]=0,f[1+(m<<1)]=l,l>u&&(u=l),m++}for(;m<s;)f[m<<1]=0,f[1+(m<<1)]=0,m++;return u},o.F.makeCodes=function(n,i){for(var a,f,u,m,s=o.F.U,l=n.length,p=s.bl_count,d=0;d<=i;d++)p[d]=0;for(d=1;d<l;d+=2)p[n[d]]++;var c=s.next_code;for(a=0,p[0]=0,f=1;f<=i;f++)a=a+p[f-1]<<1,c[f]=a;for(u=0;u<l;u+=2)(m=n[u+1])!=0&&(n[u]=c[m],c[m]++)},o.F.codes2map=function(n,i,a){for(var f=n.length,u=o.F.U.rev15,m=0;m<f;m+=2)if(n[m+1]!=0)for(var s=m>>1,l=n[m+1],p=s<<4|l,d=i-l,c=n[m]<<d,h=c+(1<<d);c!=h;)a[u[c]>>>15-i]=p,c++},o.F.revCodes=function(n,i){for(var a=o.F.U.rev15,f=15-i,u=0;u<n.length;u+=2){var m=n[u]<<i-n[u+1];n[u]=a[m]>>>f}},o.F._putsE=function(n,i,a){a<<=7&i;var f=i>>>3;n[f]|=a,n[f+1]|=a>>>8},o.F._putsF=function(n,i,a){a<<=7&i;var f=i>>>3;n[f]|=a,n[f+1]|=a>>>8,n[f+2]|=a>>>16},o.F._bitsE=function(n,i,a){return(n[i>>>3]|n[1+(i>>>3)]<<8)>>>(7&i)&(1<<a)-1},o.F._bitsF=function(n,i,a){return(n[i>>>3]|n[1+(i>>>3)]<<8|n[2+(i>>>3)]<<16)>>>(7&i)&(1<<a)-1},o.F._get17=function(n,i){return(n[i>>>3]|n[1+(i>>>3)]<<8|n[2+(i>>>3)]<<16)>>>(7&i)},o.F._get25=function(n,i){return(n[i>>>3]|n[1+(i>>>3)]<<8|n[2+(i>>>3)]<<16|n[3+(i>>>3)]<<24)>>>(7&i)},o.F.U=(t=Uint16Array,r=Uint32Array,{next_code:new t(16),bl_count:new t(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new t(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new r(32),flmap:new t(512),fltree:[],fdmap:new t(32),fdtree:[],lmap:new t(32768),ltree:[],ttree:[],dmap:new t(32768),dtree:[],imap:new t(512),itree:[],rev15:new t(32768),lhst:new r(286),dhst:new r(30),ihst:new r(19),lits:new r(15e3),strt:new t(65536),prev:new t(32768)}),(function(){for(var n=o.F.U,i=0;i<32768;i++){var a=i;a=(4278255360&(a=(4042322160&(a=(3435973836&(a=(2863311530&a)>>>1|(1431655765&a)<<1))>>>2|(858993459&a)<<2))>>>4|(252645135&a)<<4))>>>8|(16711935&a)<<8,n.rev15[i]=(a>>>16|a<<16)>>>17}function f(u,m,s){for(;m--!=0;)u.push(0,s)}for(i=0;i<32;i++)n.ldef[i]=n.of0[i]<<3|n.exb[i],n.ddef[i]=n.df0[i]<<4|n.dxb[i];f(n.fltree,144,8),f(n.fltree,112,9),f(n.fltree,24,7),f(n.fltree,8,8),o.F.makeCodes(n.fltree,9),o.F.codes2map(n.fltree,9,n.flmap),o.F.revCodes(n.fltree,9),f(n.fdtree,32,5),o.F.makeCodes(n.fdtree,5),o.F.codes2map(n.fdtree,5,n.fdmap),o.F.revCodes(n.fdtree,5),f(n.itree,19,0),f(n.ltree,286,0),f(n.dtree,30,0),f(n.ttree,320,0)})()})();var c6=p6({__proto__:null,default:uf},[uf]),Fr=(function(){var e={nextZero(s,l){for(;s[l]!=0;)l++;return l},readUshort:(s,l)=>s[l]<<8|s[l+1],writeUshort(s,l,p){s[l]=p>>8&255,s[l+1]=255&p},readUint:(s,l)=>16777216*s[l]+(s[l+1]<<16|s[l+2]<<8|s[l+3]),writeUint(s,l,p){s[l]=p>>24&255,s[l+1]=p>>16&255,s[l+2]=p>>8&255,s[l+3]=255&p},readASCII(s,l,p){let d="";for(let c=0;c<p;c++)d+=String.fromCharCode(s[l+c]);return d},writeASCII(s,l,p){for(let d=0;d<p.length;d++)s[l+d]=p.charCodeAt(d)},readBytes(s,l,p){let d=[];for(let c=0;c<p;c++)d.push(s[l+c]);return d},pad:s=>s.length<2?`0${s}`:s,readUTF8(s,l,p){let d,c="";for(let h=0;h<p;h++)c+=`%${e.pad(s[l+h].toString(16))}`;try{d=decodeURIComponent(c)}catch{return e.readASCII(s,l,p)}return d}};function t(s,l,p,d){let c=l*p,h=i(d),g=Math.ceil(l*h/8),x=new Uint8Array(4*c),b=new Uint32Array(x.buffer),{ctype:B}=d,{depth:E}=d,S=e.readUshort;if(B==6){let M=c<<2;if(E==8)for(var v=0;v<M;v+=4)x[v]=s[v],x[v+1]=s[v+1],x[v+2]=s[v+2],x[v+3]=s[v+3];if(E==16)for(v=0;v<M;v++)x[v]=s[v<<1]}else if(B==2){let M=d.tabs.tRNS;if(M==null){if(E==8)for(v=0;v<c;v++){var O=3*v;b[v]=255<<24|s[O+2]<<16|s[O+1]<<8|s[O]}if(E==16)for(v=0;v<c;v++)O=6*v,b[v]=255<<24|s[O+4]<<16|s[O+2]<<8|s[O]}else{var y=M[0];let L=M[1],z=M[2];if(E==8)for(v=0;v<c;v++){var A=v<<2;O=3*v,b[v]=255<<24|s[O+2]<<16|s[O+1]<<8|s[O],s[O]==y&&s[O+1]==L&&s[O+2]==z&&(x[A+3]=0)}if(E==16)for(v=0;v<c;v++)A=v<<2,O=6*v,b[v]=255<<24|s[O+4]<<16|s[O+2]<<8|s[O],S(s,O)==y&&S(s,O+2)==L&&S(s,O+4)==z&&(x[A+3]=0)}}else if(B==3){let M=d.tabs.PLTE,L=d.tabs.tRNS,z=L?L.length:0;if(E==1)for(var D=0;D<p;D++){var F=D*g,T=D*l;for(v=0;v<l;v++){A=T+v<<2;var I=3*(R=s[F+(v>>3)]>>7-((7&v)<<0)&1);x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255}}if(E==2)for(D=0;D<p;D++)for(F=D*g,T=D*l,v=0;v<l;v++)A=T+v<<2,I=3*(R=s[F+(v>>2)]>>6-((3&v)<<1)&3),x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255;if(E==4)for(D=0;D<p;D++)for(F=D*g,T=D*l,v=0;v<l;v++)A=T+v<<2,I=3*(R=s[F+(v>>1)]>>4-((1&v)<<2)&15),x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255;if(E==8)for(v=0;v<c;v++){var R;A=v<<2,I=3*(R=s[v]),x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255}}else if(B==4){if(E==8)for(v=0;v<c;v++){A=v<<2;var P=s[w=v<<1];x[A]=P,x[A+1]=P,x[A+2]=P,x[A+3]=s[w+1]}if(E==16)for(v=0;v<c;v++){var w;A=v<<2,P=s[w=v<<2],x[A]=P,x[A+1]=P,x[A+2]=P,x[A+3]=s[w+2]}}else if(B==0)for(y=d.tabs.tRNS?d.tabs.tRNS:-1,D=0;D<p;D++){let M=D*g,L=D*l;if(E==1)for(var C=0;C<l;C++){var N=(P=255*(s[M+(C>>>3)]>>>7-(7&C)&1))==255*y?0:255;b[L+C]=N<<24|P<<16|P<<8|P}else if(E==2)for(C=0;C<l;C++)N=(P=85*(s[M+(C>>>2)]>>>6-((3&C)<<1)&3))==85*y?0:255,b[L+C]=N<<24|P<<16|P<<8|P;else if(E==4)for(C=0;C<l;C++)N=(P=17*(s[M+(C>>>1)]>>>4-((1&C)<<2)&15))==17*y?0:255,b[L+C]=N<<24|P<<16|P<<8|P;else if(E==8)for(C=0;C<l;C++)N=(P=s[M+C])==y?0:255,b[L+C]=N<<24|P<<16|P<<8|P;else if(E==16)for(C=0;C<l;C++)P=s[M+(C<<1)],N=S(s,M+(C<<1))==y?0:255,b[L+C]=N<<24|P<<16|P<<8|P}return x}function r(s,l,p,d){let c=i(s),h=Math.ceil(p*c/8),g=new Uint8Array((h+1+s.interlace)*d);return l=s.tabs.CgBI?n(l,g):o(l,g),s.interlace==0?l=a(l,s,0,p,d):s.interlace==1&&(l=(function(b,B){let E=B.width,S=B.height,v=i(B),O=v>>3,y=Math.ceil(E*v/8),A=new Uint8Array(S*y),D=0,F=[0,0,4,0,2,0,1],T=[0,4,0,2,0,1,0],I=[8,8,8,4,4,2,2],R=[8,8,4,4,2,2,1],P=0;for(;P<7;){let C=I[P],N=R[P],M=0,L=0,z=F[P];for(;z<S;)z+=C,L++;let k=T[P];for(;k<E;)k+=N,M++;let $=Math.ceil(M*v/8);a(b,B,D,M,L);let W=0,U=F[P];for(;U<S;){let X=T[P],ce=D+W*$<<3;for(;X<E;){var w;if(v==1&&(w=(w=b[ce>>3])>>7-(7&ce)&1,A[U*y+(X>>3)]|=w<<7-((7&X)<<0)),v==2&&(w=(w=b[ce>>3])>>6-(7&ce)&3,A[U*y+(X>>2)]|=w<<6-((3&X)<<1)),v==4&&(w=(w=b[ce>>3])>>4-(7&ce)&15,A[U*y+(X>>1)]|=w<<4-((1&X)<<2)),v>=8){let xe=U*y+X*O;for(let he=0;he<O;he++)A[xe+he]=b[(ce>>3)+he]}ce+=v,X+=N}W++,U+=C}M*L!=0&&(D+=L*(1+$)),P+=1}return A})(l,s)),l}function o(s,l){return n(new Uint8Array(s.buffer,2,s.length-6),l)}var n=(function(){let s={H:{}};return s.H.N=function(l,p){let d=Uint8Array,c,h,g=0,x=0,b=0,B=0,E=0,S=0,v=0,O=0,y=0;if(l[0]==3&&l[1]==0)return p||new d(0);let A=s.H,D=A.b,F=A.e,T=A.R,I=A.n,R=A.A,P=A.Z,w=A.m,C=p==null;for(C&&(p=new d(l.length>>>2<<5));g==0;)if(g=D(l,y,1),x=D(l,y+1,2),y+=3,x!=0){if(C&&(p=s.H.W(p,O+(1<<17))),x==1&&(c=w.J,h=w.h,S=511,v=31),x==2){b=F(l,y,5)+257,B=F(l,y+5,5)+1,E=F(l,y+10,4)+4,y+=14;let M=1;for(var N=0;N<38;N+=2)w.Q[N]=0,w.Q[N+1]=0;for(N=0;N<E;N++){let k=F(l,y+3*N,3);w.Q[1+(w.X[N]<<1)]=k,k>M&&(M=k)}y+=3*E,I(w.Q,M),R(w.Q,M,w.u),c=w.w,h=w.d,y=T(w.u,(1<<M)-1,b+B,l,y,w.v);let L=A.V(w.v,0,b,w.C);S=(1<<L)-1;let z=A.V(w.v,b,B,w.D);v=(1<<z)-1,I(w.C,L),R(w.C,L,c),I(w.D,z),R(w.D,z,h)}for(;;){let M=c[P(l,y)&S];y+=15&M;let L=M>>>4;if(!(L>>>8))p[O++]=L;else{if(L==256)break;{let z=O+L-254;if(L>264){let X=w.q[L-257];z=O+(X>>>3)+F(l,y,7&X),y+=7&X}let k=h[P(l,y)&v];y+=15&k;let $=k>>>4,W=w.c[$],U=(W>>>4)+D(l,y,15&W);for(y+=15&W;O<z;)p[O]=p[O++-U],p[O]=p[O++-U],p[O]=p[O++-U],p[O]=p[O++-U];O=z}}}}else{(7&y)!=0&&(y+=8-(7&y));let M=4+(y>>>3),L=l[M-4]|l[M-3]<<8;C&&(p=s.H.W(p,O+L)),p.set(new d(l.buffer,l.byteOffset+M,L),O),y=M+L<<3,O+=L}return p.length==O?p:p.slice(0,O)},s.H.W=function(l,p){let d=l.length;if(p<=d)return l;let c=new Uint8Array(d<<1);return c.set(l,0),c},s.H.R=function(l,p,d,c,h,g){let x=s.H.e,b=s.H.Z,B=0;for(;B<d;){let E=l[b(c,h)&p];h+=15&E;let S=E>>>4;if(S<=15)g[B]=S,B++;else{let v=0,O=0;S==16?(O=3+x(c,h,2),h+=2,v=g[B-1]):S==17?(O=3+x(c,h,3),h+=3):S==18&&(O=11+x(c,h,7),h+=7);let y=B+O;for(;B<y;)g[B]=v,B++}}return h},s.H.V=function(l,p,d,c){let h=0,g=0,x=c.length>>>1;for(;g<d;){let b=l[g+p];c[g<<1]=0,c[1+(g<<1)]=b,b>h&&(h=b),g++}for(;g<x;)c[g<<1]=0,c[1+(g<<1)]=0,g++;return h},s.H.n=function(l,p){let d=s.H.m,c=l.length,h,g,x,b,B=d.j;for(var E=0;E<=p;E++)B[E]=0;for(E=1;E<c;E+=2)B[l[E]]++;let S=d.K;for(h=0,B[0]=0,g=1;g<=p;g++)h=h+B[g-1]<<1,S[g]=h;for(x=0;x<c;x+=2)b=l[x+1],b!=0&&(l[x]=S[b],S[b]++)},s.H.A=function(l,p,d){let c=l.length,h=s.H.m.r;for(let g=0;g<c;g+=2)if(l[g+1]!=0){let x=g>>1,b=l[g+1],B=x<<4|b,E=p-b,S=l[g]<<E,v=S+(1<<E);for(;S!=v;)d[h[S]>>>15-p]=B,S++}},s.H.l=function(l,p){let d=s.H.m.r,c=15-p;for(let h=0;h<l.length;h+=2){let g=l[h]<<p-l[h+1];l[h]=d[g]>>>c}},s.H.M=function(l,p,d){d<<=7&p;let c=p>>>3;l[c]|=d,l[c+1]|=d>>>8},s.H.I=function(l,p,d){d<<=7&p;let c=p>>>3;l[c]|=d,l[c+1]|=d>>>8,l[c+2]|=d>>>16},s.H.e=function(l,p,d){return(l[p>>>3]|l[1+(p>>>3)]<<8)>>>(7&p)&(1<<d)-1},s.H.b=function(l,p,d){return(l[p>>>3]|l[1+(p>>>3)]<<8|l[2+(p>>>3)]<<16)>>>(7&p)&(1<<d)-1},s.H.Z=function(l,p){return(l[p>>>3]|l[1+(p>>>3)]<<8|l[2+(p>>>3)]<<16)>>>(7&p)},s.H.i=function(l,p){return(l[p>>>3]|l[1+(p>>>3)]<<8|l[2+(p>>>3)]<<16|l[3+(p>>>3)]<<24)>>>(7&p)},s.H.m=(function(){let l=Uint16Array,p=Uint32Array;return{K:new l(16),j:new l(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new l(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new p(32),J:new l(512),_:[],h:new l(32),$:[],w:new l(32768),C:[],v:[],d:new l(32768),D:[],u:new l(512),Q:[],r:new l(32768),s:new p(286),Y:new p(30),a:new p(19),t:new p(15e3),k:new l(65536),g:new l(32768)}})(),(function(){let l=s.H.m;for(var p=0;p<32768;p++){let c=p;c=(2863311530&c)>>>1|(1431655765&c)<<1,c=(3435973836&c)>>>2|(858993459&c)<<2,c=(4042322160&c)>>>4|(252645135&c)<<4,c=(4278255360&c)>>>8|(16711935&c)<<8,l.r[p]=(c>>>16|c<<16)>>>17}function d(c,h,g){for(;h--!=0;)c.push(0,g)}for(p=0;p<32;p++)l.q[p]=l.S[p]<<3|l.T[p],l.c[p]=l.p[p]<<4|l.z[p];d(l._,144,8),d(l._,112,9),d(l._,24,7),d(l._,8,8),s.H.n(l._,9),s.H.A(l._,9,l.J),s.H.l(l._,9),d(l.$,32,5),s.H.n(l.$,5),s.H.A(l.$,5,l.h),s.H.l(l.$,5),d(l.Q,19,0),d(l.C,286,0),d(l.D,30,0),d(l.v,320,0)})(),s.H.N})();function i(s){return[1,null,3,1,2,null,4][s.ctype]*s.depth}function a(s,l,p,d,c){let h=i(l),g=Math.ceil(d*h/8),x,b;h=Math.ceil(h/8);let B=s[p],E=0;if(B>1&&(s[p]=[0,0,1][B-2]),B==3)for(E=h;E<g;E++)s[E+1]=s[E+1]+(s[E+1-h]>>>1)&255;for(let S=0;S<c;S++)if(x=p+S*g,b=x+S+1,B=s[b-1],E=0,B==0)for(;E<g;E++)s[x+E]=s[b+E];else if(B==1){for(;E<h;E++)s[x+E]=s[b+E];for(;E<g;E++)s[x+E]=s[b+E]+s[x+E-h]}else if(B==2)for(;E<g;E++)s[x+E]=s[b+E]+s[x+E-g];else if(B==3){for(;E<h;E++)s[x+E]=s[b+E]+(s[x+E-g]>>>1);for(;E<g;E++)s[x+E]=s[b+E]+(s[x+E-g]+s[x+E-h]>>>1)}else{for(;E<h;E++)s[x+E]=s[b+E]+f(0,s[x+E-g],0);for(;E<g;E++)s[x+E]=s[b+E]+f(s[x+E-h],s[x+E-g],s[x+E-h-g])}return s}function f(s,l,p){let d=s+l-p,c=d-s,h=d-l,g=d-p;return c*c<=h*h&&c*c<=g*g?s:h*h<=g*g?l:p}function u(s,l,p){p.width=e.readUint(s,l),l+=4,p.height=e.readUint(s,l),l+=4,p.depth=s[l],l++,p.ctype=s[l],l++,p.compress=s[l],l++,p.filter=s[l],l++,p.interlace=s[l],l++}function m(s,l,p,d,c,h,g,x,b){let B=Math.min(l,c),E=Math.min(p,h),S=0,v=0;for(let P=0;P<E;P++)for(let w=0;w<B;w++)if(g>=0&&x>=0?(S=P*l+w<<2,v=(x+P)*c+g+w<<2):(S=(-x+P)*l-g+w<<2,v=P*c+w<<2),b==0)d[v]=s[S],d[v+1]=s[S+1],d[v+2]=s[S+2],d[v+3]=s[S+3];else if(b==1){var O=s[S+3]*.00392156862745098,y=s[S]*O,A=s[S+1]*O,D=s[S+2]*O,F=d[v+3]*(1/255),T=d[v]*F,I=d[v+1]*F,R=d[v+2]*F;let C=1-O,N=O+F*C,M=N==0?0:1/N;d[v+3]=255*N,d[v+0]=(y+T*C)*M,d[v+1]=(A+I*C)*M,d[v+2]=(D+R*C)*M}else if(b==2)O=s[S+3],y=s[S],A=s[S+1],D=s[S+2],F=d[v+3],T=d[v],I=d[v+1],R=d[v+2],O==F&&y==T&&A==I&&D==R?(d[v]=0,d[v+1]=0,d[v+2]=0,d[v+3]=0):(d[v]=y,d[v+1]=A,d[v+2]=D,d[v+3]=O);else if(b==3){if(O=s[S+3],y=s[S],A=s[S+1],D=s[S+2],F=d[v+3],T=d[v],I=d[v+1],R=d[v+2],O==F&&y==T&&A==I&&D==R)continue;if(O<220&&F>20)return!1}return!0}return{decode:function(l){let p=new Uint8Array(l),d=8,c=e,h=c.readUshort,g=c.readUint,x={tabs:{},frames:[]},b=new Uint8Array(p.length),B,E=0,S=0,v=[137,80,78,71,13,10,26,10];for(var O=0;O<8;O++)if(p[O]!=v[O])throw"The input is not a PNG file!";for(;d<p.length;){let P=c.readUint(p,d);d+=4;let w=c.readASCII(p,d,4);if(d+=4,w=="IHDR")u(p,d,x);else if(w=="iCCP"){for(var y=d;p[y]!=0;)y++;c.readASCII(p,d,y-d),p[y+1];let C=p.slice(y+2,d+P),N=null;try{N=o(C)}catch{N=n(C)}x.tabs[w]=N}else if(w=="CgBI")x.tabs[w]=p.slice(d,d+4);else if(w=="IDAT"){for(O=0;O<P;O++)b[E+O]=p[d+O];E+=P}else if(w=="acTL")x.tabs[w]={num_frames:g(p,d),num_plays:g(p,d+4)},B=new Uint8Array(p.length);else if(w=="fcTL"){S!=0&&((R=x.frames[x.frames.length-1]).data=r(x,B.slice(0,S),R.rect.width,R.rect.height),S=0);let C={x:g(p,d+12),y:g(p,d+16),width:g(p,d+4),height:g(p,d+8)},N=h(p,d+22);N=h(p,d+20)/(N==0?100:N);let M={rect:C,delay:Math.round(1e3*N),dispose:p[d+24],blend:p[d+25]};x.frames.push(M)}else if(w=="fdAT"){for(O=0;O<P-4;O++)B[S+O]=p[d+O+4];S+=P-4}else if(w=="pHYs")x.tabs[w]=[c.readUint(p,d),c.readUint(p,d+4),p[d+8]];else if(w=="cHRM")for(x.tabs[w]=[],O=0;O<8;O++)x.tabs[w].push(c.readUint(p,d+4*O));else if(w=="tEXt"||w=="zTXt"){x.tabs[w]==null&&(x.tabs[w]={});var A=c.nextZero(p,d),D=c.readASCII(p,d,A-d),F=d+P-A-1;if(w=="tEXt")I=c.readASCII(p,A+1,F);else{var T=o(p.slice(A+2,A+2+F));I=c.readUTF8(T,0,T.length)}x.tabs[w][D]=I}else if(w=="iTXt"){x.tabs[w]==null&&(x.tabs[w]={}),A=0,y=d,A=c.nextZero(p,y),D=c.readASCII(p,y,A-y);let C=p[y=A+1];var I;p[y+1],y+=2,A=c.nextZero(p,y),c.readASCII(p,y,A-y),y=A+1,A=c.nextZero(p,y),c.readUTF8(p,y,A-y),F=P-((y=A+1)-d),C==0?I=c.readUTF8(p,y,F):(T=o(p.slice(y,y+F)),I=c.readUTF8(T,0,T.length)),x.tabs[w][D]=I}else if(w=="PLTE")x.tabs[w]=c.readBytes(p,d,P);else if(w=="hIST"){let C=x.tabs.PLTE.length/3;for(x.tabs[w]=[],O=0;O<C;O++)x.tabs[w].push(h(p,d+2*O))}else if(w=="tRNS")x.ctype==3?x.tabs[w]=c.readBytes(p,d,P):x.ctype==0?x.tabs[w]=h(p,d):x.ctype==2&&(x.tabs[w]=[h(p,d),h(p,d+2),h(p,d+4)]);else if(w=="gAMA")x.tabs[w]=c.readUint(p,d)/1e5;else if(w=="sRGB")x.tabs[w]=p[d];else if(w=="bKGD")x.ctype==0||x.ctype==4?x.tabs[w]=[h(p,d)]:x.ctype==2||x.ctype==6?x.tabs[w]=[h(p,d),h(p,d+2),h(p,d+4)]:x.ctype==3&&(x.tabs[w]=p[d]);else if(w=="IEND")break;d+=P,c.readUint(p,d),d+=4}var R;return S!=0&&((R=x.frames[x.frames.length-1]).data=r(x,B.slice(0,S),R.rect.width,R.rect.height)),x.data=r(x,b,x.width,x.height),delete x.compress,delete x.interlace,delete x.filter,x},toRGBA8:function(l){let p=l.width,d=l.height;if(l.tabs.acTL==null)return[t(l.data,p,d,l).buffer];let c=[];l.frames[0].data==null&&(l.frames[0].data=l.data);let h=p*d*4,g=new Uint8Array(h),x=new Uint8Array(h),b=new Uint8Array(h);for(let E=0;E<l.frames.length;E++){let S=l.frames[E],v=S.rect.x,O=S.rect.y,y=S.rect.width,A=S.rect.height,D=t(S.data,y,A,l);if(E!=0)for(var B=0;B<h;B++)b[B]=g[B];if(S.blend==0?m(D,y,A,g,p,d,v,O,0):S.blend==1&&m(D,y,A,g,p,d,v,O,1),c.push(g.buffer.slice(0)),S.dispose!=0){if(S.dispose==1)m(x,y,A,g,p,d,v,O,0);else if(S.dispose==2)for(B=0;B<h;B++)g[B]=b[B]}}return c},_paeth:f,_copyTile:m,_bin:e}})();(function(){let{_copyTile:e}=Fr,{_bin:t}=Fr,r=Fr._paeth;var o={table:(function(){let y=new Uint32Array(256);for(let A=0;A<256;A++){let D=A;for(let F=0;F<8;F++)1&D?D=3988292384^D>>>1:D>>>=1;y[A]=D}return y})(),update(y,A,D,F){for(let T=0;T<F;T++)y=o.table[255&(y^A[D+T])]^y>>>8;return y},crc:(y,A,D)=>4294967295^o.update(4294967295,y,A,D)};function n(y,A,D,F){A[D]+=y[0]*F>>4,A[D+1]+=y[1]*F>>4,A[D+2]+=y[2]*F>>4,A[D+3]+=y[3]*F>>4}function i(y){return Math.max(0,Math.min(255,y))}function a(y,A){let D=y[0]-A[0],F=y[1]-A[1],T=y[2]-A[2],I=y[3]-A[3];return D*D+F*F+T*T+I*I}function f(y,A,D,F,T,I,R){R==null&&(R=1);let P=F.length,w=[];for(var C=0;C<P;C++){let U=F[C];w.push([U>>>0&255,U>>>8&255,U>>>16&255,U>>>24&255])}for(C=0;C<P;C++){let U=4294967295;for(var N=0,M=0;M<P;M++){var L=a(w[C],w[M]);M!=C&&L<U&&(U=L,N=M)}}let z=new Uint32Array(T.buffer),k=new Int16Array(A*D*4),$=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(C=0;C<$.length;C++)$[C]=255*(($[C]+.5)/16-.5);for(let U=0;U<D;U++)for(let X=0;X<A;X++){var W;C=4*(U*A+X),R!=2?W=[i(y[C]+k[C]),i(y[C+1]+k[C+1]),i(y[C+2]+k[C+2]),i(y[C+3]+k[C+3])]:(L=$[4*(3&U)+(3&X)],W=[i(y[C]+L),i(y[C+1]+L),i(y[C+2]+L),i(y[C+3]+L)]),N=0;let ce=16777215;for(M=0;M<P;M++){let Ce=a(W,w[M]);Ce<ce&&(ce=Ce,N=M)}let xe=w[N],he=[W[0]-xe[0],W[1]-xe[1],W[2]-xe[2],W[3]-xe[3]];R==1&&(X!=A-1&&n(he,k,C+4,7),U!=D-1&&(X!=0&&n(he,k,C+4*A-4,3),n(he,k,C+4*A,5),X!=A-1&&n(he,k,C+4*A+4,1))),I[C>>2]=N,z[C>>2]=F[N]}}function u(y,A,D,F,T){T==null&&(T={});let{crc:I}=o,R=t.writeUint,P=t.writeUshort,w=t.writeASCII,C=8,N=y.frames.length>1,M,L=!1,z=33+(N?20:0);if(T.sRGB!=null&&(z+=13),T.pHYs!=null&&(z+=21),T.iCCP!=null&&(M=pako.deflate(T.iCCP),z+=21+M.length+4),y.ctype==3){for(var k=y.plte.length,$=0;$<k;$++)y.plte[$]>>>24!=255&&(L=!0);z+=8+3*k+4+(L?8+1*k+4:0)}for(var W=0;W<y.frames.length;W++)N&&(z+=38),z+=(xe=y.frames[W]).cimg.length+12,W!=0&&(z+=4);z+=12;let U=new Uint8Array(z),X=[137,80,78,71,13,10,26,10];for($=0;$<8;$++)U[$]=X[$];if(R(U,C,13),C+=4,w(U,C,"IHDR"),C+=4,R(U,C,A),C+=4,R(U,C,D),C+=4,U[C]=y.depth,C++,U[C]=y.ctype,C++,U[C]=0,C++,U[C]=0,C++,U[C]=0,C++,R(U,C,I(U,C-17,17)),C+=4,T.sRGB!=null&&(R(U,C,1),C+=4,w(U,C,"sRGB"),C+=4,U[C]=T.sRGB,C++,R(U,C,I(U,C-5,5)),C+=4),T.iCCP!=null){let he=13+M.length;R(U,C,he),C+=4,w(U,C,"iCCP"),C+=4,w(U,C,"ICC profile"),C+=11,C+=2,U.set(M,C),C+=M.length,R(U,C,I(U,C-(he+4),he+4)),C+=4}if(T.pHYs!=null&&(R(U,C,9),C+=4,w(U,C,"pHYs"),C+=4,R(U,C,T.pHYs[0]),C+=4,R(U,C,T.pHYs[1]),C+=4,U[C]=T.pHYs[2],C++,R(U,C,I(U,C-13,13)),C+=4),N&&(R(U,C,8),C+=4,w(U,C,"acTL"),C+=4,R(U,C,y.frames.length),C+=4,R(U,C,T.loop!=null?T.loop:0),C+=4,R(U,C,I(U,C-12,12)),C+=4),y.ctype==3){for(R(U,C,3*(k=y.plte.length)),C+=4,w(U,C,"PLTE"),C+=4,$=0;$<k;$++){let he=3*$,Ce=y.plte[$],ge=255&Ce,be=Ce>>>8&255,sr=Ce>>>16&255;U[C+he+0]=ge,U[C+he+1]=be,U[C+he+2]=sr}if(C+=3*k,R(U,C,I(U,C-3*k-4,3*k+4)),C+=4,L){for(R(U,C,k),C+=4,w(U,C,"tRNS"),C+=4,$=0;$<k;$++)U[C+$]=y.plte[$]>>>24&255;C+=k,R(U,C,I(U,C-k-4,k+4)),C+=4}}let ce=0;for(W=0;W<y.frames.length;W++){var xe=y.frames[W];N&&(R(U,C,26),C+=4,w(U,C,"fcTL"),C+=4,R(U,C,ce++),C+=4,R(U,C,xe.rect.width),C+=4,R(U,C,xe.rect.height),C+=4,R(U,C,xe.rect.x),C+=4,R(U,C,xe.rect.y),C+=4,P(U,C,F[W]),C+=2,P(U,C,1e3),C+=2,U[C]=xe.dispose,C++,U[C]=xe.blend,C++,R(U,C,I(U,C-30,30)),C+=4);let he=xe.cimg;R(U,C,(k=he.length)+(W==0?0:4)),C+=4;let Ce=C;w(U,C,W==0?"IDAT":"fdAT"),C+=4,W!=0&&(R(U,C,ce++),C+=4),U.set(he,C),C+=k,R(U,C,I(U,Ce,C-Ce)),C+=4}return R(U,C,0),C+=4,w(U,C,"IEND"),C+=4,R(U,C,I(U,C-4,4)),C+=4,U.buffer}function m(y,A,D){for(let F=0;F<y.frames.length;F++){let T=y.frames[F];T.rect.width;let I=T.rect.height,R=new Uint8Array(I*T.bpl+I);T.cimg=d(T.img,I,T.bpp,T.bpl,R,A,D)}}function s(y,A,D,F,T){let I=T[0],R=T[1],P=T[2],w=T[3],C=T[4],N=T[5],M=6,L=8,z=255;for(var k=0;k<y.length;k++){let Ve=new Uint8Array(y[k]);for(var $=Ve.length,W=0;W<$;W+=4)z&=Ve[W+3]}let U=z!=255,X=(function(Ie,we,Te,Le,De,bt){let Je=[];for(var Ae=0;Ae<Ie.length;Ae++){let rt=new Uint8Array(Ie[Ae]),nr=new Uint32Array(rt.buffer);var pt;let Nt=0,ur=0,lr=we,ro=Te,Pn=Le?1:0;if(Ae!=0){let Bc=bt||Le||Ae==1||Je[Ae-2].dispose!=0?1:2,kn=0,N0=1e9;for(let co=0;co<Bc;co++){var Mr=new Uint8Array(Ie[Ae-1-co]);let Fc=new Uint32Array(Ie[Ae-1-co]),Or=we,Ir=Te,oo=-1,dn=-1;for(let Lr=0;Lr<Te;Lr++)for(let no=0;no<we;no++)nr[mt=Lr*we+no]!=Fc[mt]&&(no<Or&&(Or=no),no>oo&&(oo=no),Lr<Ir&&(Ir=Lr),Lr>dn&&(dn=Lr));oo==-1&&(Or=Ir=oo=dn=0),De&&((1&Or)==1&&Or--,(1&Ir)==1&&Ir--);let U0=(oo-Or+1)*(dn-Ir+1);U0<N0&&(N0=U0,kn=co,Nt=Or,ur=Ir,lr=oo-Or+1,ro=dn-Ir+1)}Mr=new Uint8Array(Ie[Ae-1-kn]),kn==1&&(Je[Ae-1].dispose=2),pt=new Uint8Array(lr*ro*4),e(Mr,we,Te,pt,lr,ro,-Nt,-ur,0),Pn=e(rt,we,Te,pt,lr,ro,-Nt,-ur,3)?1:0,Pn==1?p(rt,we,Te,pt,{x:Nt,y:ur,width:lr,height:ro}):e(rt,we,Te,pt,lr,ro,-Nt,-ur,0)}else pt=rt.slice(0);Je.push({rect:{x:Nt,y:ur,width:lr,height:ro},img:pt,blend:Pn,dispose:0})}if(Le)for(Ae=0;Ae<Je.length;Ae++){if((Xt=Je[Ae]).blend==1)continue;let rt=Xt.rect,nr=Je[Ae-1].rect,Nt=Math.min(rt.x,nr.x),ur=Math.min(rt.y,nr.y),lr={x:Nt,y:ur,width:Math.max(rt.x+rt.width,nr.x+nr.width)-Nt,height:Math.max(rt.y+rt.height,nr.y+nr.height)-ur};Je[Ae-1].dispose=1,Ae-1!=0&&l(Ie,we,Te,Je,Ae-1,lr,De),l(Ie,we,Te,Je,Ae,lr,De)}let mn=0;if(Ie.length!=1)for(var mt=0;mt<Je.length;mt++){var Xt;mn+=(Xt=Je[mt]).rect.width*Xt.rect.height}return Je})(y,A,D,I,R,P),ce={},xe=[],he=[];if(F!=0){let Ve=[];for(W=0;W<X.length;W++)Ve.push(X[W].img.buffer);let Ie=(function(De){let bt=0;for(var Je=0;Je<De.length;Je++)bt+=De[Je].byteLength;let Ae=new Uint8Array(bt),pt=0;for(Je=0;Je<De.length;Je++){let Mr=new Uint8Array(De[Je]),mn=Mr.length;for(let mt=0;mt<mn;mt+=4){let Xt=Mr[mt],rt=Mr[mt+1],nr=Mr[mt+2],Nt=Mr[mt+3];Nt==0&&(Xt=rt=nr=0),Ae[pt+mt]=Xt,Ae[pt+mt+1]=rt,Ae[pt+mt+2]=nr,Ae[pt+mt+3]=Nt}pt+=mn}return Ae.buffer})(Ve),we=h(Ie,F);for(W=0;W<we.plte.length;W++)xe.push(we.plte[W].est.rgba);let Te=0;for(W=0;W<X.length;W++){let Le=(ge=X[W]).img.length;var Ce=new Uint8Array(we.inds.buffer,Te>>2,Le>>2);he.push(Ce);let De=new Uint8Array(we.abuf,Te,Le);N&&f(ge.img,ge.rect.width,ge.rect.height,xe,De,Ce),ge.img.set(De),Te+=Le}}else for(k=0;k<X.length;k++){var ge=X[k];let Ve=new Uint32Array(ge.img.buffer);var be=ge.rect.width;for($=Ve.length,Ce=new Uint8Array($),he.push(Ce),W=0;W<$;W++){let Ie=Ve[W];if(W!=0&&Ie==Ve[W-1])Ce[W]=Ce[W-1];else if(W>be&&Ie==Ve[W-be])Ce[W]=Ce[W-be];else{let we=ce[Ie];if(we==null&&(ce[Ie]=we=xe.length,xe.push(Ie),xe.length>=300))break;Ce[W]=we}}}let sr=xe.length;for(sr<=256&&C==0&&(L=sr<=2?1:sr<=4?2:sr<=16?4:8,L=Math.max(L,w)),k=0;k<X.length;k++){(ge=X[k]).rect.x,ge.rect.y,be=ge.rect.width;let Ve=ge.rect.height,Ie=ge.img;new Uint32Array(Ie.buffer);let we=4*be,Te=4;if(sr<=256&&C==0){we=Math.ceil(L*be/8);var Tt=new Uint8Array(we*Ve);let Le=he[k];for(let De=0;De<Ve;De++){W=De*we;let bt=De*be;if(L==8)for(var ke=0;ke<be;ke++)Tt[W+ke]=Le[bt+ke];else if(L==4)for(ke=0;ke<be;ke++)Tt[W+(ke>>1)]|=Le[bt+ke]<<4-4*(1&ke);else if(L==2)for(ke=0;ke<be;ke++)Tt[W+(ke>>2)]|=Le[bt+ke]<<6-2*(3&ke);else if(L==1)for(ke=0;ke<be;ke++)Tt[W+(ke>>3)]|=Le[bt+ke]<<7-1*(7&ke)}Ie=Tt,M=3,Te=1}else if(U==0&&X.length==1){Tt=new Uint8Array(be*Ve*3);let Le=be*Ve;for(W=0;W<Le;W++){let De=3*W,bt=4*W;Tt[De]=Ie[bt],Tt[De+1]=Ie[bt+1],Tt[De+2]=Ie[bt+2]}Ie=Tt,M=2,Te=3,we=3*be}ge.img=Ie,ge.bpl=we,ge.bpp=Te}return{ctype:M,depth:L,plte:xe,frames:X}}function l(y,A,D,F,T,I,R){let P=Uint8Array,w=Uint32Array,C=new P(y[T-1]),N=new w(y[T-1]),M=T+1<y.length?new P(y[T+1]):null,L=new P(y[T]),z=new w(L.buffer),k=A,$=D,W=-1,U=-1;for(let ce=0;ce<I.height;ce++)for(let xe=0;xe<I.width;xe++){let he=I.x+xe,Ce=I.y+ce,ge=Ce*A+he,be=z[ge];be==0||F[T-1].dispose==0&&N[ge]==be&&(M==null||M[4*ge+3]!=0)||(he<k&&(k=he),he>W&&(W=he),Ce<$&&($=Ce),Ce>U&&(U=Ce))}W==-1&&(k=$=W=U=0),R&&((1&k)==1&&k--,(1&$)==1&&$--),I={x:k,y:$,width:W-k+1,height:U-$+1};let X=F[T];X.rect=I,X.blend=1,X.img=new Uint8Array(I.width*I.height*4),F[T-1].dispose==0?(e(C,A,D,X.img,I.width,I.height,-I.x,-I.y,0),p(L,A,D,X.img,I)):e(L,A,D,X.img,I.width,I.height,-I.x,-I.y,0)}function p(y,A,D,F,T){e(y,A,D,F,T.width,T.height,-T.x,-T.y,2)}function d(y,A,D,F,T,I,R){let P=[],w,C=[0,1,2,3,4];I!=-1?C=[I]:(A*F>5e5||D==1)&&(C=[0]),R&&(w={level:0});let N=c6;for(var M=0;M<C.length;M++){for(let k=0;k<A;k++)c(T,y,k,F,D,C[M]);P.push(N.deflate(T,w))}let L,z=1e9;for(M=0;M<P.length;M++)P[M].length<z&&(L=M,z=P[M].length);return P[L]}function c(y,A,D,F,T,I){let R=D*F,P=R+D;if(y[P]=I,P++,I==0)if(F<500)for(var w=0;w<F;w++)y[P+w]=A[R+w];else y.set(new Uint8Array(A.buffer,R,F),P);else if(I==1){for(w=0;w<T;w++)y[P+w]=A[R+w];for(w=T;w<F;w++)y[P+w]=A[R+w]-A[R+w-T]+256&255}else if(D==0){for(w=0;w<T;w++)y[P+w]=A[R+w];if(I==2)for(w=T;w<F;w++)y[P+w]=A[R+w];if(I==3)for(w=T;w<F;w++)y[P+w]=A[R+w]-(A[R+w-T]>>1)+256&255;if(I==4)for(w=T;w<F;w++)y[P+w]=A[R+w]-r(A[R+w-T],0,0)+256&255}else{if(I==2)for(w=0;w<F;w++)y[P+w]=A[R+w]+256-A[R+w-F]&255;if(I==3){for(w=0;w<T;w++)y[P+w]=A[R+w]+256-(A[R+w-F]>>1)&255;for(w=T;w<F;w++)y[P+w]=A[R+w]+256-(A[R+w-F]+A[R+w-T]>>1)&255}if(I==4){for(w=0;w<T;w++)y[P+w]=A[R+w]+256-r(0,A[R+w-F],0)&255;for(w=T;w<F;w++)y[P+w]=A[R+w]+256-r(A[R+w-T],A[R+w-F],A[R+w-T-F])&255}}}function h(y,A){let D=new Uint8Array(y),F=D.slice(0),T=new Uint32Array(F.buffer),I=g(F,A),R=I[0],P=I[1],w=D.length,C=new Uint8Array(w>>2),N;if(D.length<2e7)for(var M=0;M<w;M+=4)N=x(R,L=D[M]*(1/255),z=D[M+1]*(1/255),k=D[M+2]*(1/255),$=D[M+3]*(1/255)),C[M>>2]=N.ind,T[M>>2]=N.est.rgba;else for(M=0;M<w;M+=4){var L=D[M]*.00392156862745098,z=D[M+1]*(1/255),k=D[M+2]*(1/255),$=D[M+3]*(1/255);for(N=R;N.left;)N=b(N.est,L,z,k,$)<=0?N.left:N.right;C[M>>2]=N.ind,T[M>>2]=N.est.rgba}return{abuf:F.buffer,inds:C,plte:P}}function g(y,A,D){D==null&&(D=1e-4);let F=new Uint32Array(y.buffer),T={i0:0,i1:y.length,bst:null,est:null,tdst:0,left:null,right:null};T.bst=S(y,T.i0,T.i1),T.est=v(T.bst);let I=[T];for(;I.length<A;){let P=0,w=0;for(var R=0;R<I.length;R++)I[R].est.L>P&&(P=I[R].est.L,w=R);if(P<D)break;let C=I[w],N=B(y,F,C.i0,C.i1,C.est.e,C.est.eMq255);if(C.i0>=N||C.i1<=N){C.est.L=0;continue}let M={i0:C.i0,i1:N,bst:null,est:null,tdst:0,left:null,right:null};M.bst=S(y,M.i0,M.i1),M.est=v(M.bst);let L={i0:N,i1:C.i1,bst:null,est:null,tdst:0,left:null,right:null};for(L.bst={R:[],m:[],N:C.bst.N-M.bst.N},R=0;R<16;R++)L.bst.R[R]=C.bst.R[R]-M.bst.R[R];for(R=0;R<4;R++)L.bst.m[R]=C.bst.m[R]-M.bst.m[R];L.est=v(L.bst),C.left=M,C.right=L,I[w]=M,I.push(L)}for(I.sort(((P,w)=>w.bst.N-P.bst.N)),R=0;R<I.length;R++)I[R].ind=R;return[T,I]}function x(y,A,D,F,T){if(y.left==null)return y.tdst=(function(M,L,z,k,$){let W=L-M[0],U=z-M[1],X=k-M[2],ce=$-M[3];return W*W+U*U+X*X+ce*ce})(y.est.q,A,D,F,T),y;let I=b(y.est,A,D,F,T),R=y.left,P=y.right;I>0&&(R=y.right,P=y.left);let w=x(R,A,D,F,T);if(w.tdst<=I*I)return w;let C=x(P,A,D,F,T);return C.tdst<w.tdst?C:w}function b(y,A,D,F,T){let{e:I}=y;return I[0]*A+I[1]*D+I[2]*F+I[3]*T-y.eMq}function B(y,A,D,F,T,I){for(F-=4;D<F;){for(;E(y,D,T)<=I;)D+=4;for(;E(y,F,T)>I;)F-=4;if(D>=F)break;let R=A[D>>2];A[D>>2]=A[F>>2],A[F>>2]=R,D+=4,F-=4}for(;E(y,D,T)>I;)D-=4;return D+4}function E(y,A,D){return y[A]*D[0]+y[A+1]*D[1]+y[A+2]*D[2]+y[A+3]*D[3]}function S(y,A,D){let F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],T=[0,0,0,0],I=D-A>>2;for(let R=A;R<D;R+=4){let P=y[R]*.00392156862745098,w=y[R+1]*(1/255),C=y[R+2]*(1/255),N=y[R+3]*(1/255);T[0]+=P,T[1]+=w,T[2]+=C,T[3]+=N,F[0]+=P*P,F[1]+=P*w,F[2]+=P*C,F[3]+=P*N,F[5]+=w*w,F[6]+=w*C,F[7]+=w*N,F[10]+=C*C,F[11]+=C*N,F[15]+=N*N}return F[4]=F[1],F[8]=F[2],F[9]=F[6],F[12]=F[3],F[13]=F[7],F[14]=F[11],{R:F,m:T,N:I}}function v(y){let{R:A}=y,{m:D}=y,{N:F}=y,T=D[0],I=D[1],R=D[2],P=D[3],w=F==0?0:1/F,C=[A[0]-T*T*w,A[1]-T*I*w,A[2]-T*R*w,A[3]-T*P*w,A[4]-I*T*w,A[5]-I*I*w,A[6]-I*R*w,A[7]-I*P*w,A[8]-R*T*w,A[9]-R*I*w,A[10]-R*R*w,A[11]-R*P*w,A[12]-P*T*w,A[13]-P*I*w,A[14]-P*R*w,A[15]-P*P*w],N=C,M=O,L=[Math.random(),Math.random(),Math.random(),Math.random()],z=0,k=0;if(F!=0)for(let W=0;W<16&&(L=M.multVec(N,L),k=Math.sqrt(M.dot(L,L)),L=M.sml(1/k,L),!(W!=0&&Math.abs(k-z)<1e-9));W++)z=k;let $=[T*w,I*w,R*w,P*w];return{Cov:C,q:$,e:L,L:z,eMq255:M.dot(M.sml(255,$),L),eMq:M.dot(L,$),rgba:(Math.round(255*$[3])<<24|Math.round(255*$[2])<<16|Math.round(255*$[1])<<8|Math.round(255*$[0])<<0)>>>0}}var O={multVec:(y,A)=>[y[0]*A[0]+y[1]*A[1]+y[2]*A[2]+y[3]*A[3],y[4]*A[0]+y[5]*A[1]+y[6]*A[2]+y[7]*A[3],y[8]*A[0]+y[9]*A[1]+y[10]*A[2]+y[11]*A[3],y[12]*A[0]+y[13]*A[1]+y[14]*A[2]+y[15]*A[3]],dot:(y,A)=>y[0]*A[0]+y[1]*A[1]+y[2]*A[2]+y[3]*A[3],sml:(y,A)=>[y*A[0],y*A[1],y*A[2],y*A[3]]};Fr.encode=function(A,D,F,T,I,R,P){T==null&&(T=0),P==null&&(P=!1);let w=s(A,D,F,T,[!1,!1,!1,0,P,!1]);return m(w,-1),u(w,D,F,I,R)},Fr.encodeLL=function(A,D,F,T,I,R,P,w){let C={ctype:0+(T==1?0:2)+(I==0?0:4),depth:R,frames:[]},N=(T+I)*R,M=N*D;for(let L=0;L<A.length;L++)C.frames.push({rect:{x:0,y:0,width:D,height:F},img:new Uint8Array(A[L]),blend:0,dispose:1,bpp:Math.ceil(N/8),bpl:Math.ceil(M/8)});return m(C,0,!0),u(C,D,F,P,w)},Fr.encode.compress=s,Fr.encode.dither=f,Fr.quantize=h,Fr.quantize.getKDtree=g,Fr.quantize.getNearest=x})();var Kh={toArrayBuffer(e,t){let r=e.width,o=e.height,n=r<<2,i=e.getContext("2d").getImageData(0,0,r,o),a=new Uint32Array(i.data.buffer),f=(32*r+31)/32<<2,u=f*o,m=122+u,s=new ArrayBuffer(m),l=new DataView(s),p=1<<20,d,c,h,g,x=p,b=0,B=0,E=0;function S(y){l.setUint16(B,y,!0),B+=2}function v(y){l.setUint32(B,y,!0),B+=4}function O(y){B+=y}S(19778),v(m),O(4),v(122),v(108),v(r),v(-o>>>0),S(1),S(32),v(3),v(u),v(2835),v(2835),O(8),v(16711680),v(65280),v(255),v(4278190080),v(1466527264),(function y(){for(;b<o&&x>0;){for(g=122+b*f,d=0;d<n;)x--,c=a[E++],h=c>>>24,l.setUint32(g+d,c<<8|h),d+=4;b++}E<a.length?(x=p,setTimeout(y,Kh._dly)):t(s)})()},toBlob(e,t){this.toArrayBuffer(e,(r=>{t(new Blob([r],{type:"image/bmp"}))}))},_dly:9},Yt={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},x6={[Yt.CHROME]:16384,[Yt.FIREFOX]:11180,[Yt.DESKTOP_SAFARI]:16384,[Yt.IE]:8192,[Yt.IOS]:4096,[Yt.ETC]:8192},ox=typeof window<"u",Yh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,lf=ox&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),h6=(ox||Yh)&&(lf&&lf.getOriginalSymbol(window,"File")||typeof File<"u"&&File),Jh=(ox||Yh)&&(lf&&lf.getOriginalSymbol(window,"FileReader")||typeof FileReader<"u"&&FileReader);function nx(e,t,r=Date.now()){return new Promise((o=>{let n=e.split(","),i=n[0].match(/:(.*?);/)[1],a=globalThis.atob(n[1]),f=a.length,u=new Uint8Array(f);for(;f--;)u[f]=a.charCodeAt(f);let m=new Blob([u],{type:i});m.name=t,m.lastModified=r,o(m)}))}function Qh(e){return new Promise(((t,r)=>{let o=new Jh;o.onload=()=>t(o.result),o.onerror=n=>r(n),o.readAsDataURL(e)}))}function Zh(e){return new Promise(((t,r)=>{let o=new Image;o.onload=()=>t(o),o.onerror=n=>r(n),o.src=e}))}function xn(){if(xn.cachedResult!==void 0)return xn.cachedResult;let e=Yt.ETC,{userAgent:t}=navigator;return/Chrom(e|ium)/i.test(t)?e=Yt.CHROME:/iP(ad|od|hone)/i.test(t)&&/WebKit/i.test(t)?e=Yt.IOS:/Safari/i.test(t)?e=Yt.DESKTOP_SAFARI:/Firefox/i.test(t)?e=Yt.FIREFOX:(/MSIE/i.test(t)||document.documentMode)&&(e=Yt.IE),xn.cachedResult=e,xn.cachedResult}function Vh(e,t){let r=xn(),o=x6[r],n=e,i=t,a=n*i,f=n>i?i/n:n/i;for(;a>o*o;){let u=(o+n)/2,m=(o+i)/2;u<m?(i=m,n=m*f):(i=u*f,n=u),a=n*i}return{width:n,height:i}}function df(e,t){let r,o;try{if(r=new OffscreenCanvas(e,t),o=r.getContext("2d"),o===null)throw new Error("getContext of OffscreenCanvas returns null")}catch{r=document.createElement("canvas"),o=r.getContext("2d")}return r.width=e,r.height=t,[r,o]}function e2(e,t){let{width:r,height:o}=Vh(e.width,e.height),[n,i]=df(r,o);return t&&/jpe?g/.test(t)&&(i.fillStyle="white",i.fillRect(0,0,n.width,n.height)),i.drawImage(e,0,0,n.width,n.height),n}function sf(){return sf.cachedResult!==void 0||(sf.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&typeof document<"u"&&"ontouchend"in document),sf.cachedResult}function pf(e,t={}){return new Promise((function(r,o){let n,i;var a=function(){try{return i=e2(n,t.fileType||e.type),r([n,i])}catch(u){return o(u)}},f=function(u){try{var m=function(s){try{throw s}catch(l){return o(l)}};try{let s;return Qh(e).then((function(l){try{return s=l,Zh(s).then((function(p){try{return n=p,(function(){try{return a()}catch(d){return o(d)}})()}catch(d){return m(d)}}),m)}catch(p){return m(p)}}),m)}catch(s){m(s)}}catch(s){return o(s)}};try{if(sf()||[Yt.DESKTOP_SAFARI,Yt.MOBILE_SAFARI].includes(xn()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then((function(u){try{return n=u,a()}catch{return f()}}),f)}catch{f()}}))}function mf(e,t,r,o,n=1){return new Promise((function(i,a){let f;if(t==="image/png"){let l,p,d;return l=e.getContext("2d"),{data:p}=l.getImageData(0,0,e.width,e.height),d=Fr.encode([p.buffer],e.width,e.height,4096*n),f=new Blob([d],{type:t}),f.name=r,f.lastModified=o,u.call(this)}{let l=function(){return u.call(this)};var m=l;if(t==="image/bmp")return new Promise((p=>Kh.toBlob(e,p))).then(function(p){try{return f=p,f.name=r,f.lastModified=o,l.call(this)}catch(d){return a(d)}}.bind(this),a);{let p=function(){return l.call(this)};var s=p;if(typeof OffscreenCanvas=="function"&&e instanceof OffscreenCanvas)return e.convertToBlob({type:t,quality:n}).then(function(d){try{return f=d,f.name=r,f.lastModified=o,p.call(this)}catch(c){return a(c)}}.bind(this),a);{let d;return d=e.toDataURL(t,n),nx(d,r,o).then(function(c){try{return f=c,p.call(this)}catch(h){return a(h)}}.bind(this),a)}}}function u(){return i(f)}}))}function Hr(e){e.width=0,e.height=0}function $n(){return new Promise((function(e,t){let r,o,n,i,a;return $n.cachedResult!==void 0?e($n.cachedResult):(r="data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==",nx("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(f){try{return o=f,pf(o).then((function(u){try{return n=u[1],mf(n,o.type,o.name,o.lastModified).then((function(m){try{return i=m,Hr(n),pf(i).then((function(s){try{return a=s[0],$n.cachedResult=a.width===1&&a.height===2,e($n.cachedResult)}catch(l){return t(l)}}),t)}catch(s){return t(s)}}),t)}catch(m){return t(m)}}),t)}catch(u){return t(u)}}),t))}))}function t2(e){return new Promise(((t,r)=>{let o=new Jh;o.onload=n=>{let i=new DataView(n.target.result);if(i.getUint16(0,!1)!=65496)return t(-2);let a=i.byteLength,f=2;for(;f<a;){if(i.getUint16(f+2,!1)<=8)return t(-1);let u=i.getUint16(f,!1);if(f+=2,u==65505){if(i.getUint32(f+=2,!1)!=1165519206)return t(-1);let m=i.getUint16(f+=6,!1)==18761;f+=i.getUint32(f+4,m);let s=i.getUint16(f,m);f+=2;for(let l=0;l<s;l++)if(i.getUint16(f+12*l,m)==274)return t(i.getUint16(f+12*l+8,m))}else{if((65280&u)!=65280)break;f+=i.getUint16(f,!1)}}return t(-1)},o.onerror=n=>r(n),o.readAsArrayBuffer(e)}))}function r2(e,t){let{width:r}=e,{height:o}=e,{maxWidthOrHeight:n}=t,i,a=e;return isFinite(n)&&(r>n||o>n)&&([a,i]=df(r,o),r>o?(a.width=n,a.height=o/r*n):(a.width=r/o*n,a.height=n),i.drawImage(e,0,0,a.width,a.height),Hr(e)),a}function o2(e,t){let{width:r}=e,{height:o}=e,[n,i]=df(r,o);switch(t>4&&t<9?(n.width=o,n.height=r):(n.width=r,n.height=o),t){case 2:i.transform(-1,0,0,1,r,0);break;case 3:i.transform(-1,0,0,-1,r,o);break;case 4:i.transform(1,0,0,-1,0,o);break;case 5:i.transform(0,1,1,0,0,0);break;case 6:i.transform(0,1,-1,0,o,0);break;case 7:i.transform(0,-1,-1,0,o,r);break;case 8:i.transform(0,-1,1,0,0,r)}return i.drawImage(e,0,0,r,o),Hr(e),n}function Gh(e,t,r=0){return new Promise((function(o,n){let i,a,f,u,m,s,l,p,d,c,h,g,x,b,B,E,S,v,O,y;function A(F=5){if(t.signal&&t.signal.aborted)throw t.signal.reason;i+=F,t.onProgress(Math.min(i,100))}function D(F){if(t.signal&&t.signal.aborted)throw t.signal.reason;i=Math.min(Math.max(F,i),100),t.onProgress(i)}return i=r,a=t.maxIteration||10,f=1024*t.maxSizeMB*1024,A(),pf(e,t).then(function(F){try{return[,u]=F,A(),m=r2(u,t),A(),new Promise((function(T,I){var R;if(!(R=t.exifOrientation))return t2(e).then(function(w){try{return R=w,P.call(this)}catch(C){return I(C)}}.bind(this),I);function P(){return T(R)}return P.call(this)})).then(function(T){try{return s=T,A(),$n().then(function(I){try{return l=I?m:o2(m,s),A(),p=t.initialQuality||1,d=t.fileType||e.type,mf(l,d,e.name,e.lastModified,p).then(function(R){try{{let N=function(){if(a--&&(B>f||B>x)){let L,z;return L=y?.95*O.width:O.width,z=y?.95*O.height:O.height,[S,v]=df(L,z),v.drawImage(O,0,0,L,z),p*=d==="image/png"?.85:.95,mf(S,d,e.name,e.lastModified,p).then((function(k){try{return E=k,Hr(O),O=S,B=E.size,D(Math.min(99,Math.floor((b-B)/(b-f)*100))),N}catch($){return n($)}}),n)}return[1]},M=function(){return Hr(O),Hr(S),Hr(m),Hr(l),Hr(u),D(100),o(E)};var w=N,C=M;if(c=R,A(),h=c.size>f,g=c.size>e.size,!h&&!g)return D(100),o(c);var P;return x=e.size,b=c.size,B=b,O=l,y=!t.alwaysKeepResolution&&h,(P=function(L){for(;L;){if(L.then)return void L.then(P,n);try{if(L.pop){if(L.length)return L.pop()?M.call(this):L;L=N}else L=L.call(this)}catch(z){return n(z)}}}.bind(this))(N)}}catch(N){return n(N)}}.bind(this),n)}catch(R){return n(R)}}.bind(this),n)}catch(I){return n(I)}}.bind(this),n)}catch(T){return n(T)}}.bind(this),n)}))}var g6=`
|
|
7
|
+
`).replace(/[^\S\n]+/g," ").replace(/(^\s*|\s*$)/g,"")}function Cj(e,t){let r=t[e];return typeof r=="function"?r():r}function wj(e){let t=Br(e)?e:e.length;return t-=1,t>=0?t:0}function Bj(e){let t=e.slice();for(let r=0;r<t.length;r++)r in t||(e[r]=void 0);return t}function r6(e,t){e||(e="");let r=5381;for(let i=0;i<e.length;i++)r=r*33^e.charCodeAt(i);r=Math.abs(r);let n=r*.61803398875%1;return Math.floor(n*t)}function o6(e){return e.startsWith("/")?e.slice(1):e}function Fj(e){e=o6(e);let t=[],r="",o=0,n="PLACEHOLDER_"+Math.random().toString(36).slice(2,10);for(;o<e.length;)e[o]==="-"?e[o+1]==="-"?(r+="-",o+=2):(t.push(r),r="",o++):(r+=e[o],o++);return r&&t.push(r),t.map(a=>a.replace(/__/g,n).replace(/_/g," ").replace(/%20/g," ").replace(new RegExp(n,"g"),"_"))}function Wh(e){let[t,r]=e.toString().split("."),o=t.replace(/\B(?=(\d{3})+(?!\d))/g,",");return r?`${o}.${r}`:o}function n6(e){return e=e||"",/^[\p{L}\p{N}._%+-]+@(?:[\p{L}\p{N}-]+\.)+[\p{L}]{2,}$/u.test(e)}function Rj(e){n6(e)||$a("Invalid email address")}var i6=new Intl.DateTimeFormat("zh-CN",{timeZone:"Asia/Shanghai",year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1});function Sj(e){let t=new Date(e),r=i6.formatToParts(t),o=m=>r.find(s=>s.type===m)?.value??"",n=o("year"),i=o("month"),a=o("day"),f=o("hour"),u=o("minute");return`${n}\u5E74${i}\u6708${a}\u65E5 ${f}:${u}`}function Tj(e,t=2){return Br(e)?Wh((e*Math.pow(10,-t)).toFixed(t)):"-"}function Dj(e,t=2){let r="#333";if(!Br(e))return["+?",r];let o="";return e>0?(o="+",r="#0a0"):e<0&&(o="-",r="#a00"),[o+Wh((e*Math.pow(10,-t)).toFixed(t)),r]}function Mj(e,t){let r=V3(e);return t?{msg:r,...t}:{msg:r}}function Oj(){$a("\u5185\u5BB9\u4E0D\u6B63\u786E")}function Ij(){$a("\u53C2\u6570\u4E0D\u6B63\u786E")}function Lj(){$a("\u4F60\u8FD8\u6CA1\u6709\u767B\u5F55")}function Pj(){$a("\u4F60\u6CA1\u6709\u8FD9\u4E2A\u6743\u9650")}function kj(e){let t=new Date,r=t.getUTCHours(),o=t.getUTCMinutes(),n=e*60,i=r*60+o,a=Math.abs(i-n),f=1440-a;return a<=3||f<=3}function a6(e){let t=e.trim();if(!t)return new Uint8Array(0);try{if(typeof atob=="function"){let r=atob(t),o=new Uint8Array(r.length);for(let n=0;n<r.length;n++)o[n]=r.charCodeAt(n);return o}}catch{}try{if(typeof Buffer<"u")return Uint8Array.from(Buffer.from(t,"base64"))}catch{}return new Uint8Array(0)}function wr(e,t,r){let o="";for(let n=t;n<r&&n<e.length;n++)o+=String.fromCharCode(e[n]);return o}function qh(e){if(typeof e!="string")return null;let t=e.replace(/^data:[^;]+;base64,/i,"").replace(/\s+/g,"").trim();return!t||!/^[A-Za-z0-9+/]+={0,2}$/.test(t)||t.length%4!==0?null:t}function f6(e){let t=qh(e);if(!t)return"image/png";let r=a6(t);return r.length>=3&&r[0]===255&&r[1]===216&&r[2]===255?"image/jpeg":r.length>=8&&r[0]===137&&r[1]===80&&r[2]===78&&r[3]===71&&r[4]===13&&r[5]===10&&r[6]===26&&r[7]===10?"image/png":r.length>=6&&(wr(r,0,6)==="GIF87a"||wr(r,0,6)==="GIF89a")?"image/gif":r.length>=12&&wr(r,0,4)==="RIFF"&&wr(r,8,12)==="WEBP"?"image/webp":r.length>=2&&r[0]===66&&r[1]===77?"image/bmp":r.length>=4&&(r[0]===73&&r[1]===73&&r[2]===42&&r[3]===0||r[0]===77&&r[1]===77&&r[2]===0&&r[3]===42)?"image/tiff":r.length>=12&&wr(r,4,8)==="ftyp"&&wr(r,8,12)==="avif"?"image/avif":r.length>=12&&wr(r,4,8)==="ftyp"&&(wr(r,8,12)==="heic"||wr(r,8,12)==="heix"||wr(r,8,12)==="hevc"||wr(r,8,12)==="hevx")?"image/heic":r.length>=8&&r[0]===0&&r[1]===0&&r[2]===1&&r[3]===0?"image/x-icon":"image/png"}function jh(e){if(typeof e!="string")return null;let t=qh(e);if(!t)return null;try{return`data:${/^data:([^;]+);base64,/i.exec(e.trim())?.[1]||f6(t)};base64,${t}`}catch{return null}}var $h=e=>{let t="";try{t=Mh(e)}catch{t=String(e)}return r6(t,360)},Hj=e=>`hsl(${$h(e)}, 100%, 33%)`,zj=e=>`hsl(${$h(e)}, 100%, 40%)`;var tx=class{constructor(){this.config={}}loadConfig(t){Lh(this.config,t)}},Wj=new tx;var af="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var s6=e=>crypto.getRandomValues(new Uint8Array(e)),u6=(e,t,r)=>{let o=(2<<Math.log2(e.length-1))-1,n=-~(1.6*o*t/e.length);return(i=t)=>{let a="";for(;;){let f=r(n),u=n|0;for(;u--;)if(a+=e[f[u]&o]||"",a.length>=i)return a}}},l6=(e,t=21)=>u6(e,t|0,s6),ff=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=af[r[e]&63];return t};function p6(e,t){return t.forEach((function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach((function(o){if(o!=="default"&&!(o in e)){var n=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(e,o,n.get?n:{enumerable:!0,get:function(){return r[o]}})}}))})),Object.freeze(e)}function Xh(e,t){return new Promise((function(r,o){let n;return m6(e).then((function(i){try{return n=i,r(new Blob([t.slice(0,2),n,t.slice(2)],{type:"image/jpeg"}))}catch(a){return o(a)}}),o)}))}var m6=e=>new Promise(((t,r)=>{let o=new FileReader;o.addEventListener("load",(({target:{result:n}})=>{let i=new DataView(n),a=0;if(i.getUint16(a)!==65496)return r("not a valid JPEG");for(a+=2;;){let f=i.getUint16(a);if(f===65498)break;let u=i.getUint16(a+2);if(f===65505&&i.getUint32(a+4)===1165519206){let m=a+10,s;switch(i.getUint16(m)){case 18761:s=!0;break;case 19789:s=!1;break;default:return r("TIFF header contains invalid endian")}if(i.getUint16(m+2,s)!==42)return r("TIFF header contains invalid version");let l=i.getUint32(m+4,s),p=m+l+2+12*i.getUint16(m+l,s);for(let d=m+l+2;d<p;d+=12)if(i.getUint16(d,s)==274){if(i.getUint16(d+2,s)!==3)return r("Orientation data type is invalid");if(i.getUint32(d+4,s)!==1)return r("Orientation data count is invalid");i.setUint16(d+8,1,s);break}return t(n.slice(a,a+2+u))}a+=2+u}return t(new Blob)})),o.readAsArrayBuffer(e)})),uf={},d6={get exports(){return uf},set exports(e){uf=e}};(function(e){var t,r,o={};d6.exports=o,o.parse=function(n,i){for(var a=o.bin.readUshort,f=o.bin.readUint,u=0,m={},s=new Uint8Array(n),l=s.length-4;f(s,l)!=101010256;)l--;u=l,u+=4;var p=a(s,u+=4);a(s,u+=2);var d=f(s,u+=2),c=f(s,u+=4);u+=4,u=c;for(var h=0;h<p;h++){f(s,u),u+=4,u+=4,u+=4,f(s,u+=4),d=f(s,u+=4);var g=f(s,u+=4),x=a(s,u+=4),b=a(s,u+2),B=a(s,u+4);u+=6;var E=f(s,u+=8);u+=4,u+=x+b+B,o._readLocal(s,E,m,d,g,i)}return m},o._readLocal=function(n,i,a,f,u,m){var s=o.bin.readUshort,l=o.bin.readUint;l(n,i),s(n,i+=4),s(n,i+=2);var p=s(n,i+=2);l(n,i+=2),l(n,i+=4),i+=4;var d=s(n,i+=8),c=s(n,i+=2);i+=2;var h=o.bin.readUTF8(n,i,d);if(i+=d,i+=c,m)a[h]={size:u,csize:f};else{var g=new Uint8Array(n.buffer,i);if(p==0)a[h]=new Uint8Array(g.buffer.slice(i,i+f));else{if(p!=8)throw"unknown compression method: "+p;var x=new Uint8Array(u);o.inflateRaw(g,x),a[h]=x}}},o.inflateRaw=function(n,i){return o.F.inflate(n,i)},o.inflate=function(n,i){return n[0],n[1],o.inflateRaw(new Uint8Array(n.buffer,n.byteOffset+2,n.length-6),i)},o.deflate=function(n,i){i==null&&(i={level:6});var a=0,f=new Uint8Array(50+Math.floor(1.1*n.length));f[a]=120,f[a+1]=156,a+=2,a=o.F.deflateRaw(n,f,a,i.level);var u=o.adler(n,0,n.length);return f[a+0]=u>>>24&255,f[a+1]=u>>>16&255,f[a+2]=u>>>8&255,f[a+3]=u>>>0&255,new Uint8Array(f.buffer,0,a+4)},o.deflateRaw=function(n,i){i==null&&(i={level:6});var a=new Uint8Array(50+Math.floor(1.1*n.length)),f=o.F.deflateRaw(n,a,f,i.level);return new Uint8Array(a.buffer,0,f)},o.encode=function(n,i){i==null&&(i=!1);var a=0,f=o.bin.writeUint,u=o.bin.writeUshort,m={};for(var s in n){var l=!o._noNeed(s)&&!i,p=n[s],d=o.crc.crc(p,0,p.length);m[s]={cpr:l,usize:p.length,crc:d,file:l?o.deflateRaw(p):p}}for(var s in m)a+=m[s].file.length+30+46+2*o.bin.sizeUTF8(s);a+=22;var c=new Uint8Array(a),h=0,g=[];for(var s in m){var x=m[s];g.push(h),h=o._writeHeader(c,h,s,x,0)}var b=0,B=h;for(var s in m)x=m[s],g.push(h),h=o._writeHeader(c,h,s,x,1,g[b++]);var E=h-B;return f(c,h,101010256),h+=4,u(c,h+=4,b),u(c,h+=2,b),f(c,h+=2,E),f(c,h+=4,B),h+=4,h+=2,c.buffer},o._noNeed=function(n){var i=n.split(".").pop().toLowerCase();return"png,jpg,jpeg,zip".indexOf(i)!=-1},o._writeHeader=function(n,i,a,f,u,m){var s=o.bin.writeUint,l=o.bin.writeUshort,p=f.file;return s(n,i,u==0?67324752:33639248),i+=4,u==1&&(i+=2),l(n,i,20),l(n,i+=2,0),l(n,i+=2,f.cpr?8:0),s(n,i+=2,0),s(n,i+=4,f.crc),s(n,i+=4,p.length),s(n,i+=4,f.usize),l(n,i+=4,o.bin.sizeUTF8(a)),l(n,i+=2,0),i+=2,u==1&&(i+=2,i+=2,s(n,i+=6,m),i+=4),i+=o.bin.writeUTF8(n,i,a),u==0&&(n.set(p,i),i+=p.length),i},o.crc={table:(function(){for(var n=new Uint32Array(256),i=0;i<256;i++){for(var a=i,f=0;f<8;f++)1&a?a=3988292384^a>>>1:a>>>=1;n[i]=a}return n})(),update:function(n,i,a,f){for(var u=0;u<f;u++)n=o.crc.table[255&(n^i[a+u])]^n>>>8;return n},crc:function(n,i,a){return 4294967295^o.crc.update(4294967295,n,i,a)}},o.adler=function(n,i,a){for(var f=1,u=0,m=i,s=i+a;m<s;){for(var l=Math.min(m+5552,s);m<l;)u+=f+=n[m++];f%=65521,u%=65521}return u<<16|f},o.bin={readUshort:function(n,i){return n[i]|n[i+1]<<8},writeUshort:function(n,i,a){n[i]=255&a,n[i+1]=a>>8&255},readUint:function(n,i){return 16777216*n[i+3]+(n[i+2]<<16|n[i+1]<<8|n[i])},writeUint:function(n,i,a){n[i]=255&a,n[i+1]=a>>8&255,n[i+2]=a>>16&255,n[i+3]=a>>24&255},readASCII:function(n,i,a){for(var f="",u=0;u<a;u++)f+=String.fromCharCode(n[i+u]);return f},writeASCII:function(n,i,a){for(var f=0;f<a.length;f++)n[i+f]=a.charCodeAt(f)},pad:function(n){return n.length<2?"0"+n:n},readUTF8:function(n,i,a){for(var f,u="",m=0;m<a;m++)u+="%"+o.bin.pad(n[i+m].toString(16));try{f=decodeURIComponent(u)}catch{return o.bin.readASCII(n,i,a)}return f},writeUTF8:function(n,i,a){for(var f=a.length,u=0,m=0;m<f;m++){var s=a.charCodeAt(m);if((4294967168&s)==0)n[i+u]=s,u++;else if((4294965248&s)==0)n[i+u]=192|s>>6,n[i+u+1]=128|s>>0&63,u+=2;else if((4294901760&s)==0)n[i+u]=224|s>>12,n[i+u+1]=128|s>>6&63,n[i+u+2]=128|s>>0&63,u+=3;else{if((4292870144&s)!=0)throw"e";n[i+u]=240|s>>18,n[i+u+1]=128|s>>12&63,n[i+u+2]=128|s>>6&63,n[i+u+3]=128|s>>0&63,u+=4}}return u},sizeUTF8:function(n){for(var i=n.length,a=0,f=0;f<i;f++){var u=n.charCodeAt(f);if((4294967168&u)==0)a++;else if((4294965248&u)==0)a+=2;else if((4294901760&u)==0)a+=3;else{if((4292870144&u)!=0)throw"e";a+=4}}return a}},o.F={},o.F.deflateRaw=function(n,i,a,f){var u=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][f],m=o.F.U,s=o.F._goodIndex;o.F._hash;var l=o.F._putsE,p=0,d=a<<3,c=0,h=n.length;if(f==0){for(;p<h;)l(i,d,p+(F=Math.min(65535,h-p))==h?1:0),d=o.F._copyExact(n,p,F,i,d+8),p+=F;return d>>>3}var g=m.lits,x=m.strt,b=m.prev,B=0,E=0,S=0,v=0,O=0,y=0;for(h>2&&(x[y=o.F._hash(n,0)]=0),p=0;p<h;p++){if(O=y,p+1<h-2){y=o.F._hash(n,p+1);var A=p+1&32767;b[A]=x[y],x[y]=A}if(c<=p){(B>14e3||E>26697)&&h-p>100&&(c<p&&(g[B]=p-c,B+=2,c=p),d=o.F._writeBlock(p==h-1||c==h?1:0,g,B,v,n,S,p-S,i,d),B=E=v=0,S=p);var D=0;p<h-2&&(D=o.F._bestMatch(n,p,b,O,Math.min(u[2],h-p),u[3]));var F=D>>>16,T=65535&D;if(D!=0){T=65535&D;var I=s(F=D>>>16,m.of0);m.lhst[257+I]++;var R=s(T,m.df0);m.dhst[R]++,v+=m.exb[I]+m.dxb[R],g[B]=F<<23|p-c,g[B+1]=T<<16|I<<8|R,B+=2,c=p+F}else m.lhst[n[p]]++;E++}}for(S==p&&n.length!=0||(c<p&&(g[B]=p-c,B+=2,c=p),d=o.F._writeBlock(1,g,B,v,n,S,p-S,i,d),B=0,E=0,B=E=v=0,S=p);(7&d)!=0;)d++;return d>>>3},o.F._bestMatch=function(n,i,a,f,u,m){var s=32767&i,l=a[s],p=s-l+32768&32767;if(l==s||f!=o.F._hash(n,i-p))return 0;for(var d=0,c=0,h=Math.min(32767,i);p<=h&&--m!=0&&l!=s;){if(d==0||n[i+d]==n[i+d-p]){var g=o.F._howLong(n,i,p);if(g>d){if(c=p,(d=g)>=u)break;p+2<g&&(g=p+2);for(var x=0,b=0;b<g-2;b++){var B=i-p+b+32768&32767,E=B-a[B]+32768&32767;E>x&&(x=E,l=B)}}}p+=(s=l)-(l=a[s])+32768&32767}return d<<16|c},o.F._howLong=function(n,i,a){if(n[i]!=n[i-a]||n[i+1]!=n[i+1-a]||n[i+2]!=n[i+2-a])return 0;var f=i,u=Math.min(n.length,i+258);for(i+=3;i<u&&n[i]==n[i-a];)i++;return i-f},o.F._hash=function(n,i){return(n[i]<<8|n[i+1])+(n[i+2]<<4)&65535},o.saved=0,o.F._writeBlock=function(n,i,a,f,u,m,s,l,p){var d,c,h,g,x,b,B,E,S,v=o.F.U,O=o.F._putsF,y=o.F._putsE;v.lhst[256]++,c=(d=o.F.getTrees())[0],h=d[1],g=d[2],x=d[3],b=d[4],B=d[5],E=d[6],S=d[7];var A=32+((p+3&7)==0?0:8-(p+3&7))+(s<<3),D=f+o.F.contSize(v.fltree,v.lhst)+o.F.contSize(v.fdtree,v.dhst),F=f+o.F.contSize(v.ltree,v.lhst)+o.F.contSize(v.dtree,v.dhst);F+=14+3*B+o.F.contSize(v.itree,v.ihst)+(2*v.ihst[16]+3*v.ihst[17]+7*v.ihst[18]);for(var T=0;T<286;T++)v.lhst[T]=0;for(T=0;T<30;T++)v.dhst[T]=0;for(T=0;T<19;T++)v.ihst[T]=0;var I=A<D&&A<F?0:D<F?1:2;if(O(l,p,n),O(l,p+1,I),p+=3,I==0){for(;(7&p)!=0;)p++;p=o.F._copyExact(u,m,s,l,p)}else{var R,P;if(I==1&&(R=v.fltree,P=v.fdtree),I==2){o.F.makeCodes(v.ltree,c),o.F.revCodes(v.ltree,c),o.F.makeCodes(v.dtree,h),o.F.revCodes(v.dtree,h),o.F.makeCodes(v.itree,g),o.F.revCodes(v.itree,g),R=v.ltree,P=v.dtree,y(l,p,x-257),y(l,p+=5,b-1),y(l,p+=5,B-4),p+=4;for(var w=0;w<B;w++)y(l,p+3*w,v.itree[1+(v.ordr[w]<<1)]);p+=3*B,p=o.F._codeTiny(E,v.itree,l,p),p=o.F._codeTiny(S,v.itree,l,p)}for(var C=m,N=0;N<a;N+=2){for(var M=i[N],L=M>>>23,z=C+(8388607&M);C<z;)p=o.F._writeLit(u[C++],R,l,p);if(L!=0){var k=i[N+1],$=k>>16,W=k>>8&255,U=255&k;y(l,p=o.F._writeLit(257+W,R,l,p),L-v.of0[W]),p+=v.exb[W],O(l,p=o.F._writeLit(U,P,l,p),$-v.df0[U]),p+=v.dxb[U],C+=L}}p=o.F._writeLit(256,R,l,p)}return p},o.F._copyExact=function(n,i,a,f,u){var m=u>>>3;return f[m]=a,f[m+1]=a>>>8,f[m+2]=255-f[m],f[m+3]=255-f[m+1],m+=4,f.set(new Uint8Array(n.buffer,i,a),m),u+(a+4<<3)},o.F.getTrees=function(){for(var n=o.F.U,i=o.F._hufTree(n.lhst,n.ltree,15),a=o.F._hufTree(n.dhst,n.dtree,15),f=[],u=o.F._lenCodes(n.ltree,f),m=[],s=o.F._lenCodes(n.dtree,m),l=0;l<f.length;l+=2)n.ihst[f[l]]++;for(l=0;l<m.length;l+=2)n.ihst[m[l]]++;for(var p=o.F._hufTree(n.ihst,n.itree,7),d=19;d>4&&n.itree[1+(n.ordr[d-1]<<1)]==0;)d--;return[i,a,p,u,s,d,f,m]},o.F.getSecond=function(n){for(var i=[],a=0;a<n.length;a+=2)i.push(n[a+1]);return i},o.F.nonZero=function(n){for(var i="",a=0;a<n.length;a+=2)n[a+1]!=0&&(i+=(a>>1)+",");return i},o.F.contSize=function(n,i){for(var a=0,f=0;f<i.length;f++)a+=i[f]*n[1+(f<<1)];return a},o.F._codeTiny=function(n,i,a,f){for(var u=0;u<n.length;u+=2){var m=n[u],s=n[u+1];f=o.F._writeLit(m,i,a,f);var l=m==16?2:m==17?3:7;m>15&&(o.F._putsE(a,f,s,l),f+=l)}return f},o.F._lenCodes=function(n,i){for(var a=n.length;a!=2&&n[a-1]==0;)a-=2;for(var f=0;f<a;f+=2){var u=n[f+1],m=f+3<a?n[f+3]:-1,s=f+5<a?n[f+5]:-1,l=f==0?-1:n[f-1];if(u==0&&m==u&&s==u){for(var p=f+5;p+2<a&&n[p+2]==u;)p+=2;(d=Math.min(p+1-f>>>1,138))<11?i.push(17,d-3):i.push(18,d-11),f+=2*d-2}else if(u==l&&m==u&&s==u){for(p=f+5;p+2<a&&n[p+2]==u;)p+=2;var d=Math.min(p+1-f>>>1,6);i.push(16,d-3),f+=2*d-2}else i.push(u,0)}return a>>>1},o.F._hufTree=function(n,i,a){var f=[],u=n.length,m=i.length,s=0;for(s=0;s<m;s+=2)i[s]=0,i[s+1]=0;for(s=0;s<u;s++)n[s]!=0&&f.push({lit:s,f:n[s]});var l=f.length,p=f.slice(0);if(l==0)return 0;if(l==1){var d=f[0].lit;return p=d==0?1:0,i[1+(d<<1)]=1,i[1+(p<<1)]=1,1}f.sort((function(E,S){return E.f-S.f}));var c=f[0],h=f[1],g=0,x=1,b=2;for(f[0]={lit:-1,f:c.f+h.f,l:c,r:h,d:0};x!=l-1;)c=g!=x&&(b==l||f[g].f<f[b].f)?f[g++]:f[b++],h=g!=x&&(b==l||f[g].f<f[b].f)?f[g++]:f[b++],f[x++]={lit:-1,f:c.f+h.f,l:c,r:h};var B=o.F.setDepth(f[x-1],0);for(B>a&&(o.F.restrictDepth(p,a,B),B=a),s=0;s<l;s++)i[1+(p[s].lit<<1)]=p[s].d;return B},o.F.setDepth=function(n,i){return n.lit!=-1?(n.d=i,i):Math.max(o.F.setDepth(n.l,i+1),o.F.setDepth(n.r,i+1))},o.F.restrictDepth=function(n,i,a){var f=0,u=1<<a-i,m=0;for(n.sort((function(l,p){return p.d==l.d?l.f-p.f:p.d-l.d})),f=0;f<n.length&&n[f].d>i;f++){var s=n[f].d;n[f].d=i,m+=u-(1<<a-s)}for(m>>>=a-i;m>0;)(s=n[f].d)<i?(n[f].d++,m-=1<<i-s-1):f++;for(;f>=0;f--)n[f].d==i&&m<0&&(n[f].d--,m++);m!=0&&console.log("debt left")},o.F._goodIndex=function(n,i){var a=0;return i[16|a]<=n&&(a|=16),i[8|a]<=n&&(a|=8),i[4|a]<=n&&(a|=4),i[2|a]<=n&&(a|=2),i[1|a]<=n&&(a|=1),a},o.F._writeLit=function(n,i,a,f){return o.F._putsF(a,f,i[n<<1]),f+i[1+(n<<1)]},o.F.inflate=function(n,i){var a=Uint8Array;if(n[0]==3&&n[1]==0)return i||new a(0);var f=o.F,u=f._bitsF,m=f._bitsE,s=f._decodeTiny,l=f.makeCodes,p=f.codes2map,d=f._get17,c=f.U,h=i==null;h&&(i=new a(n.length>>>2<<3));for(var g,x,b=0,B=0,E=0,S=0,v=0,O=0,y=0,A=0,D=0;b==0;)if(b=u(n,D,1),B=u(n,D+1,2),D+=3,B!=0){if(h&&(i=o.F._check(i,A+(1<<17))),B==1&&(g=c.flmap,x=c.fdmap,O=511,y=31),B==2){E=m(n,D,5)+257,S=m(n,D+5,5)+1,v=m(n,D+10,4)+4,D+=14;for(var F=0;F<38;F+=2)c.itree[F]=0,c.itree[F+1]=0;var T=1;for(F=0;F<v;F++){var I=m(n,D+3*F,3);c.itree[1+(c.ordr[F]<<1)]=I,I>T&&(T=I)}D+=3*v,l(c.itree,T),p(c.itree,T,c.imap),g=c.lmap,x=c.dmap,D=s(c.imap,(1<<T)-1,E+S,n,D,c.ttree);var R=f._copyOut(c.ttree,0,E,c.ltree);O=(1<<R)-1;var P=f._copyOut(c.ttree,E,S,c.dtree);y=(1<<P)-1,l(c.ltree,R),p(c.ltree,R,g),l(c.dtree,P),p(c.dtree,P,x)}for(;;){var w=g[d(n,D)&O];D+=15&w;var C=w>>>4;if(!(C>>>8))i[A++]=C;else{if(C==256)break;var N=A+C-254;if(C>264){var M=c.ldef[C-257];N=A+(M>>>3)+m(n,D,7&M),D+=7&M}var L=x[d(n,D)&y];D+=15&L;var z=L>>>4,k=c.ddef[z],$=(k>>>4)+u(n,D,15&k);for(D+=15&k,h&&(i=o.F._check(i,A+(1<<17)));A<N;)i[A]=i[A++-$],i[A]=i[A++-$],i[A]=i[A++-$],i[A]=i[A++-$];A=N}}}else{(7&D)!=0&&(D+=8-(7&D));var W=4+(D>>>3),U=n[W-4]|n[W-3]<<8;h&&(i=o.F._check(i,A+U)),i.set(new a(n.buffer,n.byteOffset+W,U),A),D=W+U<<3,A+=U}return i.length==A?i:i.slice(0,A)},o.F._check=function(n,i){var a=n.length;if(i<=a)return n;var f=new Uint8Array(Math.max(a<<1,i));return f.set(n,0),f},o.F._decodeTiny=function(n,i,a,f,u,m){for(var s=o.F._bitsE,l=o.F._get17,p=0;p<a;){var d=n[l(f,u)&i];u+=15&d;var c=d>>>4;if(c<=15)m[p]=c,p++;else{var h=0,g=0;c==16?(g=3+s(f,u,2),u+=2,h=m[p-1]):c==17?(g=3+s(f,u,3),u+=3):c==18&&(g=11+s(f,u,7),u+=7);for(var x=p+g;p<x;)m[p]=h,p++}}return u},o.F._copyOut=function(n,i,a,f){for(var u=0,m=0,s=f.length>>>1;m<a;){var l=n[m+i];f[m<<1]=0,f[1+(m<<1)]=l,l>u&&(u=l),m++}for(;m<s;)f[m<<1]=0,f[1+(m<<1)]=0,m++;return u},o.F.makeCodes=function(n,i){for(var a,f,u,m,s=o.F.U,l=n.length,p=s.bl_count,d=0;d<=i;d++)p[d]=0;for(d=1;d<l;d+=2)p[n[d]]++;var c=s.next_code;for(a=0,p[0]=0,f=1;f<=i;f++)a=a+p[f-1]<<1,c[f]=a;for(u=0;u<l;u+=2)(m=n[u+1])!=0&&(n[u]=c[m],c[m]++)},o.F.codes2map=function(n,i,a){for(var f=n.length,u=o.F.U.rev15,m=0;m<f;m+=2)if(n[m+1]!=0)for(var s=m>>1,l=n[m+1],p=s<<4|l,d=i-l,c=n[m]<<d,h=c+(1<<d);c!=h;)a[u[c]>>>15-i]=p,c++},o.F.revCodes=function(n,i){for(var a=o.F.U.rev15,f=15-i,u=0;u<n.length;u+=2){var m=n[u]<<i-n[u+1];n[u]=a[m]>>>f}},o.F._putsE=function(n,i,a){a<<=7&i;var f=i>>>3;n[f]|=a,n[f+1]|=a>>>8},o.F._putsF=function(n,i,a){a<<=7&i;var f=i>>>3;n[f]|=a,n[f+1]|=a>>>8,n[f+2]|=a>>>16},o.F._bitsE=function(n,i,a){return(n[i>>>3]|n[1+(i>>>3)]<<8)>>>(7&i)&(1<<a)-1},o.F._bitsF=function(n,i,a){return(n[i>>>3]|n[1+(i>>>3)]<<8|n[2+(i>>>3)]<<16)>>>(7&i)&(1<<a)-1},o.F._get17=function(n,i){return(n[i>>>3]|n[1+(i>>>3)]<<8|n[2+(i>>>3)]<<16)>>>(7&i)},o.F._get25=function(n,i){return(n[i>>>3]|n[1+(i>>>3)]<<8|n[2+(i>>>3)]<<16|n[3+(i>>>3)]<<24)>>>(7&i)},o.F.U=(t=Uint16Array,r=Uint32Array,{next_code:new t(16),bl_count:new t(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new t(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new r(32),flmap:new t(512),fltree:[],fdmap:new t(32),fdtree:[],lmap:new t(32768),ltree:[],ttree:[],dmap:new t(32768),dtree:[],imap:new t(512),itree:[],rev15:new t(32768),lhst:new r(286),dhst:new r(30),ihst:new r(19),lits:new r(15e3),strt:new t(65536),prev:new t(32768)}),(function(){for(var n=o.F.U,i=0;i<32768;i++){var a=i;a=(4278255360&(a=(4042322160&(a=(3435973836&(a=(2863311530&a)>>>1|(1431655765&a)<<1))>>>2|(858993459&a)<<2))>>>4|(252645135&a)<<4))>>>8|(16711935&a)<<8,n.rev15[i]=(a>>>16|a<<16)>>>17}function f(u,m,s){for(;m--!=0;)u.push(0,s)}for(i=0;i<32;i++)n.ldef[i]=n.of0[i]<<3|n.exb[i],n.ddef[i]=n.df0[i]<<4|n.dxb[i];f(n.fltree,144,8),f(n.fltree,112,9),f(n.fltree,24,7),f(n.fltree,8,8),o.F.makeCodes(n.fltree,9),o.F.codes2map(n.fltree,9,n.flmap),o.F.revCodes(n.fltree,9),f(n.fdtree,32,5),o.F.makeCodes(n.fdtree,5),o.F.codes2map(n.fdtree,5,n.fdmap),o.F.revCodes(n.fdtree,5),f(n.itree,19,0),f(n.ltree,286,0),f(n.dtree,30,0),f(n.ttree,320,0)})()})();var c6=p6({__proto__:null,default:uf},[uf]),Fr=(function(){var e={nextZero(s,l){for(;s[l]!=0;)l++;return l},readUshort:(s,l)=>s[l]<<8|s[l+1],writeUshort(s,l,p){s[l]=p>>8&255,s[l+1]=255&p},readUint:(s,l)=>16777216*s[l]+(s[l+1]<<16|s[l+2]<<8|s[l+3]),writeUint(s,l,p){s[l]=p>>24&255,s[l+1]=p>>16&255,s[l+2]=p>>8&255,s[l+3]=255&p},readASCII(s,l,p){let d="";for(let c=0;c<p;c++)d+=String.fromCharCode(s[l+c]);return d},writeASCII(s,l,p){for(let d=0;d<p.length;d++)s[l+d]=p.charCodeAt(d)},readBytes(s,l,p){let d=[];for(let c=0;c<p;c++)d.push(s[l+c]);return d},pad:s=>s.length<2?`0${s}`:s,readUTF8(s,l,p){let d,c="";for(let h=0;h<p;h++)c+=`%${e.pad(s[l+h].toString(16))}`;try{d=decodeURIComponent(c)}catch{return e.readASCII(s,l,p)}return d}};function t(s,l,p,d){let c=l*p,h=i(d),g=Math.ceil(l*h/8),x=new Uint8Array(4*c),b=new Uint32Array(x.buffer),{ctype:B}=d,{depth:E}=d,S=e.readUshort;if(B==6){let M=c<<2;if(E==8)for(var v=0;v<M;v+=4)x[v]=s[v],x[v+1]=s[v+1],x[v+2]=s[v+2],x[v+3]=s[v+3];if(E==16)for(v=0;v<M;v++)x[v]=s[v<<1]}else if(B==2){let M=d.tabs.tRNS;if(M==null){if(E==8)for(v=0;v<c;v++){var O=3*v;b[v]=255<<24|s[O+2]<<16|s[O+1]<<8|s[O]}if(E==16)for(v=0;v<c;v++)O=6*v,b[v]=255<<24|s[O+4]<<16|s[O+2]<<8|s[O]}else{var y=M[0];let L=M[1],z=M[2];if(E==8)for(v=0;v<c;v++){var A=v<<2;O=3*v,b[v]=255<<24|s[O+2]<<16|s[O+1]<<8|s[O],s[O]==y&&s[O+1]==L&&s[O+2]==z&&(x[A+3]=0)}if(E==16)for(v=0;v<c;v++)A=v<<2,O=6*v,b[v]=255<<24|s[O+4]<<16|s[O+2]<<8|s[O],S(s,O)==y&&S(s,O+2)==L&&S(s,O+4)==z&&(x[A+3]=0)}}else if(B==3){let M=d.tabs.PLTE,L=d.tabs.tRNS,z=L?L.length:0;if(E==1)for(var D=0;D<p;D++){var F=D*g,T=D*l;for(v=0;v<l;v++){A=T+v<<2;var I=3*(R=s[F+(v>>3)]>>7-((7&v)<<0)&1);x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255}}if(E==2)for(D=0;D<p;D++)for(F=D*g,T=D*l,v=0;v<l;v++)A=T+v<<2,I=3*(R=s[F+(v>>2)]>>6-((3&v)<<1)&3),x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255;if(E==4)for(D=0;D<p;D++)for(F=D*g,T=D*l,v=0;v<l;v++)A=T+v<<2,I=3*(R=s[F+(v>>1)]>>4-((1&v)<<2)&15),x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255;if(E==8)for(v=0;v<c;v++){var R;A=v<<2,I=3*(R=s[v]),x[A]=M[I],x[A+1]=M[I+1],x[A+2]=M[I+2],x[A+3]=R<z?L[R]:255}}else if(B==4){if(E==8)for(v=0;v<c;v++){A=v<<2;var P=s[w=v<<1];x[A]=P,x[A+1]=P,x[A+2]=P,x[A+3]=s[w+1]}if(E==16)for(v=0;v<c;v++){var w;A=v<<2,P=s[w=v<<2],x[A]=P,x[A+1]=P,x[A+2]=P,x[A+3]=s[w+2]}}else if(B==0)for(y=d.tabs.tRNS?d.tabs.tRNS:-1,D=0;D<p;D++){let M=D*g,L=D*l;if(E==1)for(var C=0;C<l;C++){var N=(P=255*(s[M+(C>>>3)]>>>7-(7&C)&1))==255*y?0:255;b[L+C]=N<<24|P<<16|P<<8|P}else if(E==2)for(C=0;C<l;C++)N=(P=85*(s[M+(C>>>2)]>>>6-((3&C)<<1)&3))==85*y?0:255,b[L+C]=N<<24|P<<16|P<<8|P;else if(E==4)for(C=0;C<l;C++)N=(P=17*(s[M+(C>>>1)]>>>4-((1&C)<<2)&15))==17*y?0:255,b[L+C]=N<<24|P<<16|P<<8|P;else if(E==8)for(C=0;C<l;C++)N=(P=s[M+C])==y?0:255,b[L+C]=N<<24|P<<16|P<<8|P;else if(E==16)for(C=0;C<l;C++)P=s[M+(C<<1)],N=S(s,M+(C<<1))==y?0:255,b[L+C]=N<<24|P<<16|P<<8|P}return x}function r(s,l,p,d){let c=i(s),h=Math.ceil(p*c/8),g=new Uint8Array((h+1+s.interlace)*d);return l=s.tabs.CgBI?n(l,g):o(l,g),s.interlace==0?l=a(l,s,0,p,d):s.interlace==1&&(l=(function(b,B){let E=B.width,S=B.height,v=i(B),O=v>>3,y=Math.ceil(E*v/8),A=new Uint8Array(S*y),D=0,F=[0,0,4,0,2,0,1],T=[0,4,0,2,0,1,0],I=[8,8,8,4,4,2,2],R=[8,8,4,4,2,2,1],P=0;for(;P<7;){let C=I[P],N=R[P],M=0,L=0,z=F[P];for(;z<S;)z+=C,L++;let k=T[P];for(;k<E;)k+=N,M++;let $=Math.ceil(M*v/8);a(b,B,D,M,L);let W=0,U=F[P];for(;U<S;){let X=T[P],ce=D+W*$<<3;for(;X<E;){var w;if(v==1&&(w=(w=b[ce>>3])>>7-(7&ce)&1,A[U*y+(X>>3)]|=w<<7-((7&X)<<0)),v==2&&(w=(w=b[ce>>3])>>6-(7&ce)&3,A[U*y+(X>>2)]|=w<<6-((3&X)<<1)),v==4&&(w=(w=b[ce>>3])>>4-(7&ce)&15,A[U*y+(X>>1)]|=w<<4-((1&X)<<2)),v>=8){let xe=U*y+X*O;for(let he=0;he<O;he++)A[xe+he]=b[(ce>>3)+he]}ce+=v,X+=N}W++,U+=C}M*L!=0&&(D+=L*(1+$)),P+=1}return A})(l,s)),l}function o(s,l){return n(new Uint8Array(s.buffer,2,s.length-6),l)}var n=(function(){let s={H:{}};return s.H.N=function(l,p){let d=Uint8Array,c,h,g=0,x=0,b=0,B=0,E=0,S=0,v=0,O=0,y=0;if(l[0]==3&&l[1]==0)return p||new d(0);let A=s.H,D=A.b,F=A.e,T=A.R,I=A.n,R=A.A,P=A.Z,w=A.m,C=p==null;for(C&&(p=new d(l.length>>>2<<5));g==0;)if(g=D(l,y,1),x=D(l,y+1,2),y+=3,x!=0){if(C&&(p=s.H.W(p,O+(1<<17))),x==1&&(c=w.J,h=w.h,S=511,v=31),x==2){b=F(l,y,5)+257,B=F(l,y+5,5)+1,E=F(l,y+10,4)+4,y+=14;let M=1;for(var N=0;N<38;N+=2)w.Q[N]=0,w.Q[N+1]=0;for(N=0;N<E;N++){let k=F(l,y+3*N,3);w.Q[1+(w.X[N]<<1)]=k,k>M&&(M=k)}y+=3*E,I(w.Q,M),R(w.Q,M,w.u),c=w.w,h=w.d,y=T(w.u,(1<<M)-1,b+B,l,y,w.v);let L=A.V(w.v,0,b,w.C);S=(1<<L)-1;let z=A.V(w.v,b,B,w.D);v=(1<<z)-1,I(w.C,L),R(w.C,L,c),I(w.D,z),R(w.D,z,h)}for(;;){let M=c[P(l,y)&S];y+=15&M;let L=M>>>4;if(!(L>>>8))p[O++]=L;else{if(L==256)break;{let z=O+L-254;if(L>264){let X=w.q[L-257];z=O+(X>>>3)+F(l,y,7&X),y+=7&X}let k=h[P(l,y)&v];y+=15&k;let $=k>>>4,W=w.c[$],U=(W>>>4)+D(l,y,15&W);for(y+=15&W;O<z;)p[O]=p[O++-U],p[O]=p[O++-U],p[O]=p[O++-U],p[O]=p[O++-U];O=z}}}}else{(7&y)!=0&&(y+=8-(7&y));let M=4+(y>>>3),L=l[M-4]|l[M-3]<<8;C&&(p=s.H.W(p,O+L)),p.set(new d(l.buffer,l.byteOffset+M,L),O),y=M+L<<3,O+=L}return p.length==O?p:p.slice(0,O)},s.H.W=function(l,p){let d=l.length;if(p<=d)return l;let c=new Uint8Array(d<<1);return c.set(l,0),c},s.H.R=function(l,p,d,c,h,g){let x=s.H.e,b=s.H.Z,B=0;for(;B<d;){let E=l[b(c,h)&p];h+=15&E;let S=E>>>4;if(S<=15)g[B]=S,B++;else{let v=0,O=0;S==16?(O=3+x(c,h,2),h+=2,v=g[B-1]):S==17?(O=3+x(c,h,3),h+=3):S==18&&(O=11+x(c,h,7),h+=7);let y=B+O;for(;B<y;)g[B]=v,B++}}return h},s.H.V=function(l,p,d,c){let h=0,g=0,x=c.length>>>1;for(;g<d;){let b=l[g+p];c[g<<1]=0,c[1+(g<<1)]=b,b>h&&(h=b),g++}for(;g<x;)c[g<<1]=0,c[1+(g<<1)]=0,g++;return h},s.H.n=function(l,p){let d=s.H.m,c=l.length,h,g,x,b,B=d.j;for(var E=0;E<=p;E++)B[E]=0;for(E=1;E<c;E+=2)B[l[E]]++;let S=d.K;for(h=0,B[0]=0,g=1;g<=p;g++)h=h+B[g-1]<<1,S[g]=h;for(x=0;x<c;x+=2)b=l[x+1],b!=0&&(l[x]=S[b],S[b]++)},s.H.A=function(l,p,d){let c=l.length,h=s.H.m.r;for(let g=0;g<c;g+=2)if(l[g+1]!=0){let x=g>>1,b=l[g+1],B=x<<4|b,E=p-b,S=l[g]<<E,v=S+(1<<E);for(;S!=v;)d[h[S]>>>15-p]=B,S++}},s.H.l=function(l,p){let d=s.H.m.r,c=15-p;for(let h=0;h<l.length;h+=2){let g=l[h]<<p-l[h+1];l[h]=d[g]>>>c}},s.H.M=function(l,p,d){d<<=7&p;let c=p>>>3;l[c]|=d,l[c+1]|=d>>>8},s.H.I=function(l,p,d){d<<=7&p;let c=p>>>3;l[c]|=d,l[c+1]|=d>>>8,l[c+2]|=d>>>16},s.H.e=function(l,p,d){return(l[p>>>3]|l[1+(p>>>3)]<<8)>>>(7&p)&(1<<d)-1},s.H.b=function(l,p,d){return(l[p>>>3]|l[1+(p>>>3)]<<8|l[2+(p>>>3)]<<16)>>>(7&p)&(1<<d)-1},s.H.Z=function(l,p){return(l[p>>>3]|l[1+(p>>>3)]<<8|l[2+(p>>>3)]<<16)>>>(7&p)},s.H.i=function(l,p){return(l[p>>>3]|l[1+(p>>>3)]<<8|l[2+(p>>>3)]<<16|l[3+(p>>>3)]<<24)>>>(7&p)},s.H.m=(function(){let l=Uint16Array,p=Uint32Array;return{K:new l(16),j:new l(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new l(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new p(32),J:new l(512),_:[],h:new l(32),$:[],w:new l(32768),C:[],v:[],d:new l(32768),D:[],u:new l(512),Q:[],r:new l(32768),s:new p(286),Y:new p(30),a:new p(19),t:new p(15e3),k:new l(65536),g:new l(32768)}})(),(function(){let l=s.H.m;for(var p=0;p<32768;p++){let c=p;c=(2863311530&c)>>>1|(1431655765&c)<<1,c=(3435973836&c)>>>2|(858993459&c)<<2,c=(4042322160&c)>>>4|(252645135&c)<<4,c=(4278255360&c)>>>8|(16711935&c)<<8,l.r[p]=(c>>>16|c<<16)>>>17}function d(c,h,g){for(;h--!=0;)c.push(0,g)}for(p=0;p<32;p++)l.q[p]=l.S[p]<<3|l.T[p],l.c[p]=l.p[p]<<4|l.z[p];d(l._,144,8),d(l._,112,9),d(l._,24,7),d(l._,8,8),s.H.n(l._,9),s.H.A(l._,9,l.J),s.H.l(l._,9),d(l.$,32,5),s.H.n(l.$,5),s.H.A(l.$,5,l.h),s.H.l(l.$,5),d(l.Q,19,0),d(l.C,286,0),d(l.D,30,0),d(l.v,320,0)})(),s.H.N})();function i(s){return[1,null,3,1,2,null,4][s.ctype]*s.depth}function a(s,l,p,d,c){let h=i(l),g=Math.ceil(d*h/8),x,b;h=Math.ceil(h/8);let B=s[p],E=0;if(B>1&&(s[p]=[0,0,1][B-2]),B==3)for(E=h;E<g;E++)s[E+1]=s[E+1]+(s[E+1-h]>>>1)&255;for(let S=0;S<c;S++)if(x=p+S*g,b=x+S+1,B=s[b-1],E=0,B==0)for(;E<g;E++)s[x+E]=s[b+E];else if(B==1){for(;E<h;E++)s[x+E]=s[b+E];for(;E<g;E++)s[x+E]=s[b+E]+s[x+E-h]}else if(B==2)for(;E<g;E++)s[x+E]=s[b+E]+s[x+E-g];else if(B==3){for(;E<h;E++)s[x+E]=s[b+E]+(s[x+E-g]>>>1);for(;E<g;E++)s[x+E]=s[b+E]+(s[x+E-g]+s[x+E-h]>>>1)}else{for(;E<h;E++)s[x+E]=s[b+E]+f(0,s[x+E-g],0);for(;E<g;E++)s[x+E]=s[b+E]+f(s[x+E-h],s[x+E-g],s[x+E-h-g])}return s}function f(s,l,p){let d=s+l-p,c=d-s,h=d-l,g=d-p;return c*c<=h*h&&c*c<=g*g?s:h*h<=g*g?l:p}function u(s,l,p){p.width=e.readUint(s,l),l+=4,p.height=e.readUint(s,l),l+=4,p.depth=s[l],l++,p.ctype=s[l],l++,p.compress=s[l],l++,p.filter=s[l],l++,p.interlace=s[l],l++}function m(s,l,p,d,c,h,g,x,b){let B=Math.min(l,c),E=Math.min(p,h),S=0,v=0;for(let P=0;P<E;P++)for(let w=0;w<B;w++)if(g>=0&&x>=0?(S=P*l+w<<2,v=(x+P)*c+g+w<<2):(S=(-x+P)*l-g+w<<2,v=P*c+w<<2),b==0)d[v]=s[S],d[v+1]=s[S+1],d[v+2]=s[S+2],d[v+3]=s[S+3];else if(b==1){var O=s[S+3]*.00392156862745098,y=s[S]*O,A=s[S+1]*O,D=s[S+2]*O,F=d[v+3]*(1/255),T=d[v]*F,I=d[v+1]*F,R=d[v+2]*F;let C=1-O,N=O+F*C,M=N==0?0:1/N;d[v+3]=255*N,d[v+0]=(y+T*C)*M,d[v+1]=(A+I*C)*M,d[v+2]=(D+R*C)*M}else if(b==2)O=s[S+3],y=s[S],A=s[S+1],D=s[S+2],F=d[v+3],T=d[v],I=d[v+1],R=d[v+2],O==F&&y==T&&A==I&&D==R?(d[v]=0,d[v+1]=0,d[v+2]=0,d[v+3]=0):(d[v]=y,d[v+1]=A,d[v+2]=D,d[v+3]=O);else if(b==3){if(O=s[S+3],y=s[S],A=s[S+1],D=s[S+2],F=d[v+3],T=d[v],I=d[v+1],R=d[v+2],O==F&&y==T&&A==I&&D==R)continue;if(O<220&&F>20)return!1}return!0}return{decode:function(l){let p=new Uint8Array(l),d=8,c=e,h=c.readUshort,g=c.readUint,x={tabs:{},frames:[]},b=new Uint8Array(p.length),B,E=0,S=0,v=[137,80,78,71,13,10,26,10];for(var O=0;O<8;O++)if(p[O]!=v[O])throw"The input is not a PNG file!";for(;d<p.length;){let P=c.readUint(p,d);d+=4;let w=c.readASCII(p,d,4);if(d+=4,w=="IHDR")u(p,d,x);else if(w=="iCCP"){for(var y=d;p[y]!=0;)y++;c.readASCII(p,d,y-d),p[y+1];let C=p.slice(y+2,d+P),N=null;try{N=o(C)}catch{N=n(C)}x.tabs[w]=N}else if(w=="CgBI")x.tabs[w]=p.slice(d,d+4);else if(w=="IDAT"){for(O=0;O<P;O++)b[E+O]=p[d+O];E+=P}else if(w=="acTL")x.tabs[w]={num_frames:g(p,d),num_plays:g(p,d+4)},B=new Uint8Array(p.length);else if(w=="fcTL"){S!=0&&((R=x.frames[x.frames.length-1]).data=r(x,B.slice(0,S),R.rect.width,R.rect.height),S=0);let C={x:g(p,d+12),y:g(p,d+16),width:g(p,d+4),height:g(p,d+8)},N=h(p,d+22);N=h(p,d+20)/(N==0?100:N);let M={rect:C,delay:Math.round(1e3*N),dispose:p[d+24],blend:p[d+25]};x.frames.push(M)}else if(w=="fdAT"){for(O=0;O<P-4;O++)B[S+O]=p[d+O+4];S+=P-4}else if(w=="pHYs")x.tabs[w]=[c.readUint(p,d),c.readUint(p,d+4),p[d+8]];else if(w=="cHRM")for(x.tabs[w]=[],O=0;O<8;O++)x.tabs[w].push(c.readUint(p,d+4*O));else if(w=="tEXt"||w=="zTXt"){x.tabs[w]==null&&(x.tabs[w]={});var A=c.nextZero(p,d),D=c.readASCII(p,d,A-d),F=d+P-A-1;if(w=="tEXt")I=c.readASCII(p,A+1,F);else{var T=o(p.slice(A+2,A+2+F));I=c.readUTF8(T,0,T.length)}x.tabs[w][D]=I}else if(w=="iTXt"){x.tabs[w]==null&&(x.tabs[w]={}),A=0,y=d,A=c.nextZero(p,y),D=c.readASCII(p,y,A-y);let C=p[y=A+1];var I;p[y+1],y+=2,A=c.nextZero(p,y),c.readASCII(p,y,A-y),y=A+1,A=c.nextZero(p,y),c.readUTF8(p,y,A-y),F=P-((y=A+1)-d),C==0?I=c.readUTF8(p,y,F):(T=o(p.slice(y,y+F)),I=c.readUTF8(T,0,T.length)),x.tabs[w][D]=I}else if(w=="PLTE")x.tabs[w]=c.readBytes(p,d,P);else if(w=="hIST"){let C=x.tabs.PLTE.length/3;for(x.tabs[w]=[],O=0;O<C;O++)x.tabs[w].push(h(p,d+2*O))}else if(w=="tRNS")x.ctype==3?x.tabs[w]=c.readBytes(p,d,P):x.ctype==0?x.tabs[w]=h(p,d):x.ctype==2&&(x.tabs[w]=[h(p,d),h(p,d+2),h(p,d+4)]);else if(w=="gAMA")x.tabs[w]=c.readUint(p,d)/1e5;else if(w=="sRGB")x.tabs[w]=p[d];else if(w=="bKGD")x.ctype==0||x.ctype==4?x.tabs[w]=[h(p,d)]:x.ctype==2||x.ctype==6?x.tabs[w]=[h(p,d),h(p,d+2),h(p,d+4)]:x.ctype==3&&(x.tabs[w]=p[d]);else if(w=="IEND")break;d+=P,c.readUint(p,d),d+=4}var R;return S!=0&&((R=x.frames[x.frames.length-1]).data=r(x,B.slice(0,S),R.rect.width,R.rect.height)),x.data=r(x,b,x.width,x.height),delete x.compress,delete x.interlace,delete x.filter,x},toRGBA8:function(l){let p=l.width,d=l.height;if(l.tabs.acTL==null)return[t(l.data,p,d,l).buffer];let c=[];l.frames[0].data==null&&(l.frames[0].data=l.data);let h=p*d*4,g=new Uint8Array(h),x=new Uint8Array(h),b=new Uint8Array(h);for(let E=0;E<l.frames.length;E++){let S=l.frames[E],v=S.rect.x,O=S.rect.y,y=S.rect.width,A=S.rect.height,D=t(S.data,y,A,l);if(E!=0)for(var B=0;B<h;B++)b[B]=g[B];if(S.blend==0?m(D,y,A,g,p,d,v,O,0):S.blend==1&&m(D,y,A,g,p,d,v,O,1),c.push(g.buffer.slice(0)),S.dispose!=0){if(S.dispose==1)m(x,y,A,g,p,d,v,O,0);else if(S.dispose==2)for(B=0;B<h;B++)g[B]=b[B]}}return c},_paeth:f,_copyTile:m,_bin:e}})();(function(){let{_copyTile:e}=Fr,{_bin:t}=Fr,r=Fr._paeth;var o={table:(function(){let y=new Uint32Array(256);for(let A=0;A<256;A++){let D=A;for(let F=0;F<8;F++)1&D?D=3988292384^D>>>1:D>>>=1;y[A]=D}return y})(),update(y,A,D,F){for(let T=0;T<F;T++)y=o.table[255&(y^A[D+T])]^y>>>8;return y},crc:(y,A,D)=>4294967295^o.update(4294967295,y,A,D)};function n(y,A,D,F){A[D]+=y[0]*F>>4,A[D+1]+=y[1]*F>>4,A[D+2]+=y[2]*F>>4,A[D+3]+=y[3]*F>>4}function i(y){return Math.max(0,Math.min(255,y))}function a(y,A){let D=y[0]-A[0],F=y[1]-A[1],T=y[2]-A[2],I=y[3]-A[3];return D*D+F*F+T*T+I*I}function f(y,A,D,F,T,I,R){R==null&&(R=1);let P=F.length,w=[];for(var C=0;C<P;C++){let U=F[C];w.push([U>>>0&255,U>>>8&255,U>>>16&255,U>>>24&255])}for(C=0;C<P;C++){let U=4294967295;for(var N=0,M=0;M<P;M++){var L=a(w[C],w[M]);M!=C&&L<U&&(U=L,N=M)}}let z=new Uint32Array(T.buffer),k=new Int16Array(A*D*4),$=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(C=0;C<$.length;C++)$[C]=255*(($[C]+.5)/16-.5);for(let U=0;U<D;U++)for(let X=0;X<A;X++){var W;C=4*(U*A+X),R!=2?W=[i(y[C]+k[C]),i(y[C+1]+k[C+1]),i(y[C+2]+k[C+2]),i(y[C+3]+k[C+3])]:(L=$[4*(3&U)+(3&X)],W=[i(y[C]+L),i(y[C+1]+L),i(y[C+2]+L),i(y[C+3]+L)]),N=0;let ce=16777215;for(M=0;M<P;M++){let Ce=a(W,w[M]);Ce<ce&&(ce=Ce,N=M)}let xe=w[N],he=[W[0]-xe[0],W[1]-xe[1],W[2]-xe[2],W[3]-xe[3]];R==1&&(X!=A-1&&n(he,k,C+4,7),U!=D-1&&(X!=0&&n(he,k,C+4*A-4,3),n(he,k,C+4*A,5),X!=A-1&&n(he,k,C+4*A+4,1))),I[C>>2]=N,z[C>>2]=F[N]}}function u(y,A,D,F,T){T==null&&(T={});let{crc:I}=o,R=t.writeUint,P=t.writeUshort,w=t.writeASCII,C=8,N=y.frames.length>1,M,L=!1,z=33+(N?20:0);if(T.sRGB!=null&&(z+=13),T.pHYs!=null&&(z+=21),T.iCCP!=null&&(M=pako.deflate(T.iCCP),z+=21+M.length+4),y.ctype==3){for(var k=y.plte.length,$=0;$<k;$++)y.plte[$]>>>24!=255&&(L=!0);z+=8+3*k+4+(L?8+1*k+4:0)}for(var W=0;W<y.frames.length;W++)N&&(z+=38),z+=(xe=y.frames[W]).cimg.length+12,W!=0&&(z+=4);z+=12;let U=new Uint8Array(z),X=[137,80,78,71,13,10,26,10];for($=0;$<8;$++)U[$]=X[$];if(R(U,C,13),C+=4,w(U,C,"IHDR"),C+=4,R(U,C,A),C+=4,R(U,C,D),C+=4,U[C]=y.depth,C++,U[C]=y.ctype,C++,U[C]=0,C++,U[C]=0,C++,U[C]=0,C++,R(U,C,I(U,C-17,17)),C+=4,T.sRGB!=null&&(R(U,C,1),C+=4,w(U,C,"sRGB"),C+=4,U[C]=T.sRGB,C++,R(U,C,I(U,C-5,5)),C+=4),T.iCCP!=null){let he=13+M.length;R(U,C,he),C+=4,w(U,C,"iCCP"),C+=4,w(U,C,"ICC profile"),C+=11,C+=2,U.set(M,C),C+=M.length,R(U,C,I(U,C-(he+4),he+4)),C+=4}if(T.pHYs!=null&&(R(U,C,9),C+=4,w(U,C,"pHYs"),C+=4,R(U,C,T.pHYs[0]),C+=4,R(U,C,T.pHYs[1]),C+=4,U[C]=T.pHYs[2],C++,R(U,C,I(U,C-13,13)),C+=4),N&&(R(U,C,8),C+=4,w(U,C,"acTL"),C+=4,R(U,C,y.frames.length),C+=4,R(U,C,T.loop!=null?T.loop:0),C+=4,R(U,C,I(U,C-12,12)),C+=4),y.ctype==3){for(R(U,C,3*(k=y.plte.length)),C+=4,w(U,C,"PLTE"),C+=4,$=0;$<k;$++){let he=3*$,Ce=y.plte[$],ge=255&Ce,be=Ce>>>8&255,sr=Ce>>>16&255;U[C+he+0]=ge,U[C+he+1]=be,U[C+he+2]=sr}if(C+=3*k,R(U,C,I(U,C-3*k-4,3*k+4)),C+=4,L){for(R(U,C,k),C+=4,w(U,C,"tRNS"),C+=4,$=0;$<k;$++)U[C+$]=y.plte[$]>>>24&255;C+=k,R(U,C,I(U,C-k-4,k+4)),C+=4}}let ce=0;for(W=0;W<y.frames.length;W++){var xe=y.frames[W];N&&(R(U,C,26),C+=4,w(U,C,"fcTL"),C+=4,R(U,C,ce++),C+=4,R(U,C,xe.rect.width),C+=4,R(U,C,xe.rect.height),C+=4,R(U,C,xe.rect.x),C+=4,R(U,C,xe.rect.y),C+=4,P(U,C,F[W]),C+=2,P(U,C,1e3),C+=2,U[C]=xe.dispose,C++,U[C]=xe.blend,C++,R(U,C,I(U,C-30,30)),C+=4);let he=xe.cimg;R(U,C,(k=he.length)+(W==0?0:4)),C+=4;let Ce=C;w(U,C,W==0?"IDAT":"fdAT"),C+=4,W!=0&&(R(U,C,ce++),C+=4),U.set(he,C),C+=k,R(U,C,I(U,Ce,C-Ce)),C+=4}return R(U,C,0),C+=4,w(U,C,"IEND"),C+=4,R(U,C,I(U,C-4,4)),C+=4,U.buffer}function m(y,A,D){for(let F=0;F<y.frames.length;F++){let T=y.frames[F];T.rect.width;let I=T.rect.height,R=new Uint8Array(I*T.bpl+I);T.cimg=d(T.img,I,T.bpp,T.bpl,R,A,D)}}function s(y,A,D,F,T){let I=T[0],R=T[1],P=T[2],w=T[3],C=T[4],N=T[5],M=6,L=8,z=255;for(var k=0;k<y.length;k++){let Ve=new Uint8Array(y[k]);for(var $=Ve.length,W=0;W<$;W+=4)z&=Ve[W+3]}let U=z!=255,X=(function(Ie,we,Te,Le,De,bt){let Je=[];for(var Ae=0;Ae<Ie.length;Ae++){let rt=new Uint8Array(Ie[Ae]),nr=new Uint32Array(rt.buffer);var pt;let Nt=0,ur=0,lr=we,ro=Te,Pn=Le?1:0;if(Ae!=0){let Bc=bt||Le||Ae==1||Je[Ae-2].dispose!=0?1:2,kn=0,N0=1e9;for(let co=0;co<Bc;co++){var Mr=new Uint8Array(Ie[Ae-1-co]);let Fc=new Uint32Array(Ie[Ae-1-co]),Or=we,Ir=Te,oo=-1,dn=-1;for(let Lr=0;Lr<Te;Lr++)for(let no=0;no<we;no++)nr[mt=Lr*we+no]!=Fc[mt]&&(no<Or&&(Or=no),no>oo&&(oo=no),Lr<Ir&&(Ir=Lr),Lr>dn&&(dn=Lr));oo==-1&&(Or=Ir=oo=dn=0),De&&((1&Or)==1&&Or--,(1&Ir)==1&&Ir--);let U0=(oo-Or+1)*(dn-Ir+1);U0<N0&&(N0=U0,kn=co,Nt=Or,ur=Ir,lr=oo-Or+1,ro=dn-Ir+1)}Mr=new Uint8Array(Ie[Ae-1-kn]),kn==1&&(Je[Ae-1].dispose=2),pt=new Uint8Array(lr*ro*4),e(Mr,we,Te,pt,lr,ro,-Nt,-ur,0),Pn=e(rt,we,Te,pt,lr,ro,-Nt,-ur,3)?1:0,Pn==1?p(rt,we,Te,pt,{x:Nt,y:ur,width:lr,height:ro}):e(rt,we,Te,pt,lr,ro,-Nt,-ur,0)}else pt=rt.slice(0);Je.push({rect:{x:Nt,y:ur,width:lr,height:ro},img:pt,blend:Pn,dispose:0})}if(Le)for(Ae=0;Ae<Je.length;Ae++){if((Xt=Je[Ae]).blend==1)continue;let rt=Xt.rect,nr=Je[Ae-1].rect,Nt=Math.min(rt.x,nr.x),ur=Math.min(rt.y,nr.y),lr={x:Nt,y:ur,width:Math.max(rt.x+rt.width,nr.x+nr.width)-Nt,height:Math.max(rt.y+rt.height,nr.y+nr.height)-ur};Je[Ae-1].dispose=1,Ae-1!=0&&l(Ie,we,Te,Je,Ae-1,lr,De),l(Ie,we,Te,Je,Ae,lr,De)}let mn=0;if(Ie.length!=1)for(var mt=0;mt<Je.length;mt++){var Xt;mn+=(Xt=Je[mt]).rect.width*Xt.rect.height}return Je})(y,A,D,I,R,P),ce={},xe=[],he=[];if(F!=0){let Ve=[];for(W=0;W<X.length;W++)Ve.push(X[W].img.buffer);let Ie=(function(De){let bt=0;for(var Je=0;Je<De.length;Je++)bt+=De[Je].byteLength;let Ae=new Uint8Array(bt),pt=0;for(Je=0;Je<De.length;Je++){let Mr=new Uint8Array(De[Je]),mn=Mr.length;for(let mt=0;mt<mn;mt+=4){let Xt=Mr[mt],rt=Mr[mt+1],nr=Mr[mt+2],Nt=Mr[mt+3];Nt==0&&(Xt=rt=nr=0),Ae[pt+mt]=Xt,Ae[pt+mt+1]=rt,Ae[pt+mt+2]=nr,Ae[pt+mt+3]=Nt}pt+=mn}return Ae.buffer})(Ve),we=h(Ie,F);for(W=0;W<we.plte.length;W++)xe.push(we.plte[W].est.rgba);let Te=0;for(W=0;W<X.length;W++){let Le=(ge=X[W]).img.length;var Ce=new Uint8Array(we.inds.buffer,Te>>2,Le>>2);he.push(Ce);let De=new Uint8Array(we.abuf,Te,Le);N&&f(ge.img,ge.rect.width,ge.rect.height,xe,De,Ce),ge.img.set(De),Te+=Le}}else for(k=0;k<X.length;k++){var ge=X[k];let Ve=new Uint32Array(ge.img.buffer);var be=ge.rect.width;for($=Ve.length,Ce=new Uint8Array($),he.push(Ce),W=0;W<$;W++){let Ie=Ve[W];if(W!=0&&Ie==Ve[W-1])Ce[W]=Ce[W-1];else if(W>be&&Ie==Ve[W-be])Ce[W]=Ce[W-be];else{let we=ce[Ie];if(we==null&&(ce[Ie]=we=xe.length,xe.push(Ie),xe.length>=300))break;Ce[W]=we}}}let sr=xe.length;for(sr<=256&&C==0&&(L=sr<=2?1:sr<=4?2:sr<=16?4:8,L=Math.max(L,w)),k=0;k<X.length;k++){(ge=X[k]).rect.x,ge.rect.y,be=ge.rect.width;let Ve=ge.rect.height,Ie=ge.img;new Uint32Array(Ie.buffer);let we=4*be,Te=4;if(sr<=256&&C==0){we=Math.ceil(L*be/8);var Tt=new Uint8Array(we*Ve);let Le=he[k];for(let De=0;De<Ve;De++){W=De*we;let bt=De*be;if(L==8)for(var ke=0;ke<be;ke++)Tt[W+ke]=Le[bt+ke];else if(L==4)for(ke=0;ke<be;ke++)Tt[W+(ke>>1)]|=Le[bt+ke]<<4-4*(1&ke);else if(L==2)for(ke=0;ke<be;ke++)Tt[W+(ke>>2)]|=Le[bt+ke]<<6-2*(3&ke);else if(L==1)for(ke=0;ke<be;ke++)Tt[W+(ke>>3)]|=Le[bt+ke]<<7-1*(7&ke)}Ie=Tt,M=3,Te=1}else if(U==0&&X.length==1){Tt=new Uint8Array(be*Ve*3);let Le=be*Ve;for(W=0;W<Le;W++){let De=3*W,bt=4*W;Tt[De]=Ie[bt],Tt[De+1]=Ie[bt+1],Tt[De+2]=Ie[bt+2]}Ie=Tt,M=2,Te=3,we=3*be}ge.img=Ie,ge.bpl=we,ge.bpp=Te}return{ctype:M,depth:L,plte:xe,frames:X}}function l(y,A,D,F,T,I,R){let P=Uint8Array,w=Uint32Array,C=new P(y[T-1]),N=new w(y[T-1]),M=T+1<y.length?new P(y[T+1]):null,L=new P(y[T]),z=new w(L.buffer),k=A,$=D,W=-1,U=-1;for(let ce=0;ce<I.height;ce++)for(let xe=0;xe<I.width;xe++){let he=I.x+xe,Ce=I.y+ce,ge=Ce*A+he,be=z[ge];be==0||F[T-1].dispose==0&&N[ge]==be&&(M==null||M[4*ge+3]!=0)||(he<k&&(k=he),he>W&&(W=he),Ce<$&&($=Ce),Ce>U&&(U=Ce))}W==-1&&(k=$=W=U=0),R&&((1&k)==1&&k--,(1&$)==1&&$--),I={x:k,y:$,width:W-k+1,height:U-$+1};let X=F[T];X.rect=I,X.blend=1,X.img=new Uint8Array(I.width*I.height*4),F[T-1].dispose==0?(e(C,A,D,X.img,I.width,I.height,-I.x,-I.y,0),p(L,A,D,X.img,I)):e(L,A,D,X.img,I.width,I.height,-I.x,-I.y,0)}function p(y,A,D,F,T){e(y,A,D,F,T.width,T.height,-T.x,-T.y,2)}function d(y,A,D,F,T,I,R){let P=[],w,C=[0,1,2,3,4];I!=-1?C=[I]:(A*F>5e5||D==1)&&(C=[0]),R&&(w={level:0});let N=c6;for(var M=0;M<C.length;M++){for(let k=0;k<A;k++)c(T,y,k,F,D,C[M]);P.push(N.deflate(T,w))}let L,z=1e9;for(M=0;M<P.length;M++)P[M].length<z&&(L=M,z=P[M].length);return P[L]}function c(y,A,D,F,T,I){let R=D*F,P=R+D;if(y[P]=I,P++,I==0)if(F<500)for(var w=0;w<F;w++)y[P+w]=A[R+w];else y.set(new Uint8Array(A.buffer,R,F),P);else if(I==1){for(w=0;w<T;w++)y[P+w]=A[R+w];for(w=T;w<F;w++)y[P+w]=A[R+w]-A[R+w-T]+256&255}else if(D==0){for(w=0;w<T;w++)y[P+w]=A[R+w];if(I==2)for(w=T;w<F;w++)y[P+w]=A[R+w];if(I==3)for(w=T;w<F;w++)y[P+w]=A[R+w]-(A[R+w-T]>>1)+256&255;if(I==4)for(w=T;w<F;w++)y[P+w]=A[R+w]-r(A[R+w-T],0,0)+256&255}else{if(I==2)for(w=0;w<F;w++)y[P+w]=A[R+w]+256-A[R+w-F]&255;if(I==3){for(w=0;w<T;w++)y[P+w]=A[R+w]+256-(A[R+w-F]>>1)&255;for(w=T;w<F;w++)y[P+w]=A[R+w]+256-(A[R+w-F]+A[R+w-T]>>1)&255}if(I==4){for(w=0;w<T;w++)y[P+w]=A[R+w]+256-r(0,A[R+w-F],0)&255;for(w=T;w<F;w++)y[P+w]=A[R+w]+256-r(A[R+w-T],A[R+w-F],A[R+w-T-F])&255}}}function h(y,A){let D=new Uint8Array(y),F=D.slice(0),T=new Uint32Array(F.buffer),I=g(F,A),R=I[0],P=I[1],w=D.length,C=new Uint8Array(w>>2),N;if(D.length<2e7)for(var M=0;M<w;M+=4)N=x(R,L=D[M]*(1/255),z=D[M+1]*(1/255),k=D[M+2]*(1/255),$=D[M+3]*(1/255)),C[M>>2]=N.ind,T[M>>2]=N.est.rgba;else for(M=0;M<w;M+=4){var L=D[M]*.00392156862745098,z=D[M+1]*(1/255),k=D[M+2]*(1/255),$=D[M+3]*(1/255);for(N=R;N.left;)N=b(N.est,L,z,k,$)<=0?N.left:N.right;C[M>>2]=N.ind,T[M>>2]=N.est.rgba}return{abuf:F.buffer,inds:C,plte:P}}function g(y,A,D){D==null&&(D=1e-4);let F=new Uint32Array(y.buffer),T={i0:0,i1:y.length,bst:null,est:null,tdst:0,left:null,right:null};T.bst=S(y,T.i0,T.i1),T.est=v(T.bst);let I=[T];for(;I.length<A;){let P=0,w=0;for(var R=0;R<I.length;R++)I[R].est.L>P&&(P=I[R].est.L,w=R);if(P<D)break;let C=I[w],N=B(y,F,C.i0,C.i1,C.est.e,C.est.eMq255);if(C.i0>=N||C.i1<=N){C.est.L=0;continue}let M={i0:C.i0,i1:N,bst:null,est:null,tdst:0,left:null,right:null};M.bst=S(y,M.i0,M.i1),M.est=v(M.bst);let L={i0:N,i1:C.i1,bst:null,est:null,tdst:0,left:null,right:null};for(L.bst={R:[],m:[],N:C.bst.N-M.bst.N},R=0;R<16;R++)L.bst.R[R]=C.bst.R[R]-M.bst.R[R];for(R=0;R<4;R++)L.bst.m[R]=C.bst.m[R]-M.bst.m[R];L.est=v(L.bst),C.left=M,C.right=L,I[w]=M,I.push(L)}for(I.sort(((P,w)=>w.bst.N-P.bst.N)),R=0;R<I.length;R++)I[R].ind=R;return[T,I]}function x(y,A,D,F,T){if(y.left==null)return y.tdst=(function(M,L,z,k,$){let W=L-M[0],U=z-M[1],X=k-M[2],ce=$-M[3];return W*W+U*U+X*X+ce*ce})(y.est.q,A,D,F,T),y;let I=b(y.est,A,D,F,T),R=y.left,P=y.right;I>0&&(R=y.right,P=y.left);let w=x(R,A,D,F,T);if(w.tdst<=I*I)return w;let C=x(P,A,D,F,T);return C.tdst<w.tdst?C:w}function b(y,A,D,F,T){let{e:I}=y;return I[0]*A+I[1]*D+I[2]*F+I[3]*T-y.eMq}function B(y,A,D,F,T,I){for(F-=4;D<F;){for(;E(y,D,T)<=I;)D+=4;for(;E(y,F,T)>I;)F-=4;if(D>=F)break;let R=A[D>>2];A[D>>2]=A[F>>2],A[F>>2]=R,D+=4,F-=4}for(;E(y,D,T)>I;)D-=4;return D+4}function E(y,A,D){return y[A]*D[0]+y[A+1]*D[1]+y[A+2]*D[2]+y[A+3]*D[3]}function S(y,A,D){let F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],T=[0,0,0,0],I=D-A>>2;for(let R=A;R<D;R+=4){let P=y[R]*.00392156862745098,w=y[R+1]*(1/255),C=y[R+2]*(1/255),N=y[R+3]*(1/255);T[0]+=P,T[1]+=w,T[2]+=C,T[3]+=N,F[0]+=P*P,F[1]+=P*w,F[2]+=P*C,F[3]+=P*N,F[5]+=w*w,F[6]+=w*C,F[7]+=w*N,F[10]+=C*C,F[11]+=C*N,F[15]+=N*N}return F[4]=F[1],F[8]=F[2],F[9]=F[6],F[12]=F[3],F[13]=F[7],F[14]=F[11],{R:F,m:T,N:I}}function v(y){let{R:A}=y,{m:D}=y,{N:F}=y,T=D[0],I=D[1],R=D[2],P=D[3],w=F==0?0:1/F,C=[A[0]-T*T*w,A[1]-T*I*w,A[2]-T*R*w,A[3]-T*P*w,A[4]-I*T*w,A[5]-I*I*w,A[6]-I*R*w,A[7]-I*P*w,A[8]-R*T*w,A[9]-R*I*w,A[10]-R*R*w,A[11]-R*P*w,A[12]-P*T*w,A[13]-P*I*w,A[14]-P*R*w,A[15]-P*P*w],N=C,M=O,L=[Math.random(),Math.random(),Math.random(),Math.random()],z=0,k=0;if(F!=0)for(let W=0;W<16&&(L=M.multVec(N,L),k=Math.sqrt(M.dot(L,L)),L=M.sml(1/k,L),!(W!=0&&Math.abs(k-z)<1e-9));W++)z=k;let $=[T*w,I*w,R*w,P*w];return{Cov:C,q:$,e:L,L:z,eMq255:M.dot(M.sml(255,$),L),eMq:M.dot(L,$),rgba:(Math.round(255*$[3])<<24|Math.round(255*$[2])<<16|Math.round(255*$[1])<<8|Math.round(255*$[0])<<0)>>>0}}var O={multVec:(y,A)=>[y[0]*A[0]+y[1]*A[1]+y[2]*A[2]+y[3]*A[3],y[4]*A[0]+y[5]*A[1]+y[6]*A[2]+y[7]*A[3],y[8]*A[0]+y[9]*A[1]+y[10]*A[2]+y[11]*A[3],y[12]*A[0]+y[13]*A[1]+y[14]*A[2]+y[15]*A[3]],dot:(y,A)=>y[0]*A[0]+y[1]*A[1]+y[2]*A[2]+y[3]*A[3],sml:(y,A)=>[y*A[0],y*A[1],y*A[2],y*A[3]]};Fr.encode=function(A,D,F,T,I,R,P){T==null&&(T=0),P==null&&(P=!1);let w=s(A,D,F,T,[!1,!1,!1,0,P,!1]);return m(w,-1),u(w,D,F,I,R)},Fr.encodeLL=function(A,D,F,T,I,R,P,w){let C={ctype:0+(T==1?0:2)+(I==0?0:4),depth:R,frames:[]},N=(T+I)*R,M=N*D;for(let L=0;L<A.length;L++)C.frames.push({rect:{x:0,y:0,width:D,height:F},img:new Uint8Array(A[L]),blend:0,dispose:1,bpp:Math.ceil(N/8),bpl:Math.ceil(M/8)});return m(C,0,!0),u(C,D,F,P,w)},Fr.encode.compress=s,Fr.encode.dither=f,Fr.quantize=h,Fr.quantize.getKDtree=g,Fr.quantize.getNearest=x})();var Kh={toArrayBuffer(e,t){let r=e.width,o=e.height,n=r<<2,i=e.getContext("2d").getImageData(0,0,r,o),a=new Uint32Array(i.data.buffer),f=(32*r+31)/32<<2,u=f*o,m=122+u,s=new ArrayBuffer(m),l=new DataView(s),p=1<<20,d,c,h,g,x=p,b=0,B=0,E=0;function S(y){l.setUint16(B,y,!0),B+=2}function v(y){l.setUint32(B,y,!0),B+=4}function O(y){B+=y}S(19778),v(m),O(4),v(122),v(108),v(r),v(-o>>>0),S(1),S(32),v(3),v(u),v(2835),v(2835),O(8),v(16711680),v(65280),v(255),v(4278190080),v(1466527264),(function y(){for(;b<o&&x>0;){for(g=122+b*f,d=0;d<n;)x--,c=a[E++],h=c>>>24,l.setUint32(g+d,c<<8|h),d+=4;b++}E<a.length?(x=p,setTimeout(y,Kh._dly)):t(s)})()},toBlob(e,t){this.toArrayBuffer(e,(r=>{t(new Blob([r],{type:"image/bmp"}))}))},_dly:9},Yt={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},x6={[Yt.CHROME]:16384,[Yt.FIREFOX]:11180,[Yt.DESKTOP_SAFARI]:16384,[Yt.IE]:8192,[Yt.IOS]:4096,[Yt.ETC]:8192},ox=typeof window<"u",Yh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,lf=ox&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),h6=(ox||Yh)&&(lf&&lf.getOriginalSymbol(window,"File")||typeof File<"u"&&File),Jh=(ox||Yh)&&(lf&&lf.getOriginalSymbol(window,"FileReader")||typeof FileReader<"u"&&FileReader);function nx(e,t,r=Date.now()){return new Promise((o=>{let n=e.split(","),i=n[0].match(/:(.*?);/)[1],a=globalThis.atob(n[1]),f=a.length,u=new Uint8Array(f);for(;f--;)u[f]=a.charCodeAt(f);let m=new Blob([u],{type:i});m.name=t,m.lastModified=r,o(m)}))}function Qh(e){return new Promise(((t,r)=>{let o=new Jh;o.onload=()=>t(o.result),o.onerror=n=>r(n),o.readAsDataURL(e)}))}function Zh(e){return new Promise(((t,r)=>{let o=new Image;o.onload=()=>t(o),o.onerror=n=>r(n),o.src=e}))}function xn(){if(xn.cachedResult!==void 0)return xn.cachedResult;let e=Yt.ETC,{userAgent:t}=navigator;return/Chrom(e|ium)/i.test(t)?e=Yt.CHROME:/iP(ad|od|hone)/i.test(t)&&/WebKit/i.test(t)?e=Yt.IOS:/Safari/i.test(t)?e=Yt.DESKTOP_SAFARI:/Firefox/i.test(t)?e=Yt.FIREFOX:(/MSIE/i.test(t)||document.documentMode)&&(e=Yt.IE),xn.cachedResult=e,xn.cachedResult}function Vh(e,t){let r=xn(),o=x6[r],n=e,i=t,a=n*i,f=n>i?i/n:n/i;for(;a>o*o;){let u=(o+n)/2,m=(o+i)/2;u<m?(i=m,n=m*f):(i=u*f,n=u),a=n*i}return{width:n,height:i}}function df(e,t){let r,o;try{if(r=new OffscreenCanvas(e,t),o=r.getContext("2d"),o===null)throw new Error("getContext of OffscreenCanvas returns null")}catch{r=document.createElement("canvas"),o=r.getContext("2d")}return r.width=e,r.height=t,[r,o]}function e2(e,t){let{width:r,height:o}=Vh(e.width,e.height),[n,i]=df(r,o);return t&&/jpe?g/.test(t)&&(i.fillStyle="white",i.fillRect(0,0,n.width,n.height)),i.drawImage(e,0,0,n.width,n.height),n}function sf(){return sf.cachedResult!==void 0||(sf.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&typeof document<"u"&&"ontouchend"in document),sf.cachedResult}function pf(e,t={}){return new Promise((function(r,o){let n,i;var a=function(){try{return i=e2(n,t.fileType||e.type),r([n,i])}catch(u){return o(u)}},f=function(u){try{var m=function(s){try{throw s}catch(l){return o(l)}};try{let s;return Qh(e).then((function(l){try{return s=l,Zh(s).then((function(p){try{return n=p,(function(){try{return a()}catch(d){return o(d)}})()}catch(d){return m(d)}}),m)}catch(p){return m(p)}}),m)}catch(s){m(s)}}catch(s){return o(s)}};try{if(sf()||[Yt.DESKTOP_SAFARI,Yt.MOBILE_SAFARI].includes(xn()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then((function(u){try{return n=u,a()}catch{return f()}}),f)}catch{f()}}))}function mf(e,t,r,o,n=1){return new Promise((function(i,a){let f;if(t==="image/png"){let l,p,d;return l=e.getContext("2d"),{data:p}=l.getImageData(0,0,e.width,e.height),d=Fr.encode([p.buffer],e.width,e.height,4096*n),f=new Blob([d],{type:t}),f.name=r,f.lastModified=o,u.call(this)}{let l=function(){return u.call(this)};var m=l;if(t==="image/bmp")return new Promise((p=>Kh.toBlob(e,p))).then(function(p){try{return f=p,f.name=r,f.lastModified=o,l.call(this)}catch(d){return a(d)}}.bind(this),a);{let p=function(){return l.call(this)};var s=p;if(typeof OffscreenCanvas=="function"&&e instanceof OffscreenCanvas)return e.convertToBlob({type:t,quality:n}).then(function(d){try{return f=d,f.name=r,f.lastModified=o,p.call(this)}catch(c){return a(c)}}.bind(this),a);{let d;return d=e.toDataURL(t,n),nx(d,r,o).then(function(c){try{return f=c,p.call(this)}catch(h){return a(h)}}.bind(this),a)}}}function u(){return i(f)}}))}function Hr(e){e.width=0,e.height=0}function $n(){return new Promise((function(e,t){let r,o,n,i,a;return $n.cachedResult!==void 0?e($n.cachedResult):(r="data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==",nx("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(f){try{return o=f,pf(o).then((function(u){try{return n=u[1],mf(n,o.type,o.name,o.lastModified).then((function(m){try{return i=m,Hr(n),pf(i).then((function(s){try{return a=s[0],$n.cachedResult=a.width===1&&a.height===2,e($n.cachedResult)}catch(l){return t(l)}}),t)}catch(s){return t(s)}}),t)}catch(m){return t(m)}}),t)}catch(u){return t(u)}}),t))}))}function t2(e){return new Promise(((t,r)=>{let o=new Jh;o.onload=n=>{let i=new DataView(n.target.result);if(i.getUint16(0,!1)!=65496)return t(-2);let a=i.byteLength,f=2;for(;f<a;){if(i.getUint16(f+2,!1)<=8)return t(-1);let u=i.getUint16(f,!1);if(f+=2,u==65505){if(i.getUint32(f+=2,!1)!=1165519206)return t(-1);let m=i.getUint16(f+=6,!1)==18761;f+=i.getUint32(f+4,m);let s=i.getUint16(f,m);f+=2;for(let l=0;l<s;l++)if(i.getUint16(f+12*l,m)==274)return t(i.getUint16(f+12*l+8,m))}else{if((65280&u)!=65280)break;f+=i.getUint16(f,!1)}}return t(-1)},o.onerror=n=>r(n),o.readAsArrayBuffer(e)}))}function r2(e,t){let{width:r}=e,{height:o}=e,{maxWidthOrHeight:n}=t,i,a=e;return isFinite(n)&&(r>n||o>n)&&([a,i]=df(r,o),r>o?(a.width=n,a.height=o/r*n):(a.width=r/o*n,a.height=n),i.drawImage(e,0,0,a.width,a.height),Hr(e)),a}function o2(e,t){let{width:r}=e,{height:o}=e,[n,i]=df(r,o);switch(t>4&&t<9?(n.width=o,n.height=r):(n.width=r,n.height=o),t){case 2:i.transform(-1,0,0,1,r,0);break;case 3:i.transform(-1,0,0,-1,r,o);break;case 4:i.transform(1,0,0,-1,0,o);break;case 5:i.transform(0,1,1,0,0,0);break;case 6:i.transform(0,1,-1,0,o,0);break;case 7:i.transform(0,-1,-1,0,o,r);break;case 8:i.transform(0,-1,1,0,0,r)}return i.drawImage(e,0,0,r,o),Hr(e),n}function Gh(e,t,r=0){return new Promise((function(o,n){let i,a,f,u,m,s,l,p,d,c,h,g,x,b,B,E,S,v,O,y;function A(F=5){if(t.signal&&t.signal.aborted)throw t.signal.reason;i+=F,t.onProgress(Math.min(i,100))}function D(F){if(t.signal&&t.signal.aborted)throw t.signal.reason;i=Math.min(Math.max(F,i),100),t.onProgress(i)}return i=r,a=t.maxIteration||10,f=1024*t.maxSizeMB*1024,A(),pf(e,t).then(function(F){try{return[,u]=F,A(),m=r2(u,t),A(),new Promise((function(T,I){var R;if(!(R=t.exifOrientation))return t2(e).then(function(w){try{return R=w,P.call(this)}catch(C){return I(C)}}.bind(this),I);function P(){return T(R)}return P.call(this)})).then(function(T){try{return s=T,A(),$n().then(function(I){try{return l=I?m:o2(m,s),A(),p=t.initialQuality||1,d=t.fileType||e.type,mf(l,d,e.name,e.lastModified,p).then(function(R){try{{let N=function(){if(a--&&(B>f||B>x)){let L,z;return L=y?.95*O.width:O.width,z=y?.95*O.height:O.height,[S,v]=df(L,z),v.drawImage(O,0,0,L,z),p*=d==="image/png"?.85:.95,mf(S,d,e.name,e.lastModified,p).then((function(k){try{return E=k,Hr(O),O=S,B=E.size,D(Math.min(99,Math.floor((b-B)/(b-f)*100))),N}catch($){return n($)}}),n)}return[1]},M=function(){return Hr(O),Hr(S),Hr(m),Hr(l),Hr(u),D(100),o(E)};var w=N,C=M;if(c=R,A(),h=c.size>f,g=c.size>e.size,!h&&!g)return D(100),o(c);var P;return x=e.size,b=c.size,B=b,O=l,y=!t.alwaysKeepResolution&&h,(P=function(L){for(;L;){if(L.then)return void L.then(P,n);try{if(L.pop){if(L.length)return L.pop()?M.call(this):L;L=N}else L=L.call(this)}catch(z){return n(z)}}}.bind(this))(N)}}catch(N){return n(N)}}.bind(this),n)}catch(R){return n(R)}}.bind(this),n)}catch(I){return n(I)}}.bind(this),n)}catch(T){return n(T)}}.bind(this),n)}))}var g6=`
|
|
8
8
|
let scriptImported = false
|
|
9
9
|
self.addEventListener('message', async (e) => {
|
|
10
10
|
const { file, id, imageCompressionLibUrl, options } = e.data
|
|
@@ -45,7 +45,7 @@ __p += '`),b&&(l+=`' +
|
|
|
45
45
|
function print() { __p += __j.call(arguments, '') }
|
|
46
46
|
`:`;
|
|
47
47
|
`)+l+`return __p
|
|
48
|
-
}`;var h=Di(function(){return Function(i,d+"return "+l).apply(void 0,a)});if(h.source=l,No(h))throw h;return h}var Vm=TH;var DH="Expected a function";function MH(e,t,r){var o=!0,n=!0;if(typeof e!="function")throw new TypeError(DH);return oe(r)&&(o="leading"in r?!!r.leading:o,n="trailing"in r?!!r.trailing:n),ra(e,t,{leading:o,maxWait:t,trailing:n})}var ed=MH;function OH(e,t){return t(e)}var Dr=OH;var IH=9007199254740991,H1=4294967295,LH=Math.min;function PH(e,t){if(e=Y(e),e<1||e>IH)return[];var r=H1,o=LH(e,H1);t=lt(t),e-=H1;for(var n=_i(o,t);++r<e;)t(r);return n}var td=PH;function kH(){return this}var k0=kH;function HH(e,t){var r=e;return r instanceof fe&&(r=r.value()),Li(t,function(o,n){return n.func.apply(n.thisArg,Pt([o],n.args))},r)}var rd=HH;function zH(){return rd(this.__wrapped__,this.__actions__)}var or=zH;function NH(e){return Z(e).toLowerCase()}var od=NH;function UH(e){return K(e)?ie(e,ut):Ne(e)?[e]:Ue(zs(Z(e)))}var nd=UH;var cv=9007199254740991;function WH(e){return e?tr(Y(e),-cv,cv):e===0?e:0}var id=WH;function qH(e){return Z(e).toUpperCase()}var ad=qH;function jH(e,t,r){var o=K(e),n=o||Rt(e)||Vt(e);if(t=G(t,4),r==null){var i=e&&e.constructor;n?r=o?new i:[]:oe(e)?r=ft(i)?cr(zo(e)):{}:r={}}return(n?ct:Bt)(e,function(a,f,u){return t(r,a,f,u)}),r}var fd=jH;function $H(e,t){for(var r=e.length;r--&&xr(t,e[r],0)>-1;);return r}var sd=$H;function GH(e,t){for(var r=-1,o=e.length;++r<o&&xr(t,e[r],0)>-1;);return r}var ud=GH;function XH(e,t,r){if(e=Z(e),e&&(r||t===void 0))return vs(e);if(!e||!(t=et(t)))return e;var o=xt(e),n=xt(t),i=ud(o,n),a=sd(o,n)+1;return kt(o,i,a).join("")}var ld=XH;function KH(e,t,r){if(e=Z(e),e&&(r||t===void 0))return e.slice(0,bs(e)+1);if(!e||!(t=et(t)))return e;var o=xt(e),n=sd(o,xt(t))+1;return kt(o,0,n).join("")}var pd=KH;var YH=/^\s+/;function JH(e,t,r){if(e=Z(e),e&&(r||t===void 0))return e.replace(YH,"");if(!e||!(t=et(t)))return e;var o=xt(e),n=ud(o,xt(t));return kt(o,n).join("")}var md=JH;var QH=30,ZH="...",VH=/\w*$/;function ez(e,t){var r=QH,o=ZH;if(oe(t)){var n="separator"in t?t.separator:n;r="length"in t?Y(t.length):r,o="omission"in t?et(t.omission):o}e=Z(e);var i=e.length;if(vr(e)){var a=xt(e);i=a.length}if(r>=i)return e;var f=r-Ar(o);if(f<1)return o;var u=a?kt(a,0,f).join(""):e.slice(0,f);if(n===void 0)return u+o;if(a&&(f+=u.length-f),nn(n)){if(e.slice(f).search(n)){var m,s=u;for(n.global||(n=RegExp(n.source,Z(VH.exec(n))+"g")),n.lastIndex=0;m=n.exec(s);)var l=m.index;u=u.slice(0,l===void 0?f:l)}}else if(e.indexOf(et(n),f)!=f){var p=u.lastIndexOf(n);p>-1&&(u=u.slice(0,p))}return u+o}var dd=ez;function tz(e){return Ai(e,1)}var cd=tz;var rz={"&":"&","<":"<",">":">",""":'"',"'":"'"},oz=Pi(rz),xv=oz;var hv=/&(?:amp|lt|gt|quot|#39);/g,nz=RegExp(hv.source);function iz(e){return e=Z(e),e&&nz.test(e)?e.replace(hv,xv):e}var xd=iz;var az=1/0,fz=qo&&1/$o(new qo([,-0]))[1]==az?function(e){return new qo(e)}:Fo,gv=fz;var sz=200;function uz(e,t,r){var o=-1,n=Do,i=e.length,a=!0,f=[],u=f;if(r)a=!1,n=aa;else if(i>=sz){var m=t?null:gv(e);if(m)return $o(m);a=!1,n=po,u=new jo}else u=t?[]:f;e:for(;++o<i;){var s=e[o],l=t?t(s):s;if(s=r||s!==0?s:0,a&&l===l){for(var p=u.length;p--;)if(u[p]===l)continue e;t&&u.push(l),f.push(s)}else n(u,l,r)||(u!==f&&u.push(l),f.push(s))}return f}var Gt=uz;var lz=J(function(e){return Gt(_e(e,1,pe,!0))}),hd=lz;var pz=J(function(e){var t=ze(e);return pe(t)&&(t=void 0),Gt(_e(e,1,pe,!0),G(t,2))}),gd=pz;var mz=J(function(e){var t=ze(e);return t=typeof t=="function"?t:void 0,Gt(_e(e,1,pe,!0),void 0,t)}),bd=mz;function dz(e){return e&&e.length?Gt(e):[]}var vd=dz;function cz(e,t){return e&&e.length?Gt(e,G(t,2)):[]}var yd=cz;function xz(e,t){return t=typeof t=="function"?t:void 0,e&&e.length?Gt(e,void 0,t):[]}var Ad=xz;var hz=0;function gz(e){var t=++hz;return Z(e)+t}var _d=gz;function bz(e,t){return e==null?!0:_a(e,t)}var Ed=bz;var vz=Math.max;function yz(e){if(!(e&&e.length))return[];var t=0;return e=Ht(e,function(r){if(pe(r))return t=vz(r.length,t),!0}),_i(t,function(r){return ie(e,Vi(r))})}var un=yz;function Az(e,t){if(!(e&&e.length))return[];var r=un(e);return t==null?r:ie(r,function(o){return qe(t,void 0,o)})}var Ta=Az;function _z(e,t,r,o){return to(e,t,r(er(e,t)),o)}var Cd=_z;function Ez(e,t,r){return e==null?e:Cd(e,t,lt(r))}var wd=Ez;function Cz(e,t,r,o){return o=typeof o=="function"?o:void 0,e==null?e:Cd(e,t,lt(r),o)}var Bd=Cz;var wz=yr(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Fd=wz;function Bz(e){return e==null?[]:da(e,Re(e))}var Rd=Bz;var Fz=J(function(e,t){return pe(e)?Qr(e,t):[]}),Sd=Fz;function Rz(e,t){return wa(lt(t),e)}var Td=Rz;var Sz=Ct(function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,n=function(i){return Si(i,e)};return t>1||this.__actions__.length||!(o instanceof fe)||!yt(r)?this.thru(n):(o=o.slice(r,+r+(t?1:0)),o.__actions__.push({func:Dr,args:[n],thisArg:void 0}),new It(o,this.__chain__).thru(function(i){return t&&!i.length&&i.push(void 0),i}))}),Dd=Sz;function Tz(){return Ui(this)}var Md=Tz;function Dz(){var e=this.__wrapped__;if(e instanceof fe){var t=e;return this.__actions__.length&&(t=new fe(this)),t=t.reverse(),t.__actions__.push({func:Dr,args:[In],thisArg:void 0}),new It(t,this.__chain__)}return this.thru(In)}var Od=Dz;function Mz(e,t,r){var o=e.length;if(o<2)return o?Gt(e[0]):[];for(var n=-1,i=Array(o);++n<o;)for(var a=e[n],f=-1;++f<o;)f!=n&&(i[n]=Qr(i[n]||a,e[f],t,r));return Gt(_e(i,1),t,r)}var Da=Mz;var Oz=J(function(e){return Da(Ht(e,pe))}),Id=Oz;var Iz=J(function(e){var t=ze(e);return pe(t)&&(t=void 0),Da(Ht(e,pe),G(t,2))}),Ld=Iz;var Lz=J(function(e){var t=ze(e);return t=typeof t=="function"?t:void 0,Da(Ht(e,pe),void 0,t)}),Pd=Lz;var Pz=J(un),kd=Pz;function kz(e,t,r){for(var o=-1,n=e.length,i=t.length,a={};++o<n;){var f=o<i?t[o]:void 0;r(a,e[o],f)}return a}var Hd=kz;function Hz(e,t){return Hd(e||[],t||[],Xr)}var zd=Hz;function zz(e,t){return Hd(e||[],t||[],to)}var Nd=zz;var Nz=J(function(e){var t=e.length,r=t>1?e[t-1]:void 0;return r=typeof r=="function"?(e.pop(),r):void 0,Ta(e,r)}),Ud=Nz;var Q={chunk:Xs,compact:su,concat:uu,difference:Iu,differenceBy:Lu,differenceWith:Pu,drop:Hu,dropRight:zu,dropRightWhile:Nu,dropWhile:Uu,fill:Yu,findIndex:la,findLastIndex:pa,first:tn,flatten:Ti,flattenDeep:sl,flattenDepth:ul,fromPairs:vl,head:tn,indexOf:Rl,initial:Sl,intersection:Tl,intersectionBy:Dl,intersectionWith:Ml,join:np,last:ze,lastIndexOf:fp,nth:Rp,pull:Yp,pullAll:Fa,pullAllBy:Jp,pullAllWith:Qp,pullAt:Vp,remove:um,reverse:In,slice:_m,sortedIndex:Bm,sortedIndexBy:Fm,sortedIndexOf:Rm,sortedLastIndex:Sm,sortedLastIndexBy:Tm,sortedLastIndexOf:Dm,sortedUniq:Om,sortedUniqBy:Im,tail:$m,take:Gm,takeRight:Xm,takeRightWhile:Km,takeWhile:Ym,union:hd,unionBy:gd,unionWith:bd,uniq:vd,uniqBy:yd,uniqWith:Ad,unzip:un,unzipWith:Ta,without:Sd,xor:Id,xorBy:Ld,xorWith:Pd,zip:kd,zipObject:zd,zipObjectDeep:Nd,zipWith:Ud};var Se={countBy:Cu,each:Qo,eachRight:Zo,every:Ku,filter:Qu,find:Vu,findLast:rl,flatMap:il,flatMapDeep:al,flatMapDepth:fl,forEach:Qo,forEachRight:Zo,groupBy:_l,includes:Fl,invokeMap:Hl,keyBy:ap,map:Zr,orderBy:Pp,partition:Gp,reduce:am,reduceRight:fm,reject:sm,sample:hm,sampleSize:gm,shuffle:ym,size:Am,some:Cm,sortBy:wm};var z1={now:Yo};var Ye={after:ys,ary:Ai,before:Mi,bind:Oi,bindKey:Ws,curry:Bu,curryRight:Fu,debounce:ra,defer:Mu,delay:Ou,flip:ll,memoize:Ri,negate:Tr,once:Op,overArgs:Hp,partial:wa,partialRight:$p,rearg:nm,rest:mm,spread:Pm,throttle:ed,unary:cd,wrap:Td};var V={castArray:$s,clone:nu,cloneDeep:iu,cloneDeepWith:au,cloneWith:fu,conformsTo:Au,eq:Ke,gt:El,gte:Cl,isArguments:$t,isArray:K,isArrayBuffer:zl,isArrayLike:Fe,isArrayLikeObject:pe,isBoolean:Nl,isBuffer:Rt,isDate:Ul,isElement:Wl,isEmpty:ql,isEqual:jl,isEqualWith:$l,isError:No,isFinite:Gl,isFunction:ft,isInteger:ha,isLength:Kr,isMap:Xi,isMatch:Xl,isMatchWith:Kl,isNaN:Yl,isNative:Jl,isNil:Ql,isNull:Zl,isNumber:ga,isObject:oe,isObjectLike:ne,isPlainObject:br,isRegExp:nn,isSafeInteger:Vl,isSet:Ki,isString:Vr,isSymbol:Ne,isTypedArray:Vt,isUndefined:ep,isWeakMap:tp,isWeakSet:rp,lt:lp,lte:pp,toArray:Aa,toFinite:Ot,toInteger:Y,toLength:ua,toNumber:tt,toPlainObject:oa,toSafeInteger:id,toString:Z};var St={add:gs,ceil:Gs,divide:ku,floor:pl,max:hp,maxBy:gp,mean:vp,meanBy:yp,min:Cp,minBy:wp,multiply:Bp,round:cm,subtract:Wm,sum:qm,sumBy:jm};var H0={clamp:Ks,inRange:Bl,random:em};var te={assign:ks,assignIn:Oo,assignInWith:Sr,assignWith:Hs,at:Ns,create:wu,defaults:Su,defaultsDeep:Tu,entries:Vo,entriesIn:en,extend:Oo,extendWith:Sr,findKey:tl,findLastKey:ol,forIn:xl,forInRight:hl,forOwn:gl,forOwnRight:bl,functions:yl,functionsIn:Al,get:Ho,has:wl,hasIn:Xo,invert:Il,invertBy:Ll,invoke:kl,keys:ue,keysIn:Re,mapKeys:mp,mapValues:dp,merge:Ap,mergeWith:ia,omit:Tp,omitBy:Mp,pick:Xp,pickBy:Ea,result:dm,set:bm,setWith:vm,toPairs:Vo,toPairsIn:en,transform:fd,unset:Ed,update:wd,updateWith:Bd,values:rr,valuesIn:Rd};var _r={at:Dd,chain:Ui,commit:D0,lodash:_,next:I0,plant:P0,reverse:Od,tap:Jm,thru:Dr,toIterator:k0,toJSON:or,value:or,valueOf:or,wrapperChain:Md};var ye={camelCase:js,capitalize:Ii,deburr:ki,endsWith:ju,escape:sa,escapeRegExp:Gu,kebabCase:ip,lowerCase:sp,lowerFirst:up,pad:Up,padEnd:Wp,padStart:qp,parseInt:jp,repeat:lm,replace:pm,snakeCase:Em,split:Lm,startCase:km,startsWith:Hm,template:Vm,templateSettings:Ln,toLower:od,toUpper:ad,trim:ld,trimEnd:pd,trimStart:md,truncate:dd,unescape:xd,upperCase:Fd,upperFirst:Uo,words:zi};var Ee={attempt:Di,bindAll:Us,cond:bu,conforms:yu,constant:So,defaultTo:Ru,flow:dl,flowRight:cl,identity:Be,iteratee:op,matches:cp,matchesProperty:xp,method:_p,methodOf:Ep,mixin:ya,noop:Fo,nthArg:Sp,over:kp,overEvery:zp,overSome:Np,property:ea,propertyOf:Kp,range:rm,rangeRight:om,stubArray:Wo,stubFalse:Mo,stubObject:zm,stubString:Nm,stubTrue:Um,times:td,toPath:nd,uniqueId:_d};function Uz(){var e=new fe(this.__wrapped__);return e.__actions__=Ue(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ue(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ue(this.__views__),e}var bv=Uz;function Wz(){if(this.__filtered__){var e=new fe(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}var vv=Wz;var qz=Math.max,jz=Math.min;function $z(e,t,r){for(var o=-1,n=r.length;++o<n;){var i=r[o],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=jz(t,e+a);break;case"takeRight":e=qz(e,t-a);break}}return{start:e,end:t}}var yv=$z;var Gz=1,Xz=2,Kz=Math.min;function Yz(){var e=this.__wrapped__.value(),t=this.__dir__,r=K(e),o=t<0,n=r?e.length:0,i=yv(0,n,this.__views__),a=i.start,f=i.end,u=f-a,m=o?f:a-1,s=this.__iteratees__,l=s.length,p=0,d=Kz(u,this.__takeCount__);if(!r||!o&&n==u&&d==u)return rd(e,this.__actions__);var c=[];e:for(;u--&&p<d;){m+=t;for(var h=-1,g=e[m];++h<l;){var x=s[h],b=x.iteratee,B=x.type,E=b(g);if(B==Xz)g=E;else if(!E){if(B==Gz)continue e;break e}}c[p++]=g}return c}var Av=Yz;var Jz="4.17.22",Qz=2,Zz=1,Vz=3,Cv=4294967295,eN=Array.prototype,tN=Object.prototype,wv=tN.hasOwnProperty,_v=Xe?Xe.iterator:void 0,rN=Math.max,Ev=Math.min,N1=(function(e){return function(t,r,o){if(o==null){var n=oe(r),i=n&&ue(r),a=i&&i.length&&rn(r,i);(a?a.length:n)||(o=r,r=t,t=this)}return e(t,r,o)}})(ya);_.after=Ye.after;_.ary=Ye.ary;_.assign=te.assign;_.assignIn=te.assignIn;_.assignInWith=te.assignInWith;_.assignWith=te.assignWith;_.at=te.at;_.before=Ye.before;_.bind=Ye.bind;_.bindAll=Ee.bindAll;_.bindKey=Ye.bindKey;_.castArray=V.castArray;_.chain=_r.chain;_.chunk=Q.chunk;_.compact=Q.compact;_.concat=Q.concat;_.cond=Ee.cond;_.conforms=Ee.conforms;_.constant=Ee.constant;_.countBy=Se.countBy;_.create=te.create;_.curry=Ye.curry;_.curryRight=Ye.curryRight;_.debounce=Ye.debounce;_.defaults=te.defaults;_.defaultsDeep=te.defaultsDeep;_.defer=Ye.defer;_.delay=Ye.delay;_.difference=Q.difference;_.differenceBy=Q.differenceBy;_.differenceWith=Q.differenceWith;_.drop=Q.drop;_.dropRight=Q.dropRight;_.dropRightWhile=Q.dropRightWhile;_.dropWhile=Q.dropWhile;_.fill=Q.fill;_.filter=Se.filter;_.flatMap=Se.flatMap;_.flatMapDeep=Se.flatMapDeep;_.flatMapDepth=Se.flatMapDepth;_.flatten=Q.flatten;_.flattenDeep=Q.flattenDeep;_.flattenDepth=Q.flattenDepth;_.flip=Ye.flip;_.flow=Ee.flow;_.flowRight=Ee.flowRight;_.fromPairs=Q.fromPairs;_.functions=te.functions;_.functionsIn=te.functionsIn;_.groupBy=Se.groupBy;_.initial=Q.initial;_.intersection=Q.intersection;_.intersectionBy=Q.intersectionBy;_.intersectionWith=Q.intersectionWith;_.invert=te.invert;_.invertBy=te.invertBy;_.invokeMap=Se.invokeMap;_.iteratee=Ee.iteratee;_.keyBy=Se.keyBy;_.keys=ue;_.keysIn=te.keysIn;_.map=Se.map;_.mapKeys=te.mapKeys;_.mapValues=te.mapValues;_.matches=Ee.matches;_.matchesProperty=Ee.matchesProperty;_.memoize=Ye.memoize;_.merge=te.merge;_.mergeWith=te.mergeWith;_.method=Ee.method;_.methodOf=Ee.methodOf;_.mixin=N1;_.negate=Tr;_.nthArg=Ee.nthArg;_.omit=te.omit;_.omitBy=te.omitBy;_.once=Ye.once;_.orderBy=Se.orderBy;_.over=Ee.over;_.overArgs=Ye.overArgs;_.overEvery=Ee.overEvery;_.overSome=Ee.overSome;_.partial=Ye.partial;_.partialRight=Ye.partialRight;_.partition=Se.partition;_.pick=te.pick;_.pickBy=te.pickBy;_.property=Ee.property;_.propertyOf=Ee.propertyOf;_.pull=Q.pull;_.pullAll=Q.pullAll;_.pullAllBy=Q.pullAllBy;_.pullAllWith=Q.pullAllWith;_.pullAt=Q.pullAt;_.range=Ee.range;_.rangeRight=Ee.rangeRight;_.rearg=Ye.rearg;_.reject=Se.reject;_.remove=Q.remove;_.rest=Ye.rest;_.reverse=Q.reverse;_.sampleSize=Se.sampleSize;_.set=te.set;_.setWith=te.setWith;_.shuffle=Se.shuffle;_.slice=Q.slice;_.sortBy=Se.sortBy;_.sortedUniq=Q.sortedUniq;_.sortedUniqBy=Q.sortedUniqBy;_.split=ye.split;_.spread=Ye.spread;_.tail=Q.tail;_.take=Q.take;_.takeRight=Q.takeRight;_.takeRightWhile=Q.takeRightWhile;_.takeWhile=Q.takeWhile;_.tap=_r.tap;_.throttle=Ye.throttle;_.thru=Dr;_.toArray=V.toArray;_.toPairs=te.toPairs;_.toPairsIn=te.toPairsIn;_.toPath=Ee.toPath;_.toPlainObject=V.toPlainObject;_.transform=te.transform;_.unary=Ye.unary;_.union=Q.union;_.unionBy=Q.unionBy;_.unionWith=Q.unionWith;_.uniq=Q.uniq;_.uniqBy=Q.uniqBy;_.uniqWith=Q.uniqWith;_.unset=te.unset;_.unzip=Q.unzip;_.unzipWith=Q.unzipWith;_.update=te.update;_.updateWith=te.updateWith;_.values=te.values;_.valuesIn=te.valuesIn;_.without=Q.without;_.words=ye.words;_.wrap=Ye.wrap;_.xor=Q.xor;_.xorBy=Q.xorBy;_.xorWith=Q.xorWith;_.zip=Q.zip;_.zipObject=Q.zipObject;_.zipObjectDeep=Q.zipObjectDeep;_.zipWith=Q.zipWith;_.entries=te.toPairs;_.entriesIn=te.toPairsIn;_.extend=te.assignIn;_.extendWith=te.assignInWith;N1(_,_);_.add=St.add;_.attempt=Ee.attempt;_.camelCase=ye.camelCase;_.capitalize=ye.capitalize;_.ceil=St.ceil;_.clamp=H0.clamp;_.clone=V.clone;_.cloneDeep=V.cloneDeep;_.cloneDeepWith=V.cloneDeepWith;_.cloneWith=V.cloneWith;_.conformsTo=V.conformsTo;_.deburr=ye.deburr;_.defaultTo=Ee.defaultTo;_.divide=St.divide;_.endsWith=ye.endsWith;_.eq=V.eq;_.escape=ye.escape;_.escapeRegExp=ye.escapeRegExp;_.every=Se.every;_.find=Se.find;_.findIndex=Q.findIndex;_.findKey=te.findKey;_.findLast=Se.findLast;_.findLastIndex=Q.findLastIndex;_.findLastKey=te.findLastKey;_.floor=St.floor;_.forEach=Se.forEach;_.forEachRight=Se.forEachRight;_.forIn=te.forIn;_.forInRight=te.forInRight;_.forOwn=te.forOwn;_.forOwnRight=te.forOwnRight;_.get=te.get;_.gt=V.gt;_.gte=V.gte;_.has=te.has;_.hasIn=te.hasIn;_.head=Q.head;_.identity=Be;_.includes=Se.includes;_.indexOf=Q.indexOf;_.inRange=H0.inRange;_.invoke=te.invoke;_.isArguments=V.isArguments;_.isArray=K;_.isArrayBuffer=V.isArrayBuffer;_.isArrayLike=V.isArrayLike;_.isArrayLikeObject=V.isArrayLikeObject;_.isBoolean=V.isBoolean;_.isBuffer=V.isBuffer;_.isDate=V.isDate;_.isElement=V.isElement;_.isEmpty=V.isEmpty;_.isEqual=V.isEqual;_.isEqualWith=V.isEqualWith;_.isError=V.isError;_.isFinite=V.isFinite;_.isFunction=V.isFunction;_.isInteger=V.isInteger;_.isLength=V.isLength;_.isMap=V.isMap;_.isMatch=V.isMatch;_.isMatchWith=V.isMatchWith;_.isNaN=V.isNaN;_.isNative=V.isNative;_.isNil=V.isNil;_.isNull=V.isNull;_.isNumber=V.isNumber;_.isObject=oe;_.isObjectLike=V.isObjectLike;_.isPlainObject=V.isPlainObject;_.isRegExp=V.isRegExp;_.isSafeInteger=V.isSafeInteger;_.isSet=V.isSet;_.isString=V.isString;_.isSymbol=V.isSymbol;_.isTypedArray=V.isTypedArray;_.isUndefined=V.isUndefined;_.isWeakMap=V.isWeakMap;_.isWeakSet=V.isWeakSet;_.join=Q.join;_.kebabCase=ye.kebabCase;_.last=ze;_.lastIndexOf=Q.lastIndexOf;_.lowerCase=ye.lowerCase;_.lowerFirst=ye.lowerFirst;_.lt=V.lt;_.lte=V.lte;_.max=St.max;_.maxBy=St.maxBy;_.mean=St.mean;_.meanBy=St.meanBy;_.min=St.min;_.minBy=St.minBy;_.stubArray=Ee.stubArray;_.stubFalse=Ee.stubFalse;_.stubObject=Ee.stubObject;_.stubString=Ee.stubString;_.stubTrue=Ee.stubTrue;_.multiply=St.multiply;_.nth=Q.nth;_.noop=Ee.noop;_.now=z1.now;_.pad=ye.pad;_.padEnd=ye.padEnd;_.padStart=ye.padStart;_.parseInt=ye.parseInt;_.random=H0.random;_.reduce=Se.reduce;_.reduceRight=Se.reduceRight;_.repeat=ye.repeat;_.replace=ye.replace;_.result=te.result;_.round=St.round;_.sample=Se.sample;_.size=Se.size;_.snakeCase=ye.snakeCase;_.some=Se.some;_.sortedIndex=Q.sortedIndex;_.sortedIndexBy=Q.sortedIndexBy;_.sortedIndexOf=Q.sortedIndexOf;_.sortedLastIndex=Q.sortedLastIndex;_.sortedLastIndexBy=Q.sortedLastIndexBy;_.sortedLastIndexOf=Q.sortedLastIndexOf;_.startCase=ye.startCase;_.startsWith=ye.startsWith;_.subtract=St.subtract;_.sum=St.sum;_.sumBy=St.sumBy;_.template=ye.template;_.times=Ee.times;_.toFinite=V.toFinite;_.toInteger=Y;_.toLength=V.toLength;_.toLower=ye.toLower;_.toNumber=V.toNumber;_.toSafeInteger=V.toSafeInteger;_.toString=V.toString;_.toUpper=ye.toUpper;_.trim=ye.trim;_.trimEnd=ye.trimEnd;_.trimStart=ye.trimStart;_.truncate=ye.truncate;_.unescape=ye.unescape;_.uniqueId=Ee.uniqueId;_.upperCase=ye.upperCase;_.upperFirst=ye.upperFirst;_.each=Se.forEach;_.eachRight=Se.forEachRight;_.first=Q.head;N1(_,(function(){var e={};return Bt(_,function(t,r){wv.call(_.prototype,r)||(e[r]=t)}),e})(),{chain:!1});_.VERSION=Jz;(_.templateSettings=ye.templateSettings).imports._=_;ct(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){_[e].placeholder=_});ct(["drop","take"],function(e,t){fe.prototype[e]=function(r){r=r===void 0?1:rN(Y(r),0);var o=this.__filtered__&&!t?new fe(this):this.clone();return o.__filtered__?o.__takeCount__=Ev(r,o.__takeCount__):o.__views__.push({size:Ev(r,Cv),type:e+(o.__dir__<0?"Right":"")}),o},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}});ct(["filter","map","takeWhile"],function(e,t){var r=t+1,o=r==Zz||r==Vz;fe.prototype[e]=function(n){var i=this.clone();return i.__iteratees__.push({iteratee:G(n,3),type:r}),i.__filtered__=i.__filtered__||o,i}});ct(["head","last"],function(e,t){var r="take"+(t?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}});ct(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}});fe.prototype.compact=function(){return this.filter(Be)};fe.prototype.find=function(e){return this.filter(e).head()};fe.prototype.findLast=function(e){return this.reverse().find(e)};fe.prototype.invokeMap=J(function(e,t){return typeof e=="function"?new fe(this):this.map(function(r){return eo(r,e,t)})});fe.prototype.reject=function(e){return this.filter(Tr(G(e)))};fe.prototype.slice=function(e,t){e=Y(e);var r=this;return r.__filtered__&&(e>0||t<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==void 0&&(t=Y(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)};fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};fe.prototype.toArray=function(){return this.take(Cv)};Bt(fe.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),n=_[o?"take"+(t=="last"?"Right":""):t],i=o||/^find/.test(t);n&&(_.prototype[t]=function(){var a=this.__wrapped__,f=o?[1]:arguments,u=a instanceof fe,m=f[0],s=u||K(a),l=function(x){var b=n.apply(_,Pt([x],f));return o&&p?b[0]:b};s&&r&&typeof m=="function"&&m.length!=1&&(u=s=!1);var p=this.__chain__,d=!!this.__actions__.length,c=i&&!p,h=u&&!d;if(!i&&s){a=h?a:new fe(this);var g=e.apply(a,f);return g.__actions__.push({func:Dr,args:[l],thisArg:void 0}),new It(g,p)}return c&&h?e.apply(this,f):(g=this.thru(l),c?o?g.value()[0]:g.value():g)})});ct(["pop","push","shift","sort","splice","unshift"],function(e){var t=eN[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);_.prototype[e]=function(){var n=arguments;if(o&&!this.__chain__){var i=this.value();return t.apply(K(i)?i:[],n)}return this[r](function(a){return t.apply(K(a)?a:[],n)})}});Bt(fe.prototype,function(e,t){var r=_[t];if(r){var o=r.name+"";wv.call(Ro,o)||(Ro[o]=[]),Ro[o].push({name:t,func:r})}});Ro[yi(void 0,Qz).name]=[{name:"wrapper",func:void 0}];fe.prototype.clone=bv;fe.prototype.reverse=vv;fe.prototype.value=Av;_.prototype.at=_r.at;_.prototype.chain=_r.wrapperChain;_.prototype.commit=_r.commit;_.prototype.next=_r.next;_.prototype.plant=_r.plant;_.prototype.reverse=_r.reverse;_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=_r.value;_.prototype.first=_.prototype.head;_v&&(_.prototype[_v]=_r.toIterator);var Bv=_;var oN=k8(L8(),1);var IUe="1.0.72";var export_Cryptojs=oN.default;export{Kq as $Headers,Yq as $Request,Jq as $Response,Pq as $URL,kq as $URLSearchParams,Bq as $arrayFrom,Fq as $arrayIsArray,_q as $assign,zj as $backgroundColor,Hj as $borderColor,nj as $capitalize,Rj as $checkValidEmailWithUnicode,ij as $clamp,Gq as $clearInterval,jq as $clearTimeout,Hq as $clone,_6 as $compressImage,i$ as $compressImageBase64,y6 as $compressImageDefaultOptions,o$ as $copy,Zq as $crypto,Iq as $date,Aj as $decodeBase64ToBinary,zh as $decodeBase64ToUnicode,oj as $deepClone,Eq as $defineProperty,Nq as $document,Hh as $encodeUnicodeToBase64,yq as $entries,B$ as $escapeHTML,i2 as $fallbackCopy,Xq as $fetch,yj as $fileToBase64,Sj as $formatDate,Tj as $formatPoints,Dj as $formatPointsWithChange,Wh as $formatWithCommas,Cq as $freeze,Nh as $genSSF,lj as $getFileType,$h as $getHue,mj as $getTimeString,Ih as $hasKey,Cj as $if,e6 as $inRange,Ej as $inRange2,f6 as $inferMimeTypeFormPureBase64,wq as $is,rj as $isObject,vj as $isPlainClass,n6 as $isValidEmailWithUnicode,pj as $isValidOrBriefURL,Dh as $jsonParse,Mh as $jsonStringify,Oh as $keys,wj as $lastIndex,sj as $lindex,Lh as $loadOpt,Uq as $location,Qq as $log,Ga as $lplus,dj as $magic,Mq as $math,Oq as $now,Dq as $numberIsFinite,Tq as $numberIsNaN,fj as $oc,Wq as $open,Fj as $parseParams,Lq as $promise,aj as $pureText,qh as $purifyBase64,cj as $randomByte,Bj as $replaceHolesWithUndefined,o6 as $rmvSlash,xj as $rsValue,hj as $rsetValue,Ph as $rvalue,ex as $s,Br as $sc,$q as $setInterval,_j as $setRange,qq as $setTimeout,Rq as $stringFromCharCode,Sq as $stringFromCodePoint,r6 as $stringToRange,t6 as $strings,jh as $toDataUrlFromBase64,uj as $validName,Aq as $values,zq as $window,nq as Axios,Th as AxiosError,cq as AxiosHeaders,lq as Cancel,fq as CancelToken,iq as CanceledError,Tg as ColorLib,export_Cryptojs as Cryptojs,IUe as DOZY,zr as Gens,xq as HttpStatusCode,go as RainbowGen,a2 as StringObfuscator,sq as VERSION,f2 as __GensDirectives,E6 as _res,uq as all,Vc as axios,F$ as boxShadow,l6 as customAlphabet,Wj as dozy,u$ as enableScaler,Pj as err403,Ij as errArg,Mj as errCode,Oj as errContent,$a as errMsg,Lj as errNotLoggedIn,V3 as errToString,hq as formToJSON,gq as getAdapter,Gre as getBrightness,u2 as getColorMap,vt as imageCompression,pq as isAxiosError,aq as isCancel,kj as isNowAroundUtcHour,x$ as isNull,$re as isValidColor,cf as l,gj as maybeString,bq as mergeConfig,ff as nanoid,qre as registerCustomColor,R$ as s,i6 as shanghaiDateFormatter,bj as smallChance,Co as smartParse,jre as smartString,mq as spread,l$ as standardIniter,xf as textShadow,dq as toFormData,Xre as toHexString,Yre as toHslString,Kre as toRgbString,Q7 as toRgbaArray,af as urlAlphabet,t$ as web$enableHttpsRedirect,e$ as web$enableProdProtector,n$ as web$encodeURI,Vj as web$pathStartData,r$ as web$redirectToDomain,v6 as web$setPathTarget,Uh as xtrim};
|
|
48
|
+
}`;var h=Di(function(){return Function(i,d+"return "+l).apply(void 0,a)});if(h.source=l,No(h))throw h;return h}var Vm=TH;var DH="Expected a function";function MH(e,t,r){var o=!0,n=!0;if(typeof e!="function")throw new TypeError(DH);return oe(r)&&(o="leading"in r?!!r.leading:o,n="trailing"in r?!!r.trailing:n),ra(e,t,{leading:o,maxWait:t,trailing:n})}var ed=MH;function OH(e,t){return t(e)}var Dr=OH;var IH=9007199254740991,H1=4294967295,LH=Math.min;function PH(e,t){if(e=Y(e),e<1||e>IH)return[];var r=H1,o=LH(e,H1);t=lt(t),e-=H1;for(var n=_i(o,t);++r<e;)t(r);return n}var td=PH;function kH(){return this}var k0=kH;function HH(e,t){var r=e;return r instanceof fe&&(r=r.value()),Li(t,function(o,n){return n.func.apply(n.thisArg,Pt([o],n.args))},r)}var rd=HH;function zH(){return rd(this.__wrapped__,this.__actions__)}var or=zH;function NH(e){return Z(e).toLowerCase()}var od=NH;function UH(e){return K(e)?ie(e,ut):Ne(e)?[e]:Ue(zs(Z(e)))}var nd=UH;var cv=9007199254740991;function WH(e){return e?tr(Y(e),-cv,cv):e===0?e:0}var id=WH;function qH(e){return Z(e).toUpperCase()}var ad=qH;function jH(e,t,r){var o=K(e),n=o||Rt(e)||Vt(e);if(t=G(t,4),r==null){var i=e&&e.constructor;n?r=o?new i:[]:oe(e)?r=ft(i)?cr(zo(e)):{}:r={}}return(n?ct:Bt)(e,function(a,f,u){return t(r,a,f,u)}),r}var fd=jH;function $H(e,t){for(var r=e.length;r--&&xr(t,e[r],0)>-1;);return r}var sd=$H;function GH(e,t){for(var r=-1,o=e.length;++r<o&&xr(t,e[r],0)>-1;);return r}var ud=GH;function XH(e,t,r){if(e=Z(e),e&&(r||t===void 0))return vs(e);if(!e||!(t=et(t)))return e;var o=xt(e),n=xt(t),i=ud(o,n),a=sd(o,n)+1;return kt(o,i,a).join("")}var ld=XH;function KH(e,t,r){if(e=Z(e),e&&(r||t===void 0))return e.slice(0,bs(e)+1);if(!e||!(t=et(t)))return e;var o=xt(e),n=sd(o,xt(t))+1;return kt(o,0,n).join("")}var pd=KH;var YH=/^\s+/;function JH(e,t,r){if(e=Z(e),e&&(r||t===void 0))return e.replace(YH,"");if(!e||!(t=et(t)))return e;var o=xt(e),n=ud(o,xt(t));return kt(o,n).join("")}var md=JH;var QH=30,ZH="...",VH=/\w*$/;function ez(e,t){var r=QH,o=ZH;if(oe(t)){var n="separator"in t?t.separator:n;r="length"in t?Y(t.length):r,o="omission"in t?et(t.omission):o}e=Z(e);var i=e.length;if(vr(e)){var a=xt(e);i=a.length}if(r>=i)return e;var f=r-Ar(o);if(f<1)return o;var u=a?kt(a,0,f).join(""):e.slice(0,f);if(n===void 0)return u+o;if(a&&(f+=u.length-f),nn(n)){if(e.slice(f).search(n)){var m,s=u;for(n.global||(n=RegExp(n.source,Z(VH.exec(n))+"g")),n.lastIndex=0;m=n.exec(s);)var l=m.index;u=u.slice(0,l===void 0?f:l)}}else if(e.indexOf(et(n),f)!=f){var p=u.lastIndexOf(n);p>-1&&(u=u.slice(0,p))}return u+o}var dd=ez;function tz(e){return Ai(e,1)}var cd=tz;var rz={"&":"&","<":"<",">":">",""":'"',"'":"'"},oz=Pi(rz),xv=oz;var hv=/&(?:amp|lt|gt|quot|#39);/g,nz=RegExp(hv.source);function iz(e){return e=Z(e),e&&nz.test(e)?e.replace(hv,xv):e}var xd=iz;var az=1/0,fz=qo&&1/$o(new qo([,-0]))[1]==az?function(e){return new qo(e)}:Fo,gv=fz;var sz=200;function uz(e,t,r){var o=-1,n=Do,i=e.length,a=!0,f=[],u=f;if(r)a=!1,n=aa;else if(i>=sz){var m=t?null:gv(e);if(m)return $o(m);a=!1,n=po,u=new jo}else u=t?[]:f;e:for(;++o<i;){var s=e[o],l=t?t(s):s;if(s=r||s!==0?s:0,a&&l===l){for(var p=u.length;p--;)if(u[p]===l)continue e;t&&u.push(l),f.push(s)}else n(u,l,r)||(u!==f&&u.push(l),f.push(s))}return f}var Gt=uz;var lz=J(function(e){return Gt(_e(e,1,pe,!0))}),hd=lz;var pz=J(function(e){var t=ze(e);return pe(t)&&(t=void 0),Gt(_e(e,1,pe,!0),G(t,2))}),gd=pz;var mz=J(function(e){var t=ze(e);return t=typeof t=="function"?t:void 0,Gt(_e(e,1,pe,!0),void 0,t)}),bd=mz;function dz(e){return e&&e.length?Gt(e):[]}var vd=dz;function cz(e,t){return e&&e.length?Gt(e,G(t,2)):[]}var yd=cz;function xz(e,t){return t=typeof t=="function"?t:void 0,e&&e.length?Gt(e,void 0,t):[]}var Ad=xz;var hz=0;function gz(e){var t=++hz;return Z(e)+t}var _d=gz;function bz(e,t){return e==null?!0:_a(e,t)}var Ed=bz;var vz=Math.max;function yz(e){if(!(e&&e.length))return[];var t=0;return e=Ht(e,function(r){if(pe(r))return t=vz(r.length,t),!0}),_i(t,function(r){return ie(e,Vi(r))})}var un=yz;function Az(e,t){if(!(e&&e.length))return[];var r=un(e);return t==null?r:ie(r,function(o){return qe(t,void 0,o)})}var Ta=Az;function _z(e,t,r,o){return to(e,t,r(er(e,t)),o)}var Cd=_z;function Ez(e,t,r){return e==null?e:Cd(e,t,lt(r))}var wd=Ez;function Cz(e,t,r,o){return o=typeof o=="function"?o:void 0,e==null?e:Cd(e,t,lt(r),o)}var Bd=Cz;var wz=yr(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Fd=wz;function Bz(e){return e==null?[]:da(e,Re(e))}var Rd=Bz;var Fz=J(function(e,t){return pe(e)?Qr(e,t):[]}),Sd=Fz;function Rz(e,t){return wa(lt(t),e)}var Td=Rz;var Sz=Ct(function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,n=function(i){return Si(i,e)};return t>1||this.__actions__.length||!(o instanceof fe)||!yt(r)?this.thru(n):(o=o.slice(r,+r+(t?1:0)),o.__actions__.push({func:Dr,args:[n],thisArg:void 0}),new It(o,this.__chain__).thru(function(i){return t&&!i.length&&i.push(void 0),i}))}),Dd=Sz;function Tz(){return Ui(this)}var Md=Tz;function Dz(){var e=this.__wrapped__;if(e instanceof fe){var t=e;return this.__actions__.length&&(t=new fe(this)),t=t.reverse(),t.__actions__.push({func:Dr,args:[In],thisArg:void 0}),new It(t,this.__chain__)}return this.thru(In)}var Od=Dz;function Mz(e,t,r){var o=e.length;if(o<2)return o?Gt(e[0]):[];for(var n=-1,i=Array(o);++n<o;)for(var a=e[n],f=-1;++f<o;)f!=n&&(i[n]=Qr(i[n]||a,e[f],t,r));return Gt(_e(i,1),t,r)}var Da=Mz;var Oz=J(function(e){return Da(Ht(e,pe))}),Id=Oz;var Iz=J(function(e){var t=ze(e);return pe(t)&&(t=void 0),Da(Ht(e,pe),G(t,2))}),Ld=Iz;var Lz=J(function(e){var t=ze(e);return t=typeof t=="function"?t:void 0,Da(Ht(e,pe),void 0,t)}),Pd=Lz;var Pz=J(un),kd=Pz;function kz(e,t,r){for(var o=-1,n=e.length,i=t.length,a={};++o<n;){var f=o<i?t[o]:void 0;r(a,e[o],f)}return a}var Hd=kz;function Hz(e,t){return Hd(e||[],t||[],Xr)}var zd=Hz;function zz(e,t){return Hd(e||[],t||[],to)}var Nd=zz;var Nz=J(function(e){var t=e.length,r=t>1?e[t-1]:void 0;return r=typeof r=="function"?(e.pop(),r):void 0,Ta(e,r)}),Ud=Nz;var Q={chunk:Xs,compact:su,concat:uu,difference:Iu,differenceBy:Lu,differenceWith:Pu,drop:Hu,dropRight:zu,dropRightWhile:Nu,dropWhile:Uu,fill:Yu,findIndex:la,findLastIndex:pa,first:tn,flatten:Ti,flattenDeep:sl,flattenDepth:ul,fromPairs:vl,head:tn,indexOf:Rl,initial:Sl,intersection:Tl,intersectionBy:Dl,intersectionWith:Ml,join:np,last:ze,lastIndexOf:fp,nth:Rp,pull:Yp,pullAll:Fa,pullAllBy:Jp,pullAllWith:Qp,pullAt:Vp,remove:um,reverse:In,slice:_m,sortedIndex:Bm,sortedIndexBy:Fm,sortedIndexOf:Rm,sortedLastIndex:Sm,sortedLastIndexBy:Tm,sortedLastIndexOf:Dm,sortedUniq:Om,sortedUniqBy:Im,tail:$m,take:Gm,takeRight:Xm,takeRightWhile:Km,takeWhile:Ym,union:hd,unionBy:gd,unionWith:bd,uniq:vd,uniqBy:yd,uniqWith:Ad,unzip:un,unzipWith:Ta,without:Sd,xor:Id,xorBy:Ld,xorWith:Pd,zip:kd,zipObject:zd,zipObjectDeep:Nd,zipWith:Ud};var Se={countBy:Cu,each:Qo,eachRight:Zo,every:Ku,filter:Qu,find:Vu,findLast:rl,flatMap:il,flatMapDeep:al,flatMapDepth:fl,forEach:Qo,forEachRight:Zo,groupBy:_l,includes:Fl,invokeMap:Hl,keyBy:ap,map:Zr,orderBy:Pp,partition:Gp,reduce:am,reduceRight:fm,reject:sm,sample:hm,sampleSize:gm,shuffle:ym,size:Am,some:Cm,sortBy:wm};var z1={now:Yo};var Ye={after:ys,ary:Ai,before:Mi,bind:Oi,bindKey:Ws,curry:Bu,curryRight:Fu,debounce:ra,defer:Mu,delay:Ou,flip:ll,memoize:Ri,negate:Tr,once:Op,overArgs:Hp,partial:wa,partialRight:$p,rearg:nm,rest:mm,spread:Pm,throttle:ed,unary:cd,wrap:Td};var V={castArray:$s,clone:nu,cloneDeep:iu,cloneDeepWith:au,cloneWith:fu,conformsTo:Au,eq:Ke,gt:El,gte:Cl,isArguments:$t,isArray:K,isArrayBuffer:zl,isArrayLike:Fe,isArrayLikeObject:pe,isBoolean:Nl,isBuffer:Rt,isDate:Ul,isElement:Wl,isEmpty:ql,isEqual:jl,isEqualWith:$l,isError:No,isFinite:Gl,isFunction:ft,isInteger:ha,isLength:Kr,isMap:Xi,isMatch:Xl,isMatchWith:Kl,isNaN:Yl,isNative:Jl,isNil:Ql,isNull:Zl,isNumber:ga,isObject:oe,isObjectLike:ne,isPlainObject:br,isRegExp:nn,isSafeInteger:Vl,isSet:Ki,isString:Vr,isSymbol:Ne,isTypedArray:Vt,isUndefined:ep,isWeakMap:tp,isWeakSet:rp,lt:lp,lte:pp,toArray:Aa,toFinite:Ot,toInteger:Y,toLength:ua,toNumber:tt,toPlainObject:oa,toSafeInteger:id,toString:Z};var St={add:gs,ceil:Gs,divide:ku,floor:pl,max:hp,maxBy:gp,mean:vp,meanBy:yp,min:Cp,minBy:wp,multiply:Bp,round:cm,subtract:Wm,sum:qm,sumBy:jm};var H0={clamp:Ks,inRange:Bl,random:em};var te={assign:ks,assignIn:Oo,assignInWith:Sr,assignWith:Hs,at:Ns,create:wu,defaults:Su,defaultsDeep:Tu,entries:Vo,entriesIn:en,extend:Oo,extendWith:Sr,findKey:tl,findLastKey:ol,forIn:xl,forInRight:hl,forOwn:gl,forOwnRight:bl,functions:yl,functionsIn:Al,get:Ho,has:wl,hasIn:Xo,invert:Il,invertBy:Ll,invoke:kl,keys:ue,keysIn:Re,mapKeys:mp,mapValues:dp,merge:Ap,mergeWith:ia,omit:Tp,omitBy:Mp,pick:Xp,pickBy:Ea,result:dm,set:bm,setWith:vm,toPairs:Vo,toPairsIn:en,transform:fd,unset:Ed,update:wd,updateWith:Bd,values:rr,valuesIn:Rd};var _r={at:Dd,chain:Ui,commit:D0,lodash:_,next:I0,plant:P0,reverse:Od,tap:Jm,thru:Dr,toIterator:k0,toJSON:or,value:or,valueOf:or,wrapperChain:Md};var ye={camelCase:js,capitalize:Ii,deburr:ki,endsWith:ju,escape:sa,escapeRegExp:Gu,kebabCase:ip,lowerCase:sp,lowerFirst:up,pad:Up,padEnd:Wp,padStart:qp,parseInt:jp,repeat:lm,replace:pm,snakeCase:Em,split:Lm,startCase:km,startsWith:Hm,template:Vm,templateSettings:Ln,toLower:od,toUpper:ad,trim:ld,trimEnd:pd,trimStart:md,truncate:dd,unescape:xd,upperCase:Fd,upperFirst:Uo,words:zi};var Ee={attempt:Di,bindAll:Us,cond:bu,conforms:yu,constant:So,defaultTo:Ru,flow:dl,flowRight:cl,identity:Be,iteratee:op,matches:cp,matchesProperty:xp,method:_p,methodOf:Ep,mixin:ya,noop:Fo,nthArg:Sp,over:kp,overEvery:zp,overSome:Np,property:ea,propertyOf:Kp,range:rm,rangeRight:om,stubArray:Wo,stubFalse:Mo,stubObject:zm,stubString:Nm,stubTrue:Um,times:td,toPath:nd,uniqueId:_d};function Uz(){var e=new fe(this.__wrapped__);return e.__actions__=Ue(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ue(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ue(this.__views__),e}var bv=Uz;function Wz(){if(this.__filtered__){var e=new fe(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}var vv=Wz;var qz=Math.max,jz=Math.min;function $z(e,t,r){for(var o=-1,n=r.length;++o<n;){var i=r[o],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=jz(t,e+a);break;case"takeRight":e=qz(e,t-a);break}}return{start:e,end:t}}var yv=$z;var Gz=1,Xz=2,Kz=Math.min;function Yz(){var e=this.__wrapped__.value(),t=this.__dir__,r=K(e),o=t<0,n=r?e.length:0,i=yv(0,n,this.__views__),a=i.start,f=i.end,u=f-a,m=o?f:a-1,s=this.__iteratees__,l=s.length,p=0,d=Kz(u,this.__takeCount__);if(!r||!o&&n==u&&d==u)return rd(e,this.__actions__);var c=[];e:for(;u--&&p<d;){m+=t;for(var h=-1,g=e[m];++h<l;){var x=s[h],b=x.iteratee,B=x.type,E=b(g);if(B==Xz)g=E;else if(!E){if(B==Gz)continue e;break e}}c[p++]=g}return c}var Av=Yz;var Jz="4.17.22",Qz=2,Zz=1,Vz=3,Cv=4294967295,eN=Array.prototype,tN=Object.prototype,wv=tN.hasOwnProperty,_v=Xe?Xe.iterator:void 0,rN=Math.max,Ev=Math.min,N1=(function(e){return function(t,r,o){if(o==null){var n=oe(r),i=n&&ue(r),a=i&&i.length&&rn(r,i);(a?a.length:n)||(o=r,r=t,t=this)}return e(t,r,o)}})(ya);_.after=Ye.after;_.ary=Ye.ary;_.assign=te.assign;_.assignIn=te.assignIn;_.assignInWith=te.assignInWith;_.assignWith=te.assignWith;_.at=te.at;_.before=Ye.before;_.bind=Ye.bind;_.bindAll=Ee.bindAll;_.bindKey=Ye.bindKey;_.castArray=V.castArray;_.chain=_r.chain;_.chunk=Q.chunk;_.compact=Q.compact;_.concat=Q.concat;_.cond=Ee.cond;_.conforms=Ee.conforms;_.constant=Ee.constant;_.countBy=Se.countBy;_.create=te.create;_.curry=Ye.curry;_.curryRight=Ye.curryRight;_.debounce=Ye.debounce;_.defaults=te.defaults;_.defaultsDeep=te.defaultsDeep;_.defer=Ye.defer;_.delay=Ye.delay;_.difference=Q.difference;_.differenceBy=Q.differenceBy;_.differenceWith=Q.differenceWith;_.drop=Q.drop;_.dropRight=Q.dropRight;_.dropRightWhile=Q.dropRightWhile;_.dropWhile=Q.dropWhile;_.fill=Q.fill;_.filter=Se.filter;_.flatMap=Se.flatMap;_.flatMapDeep=Se.flatMapDeep;_.flatMapDepth=Se.flatMapDepth;_.flatten=Q.flatten;_.flattenDeep=Q.flattenDeep;_.flattenDepth=Q.flattenDepth;_.flip=Ye.flip;_.flow=Ee.flow;_.flowRight=Ee.flowRight;_.fromPairs=Q.fromPairs;_.functions=te.functions;_.functionsIn=te.functionsIn;_.groupBy=Se.groupBy;_.initial=Q.initial;_.intersection=Q.intersection;_.intersectionBy=Q.intersectionBy;_.intersectionWith=Q.intersectionWith;_.invert=te.invert;_.invertBy=te.invertBy;_.invokeMap=Se.invokeMap;_.iteratee=Ee.iteratee;_.keyBy=Se.keyBy;_.keys=ue;_.keysIn=te.keysIn;_.map=Se.map;_.mapKeys=te.mapKeys;_.mapValues=te.mapValues;_.matches=Ee.matches;_.matchesProperty=Ee.matchesProperty;_.memoize=Ye.memoize;_.merge=te.merge;_.mergeWith=te.mergeWith;_.method=Ee.method;_.methodOf=Ee.methodOf;_.mixin=N1;_.negate=Tr;_.nthArg=Ee.nthArg;_.omit=te.omit;_.omitBy=te.omitBy;_.once=Ye.once;_.orderBy=Se.orderBy;_.over=Ee.over;_.overArgs=Ye.overArgs;_.overEvery=Ee.overEvery;_.overSome=Ee.overSome;_.partial=Ye.partial;_.partialRight=Ye.partialRight;_.partition=Se.partition;_.pick=te.pick;_.pickBy=te.pickBy;_.property=Ee.property;_.propertyOf=Ee.propertyOf;_.pull=Q.pull;_.pullAll=Q.pullAll;_.pullAllBy=Q.pullAllBy;_.pullAllWith=Q.pullAllWith;_.pullAt=Q.pullAt;_.range=Ee.range;_.rangeRight=Ee.rangeRight;_.rearg=Ye.rearg;_.reject=Se.reject;_.remove=Q.remove;_.rest=Ye.rest;_.reverse=Q.reverse;_.sampleSize=Se.sampleSize;_.set=te.set;_.setWith=te.setWith;_.shuffle=Se.shuffle;_.slice=Q.slice;_.sortBy=Se.sortBy;_.sortedUniq=Q.sortedUniq;_.sortedUniqBy=Q.sortedUniqBy;_.split=ye.split;_.spread=Ye.spread;_.tail=Q.tail;_.take=Q.take;_.takeRight=Q.takeRight;_.takeRightWhile=Q.takeRightWhile;_.takeWhile=Q.takeWhile;_.tap=_r.tap;_.throttle=Ye.throttle;_.thru=Dr;_.toArray=V.toArray;_.toPairs=te.toPairs;_.toPairsIn=te.toPairsIn;_.toPath=Ee.toPath;_.toPlainObject=V.toPlainObject;_.transform=te.transform;_.unary=Ye.unary;_.union=Q.union;_.unionBy=Q.unionBy;_.unionWith=Q.unionWith;_.uniq=Q.uniq;_.uniqBy=Q.uniqBy;_.uniqWith=Q.uniqWith;_.unset=te.unset;_.unzip=Q.unzip;_.unzipWith=Q.unzipWith;_.update=te.update;_.updateWith=te.updateWith;_.values=te.values;_.valuesIn=te.valuesIn;_.without=Q.without;_.words=ye.words;_.wrap=Ye.wrap;_.xor=Q.xor;_.xorBy=Q.xorBy;_.xorWith=Q.xorWith;_.zip=Q.zip;_.zipObject=Q.zipObject;_.zipObjectDeep=Q.zipObjectDeep;_.zipWith=Q.zipWith;_.entries=te.toPairs;_.entriesIn=te.toPairsIn;_.extend=te.assignIn;_.extendWith=te.assignInWith;N1(_,_);_.add=St.add;_.attempt=Ee.attempt;_.camelCase=ye.camelCase;_.capitalize=ye.capitalize;_.ceil=St.ceil;_.clamp=H0.clamp;_.clone=V.clone;_.cloneDeep=V.cloneDeep;_.cloneDeepWith=V.cloneDeepWith;_.cloneWith=V.cloneWith;_.conformsTo=V.conformsTo;_.deburr=ye.deburr;_.defaultTo=Ee.defaultTo;_.divide=St.divide;_.endsWith=ye.endsWith;_.eq=V.eq;_.escape=ye.escape;_.escapeRegExp=ye.escapeRegExp;_.every=Se.every;_.find=Se.find;_.findIndex=Q.findIndex;_.findKey=te.findKey;_.findLast=Se.findLast;_.findLastIndex=Q.findLastIndex;_.findLastKey=te.findLastKey;_.floor=St.floor;_.forEach=Se.forEach;_.forEachRight=Se.forEachRight;_.forIn=te.forIn;_.forInRight=te.forInRight;_.forOwn=te.forOwn;_.forOwnRight=te.forOwnRight;_.get=te.get;_.gt=V.gt;_.gte=V.gte;_.has=te.has;_.hasIn=te.hasIn;_.head=Q.head;_.identity=Be;_.includes=Se.includes;_.indexOf=Q.indexOf;_.inRange=H0.inRange;_.invoke=te.invoke;_.isArguments=V.isArguments;_.isArray=K;_.isArrayBuffer=V.isArrayBuffer;_.isArrayLike=V.isArrayLike;_.isArrayLikeObject=V.isArrayLikeObject;_.isBoolean=V.isBoolean;_.isBuffer=V.isBuffer;_.isDate=V.isDate;_.isElement=V.isElement;_.isEmpty=V.isEmpty;_.isEqual=V.isEqual;_.isEqualWith=V.isEqualWith;_.isError=V.isError;_.isFinite=V.isFinite;_.isFunction=V.isFunction;_.isInteger=V.isInteger;_.isLength=V.isLength;_.isMap=V.isMap;_.isMatch=V.isMatch;_.isMatchWith=V.isMatchWith;_.isNaN=V.isNaN;_.isNative=V.isNative;_.isNil=V.isNil;_.isNull=V.isNull;_.isNumber=V.isNumber;_.isObject=oe;_.isObjectLike=V.isObjectLike;_.isPlainObject=V.isPlainObject;_.isRegExp=V.isRegExp;_.isSafeInteger=V.isSafeInteger;_.isSet=V.isSet;_.isString=V.isString;_.isSymbol=V.isSymbol;_.isTypedArray=V.isTypedArray;_.isUndefined=V.isUndefined;_.isWeakMap=V.isWeakMap;_.isWeakSet=V.isWeakSet;_.join=Q.join;_.kebabCase=ye.kebabCase;_.last=ze;_.lastIndexOf=Q.lastIndexOf;_.lowerCase=ye.lowerCase;_.lowerFirst=ye.lowerFirst;_.lt=V.lt;_.lte=V.lte;_.max=St.max;_.maxBy=St.maxBy;_.mean=St.mean;_.meanBy=St.meanBy;_.min=St.min;_.minBy=St.minBy;_.stubArray=Ee.stubArray;_.stubFalse=Ee.stubFalse;_.stubObject=Ee.stubObject;_.stubString=Ee.stubString;_.stubTrue=Ee.stubTrue;_.multiply=St.multiply;_.nth=Q.nth;_.noop=Ee.noop;_.now=z1.now;_.pad=ye.pad;_.padEnd=ye.padEnd;_.padStart=ye.padStart;_.parseInt=ye.parseInt;_.random=H0.random;_.reduce=Se.reduce;_.reduceRight=Se.reduceRight;_.repeat=ye.repeat;_.replace=ye.replace;_.result=te.result;_.round=St.round;_.sample=Se.sample;_.size=Se.size;_.snakeCase=ye.snakeCase;_.some=Se.some;_.sortedIndex=Q.sortedIndex;_.sortedIndexBy=Q.sortedIndexBy;_.sortedIndexOf=Q.sortedIndexOf;_.sortedLastIndex=Q.sortedLastIndex;_.sortedLastIndexBy=Q.sortedLastIndexBy;_.sortedLastIndexOf=Q.sortedLastIndexOf;_.startCase=ye.startCase;_.startsWith=ye.startsWith;_.subtract=St.subtract;_.sum=St.sum;_.sumBy=St.sumBy;_.template=ye.template;_.times=Ee.times;_.toFinite=V.toFinite;_.toInteger=Y;_.toLength=V.toLength;_.toLower=ye.toLower;_.toNumber=V.toNumber;_.toSafeInteger=V.toSafeInteger;_.toString=V.toString;_.toUpper=ye.toUpper;_.trim=ye.trim;_.trimEnd=ye.trimEnd;_.trimStart=ye.trimStart;_.truncate=ye.truncate;_.unescape=ye.unescape;_.uniqueId=Ee.uniqueId;_.upperCase=ye.upperCase;_.upperFirst=ye.upperFirst;_.each=Se.forEach;_.eachRight=Se.forEachRight;_.first=Q.head;N1(_,(function(){var e={};return Bt(_,function(t,r){wv.call(_.prototype,r)||(e[r]=t)}),e})(),{chain:!1});_.VERSION=Jz;(_.templateSettings=ye.templateSettings).imports._=_;ct(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){_[e].placeholder=_});ct(["drop","take"],function(e,t){fe.prototype[e]=function(r){r=r===void 0?1:rN(Y(r),0);var o=this.__filtered__&&!t?new fe(this):this.clone();return o.__filtered__?o.__takeCount__=Ev(r,o.__takeCount__):o.__views__.push({size:Ev(r,Cv),type:e+(o.__dir__<0?"Right":"")}),o},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}});ct(["filter","map","takeWhile"],function(e,t){var r=t+1,o=r==Zz||r==Vz;fe.prototype[e]=function(n){var i=this.clone();return i.__iteratees__.push({iteratee:G(n,3),type:r}),i.__filtered__=i.__filtered__||o,i}});ct(["head","last"],function(e,t){var r="take"+(t?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}});ct(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}});fe.prototype.compact=function(){return this.filter(Be)};fe.prototype.find=function(e){return this.filter(e).head()};fe.prototype.findLast=function(e){return this.reverse().find(e)};fe.prototype.invokeMap=J(function(e,t){return typeof e=="function"?new fe(this):this.map(function(r){return eo(r,e,t)})});fe.prototype.reject=function(e){return this.filter(Tr(G(e)))};fe.prototype.slice=function(e,t){e=Y(e);var r=this;return r.__filtered__&&(e>0||t<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==void 0&&(t=Y(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)};fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};fe.prototype.toArray=function(){return this.take(Cv)};Bt(fe.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),n=_[o?"take"+(t=="last"?"Right":""):t],i=o||/^find/.test(t);n&&(_.prototype[t]=function(){var a=this.__wrapped__,f=o?[1]:arguments,u=a instanceof fe,m=f[0],s=u||K(a),l=function(x){var b=n.apply(_,Pt([x],f));return o&&p?b[0]:b};s&&r&&typeof m=="function"&&m.length!=1&&(u=s=!1);var p=this.__chain__,d=!!this.__actions__.length,c=i&&!p,h=u&&!d;if(!i&&s){a=h?a:new fe(this);var g=e.apply(a,f);return g.__actions__.push({func:Dr,args:[l],thisArg:void 0}),new It(g,p)}return c&&h?e.apply(this,f):(g=this.thru(l),c?o?g.value()[0]:g.value():g)})});ct(["pop","push","shift","sort","splice","unshift"],function(e){var t=eN[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);_.prototype[e]=function(){var n=arguments;if(o&&!this.__chain__){var i=this.value();return t.apply(K(i)?i:[],n)}return this[r](function(a){return t.apply(K(a)?a:[],n)})}});Bt(fe.prototype,function(e,t){var r=_[t];if(r){var o=r.name+"";wv.call(Ro,o)||(Ro[o]=[]),Ro[o].push({name:t,func:r})}});Ro[yi(void 0,Qz).name]=[{name:"wrapper",func:void 0}];fe.prototype.clone=bv;fe.prototype.reverse=vv;fe.prototype.value=Av;_.prototype.at=_r.at;_.prototype.chain=_r.wrapperChain;_.prototype.commit=_r.commit;_.prototype.next=_r.next;_.prototype.plant=_r.plant;_.prototype.reverse=_r.reverse;_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=_r.value;_.prototype.first=_.prototype.head;_v&&(_.prototype[_v]=_r.toIterator);var Bv=_;var oN=k8(L8(),1);var IUe="1.0.73";var export_Cryptojs=oN.default;export{Kq as $Headers,Yq as $Request,Jq as $Response,Pq as $URL,kq as $URLSearchParams,Bq as $arrayFrom,Fq as $arrayIsArray,_q as $assign,zj as $backgroundColor,Hj as $borderColor,nj as $capitalize,Rj as $checkValidEmailWithUnicode,ij as $clamp,Gq as $clearInterval,jq as $clearTimeout,Hq as $clone,_6 as $compressImage,i$ as $compressImageBase64,y6 as $compressImageDefaultOptions,o$ as $copy,Zq as $crypto,Iq as $date,Aj as $decodeBase64ToBinary,zh as $decodeBase64ToUnicode,oj as $deepClone,Eq as $defineProperty,Nq as $document,Hh as $encodeUnicodeToBase64,yq as $entries,B$ as $escapeHTML,i2 as $fallbackCopy,Xq as $fetch,yj as $fileToBase64,Sj as $formatDate,Tj as $formatPoints,Dj as $formatPointsWithChange,Wh as $formatWithCommas,Cq as $freeze,Nh as $genSSF,lj as $getFileType,$h as $getHue,mj as $getTimeString,Ih as $hasKey,Cj as $if,e6 as $inRange,Ej as $inRange2,f6 as $inferMimeTypeFormPureBase64,wq as $is,rj as $isObject,vj as $isPlainClass,n6 as $isValidEmailWithUnicode,pj as $isValidOrBriefURL,Dh as $jsonParse,Mh as $jsonStringify,Oh as $keys,wj as $lastIndex,sj as $lindex,Lh as $loadOpt,Uq as $location,Qq as $log,Ga as $lplus,dj as $magic,Mq as $math,Oq as $now,Dq as $numberIsFinite,Tq as $numberIsNaN,fj as $oc,Wq as $open,Fj as $parseParams,Lq as $promise,aj as $pureText,qh as $purifyBase64,cj as $randomByte,Bj as $replaceHolesWithUndefined,o6 as $rmvSlash,xj as $rsValue,hj as $rsetValue,Ph as $rvalue,ex as $s,Br as $sc,$q as $setInterval,_j as $setRange,qq as $setTimeout,Rq as $stringFromCharCode,Sq as $stringFromCodePoint,r6 as $stringToRange,t6 as $strings,jh as $toDataUrlFromBase64,uj as $validName,Aq as $values,zq as $window,nq as Axios,Th as AxiosError,cq as AxiosHeaders,lq as Cancel,fq as CancelToken,iq as CanceledError,Tg as ColorLib,export_Cryptojs as Cryptojs,IUe as DOZY,zr as Gens,xq as HttpStatusCode,go as RainbowGen,a2 as StringObfuscator,sq as VERSION,f2 as __GensDirectives,E6 as _res,uq as all,Vc as axios,F$ as boxShadow,l6 as customAlphabet,Wj as dozy,u$ as enableScaler,Pj as err403,Ij as errArg,Mj as errCode,Oj as errContent,$a as errMsg,Lj as errNotLoggedIn,V3 as errToString,hq as formToJSON,gq as getAdapter,Gre as getBrightness,u2 as getColorMap,vt as imageCompression,pq as isAxiosError,aq as isCancel,kj as isNowAroundUtcHour,x$ as isNull,$re as isValidColor,cf as l,gj as maybeString,bq as mergeConfig,ff as nanoid,qre as registerCustomColor,R$ as s,i6 as shanghaiDateFormatter,bj as smallChance,Co as smartParse,jre as smartString,mq as spread,l$ as standardIniter,xf as textShadow,dq as toFormData,Xre as toHexString,Yre as toHslString,Kre as toRgbString,Q7 as toRgbaArray,af as urlAlphabet,t$ as web$enableHttpsRedirect,e$ as web$enableProdProtector,n$ as web$encodeURI,Vj as web$pathStartData,r$ as web$redirectToDomain,v6 as web$setPathTarget,Uh as xtrim};
|
|
49
49
|
/*! Bundled license information:
|
|
50
50
|
|
|
51
51
|
crypto-js/ripemd160.js:
|