1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6773],{4319:(t,e,r)=>{r.d(e,{Zr:()=>s,eh:()=>i});let i=t=>(e,r,i)=>{let n=i.subscribe;return i.subscribe=(t,e,r)=>{let s=t;if(e){let n=(null==r?void 0:r.equalityFn)||Object.is,a=t(i.getState());s=r=>{let i=t(r);if(!n(a,i)){let t=a;e(a=i,t)}},(null==r?void 0:r.fireImmediately)&&e(a,a)}return n(s)},t(e,r,i)},n=t=>e=>{try{let r=t(e);if(r instanceof Promise)return r;return{then:t=>n(t)(r),catch(t){return this}}}catch(t){return{then(t){return this},catch:e=>n(e)(t)}}},s=(t,e)=>(r,i,s)=>{let a,h={storage:function(t,e){let r;try{r=t()}catch(t){return}return{getItem:t=>{var e;let i=t=>null===t?null:JSON.parse(t,void 0),n=null!=(e=r.getItem(t))?e:null;return n instanceof Promise?n.then(i):i(n)},setItem:(t,e)=>r.setItem(t,JSON.stringify(e,void 0)),removeItem:t=>r.removeItem(t)}}(()=>localStorage),partialize:t=>t,version:0,merge:(t,e)=>({...e,...t}),...e},o=!1,l=0,f=new Set,u=new Set,d=h.storage;if(!d)return t((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${h.name}', the given storage is currently unavailable.`),r(...t)},i,s);let c=()=>{let t=h.partialize({...i()});return d.setItem(h.name,{state:t,version:h.version})},_=s.setState;s.setState=(t,e)=>(_(t,e),c());let p=t((...t)=>(r(...t),c()),i,s);s.getInitialState=()=>p;let y=()=>{var t,e;if(!d)return;let s=++l;o=!1,f.forEach(t=>{var e;return t(null!=(e=i())?e:p)});let _=(null==(e=h.onRehydrateStorage)?void 0:e.call(h,null!=(t=i())?t:p))||void 0;return n(d.getItem.bind(d))(h.name).then(t=>{if(t)if("number"!=typeof t.version||t.version===h.version)return[!1,t.state];else{if(h.migrate){let e=h.migrate(t.state,t.version);return e instanceof Promise?e.then(t=>[!0,t]):[!0,e]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(t=>{var e;if(s!==l)return;let[n,o]=t;if(r(a=h.merge(o,null!=(e=i())?e:p),!0),n)return c()}).then(()=>{s===l&&(null==_||_(a,void 0),a=i(),o=!0,u.forEach(t=>t(a)))}).catch(t=>{s===l&&(null==_||_(void 0,t))})};return s.persist={setOptions:t=>{h={...h,...t},t.storage&&(d=t.storage)},clearStorage:()=>{null==d||d.removeItem(h.name)},getOptions:()=>h,rehydrate:()=>y(),hasHydrated:()=>o,onHydrate:t=>(f.add(t),()=>{f.delete(t)}),onFinishHydration:t=>(u.add(t),()=>{u.delete(t)})},h.skipHydration||y(),a||p}},16131:(t,e,r)=>{r.d(e,{D:()=>tl});var i,n=Symbol.for("immer-nothing"),s=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function h(t){throw Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var o=Object,l=o.getPrototypeOf,f="constructor",u="prototype",d="configurable",c="enumerable",_="writable",p="value",y=t=>!!t&&!!t[a];function g(t){return!!t&&(m(t)||k(t)||!!t[s]||!!t[f]?.[s]||O(t)||N(t))}var b=o[u][f].toString(),w=new WeakMap;function m(t){if(!t||!C(t))return!1;let e=l(t);if(null===e||e===o[u])return!0;let r=o.hasOwnProperty.call(e,f)&&e[f];if(r===Object)return!0;if(!I(r))return!1;let i=w.get(r);return void 0===i&&(i=Function.toString.call(r),w.set(r,i)),i===b}function v(t,e,r=!0){0===U(t)?(r?Reflect.ownKeys(t):o.keys(t)).forEach(r=>{e(r,t[r],t)}):t.forEach((r,i)=>e(i,r,t))}function U(t){let e=t[a];return e?e.type_:k(t)?1:O(t)?2:3*!!N(t)}var E=(t,e,r=U(t))=>2===r?t.has(e):o[u].hasOwnProperty.call(t,e),A=(t,e,r=U(t))=>2===r?t.get(e):t[e],S=(t,e,r,i=U(t))=>{2===i?t.set(e,r):3===i?t.add(r):t[e]=r},k=Array.isArray,O=t=>t instanceof Map,N=t=>t instanceof Set,C=t=>"object"==typeof t,I=t=>"function"==typeof t,P=t=>t.modified_?t.copy_:t.base_;function L(t,e){if(O(t))return new Map(t);if(N(t))return new Set(t);if(k(t))return Array[u].slice.call(t);let r=m(t);if(!0!==e&&("class_only"!==e||r)){let e=l(t);if(null!==e&&r)return{...t};let i=o.create(e);return o.assign(i,t)}{let e=o.getOwnPropertyDescriptors(t);delete e[a];let r=Reflect.ownKeys(e);for(let i=0;i<r.length;i++){let n=r[i],s=e[n];!1===s[_]&&(s[_]=!0,s[d]=!0),(s.get||s.set)&&(e[n]={[d]:!0,[_]:!0,[c]:s[c],[p]:t[n]})}return o.create(l(t),e)}}function M(t,e=!1){return D(t)||y(t)||!g(t)||(U(t)>1&&o.defineProperties(t,{set:T,add:T,clear:T,delete:T}),o.freeze(t),e&&v(t,(t,e)=>{M(e,!0)},!1)),t}var T={[p]:function(){h(2)}};function D(t){return!(null!==t&&C(t))||o.isFrozen(t)}var R="MapSet",B="Patches",x="ArrayMethods",F={};function W(t){let e=F[t];return e||h(0,t),e}var z=t=>!!F[t];function $(t,e){e&&(t.patchPlugin_=W(B),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function K(t){H(t),t.drafts_.forEach(G),t.drafts_=null}function H(t){t===i&&(i=t.parent_)}var j=t=>i={drafts_:[],parent_:i,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:z(R)?W(R):void 0,arrayMethodsPlugin_:z(x)?W(x):void 0};function G(t){let e=t[a];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function V(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(void 0!==t&&t!==r){r[a].modified_&&(K(e),h(4)),g(t)&&(t=Y(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[a].base_,t,e)}else t=Y(e,r);return function(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&M(e,r)}(e,t,!0),K(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==n?t:void 0}function Y(t,e){if(D(e))return e;let r=e[a];if(!r)return tt(e,t.handledSet_,t);if(!X(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:e}=r;if(e)for(;e.length>0;)e.pop()(t);Q(r,t)}return r.copy_}function q(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var X=(t,e)=>t.scope_===e,J=[];function Z(t,e,r,i){let n=t.copy_||t.base_,s=t.type_;if(void 0!==i&&A(n,i,s)===e)return void S(n,i,r,s);if(!t.draftLocations_){let e=t.draftLocations_=new Map;v(n,(t,r)=>{if(y(r)){let i=e.get(r)||[];i.push(t),e.set(r,i)}})}for(let i of t.draftLocations_.get(e)??J)S(n,i,r,s)}function Q(t,e){if(t.modified_&&!t.finalized_&&(3===t.type_||1===t.type_&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:r}=e;if(r){let i=r.getPath(t);i&&r.generatePatches_(t,i,e)}q(t)}}function tt(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||y(t)||e.has(t)||!g(t)||D(t)||(e.add(t),v(t,(i,n)=>{if(y(n)){let e=n[a];X(e,r)&&(S(t,i,P(e),t.type_),q(e))}else g(n)&&tt(n,e,r)})),t}var te={get(t,e){if(e===a)return t;let r=t.scope_.arrayMethodsPlugin_,i=1===t.type_&&"string"==typeof e;if(i&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let n=t.copy_||t.base_;if(!E(n,e,t.type_)){var s=t,h=n,o=e;let r=tn(h,o);return r?p in r?r[p]:r.get?.call(s.draft_):void 0}let l=n[e];if(t.finalized_||!g(l)||i&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&function(t){let e=+t;return Number.isInteger(e)&&String(e)===t}(e))return l;if(l===ti(t.base_,e)){ta(t);let r=1===t.type_?+e:e,i=th(t.scope_,l,t,r);return t.copy_[r]=i}return l},has:(t,e)=>e in(t=>t.copy_||t.base_)(t),ownKeys:t=>Reflect.ownKeys((t=>t.copy_||t.base_)(t)),set(t,e,r){let i=tn(t.copy_||t.base_,e);if(i?.set)return i.set.call(t.draft_,r),!0;if(!t.modified_){let i=ti(t.copy_||t.base_,e),n=i?.[a];if(n&&n.base_===r)return t.copy_[e]=r,t.assigned_.set(e,!1),!0;if((r===i?0!==r||1/r==1/i:r!=r&&i!=i)&&(void 0!==r||E(t.base_,e,t.type_)))return!0;ta(t),ts(t)}if(t.copy_[e]===r&&(void 0!==r||e in t.copy_)||Number.isNaN(r)&&Number.isNaN(t.copy_[e]))return!0;t.copy_[e]=r,t.assigned_.set(e,!0);let{scope_:n}=t;if(y(r)){let i=r[a];X(i,n)&&i.callbacks_.push(function(){ta(t),Z(t,r,P(i),e)})}else g(r)&&t.callbacks_.push(function(){let i=t.copy_||t.base_;3===t.type_?i.has(r)&&tt(r,n.handledSet_,n):A(i,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&tt(A(t.copy_,e,t.type_),n.handledSet_,n)});return!0},deleteProperty:(t,e)=>(ta(t),void 0!==ti(t.base_,e)||e in t.base_?(t.assigned_.set(e,!1),ts(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0),getOwnPropertyDescriptor(t,e){let r=t.copy_||t.base_,i=Reflect.getOwnPropertyDescriptor(r,e);
1return i?{[_]:!0,[d]:1!==t.type_||"length"!==e,[c]:i[c],[p]:r[e]}:i},defineProperty(){h(11)},getPrototypeOf:t=>l(t.base_),setPrototypeOf(){h(12)}},tr={};for(let t in te){let e=te[t];tr[t]=function(){let t=arguments;return t[0]=t[0][0],e.apply(this,t)}}function ti(t,e){let r=t[a];return(r?r.copy_||r.base_:t)[e]}function tn(t,e){if(!(e in t))return;let r=l(t);for(;r;){let t=Object.getOwnPropertyDescriptor(r,e);if(t)return t;r=l(r)}}function ts(t){!t.modified_&&(t.modified_=!0,t.parent_&&ts(t.parent_))}function ta(t){t.copy_||(t.assigned_=new Map,t.copy_=L(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function th(t,e,r,n){let[s,a]=O(e)?W(R).proxyMap_(e,r):N(e)?W(R).proxySet_(e,r):function(t,e){let r=k(t),n={type_:+!!r,scope_:e?e.scope_:i,modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},s=n,a=te;r&&(s=[n],a=tr);let{revoke:h,proxy:o}=Proxy.revocable(s,a);return n.draft_=o,n.revoke_=h,[o,n]}(e,r);if((r?.scope_??i).drafts_.push(s),a.callbacks_=r?.callbacks_??[],a.key_=n,r&&void 0!==n)r.callbacks_.push(function(t){if(!a||!X(a,t))return;t.mapSetPlugin_?.fixSetContents(a);let e=P(a);Z(r,a.draft_??a,e,n),Q(a,t)});else a.callbacks_.push(function(t){t.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:e}=t;a.modified_&&e&&e.generatePatches_(a,[],t)});return s}tr.deleteProperty=function(t,e){return tr.set.call(this,t,e,void 0)},tr.set=function(t,e,r){return te.set.call(this,t[0],e,r,t[0])};var to=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,e,r)=>{let i;if(I(t)&&!I(e)){let r=e;e=t;let i=this;return function(t=r,...n){return i.produce(t,t=>e.call(this,t,...n))}}if(I(e)||h(6),void 0===r||I(r)||h(7),g(t)){let n=j(this),s=th(n,t,void 0),a=!0;try{i=e(s),a=!1}finally{a?K(n):H(n)}return $(n,r),V(i,n)}if(t&&C(t))h(1,t);else{if(void 0===(i=e(t))&&(i=t),i===n&&(i=void 0),this.autoFreeze_&&M(i,!0),r){let e=[],n=[];W(B).generateReplacementPatches_(t,i,{patches_:e,inversePatches_:n}),r(e,n)}return i}},this.produceWithPatches=(t,e)=>{let r,i;return I(t)?(e,...r)=>this.produceWithPatches(e,e=>t(e,...r)):[this.produce(t,e,(t,e)=>{r=t,i=e}),r,i]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),"boolean"==typeof t?.useStrictIteration&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){var e;g(t)||h(8),y(t)&&(y(e=t)||h(10,e),t=function t(e){let r;if(!g(e)||D(e))return e;let i=e[a],n=!0;if(i){if(!i.modified_)return i.base_;i.finalized_=!0,r=L(e,i.scope_.immer_.useStrictShallowCopy_),n=i.scope_.immer_.shouldUseStrictIteration()}else r=L(e,!0);return v(r,(e,i)=>{S(r,e,t(i))},n),i&&(i.finalized_=!1),r}(e));let r=j(this),i=th(r,t,void 0);return i[a].isManual_=!0,H(r),i}finishDraft(t,e){let r=t&&t[a];r&&r.isManual_||h(9);let{scope_:i}=r;return $(i,e),V(void 0,i)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let i=e[r];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}r>-1&&(e=e.slice(r+1));let i=W(B).applyPatches_;return y(t)?i(t,e):this.produce(t,t=>i(t,e))}}().produce;let tl=t=>(e,r,i)=>(i.setState=(t,r,...i)=>e("function"==typeof t?to(t):t,r,...i),t(i.setState,r,i))},21071:(t,e,r)=>{r.d(e,{$:()=>F});var i=Uint8Array,n=Uint16Array,s=Int32Array,a=new i([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]),h=new i([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]),o=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(t,e){for(var r=new n(31),i=0;i<31;++i)r[i]=e+=1<<t[i-1];for(var a=new s(r[30]),i=1;i<30;++i)for(var h=r[i];h<r[i+1];++h)a[h]=h-r[i]<<5|i;return{b:r,r:a}},f=l(a,2),u=f.b,d=f.r;u[28]=258,d[258]=28;for(var c=l(h,0),_=(c.b,c.r),p=new n(32768),y=0;y<32768;++y){var g=(43690&y)>>1|(21845&y)<<1;g=(61680&(g=(52428&g)>>2|(13107&g)<<2))>>4|(3855&g)<<4,p[y]=((65280&g)>>8|(255&g)<<8)>>1}for(var b=function(t,e,r){for(var i,s=t.length,a=0,h=new n(e);a<s;++a)t[a]&&++h[t[a]-1];var o=new n(e);for(a=1;a<e;++a)o[a]=o[a-1]+h[a-1]<<1;if(r){i=new n(1<<e);var l=15-e;for(a=0;a<s;++a)if(t[a])for(var f=a<<4|t[a],u=e-t[a],d=o[t[a]-1]++<<u,c=d|(1<<u)-1;d<=c;++d)i[p[d]>>l]=f}else for(a=0,i=new n(s);a<s;++a)t[a]&&(i[a]=p[o[t[a]-1]++]>>15-t[a]);return i},w=new i(288),y=0;y<144;++y)w[y]=8;for(var y=144;y<256;++y)w[y]=9;for(var y=256;y<280;++y)w[y]=7;for(var y=280;y<288;++y)w[y]=8;for(var m=new i(32),y=0;y<32;++y)m[y]=5;var v=b(w,9,0),U=b(m,5,0),E=function(t){return(t+7)/8|0},A=function(t,e,r){r<<=7&e;var i=e/8|0;t[i]|=r,t[i+1]|=r>>8},S=function(t,e,r){r<<=7&e;var i=e/8|0;t[i]|=r,t[i+1]|=r>>8,t[i+2]|=r>>16},k=function(t,e){for(var r=[],s=0;s<t.length;++s)t[s]&&r.push({s:s,f:t[s]});var a=r.length,h=r.slice();if(!a)return{t:M,l:0};if(1==a){var o=new i(r[0].s+1);return o[r[0].s]=1,{t:o,l:1}}r.sort(function(t,e){return t.f-e.f}),r.push({s:-1,f:25001});var l=r[0],f=r[1],u=0,d=1,c=2;for(r[0]={s:-1,f:l.f+f.f,l:l,r:f};d!=a-1;)l=r[r[u].f<r[c].f?u++:c++],f=r[u!=d&&r[u].f<r[c].f?u++:c++],r[d++]={s:-1,f:l.f+f.f,l:l,r:f};for(var _=h[0].s,s=1;s<a;++s)h[s].s>_&&(_=h[s].s);var p=new n(_+1),y=O(r[d-1],p,0);if(y>e){var s=0,g=0,b=y-e,w=1<<b;for(h.sort(function(t,e){return p[e.s]-p[t.s]||t.f-e.f});s<a;++s){var m=h[s].s;if(p[m]>e)g+=w-(1<<y-p[m]),p[m]=e;else break}for(g>>=b;g>0;){var v=h[s].s;p[v]<e?g-=1<<e-p[v]++-1:++s}for(;s>=0&&g;--s){var U=h[s].s;p[U]==e&&(--p[U],++g)}y=e}return{t:new i(p),l:y}},O=function(t,e,r){return -1==t.s?Math.max(O(t.l,e,r+1),O(t.r,e,r+1)):e[t.s]=r},N=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new n(++e),i=0,s=t[0],a=1,h=function(t){r[i++]=t},o=1;o<=e;++o)if(t[o]==s&&o!=e)++a;else{if(!s&&a>2){for(;a>138;a-=138)h(32754);a>
12&&(h(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(h(s),--a;a>6;a-=6)h(8304);a>2&&(h(a-3<<5|8208),a=0)}for(;a--;)h(s);a=1,s=t[o]}return{c:r.subarray(0,i),n:e}},C=function(t,e){for(var r=0,i=0;i<e.length;++i)r+=t[i]*e[i];return r},I=function(t,e,r){var i=r.length,n=E(e+2);t[n]=255&i,t[n+1]=i>>8,t[n+2]=255^t[n],t[n+3]=255^t[n+1];for(var s=0;s<i;++s)t[n+s+4]=r[s];return(n+4+i)*8},P=function(t,e,r,i,s,l,f,u,d,c,_){A(e,_++,r),++s[256];for(var p,y,g,E,O=k(s,15),P=O.t,L=O.l,M=k(l,15),T=M.t,D=M.l,R=N(P),B=R.c,x=R.n,F=N(T),W=F.c,z=F.n,$=new n(19),K=0;K<B.length;++K)++$[31&B[K]];for(var K=0;K<W.length;++K)++$[31&W[K]];for(var H=k($,7),j=H.t,G=H.l,V=19;V>4&&!j[o[V-1]];--V);var Y=c+5<<3,q=C(s,w)+C(l,m)+f,X=C(s,P)+C(l,T)+f+14+3*V+C($,j)+2*$[16]+3*$[17]+7*$[18];if(d>=0&&Y<=q&&Y<=X)return I(e,_,t.subarray(d,d+c));if(A(e,_,1+(X<q)),_+=2,X<q){p=b(P,L,0),y=P,g=b(T,D,0),E=T;var J=b(j,G,0);A(e,_,x-257),A(e,_+5,z-1),A(e,_+10,V-4),_+=14;for(var K=0;K<V;++K)A(e,_+3*K,j[o[K]]);_+=3*V;for(var Z=[B,W],Q=0;Q<2;++Q)for(var tt=Z[Q],K=0;K<tt.length;++K){var te=31&tt[K];A(e,_,J[te]),_+=j[te],te>15&&(A(e,_,tt[K]>>5&127),_+=tt[K]>>12)}}else p=v,y=w,g=U,E=m;for(var K=0;K<u;++K){var tr=i[K];if(tr>255){var te=tr>>18&31;S(e,_,p[te+257]),_+=y[te+257],te>7&&(A(e,_,tr>>23&31),_+=a[te]);var ti=31&tr;S(e,_,g[ti]),_+=E[ti],ti>3&&(S(e,_,tr>>5&8191),_+=h[ti])}else S(e,_,p[tr]),_+=y[tr]}return S(e,_,p[256]),_+y[256]},L=new s([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),M=new i(0),T=function(t,e,r,o,l,f){var u,c,p=f.z||t.length,y=new i(o+p+5*(1+Math.ceil(p/7e3))+l),g=y.subarray(o,y.length-l),b=f.l,w=7&(f.r||0);if(e){w&&(g[0]=f.r>>3);for(var m=L[e-1],v=m>>13,U=8191&m,A=(1<<r)-1,S=f.p||new n(32768),k=f.h||new n(A+1),O=Math.ceil(r/3),N=2*O,C=function(e){return(t[e]^t[e+1]<<O^t[e+2]<<N)&A},M=new s(25e3),T=new n(288),D=new n(32),R=0,B=0,x=f.i||0,F=0,W=f.w||0,z=0;x+2<p;++x){var $=C(x),K=32767&x,H=k[$];if(S[K]=H,k[$]=K,W<=x){var j=p-x;if((R>7e3||F>24576)&&(j>423||!b)){w=P(t,g,0,M,T,D,B,F,z,x-z,w),F=R=B=0,z=x;for(var G=0;G<286;++G)T[G]=0;for(var G=0;G<30;++G)D[G]=0}var V=2,Y=0,q=U,X=K-H&32767;if(j>2&&$==C(x-X))for(var J=Math.min(v,j)-1,Z=Math.min(32767,x),Q=Math.min(258,j);X<=Z&&--q&&K!=H;){if(t[x+V]==t[x+V-X]){for(var tt=0;tt<Q&&t[x+tt]==t[x+tt-X];++tt);if(tt>V){if(V=tt,Y=X,tt>J)break;for(var te=Math.min(X,tt-2),tr=0,G=0;G<te;++G){var ti=x-X+G&32767,tn=S[ti],ts=ti-tn&32767;ts>tr&&(tr=ts,H=ti)}}}H=S[K=H],X+=K-H&32767}if(Y){M[F++]=0x10000000|d[V]<<18|_[Y];var ta=31&d[V],th=31&_[Y];B+=a[ta]+h[th],++T[257+ta],++D[th],W=x+V,++R}else M[F++]=t[x],++T[t[x]]}}for(x=Math.max(x,W);x<p;++x)M[F++]=t[x],++T[t[x]];w=P(t,g,b,M,T,D,B,F,z,x-z,w),b||(f.r=7&w|g[w/8|0]<<3,w-=7,f.h=k,f.p=S,f.i=x,f.w=W)}else{for(var x=f.w||0;x<p+b;x+=65535){var to=x+65535;to>=p&&(g[w/8|0]=b,to=p),w=I(g,w+1,t.subarray(x,to))}f.i=p}return u=0,c=o+E(w)+l,(null==u||u<0)&&(u=0),(null==c||c>y.length)&&(c=y.length),new i(y.subarray(u,c))},D=function(){var t=1,e=0;return{p:function(r){for(var i=t,n=e,s=0|r.length,a=0;a!=s;){for(var h=Math.min(a+2655,s);a<h;++a)n+=i+=r[a];i=(65535&i)+15*(i>>16),n=(65535&n)+15*(n>>16)}t=i,e=n},d:function(){return t%=65521,e%=65521,(255&t)<<24|(65280&t)<<8|(255&e)<<8|e>>8}}},R=function(t,e,r,n,s){if(!s&&(s={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),h=new i(a.length+t.length);h.set(a),h.set(t,a.length),t=h,s.w=a.length}return T(t,null==e.level?6:e.level,null==e.mem?s.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):20:12+e.mem,r,n,s)},B=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},x=function(t,e){var r=e.level;if(t[0]=120,t[1]=(0==r?0:r<6?1:9==r?3:2)<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var i=D();i.p(e.dictionary),B(t,2,i.d())}};function F(t,e){e||(e={});var r=D();r.p(t);var i=R(t,e,e.dictionary?6:2,4);return x(i,e),B(i,i.length-4,r.d()),i}var W="undefined"!=typeof TextDecoder&&new TextDecoder;try{W.decode(M,{stream:!0})}catch(t){}"function"==typeof queueMicrotask&&queueMicrotask},54945:(t,e,r)=>{r.d(e,{A:()=>i});function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}},73022:(t,e,r)=>{r.d(e,{v:()=>a});var i=r(14232),n=r(94390);let s=t=>{let e=(0,n.y)(t),r=t=>(function(t,e=t=>t){let r=i.useSyncExternalStore(t.subscribe,i.useCallback(()=>e(t.getState()),[t,e]),i.useCallback(()=>e(t.getInitialState()),[t,e]));return i.useDebugValue(r),r})(e,t);return Object.assign(r,e),r},a=t=>t?s(t):s},87714:(t,e,r)=>{function i(t,e="utf8"){return new TextDecoder(e).decode(t)}r.d(e,{D4:()=>M});let n=new TextEncoder,s=(()=>{let t=new Uint8Array(4);return!((new Uint32Array(t.buffer)[0]=1)&t[0])})(),a={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class h{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(t=8192,e={}){let r=!1;"number"==typeof t?t=new ArrayBuffer(t):(r=!0,this.lastWrittenByte=t.byteLength);let i=e.offset?e.offset>>>0:0,n=t.byteLength-i,s=i;(ArrayBuffer.isView(t)||t instanceof h)&&(t.byteLength!==t.buffer.byteLength&&(s=t.byteOffset+i),t=t.buffer),r?this.lastWrittenByte=n:this.lastWrittenByte=0,this.buffer=t,this.length=n,this.byteLength=n,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,n),this._mark=0,this._marks=[]}available(t=1){return this.offset+t<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(t=1){return this.offset+=t,this}back(t=1){return this.offset-=t,this}seek(t){return this.offset=t,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let t=this._marks.pop();if(void 0===t)throw Error("Mark stack empty");return this.seek(t),this}rewind(){return this.offset=0,this}ensureAvailable(t=1){if(!this.available(t)){let e=2*(this.offset+t),r=new Uint8Array(e);r.set(new Uint8Array(this.buffer)),this.buffer=r.buffer,this.length=e,this.byteLength=e,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(t=1){return this.readArray(t,"uint8")}readArray(t,e){let r=a[e].BYTES_PER_ELEMENT*t,i=this.byteOffset+this.offset,n=this.buffer.slice(i,i+r);if(this.littleEndian===s&&"uint8"!==e&&"int8"!==e){let t=new Uint8Array(this.buffer.slice(i,i+r));t.reverse();let n=new a[e](t.buffer);return this.offset+=r,n.reverse(),n}let h=new a[e](n);return this.offset+=r,h}readInt16(){let t=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,t}readUint16(){let t=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,t}readInt32(){let t=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,t}readUint32(){let t=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat32(){let t=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat64(){let t=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,t}readBigInt64(){let t=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,t}readBigUint64(){let t=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,t}readChar(){return String.fromCharCode(this.readInt8())}readChars(t=1){let e="";for(let r=0;r<t;r++)e+=this.readChar();return e}readUtf8(t=1){return i(this.readBytes(t))}decodeText(t=1,e="utf8"){return i(this.readBytes(t),e)}writeBoolean(t){return this.writeUint8(255*!!t),this}writeInt8(t){return this.ensureAvailable(1),this._data.setInt8(this.offset++,t),this._updateLastWrittenByte(),this}writeUint8(t){return this.ensureAvailable(1),this._data.setUint8(this.offset++,t),this._updateLastWrittenByte(),this}writeByte(t){return this.writeUint8(t)}writeBytes(t){this.ensureAvailable(t.length);for(let e=0;e<t.length;e++)this._data.setUint8(this.offset++,t[e]);return this._updateLastWrittenByte(),this}writeInt16(t){return this.ensureAvailable(2),this._data.setInt16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(t){return this.ensureAvailable(2),this._data.setUint16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(t){return this.ensureAvailable(4),this._data.setInt32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(t){return this.ensureAvailable(4),this._data.setUint32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(t){return this.ensureAvailable(4),this._data.setFloat32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(t){return this.ensureAvailable(8),this._data.setFloat64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(t){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(t){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(t){return this.writeUint8(t.charCodeAt(0))}writeChars(t){for(let e=0;e<t.length;e++)this.writeUint8(t.charCodeAt(e));return this}writeUtf8(t){return this.writeBytes(n.encode(t))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}var o,l=r(278);let f=[];for(let t=0;t<256;t++){let e=t;for(let t=0;t<8;t++)1&e?e=0xedb88320^e>>>1:e>>>=1;f[t]=e}function u(t,e,r){let i=t.readUint32(),n=(0xffffffff^function(t,e,r){let i=0xffffffff;for(let t=0;t<r;t++)i=f[(i^e[t])&255]^i>>>8;return i}(0,new Uint8Array(t.buffer,t.byteOffset+t.offset-e-4,e),e))>>>0;if(n!==i)throw Error(`CRC mismatch for chunk ${r}
1. Expected ${i}, found ${n}`)}function d(t,e,r){for(let i=0;i<r;i++)e[i]=t[i]}function c(t,e,r,i){let n=0;for(;n<i;n++)e[n]=t[n];for(;n<r;n++)e[n]=t[n]+e[n-i]&255}function _(t,e,r,i){let n=0;if(0===r.length)for(;n<i;n++)e[n]=t[n];else for(;n<i;n++)e[n]=t[n]+r[n]&255}function p(t,e,r,i,n){let s=0;if(0===r.length){for(;s<n;s++)e[s]=t[s];for(;s<i;s++)e[s]=t[s]+(e[s-n]>>1)&255}else{for(;s<n;s++)e[s]=t[s]+(r[s]>>1)&255;for(;s<i;s++)e[s]=t[s]+(e[s-n]+r[s]>>1)&255}}function y(t,e,r,i,n){let s=0;if(0===r.length){for(;s<n;s++)e[s]=t[s];for(;s<i;s++)e[s]=t[s]+e[s-n]&255}else{for(;s<n;s++)e[s]=t[s]+r[s]&255;for(;s<i;s++)e[s]=t[s]+function(t,e,r){let i=t+e-r,n=Math.abs(i-t),s=Math.abs(i-e),a=Math.abs(i-r);return n<=s&&n<=a?t:s<=a?e:r}(e[s-n],r[s],r[s-n])&255}}let g=255===new Uint8Array(new Uint16Array([255]).buffer)[0],b=255===new Uint8Array(new Uint16Array([255]).buffer)[0],w=new Uint8Array(0);function m(t){let e,r,{data:i,width:n,height:s,channels:a,depth:h}=t,o=Math.ceil(h/8)*a,l=Math.ceil(h/8*a*n),f=new Uint8Array(s*l),u=w,g=0;for(let t=0;t<s;t++){switch(e=i.subarray(g+1,g+1+l),r=f.subarray(t*l,(t+1)*l),i[g]){case 0:d(e,r,l);break;case 1:c(e,r,l,o);break;case 2:_(e,r,u,l);break;case 3:p(e,r,u,l,o);break;case 4:y(e,r,u,l,o);break;default:throw Error(`Unsupported filter: ${i[g]}`)}u=r,g+=l+1}if(16!==h)return f;{let t=new Uint16Array(f.buffer);if(b)for(let e=0;e<t.length;e++){var m;t[e]=(255&(m=t[e]))<<8|m>>8&255}return t}}let v=Uint8Array.of(137,80,78,71,13,10,26,10);function U(t){if(!function(t){if(t.length<v.length)return!1;for(let e=0;e<v.length;e++)if(t[e]!==v[e])return!1;return!0}(t.readBytes(v.length)))throw Error("wrong PNG signature")}let E=new TextDecoder("latin1"),A=/^[\u0000-\u00FF]*$/;function S(t){for(t.mark();0!==t.readByte(););let e=t.offset;t.reset();let r=E.decode(t.readBytes(e-t.offset-1));t.skip(1);if(function(t){if(!A.test(t))throw Error("invalid latin1 text")}(r),0===r.length||r.length>79)throw Error("keyword length must be between 1 and 79");return r}let k={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},O={UNKNOWN:-1,DEFLATE:0},N={UNKNOWN:-1,ADAPTIVE:0},C={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},I={NONE:0,BACKGROUND:1,PREVIOUS:2},P={SOURCE:0,OVER:1};class L extends h{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(t,e={}){super(t);let{checkCrc:r=!1}=e;this._checkCrc=r,this._inflator=new l.EL,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=O.UNKNOWN,this._filterMethod=N.UNKNOWN,this._interlaceMethod=C.UNKNOWN,this._colorType=k.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(U(this);!this._end;){let t=this.readUint32(),e=this.readChars(4);this.decodeChunk(t,e)}return this.decodeImage(),this._png}decodeApng(){for(U(this);!this._end;){let t=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(t,e)}return this.decodeApngImage(),this._apng}decodeChunk(t,e){let r=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case"tEXt":!function(t,e,r){var i,n;let s=S(e);t[s]=(i=e,n=r-s.length-1,E.decode(i.readBytes(n)))}(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t)}if(this.offset-r!==t)throw Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?u(this,t+4,e):this.skip(4)}decodeApngChunk(t,e){let r=this.offset;switch("fdAT"!==e&&"IDAT"!==e&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,e),this.offset=r+t}if(this.offset-r!==t)throw Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?u(this,t+4,e):this.skip(4)}decodeIHDR(){let t,e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(t){if(1!==t&&2!==t&&4!==t&&8!==t&&16!==t)throw Error(`invalid bit depth: ${t}`);return t}(this.readUint8());let r=this.readUint8();switch(this._colorType=r,r){case k.GREYSCALE:t=1;break;case k.TRUECOLOUR:t=3;break;case k.INDEXED_COLOUR:t=1;break;case k.GREYSCALE_ALPHA:t=2;break;case k.TRUECOLOUR_ALPHA:t=4;break;case k.UNKNOWN:default:throw Error(`Unknown color type: ${r}`)}if(this._png.channels=t,this._compressionMethod=this.readUint8(),this._compressionMethod!==O.DEFLATE)throw Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let t={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(t)}
1decodePLTE(t){if(t%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);let e=t/3;this._hasPalette=!0;let r=[];this._palette=r;for(let t=0;t<e;t++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(t){this._writingDataChunks=!0;let e=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,e,t)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodeFDAT(t){this._writingDataChunks=!0;let e=t,r=this.offset+this.byteOffset;if(r+=4,e-=4,this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodetRNS(t){switch(this._colorType){case k.GREYSCALE:case k.TRUECOLOUR:if(t%2!=0)throw RangeError(`tRNS chunk length must be a multiple of 2. Got ${t}`);if(t/2>this._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let e=0;e<t/2;e++)this._transparency[e]=this.readUint16();break;case k.INDEXED_COLOUR:{if(t>
1this._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${t} vs ${this._palette.length})`);let e=0;for(;e<t;e++){let t=this.readByte();this._palette[e].push(t)}for(;e<this._palette.length;e++)this._palette[e].push(255);break}case k.UNKNOWN:case k.GREYSCALE_ALPHA:case k.TRUECOLOUR_ALPHA:default:throw Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(t){let e=S(this),r=this.readUint8();if(r!==O.DEFLATE)throw Error(`Unsupported iCCP compression method: ${r}`);let i=this.readBytes(t-e.length-2);this._png.iccEmbeddedProfile={name:e,profile:(0,l.UD)(i)}}decodepHYs(){let t=this.readUint32(),e=this.readUint32(),r=this.readByte();this._png.resolution={x:t,y:e,unit:r}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let t=0;t<this._numberOfFrames;t++){let e={sequenceNumber:this._frames[t].sequenceNumber,delayNumber:this._frames[t].delayNumber,delayDenominator:this._frames[t].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(t);if(r){if(r.data=m({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===t||0===r.xOffset&&0===r.yOffset&&r.width===this._png.width&&r.height===this._png.height)e.data=r.data;else{let i=this._apng.frames.at(t-1);this.disposeFrame(r,i,e),this.addFrameDataToCanvas(e,r)}this._apng.frames.push(e)}}return this._apng}disposeFrame(t,e,r){switch(t.disposeOp){case I.NONE:break;case I.BACKGROUND:for(let e=0;e<this._png.height;e++)for(let i=0;i<this._png.width;i++){let n=(e*t.width+i)*this._png.channels;for(let t=0;t<this._png.channels;t++)r.data[n+t]=0}break;case I.PREVIOUS:r.data.set(e.data);break;default:throw Error("Unknown disposeOp")}}addFrameDataToCanvas(t,e){let r=1<<this._png.depth,i=(t,r)=>({index:((t+e.yOffset)*this._png.width+e.xOffset+r)*this._png.channels,frameIndex:(t*e.width+r)*this._png.channels});switch(e.blendOp){case P.SOURCE:for(let r=0;r<e.height;r++)for(let n=0;n<e.width;n++){let{index:s,frameIndex:a}=i(r,n);for(let r=0;r<this._png.channels;r++)t.data[s+r]=e.data[a+r]}break;case P.OVER:for(let n=0;n<e.height;n++)for(let s=0;s<e.width;s++){let{index:a,frameIndex:h}=i(n,s);for(let i=0;i<this._png.channels;i++){let n=e.data[h+this._png.channels-1]/r,s=Math.floor(n*(i%(this._png.channels-1)==0?1:e.data[h+i])+(1-n)*t.data[a+i]);t.data[a+i]+=s}}break;default:throw Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);let t=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==N.ADAPTIVE)throw Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===C.NO_INTERLACE)this._png.data=m({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===C.ADAM7)this._png.data=function(t){let{data:e,width:r,height:i,channels:n,depth:s}=t,a=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],h=Math.ceil(s/8)*n,o=new Uint8Array(i*r*h),l=0;for(let t=0;t<7;t++){let n=a[t],s=Math.ceil((r-n.x)/n.xStep),f=Math.ceil((i-n.y)/n.yStep);if(s<=0||f<=0)continue;let u=s*h,g=new Uint8Array(u);for(let t=0;t<f;t++){let a=e[l++],f=e.subarray(l,l+u);l+=u;let b=new Uint8Array(u);switch(a){case 0:d(f,b,u);break;case 1:c(f,b,u,h);break;case 2:_(f,b,g,u);break;case 3:p(f,b,g,u,h);break;case 4:y(f,b,g,u,h);break;default:throw Error(`Unsupported filter: ${a}`)}g.set(b);for(let e=0;e<s;e++){let s=n.x+e*n.xStep,a=n.y+t*n.yStep;if(!(s>=r)&&!(a>=i))for(let t=0;t<h;t++)o[(a*r+s)*h+t]=b[e*h+t]}}}if(16!==s)return o;{let t=new Uint16Array(o.buffer);if(g)for(let e=0;e<t.length;e++){var f;t[e]=(255&(f=t[e]))<<8|f>>8&255}return t}}({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let t=this._inflator.result,e=this._frames.at(-1);e?e.data=t:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:I.NONE,blendOp:P.SOURCE,data:t}),this._inflator=new l.EL,this._writingDataChunks=!1}}function M(t,e){return new L(t,e).decode()}!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"}(o||(o={}))},89083:(t,e,r)=>{function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,s,a,h=[],o=!0,l=!1;try{if(s=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;o=!1}else for(;!(o=(i=s.call(r)).done)&&(h.push(i.value),h.length!==e);o=!0);}catch(t){l=!0,n=t}
1finally{try{if(!o&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw n}}return h}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(e,{A:()=>n})},94390:(t,e,r)=>{r.d(e,{y:()=>n});let i=t=>{let e,r=new Set,i=(t,i)=>{let n="function"==typeof t?t(e):t;if(!Object.is(n,e)){let t=e;e=(null!=i?i:"object"!=typeof n||null===n)?n:Object.assign({},e,n),r.forEach(r=>r(e,t))}},n=()=>e,s={setState:i,getState:n,getInitialState:()=>a,subscribe:t=>(r.add(t),()=>r.delete(t))},a=e=t(i,n,s);return s},n=t=>t?i(t):i}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.