@emailmaker/emailmaker 1.0.117-alpha.5 → 1.0.117

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.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +31 -31
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.d.ts +4 -0
  5. package/emailmaker.js +1 -1
  6. package/iframe/429.js +1 -1
  7. package/iframe/766.js +1 -1
  8. package/iframe/iframe-eblock.56155892f2bc2a3cb105.html +1 -0
  9. package/iframe/iframe.56155892f2bc2a3cb105.html +1 -0
  10. package/iframe/index.html +1 -1
  11. package/iframe/js/525.68ad7f85.js +1 -0
  12. package/iframe/js/576.5e9c486f.js +1 -0
  13. package/iframe/js/576.5e9c486f.js.LICENSE.txt +1 -0
  14. package/iframe/js/847.2d6fc414.js +1 -0
  15. package/iframe/js/847.2d6fc414.js.LICENSE.txt +14 -0
  16. package/iframe/js/882.e8b7592d.js +1 -0
  17. package/iframe/sandbox-eblock.js +1 -1
  18. package/iframe/sandbox-eblock.js.LICENSE.txt +2 -0
  19. package/package.json +1 -1
  20. package/static/css/781.02739981.chunk.css +2 -0
  21. package/static/css/main.28e32d76.css +2 -0
  22. package/static/js/{3857.216335eb.js → 3857.a5abf7ff.js} +3 -3
  23. package/static/js/4824.157d5b8d.js +3 -0
  24. package/static/js/5172.11a99e29.js +2 -0
  25. package/static/js/{6488.a82c8227.js → 6488.470d4215.js} +3 -3
  26. package/static/js/7304.6957885f.js +3 -0
  27. package/static/js/{9746.9e4feb1c.js → 7455.c52148f3.js} +3 -3
  28. package/static/js/{9746.9e4feb1c.js.LICENSE.txt → 7455.c52148f3.js.LICENSE.txt} +2 -0
  29. package/static/js/781.fa20049e.js +3 -0
  30. package/static/js/9376.5316da1b.js +2 -0
  31. package/static/js/emailmaker_core.da5ab0c2.js +2 -0
  32. package/iframe/iframe-eblock.3d39ec0d6695dfd04dfe.html +0 -1
  33. package/iframe/iframe.3d39ec0d6695dfd04dfe.html +0 -1
  34. package/iframe/js/525.f6a86285.js +0 -1
  35. package/iframe/js/781.8a414cb4.js +0 -1
  36. package/iframe/js/781.8a414cb4.js.LICENSE.txt +0 -14
  37. package/iframe/js/882.3ca60778.js +0 -1
  38. package/static/css/2527.b16e1091.chunk.css +0 -2
  39. package/static/css/main.f1274803.css +0 -2
  40. package/static/js/2527.e0380bd2.js +0 -3
  41. package/static/js/2751.e257e5ca.js +0 -3
  42. package/static/js/4038.63d9aaa7.js +0 -2
  43. package/static/js/5125.cfbf5837.js +0 -3
  44. package/static/js/717.dd457af5.js +0 -2
  45. package/static/js/emailmaker_core.1c45f280.js +0 -2
  46. /package/iframe/js/{525.f6a86285.js.LICENSE.txt → 525.68ad7f85.js.LICENSE.txt} +0 -0
  47. /package/static/js/{3857.216335eb.js.LICENSE.txt → 3857.a5abf7ff.js.LICENSE.txt} +0 -0
  48. /package/static/js/{2751.e257e5ca.js.LICENSE.txt → 4824.157d5b8d.js.LICENSE.txt} +0 -0
  49. /package/static/js/{6488.a82c8227.js.LICENSE.txt → 6488.470d4215.js.LICENSE.txt} +0 -0
  50. /package/static/js/{5125.cfbf5837.js.LICENSE.txt → 7304.6957885f.js.LICENSE.txt} +0 -0
  51. /package/static/js/{2527.e0380bd2.js.LICENSE.txt → 781.fa20049e.js.LICENSE.txt} +0 -0
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 4824.157d5b8d.js.LICENSE.txt */
2
+ (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4824],{76176:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});n(61824);var r=n(56226),i=n(60742);const o={clipboard:{writeText:i.ib||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:i.ib||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},pointerEvents:r.G.PointerEvent&&("ontouchstart"in r.G||navigator.maxTouchPoints>0)}},20759:(e,t,n)=>{"use strict";n.d(t,{$l:()=>u,Gs:()=>h,MB:()=>s,Sw:()=>d,bb:()=>c,gN:()=>l,mU:()=>g,pJ:()=>f});var r=n(97947),i=n(48021).Buffer;const o="undefined"!==typeof i;let a;new r.d(()=>new Uint8Array(256));class s{static wrap(e){return o&&!i.isBuffer(e)&&(e=i.from(e.buffer,e.byteOffset,e.byteLength)),new s(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return o?this.buffer.toString():(a||(a=new TextDecoder(void 0,{ignoreBOM:!0})),a.decode(this.buffer))}}function u(e,t){return(e[t+0]|0)>>>0|e[t+1]<<8>>>0}function l(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function c(e,t){return e[t]*2**24+65536*e[t+1]+256*e[t+2]+e[t+3]}function d(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function f(e,t){return e[t]}function h(e,t,n){e[n]=t}const p="0123456789abcdef";function g({buffer:e}){let t="";for(let n=0;n<e.length;n++){const r=e[n];t+=p[r>>>4],t+=p[15&r]}return t}},3890:(e,t,n)=>{"use strict";n.d(t,{J1:()=>O,Jo:()=>L,Nd:()=>G,O:()=>z,WJ:()=>N,WP:()=>u,dE:()=>d,dt:()=>Z,ko:()=>c,ne:()=>K,or:()=>s,uU:()=>J,yr:()=>D});var r=n(36119),i=n(78349),o=n(92392),a=n(20219);function s(...e){return function(t,n){for(let r=0,i=e.length;r<i;r++){const i=e[r](t,n);if(i)return i}return null}}l.bind(void 0,!1);const u=l.bind(void 0,!0);function l(e,t,n){if(!n||n.length<t.length)return null;let r;return r=e?(0,a.ns)(n,t):0===n.indexOf(t),r?t.length>0?[{start:0,end:t.length}]:[]:null}function c(e,t){if(e.length>t.length)return null;e=(0,o.n)(e);const n=(t=(0,o.n)(t)).indexOf(e);return-1===n?null:[{start:n,end:n+e.length}]}function d(e,t){return e.length>t.length?null:f(e.toLowerCase(),t.toLowerCase(),0,0)}function f(e,t,n,r){if(n===e.length)return[];if(r===t.length)return null;if(e[n]===t[r]){let i=null;return(i=f(e,t,n+1,r+1))?_({start:r,end:r+1},i):null}return f(e,t,n,r+1)}function h(e){return 97<=e&&e<=122}function p(e){return 65<=e&&e<=90}function g(e){return 48<=e&&e<=57}function m(e){return 32===e||9===e||10===e||13===e}const y=new Set;function v(e){return m(e)||y.has(e)}function b(e,t){return e===t||v(e)&&v(t)}"()[]{}<>`'\"-/;:,.?!".split("").forEach(e=>y.add(e.charCodeAt(0)));const w=new Map;function k(e){if(w.has(e))return w.get(e);let t;const n=(0,i.N)(e);return n&&(t=n),w.set(e,t),t}function S(e){return h(e)||p(e)||g(e)}function _(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function C(e,t){for(let n=t;n<e.length;n++){const t=e.charCodeAt(n);if(p(t)||g(t)||n>0&&!S(e.charCodeAt(n-1)))return n}return e.length}function x(e,t,n,r){if(n===e.length)return[];if(r===t.length)return null;if(e[n]!==t[r].toLowerCase())return null;{let i=null,o=r+1;for(i=x(e,t,n+1,r+1);!i&&(o=C(t,o))<t.length;)i=x(e,t,n+1,o),o++;return null===i?null:_({start:r,end:r+1},i)}}function E(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){let t=0,n=0,r=0,i=0;for(let o=0;o<e.length;o++)r=e.charCodeAt(o),p(r)&&t++,h(r)&&n++,m(r)&&i++;return 0!==t&&0!==n||0!==i?t<=5:e.length<=30}(e))return null;t.length>60&&(t=t.substring(0,60));const n=function(e){let t=0,n=0,r=0,i=0,o=0;for(let a=0;a<e.length;a++)o=e.charCodeAt(a),p(o)&&t++,h(o)&&n++,S(o)&&r++,g(o)&&i++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:r/e.length,numericPercent:i/e.length}}(t);if(!function(e){const{upperPercent:t,lowerPercent:n,alphaPercent:r,numericPercent:i}=e;return n>.2&&t<.8&&r>.6&&i<.2}(n)){if(!function(e){const{upperPercent:t,lowerPercent:n}=e;return 0===n&&t>.6}(n))return null;t=t.toLowerCase()}let r=null,i=0;for(e=e.toLowerCase();i<t.length&&null===(r=x(e,t,0,i));)i=C(t,i+1);return r}function O(e,t,n=!1){if(!t||0===t.length)return null;let r=null,i=0;for(e=(0,o.n)(e),t=(0,o.n)(t);i<t.length&&(r=A(e,t,0,i,n),null===r);)i=T(t,i+1);return r}function A(e,t,n,r,i){let o=0;if(n===e.length)return[];if(r===t.length)return null;if(!b(e.charCodeAt(n),t.charCodeAt(r))){const i=k(e.charCodeAt(n));if(!i)return null;for(let e=0;e<i.length;e++)if(!b(i[e],t.charCodeAt(r+e)))return null;o+=i.length-1}let a=null,s=r+o+1;if(a=A(e,t,n+1,s,i),!i)for(;!a&&(s=T(t,s))<t.length;)a=A(e,t,n+1,s,i),s++;if(!a)return null;if(e.charCodeAt(n)!==t.charCodeAt(r)){const i=k(e.charCodeAt(n));if(!i)return a;for(let e=0;e<i.length;e++)if(i[e]!==t.charCodeAt(r+e))return a}return _({start:r,end:r+o+1},a)}function T(e,t){for(let n=t;n<e.length;n++)if(v(e.charCodeAt(n))||n>0&&v(e.charCodeAt(n-1)))return n;return e.length}const I=s(u,E,function(e,t){if(e.length>t.length)return null;const n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}),R=s(u,E,d),P=new r.qK(1e4);function D(e,t,n=!1){if("string"!==typeof e||"string"!==typeof t)return null;let r=P.get(e);r||(r=new RegExp((0,a.Bm)(e),"i"),P.set(e,r));const i=r.exec(t);return i?[{start:i.index,end:i.index+i[0].length}]:n?R(e,t):I(e,t)}function z(e,t){const n=Z(e,e.toLowerCase(),0,t,t.toLowerCase(),0,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return n?N(n):null}function L(e,t,n,r,i,o){const a=Math.min(13,e.length);for(;n<a;n++){const a=Z(e,t,n,r,i,o,{firstMatchCanBeWeak:!0,boostFullMatch:!0});if(a)return a}return[0,o]}function N(e){if("undefined"===typeof e)return[];const t=[],n=e[1];for(let r=e.length-1;r>1;r--){const i=e[r]+n,o=t[t.length-1];o&&o.end===i?o.end=i+1:t.push({start:i,end:i+1})}return t}const M=128;function j(){const e=[],t=[];for(let n=0;n<=M;n++)t[n]=0;for(let n=0;n<=M;n++)e.push(t.slice(0));return e}function F(e){const t=[];for(let n=0;n<=e;n++)t[n]=0;return t}const B=F(2*M),U=F(2*M),W=j(),q=j(),V=j();function H(e,t){if(t<0||t>=e.length)return!1;const n=e.codePointAt(t);switch(n){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!(0,a.Ss)(n)}}function Q(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function $(e,t,n){return t[e]!==n[e]}var K;!function(e){e.Default=[-100,0],e.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]}}(K||(K={}));class G{static{this.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}}constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}function Z(e,t,n,r,i,o,a=G.default){const s=e.length>M?M:e.length,u=r.length>M?M:r.length;if(n>=s||o>=u||s-n>u-o)return;if(!function(e,t,n,r,i,o,a=!1){for(;t<n&&i<o;)e[t]===r[i]&&(a&&(B[t]=i),t+=1),i+=1;return t===n}(t,n,s,i,o,u,!0))return;!function(e,t,n,r,i,o){let a=e-1,s=t-1;for(;a>=n&&s>=r;)i[a]===o[s]&&(U[a]=s,a--),s--}(s,u,n,o,t,i);let l=1,c=1,d=n,f=o;const h=[!1];for(l=1,d=n;d<s;l++,d++){const a=B[d],p=U[d],g=d+1<s?U[d+1]:u;for(c=a-o+1,f=a;f<g;c++,f++){let s=Number.MIN_SAFE_INTEGER,g=!1;f<=p&&(s=Y(e,t,d,n,r,i,f,u,o,0===W[l-1][c-1],h));let m=0;s!==Number.MIN_SAFE_INTEGER&&(g=!0,m=s+q[l-1][c-1]);const y=f>a,v=y?q[l][c-1]+(W[l][c-1]>0?-5:0):0,b=f>a+1&&W[l][c-1]>0,w=b?q[l][c-2]+(W[l][c-2]>0?-5:0):0;if(b&&(!y||w>=v)&&(!g||w>=m))q[l][c]=w,V[l][c]=3,W[l][c]=0;else if(y&&(!g||v>=m))q[l][c]=v,V[l][c]=2,W[l][c]=0;else{if(!g)throw new Error("not possible");q[l][c]=m,V[l][c]=1,W[l][c]=W[l-1][c-1]+1}}}if(!h[0]&&!a.firstMatchCanBeWeak)return;l--,c--;const p=[q[l][c],o];let g=0,m=0;for(;l>=1;){let e=c;do{const t=V[l][e];if(3===t)e-=2;else{if(2!==t)break;e-=1}}while(e>=1);g>1&&t[n+l-1]===i[o+c-1]&&!$(e+o-1,r,i)&&g+1>W[l][e]&&(e=c),e===c?g++:g=1,m||(m=e),l--,c=e-1,p.push(c)}u-o===s&&a.boostFullMatch&&(p[0]+=2);const y=m-s;return p[0]-=y,p}function Y(e,t,n,r,i,o,a,s,u,l,c){if(t[n]!==o[a])return Number.MIN_SAFE_INTEGER;let d=1,f=!1;return a===n-r?d=e[n]===i[a]?7:5:!$(a,i,o)||0!==a&&$(a-1,i,o)?!H(o,a)||0!==a&&H(o,a-1)?(H(o,a-1)||Q(o,a-1))&&(d=5,f=!0):d=5:(d=e[n]===i[a]?7:5,f=!0),d>1&&n===r&&(c[0]=!0),f||(f=$(a,i,o)||H(o,a-1)||Q(o,a-1)),n===r?a>u&&(d-=f?3:5):d+=l?f?2:0:f?0:1,a+1===s&&(d-=f?3:5),d}function J(e,t,n,r,i,o,a){return function(e,t,n,r,i,o,a,s){let u=Z(e,t,n,r,i,o,s);0;if(e.length>=3){const t=Math.min(7,e.length-1);for(let a=n+1;a<t;a++){const t=X(e,a);if(t){const e=Z(t,t.toLowerCase(),n,r,i,o,s);e&&(e[0]-=3,(!u||e[0]>u[0])&&(u=e))}}}return u}(e,t,n,r,i,o,0,a)}function X(e,t){if(t+1>=e.length)return;const n=e[t],r=e[t+1];return n!==r?e.slice(0,t)+r+n+e.slice(t+2):void 0}},92741:(e,t,n)=>{"use strict";n.d(t,{e2:()=>u,sN:()=>a,tW:()=>o,v7:()=>d});var r=n(20759),i=n(20219);function o(e){return a(e,0)}function a(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce((e,t)=>a(t,e),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce((t,n)=>(t=u(n,t),a(e[n],t)),t)}(e,t);case"string":return u(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function u(e,t){t=s(149417,t);for(let n=0,r=e.length;n<r;n++)t=s(e.charCodeAt(n),t);return t}function l(e,t,n=32){const r=n-t;return(e<<t|(~((1<<r)-1)&e)>>>r)>>>0}function c(e,t=32){return e instanceof ArrayBuffer?(0,r.mU)(r.MB.wrap(new Uint8Array(e))):(e>>>0).toString(16).padStart(t/4,"0")}class d{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,o,a=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(r=s,o=-1,s=0):(r=e.charCodeAt(0),o=0);;){let u=r;if((0,i.pc)(r)){if(!(o+1<t)){s=r;break}{const t=e.charCodeAt(o+1);(0,i.LJ)(t)?(o++,u=(0,i.z_)(r,t)):u=65533}}else(0,i.LJ)(r)&&(u=65533);if(a=this._push(n,a,u),o++,!(o<t))break;r=e.charCodeAt(o)}this._buffLen=a,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),c(this._h0)+c(this._h1)+c(this._h2)+c(this._h3)+c(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,this._buff.subarray(this._buffLen).fill(0),this._buffLen>56&&(this._step(),this._buff.fill(0));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=d._bigBlock32,t=this._buffDV;for(let l=0;l<64;l+=4)e.setUint32(l,t.getUint32(l,!1),!1);for(let d=64;d<320;d+=4)e.setUint32(d,l(e.getUint32(d-12,!1)^e.getUint32(d-32,!1)^e.getUint32(d-56,!1)^e.getUint32(d-64,!1),1),!1);let n,r,i,o=this._h0,a=this._h1,s=this._h2,u=this._h3,c=this._h4;for(let d=0;d<80;d++)d<20?(n=a&s|~a&u,r=1518500249):d<40?(n=a^s^u,r=1859775393):d<60?(n=a&s|a&u|s&u,r=2400959708):(n=a^s^u,r=3395469782),i=l(o,5)+n+c+r+e.getUint32(4*d,!1)&4294967295,c=u,u=s,s=l(a,30),a=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+u&4294967295,this._h4=this._h4+c&4294967295}}},1299:(e,t,n)=>{"use strict";n.d(t,{Ez:()=>d,SJ:()=>p,fV:()=>c,ny:()=>r,v$:()=>l,zl:()=>h});var r,i=n(83850),o=n(60742),a=n(20219),s=n(11343),u=n(61454);function l(e,t){return s.r.isUri(e)?(0,a.Q_)(e.scheme,t):(0,a.ns)(e,t+":")}function c(e,...t){return t.some(t=>l(e,t))}!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.vscodeManagedRemoteResource="vscode-managed-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",e.vscodeNotebookMetadata="vscode-notebook-metadata",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.vscodeChatCodeBlock="vscode-chat-code-block",e.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",e.vscodeChatEditor="vscode-chat-editor",e.vscodeChatInput="chatSessionInput",e.vscodeLocalChatSession="vscode-chat-session",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.vscodeBrowser="vscode-browser",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls",e.vscodeSourceControl="vscode-scm",e.commentsInput="comment",e.codeSetting="code-setting",e.outputChannel="output",e.accessibleView="accessible-view",e.chatEditingSnapshotScheme="chat-editing-snapshot-text-model",e.chatEditingModel="chat-editing-text-model",e.copilotPr="copilot-pr"}(r||(r={}));const d=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return u.SA.join(this._serverRootPath,r.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(c){return(0,i.dz)(c),e}const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&-1===n.indexOf("[")&&(n=`[${n}]`);const a=this._ports[t],u=this._connectionTokens[t];let l=`path=${encodeURIComponent(e.path)}`;return"string"===typeof u&&(l+=`&tkn=${encodeURIComponent(u)}`),s.r.from({scheme:o.HZ?this._preferredWebSchema:r.vscodeRemoteResource,authority:`${n}:${a}`,path:this._remoteResourcesPath,query:l})}};class f{static{this.FALLBACK_AUTHORITY="vscode-app"}asBrowserUri(e){const t=this.toUri(e);return this.uriToBrowserUri(t)}uriToBrowserUri(e){return e.scheme===r.vscodeRemote?d.rewrite(e):e.scheme!==r.file||!o.ib&&o.lg!==`${r.vscodeFileResource}://${f.FALLBACK_AUTHORITY}`?e:e.with({scheme:r.vscodeFileResource,authority:e.authority||f.FALLBACK_AUTHORITY,query:null,fragment:null})}toUri(e){if(s.r.isUri(e))return e;if(globalThis._VSCODE_FILE_ROOT){const t=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(t))return s.r.joinPath(s.r.parse(t,!0),e);const n=(0,u.fj)(t,e);return s.r.file(n)}throw new Error("Cannot determine URI for module id!")}}const h=new f;var p;!function(e){const t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));const n="vscode-coi";e.getHeadersFromQuery=function(e){let r;"string"===typeof e?r=new URL(e).searchParams:e instanceof URL?r=e.searchParams:s.r.isUri(e)&&(r=new URL(e.toString(!0)).searchParams);const i=r?.get(n);if(i)return t.get(i)},e.addSearchParam=function(e,t,r){if(!globalThis.crossOriginIsolated)return;const i=t&&r?"3":r?"2":"1";e instanceof URLSearchParams?e.set(n,i):e[n]=i}}(p||(p={}))},38770:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r,i=n(20219);!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(r||(r={})),function(e){const t="error",n="warning",r="info";e.fromValue=function(o){return o?(0,i.Q_)(t,o)?e.Error:(0,i.Q_)(n,o)||(0,i.Q_)("warn",o)?e.Warning:(0,i.Q_)(r,o)?e.Info:e.Ignore:e.Ignore},e.toString=function(i){switch(i){case e.Error:return t;case e.Warning:return n;case e.Info:return r;default:return"ignore"}}}(r||(r={}));var o=r},66828:(e,t,n)=>{"use strict";n.d(t,{Et:()=>u,Gv:()=>a,Kg:()=>i,Lm:()=>c,O9:()=>f,Tn:()=>m,VT:()=>b,b0:()=>d,iu:()=>s,j:()=>p,jx:()=>y,lF:()=>o,ni:()=>g,xZ:()=>l,z:()=>h});var r=n(24539);function i(e){return"string"===typeof e}function o(e,t){return Array.isArray(e)&&e.every(t)}function a(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function s(e){const t=Object.getPrototypeOf(Uint8Array);return"object"===typeof e&&e instanceof t}function u(e){return"number"===typeof e&&!isNaN(e)}function l(e){return!!e&&"function"===typeof e[Symbol.iterator]}function c(e){return!0===e||!1===e}function d(e){return"undefined"===typeof e}function f(e){return!h(e)}function h(e){return d(e)||null===e}function p(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function g(e){return(0,r.vA)(null!==e&&void 0!==e,"Argument is `undefined` or `null`."),e}function m(e){return"function"===typeof e}function y(e,t){const n=Math.min(e.length,t.length);for(let r=0;r<n;r++)v(e[r],t[r])}function v(e,t){if(i(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(m(t)){try{if(e instanceof t)return}catch{}if(!h(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(e){return e}},40730:(e,t,n)=>{"use strict";n.d(t,{Gn:()=>g,JJ:()=>l,vf:()=>p});var r=n(1428),i=n(78949),o=n(7232),a=n(75710),s=n(30253),u=n(4144);const l=Object.freeze({id:"editor",order:5,type:"object",title:(0,a.kg)(149,"Editor"),scope:6}),c={...l,properties:{"editor.tabSize":{type:"number",default:o.R.tabSize,minimum:1,maximum:100,markdownDescription:(0,a.kg)(150,"The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:(0,a.kg)(151,'The number of spaces used for indentation or `"tabSize"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')},"editor.insertSpaces":{type:"boolean",default:o.R.insertSpaces,markdownDescription:(0,a.kg)(152,"Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:o.R.detectIndentation,markdownDescription:(0,a.kg)(153,"Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.","`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:o.R.trimAutoWhitespace,description:(0,a.kg)(154,"Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.R.largeFileOptimizations,description:(0,a.kg)(155,"Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{enum:["off","offWithInlineSuggestions","currentDocument","matchingDocuments","allDocuments"],default:"offWithInlineSuggestions",enumDescriptions:[(0,a.kg)(156,"Turn off Word Based Suggestions."),(0,a.kg)(157,"Turn off Word Based Suggestions when Inline Suggestions are present."),(0,a.kg)(158,"Only suggest words from the active document."),(0,a.kg)(159,"Suggest words from all open documents of the same language."),(0,a.kg)(160,"Suggest words from all open documents.")],description:(0,a.kg)(161,"Controls whether completions should be computed based on words in the document and from which documents they are computed."),experiment:{mode:"auto"}},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[(0,a.kg)(162,"Semantic highlighting enabled for all color themes."),(0,a.kg)(163,"Semantic highlighting disabled for all color themes."),(0,a.kg)(164,"Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:(0,a.kg)(165,"Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:(0,a.kg)(166,"Keep peek editors open even when double-clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:(0,a.kg)(167,"Lines above this length will not be tokenized for performance reasons")},"editor.experimental.asyncTokenization":{type:"boolean",default:!0,description:(0,a.kg)(168,"Controls whether the tokenization should happen asynchronously on a web worker."),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:(0,a.kg)(169,"Controls whether async tokenization should be logged. For debugging only.")},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:(0,a.kg)(170,"Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."),tags:["experimental"]},"editor.experimental.treeSitterTelemetry":{type:"boolean",default:!1,markdownDescription:(0,a.kg)(171,"Controls whether tree sitter parsing should be turned on and telemetry collected. Setting `#editor.experimental.preferTreeSitter#` for specific languages will take precedence."),tags:["experimental"],experiment:{mode:"auto"}},"editor.experimental.preferTreeSitter.css":{type:"boolean",default:!1,markdownDescription:(0,a.kg)(172,"Controls whether tree sitter parsing should be turned on for css. This will take precedence over `#editor.experimental.treeSitterTelemetry#` for css."),tags:["experimental"],experiment:{mode:"auto"}},"editor.experimental.preferTreeSitter.typescript":{type:"boolean",default:!1,markdownDescription:(0,a.kg)(173,"Controls whether tree sitter parsing should be turned on for typescript. This will take precedence over `#editor.experimental.treeSitterTelemetry#` for typescript."),tags:["experimental"],experiment:{mode:"auto"}},"editor.experimental.preferTreeSitter.ini":{type:"boolean",default:!1,markdownDescription:(0,a.kg)(174,"Controls whether tree sitter parsing should be turned on for ini. This will take precedence over `#editor.experimental.treeSitterTelemetry#` for ini."),tags:["experimental"],experiment:{mode:"auto"}},"editor.experimental.preferTreeSitter.regex":{type:"boolean",default:!1,markdownDescription:(0,a.kg)(175,"Controls whether tree sitter parsing should be turned on for regex. This will take precedence over `#editor.experimental.treeSitterTelemetry#` for regex."),tags:["experimental"],experiment:{mode:"auto"}},"editor.language.brackets":{type:["array","null"],default:null,description:(0,a.kg)(176,"Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:(0,a.kg)(177,"The opening bracket character or string sequence.")},{type:"string",description:(0,a.kg)(178,"The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:(0,a.kg)(179,"Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:(0,a.kg)(180,"The opening bracket character or string sequence.")},{type:"string",description:(0,a.kg)(181,"The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:r.q.maxComputationTime,description:(0,a.kg)(182,"Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:r.q.maxFileSize,description:(0,a.kg)(183,"Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:r.q.renderSideBySide,description:(0,a.kg)(184,"Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:r.q.renderSideBySideInlineBreakpoint,description:(0,a.kg)(185,"If the diff editor width is smaller than this value, the inline view is used.")},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:r.q.useInlineViewWhenSpaceIsLimited,description:(0,a.kg)(186,"If enabled and the editor width is too small, the inline view is used.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:r.q.renderMarginRevertIcon,description:(0,a.kg)(187,"When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.renderGutterMenu":{type:"boolean",default:r.q.renderGutterMenu,description:(0,a.kg)(188,"When enabled, the diff editor shows a special gutter for revert and stage actions.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:r.q.ignoreTrimWhitespace,description:(0,a.kg)(189,"When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:r.q.renderIndicators,description:(0,a.kg)(190,"Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:r.q.diffCodeLens,description:(0,a.kg)(191,"Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:r.q.diffWordWrap,markdownEnumDescriptions:[(0,a.kg)(192,"Lines will never wrap."),(0,a.kg)(193,"Lines will wrap at the viewport width."),(0,a.kg)(194,"Lines will wrap according to the {0} setting.","`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:r.q.diffAlgorithm,markdownEnumDescriptions:[(0,a.kg)(195,"Uses the legacy diffing algorithm."),(0,a.kg)(196,"Uses the advanced diffing algorithm.")]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:r.q.hideUnchangedRegions.enabled,markdownDescription:(0,a.kg)(197,"Controls whether the diff editor shows unchanged regions.")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:r.q.hideUnchangedRegions.revealLineCount,markdownDescription:(0,a.kg)(198,"Controls how many lines are used for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:r.q.hideUnchangedRegions.minimumLineCount,markdownDescription:(0,a.kg)(199,"Controls how many lines are used as a minimum for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:r.q.hideUnchangedRegions.contextLineCount,markdownDescription:(0,a.kg)(200,"Controls how many lines are used as context when comparing unchanged regions."),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:r.q.experimental.showMoves,markdownDescription:(0,a.kg)(201,"Controls whether the diff editor should show detected code moves.")},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:r.q.experimental.showEmptyDecorations,description:(0,a.kg)(202,"Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted.")},"diffEditor.experimental.useTrueInlineView":{type:"boolean",default:r.q.experimental.useTrueInlineView,description:(0,a.kg)(203,"If enabled and the editor uses the inline view, word changes are rendered inline.")}}};function d(e){return"undefined"!==typeof e.type||"undefined"!==typeof e.anyOf}for(const m of i.BE){const e=m.schema;if("undefined"!==typeof e)if(d(e))c.properties[`editor.${m.name}`]=e;else for(const t in e)Object.hasOwnProperty.call(e,t)&&(c.properties[t]=e[t])}let f=null;function h(){return null===f&&(f=Object.create(null),Object.keys(c.properties).forEach(e=>{f[e]=!0})),f}function p(e){return h()[`editor.${e}`]||!1}function g(e){return h()[`diffEditor.${e}`]||!1}u.O.as(s.Fd.Configuration).registerConfiguration(c)},78949:(e,t,n)=>{"use strict";n.d(t,{$C:()=>L,BE:()=>U,Bc:()=>R,O4:()=>x,Of:()=>F,Vs:()=>N,XR:()=>j,hZ:()=>p,jT:()=>T,ls:()=>S,lw:()=>d,m9:()=>A,n0:()=>f,qB:()=>q,wA:()=>w,xZ:()=>z,xq:()=>c,zM:()=>v});var r=n(94163),i=n(77309),o=n(60742),a=n(41095),s=n(7232),u=n(64833),l=n(75710);const c=8;class d{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class f{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class h{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return g(e,t)}compute(e,t,n){return n}}class p{constructor(e,t){this.newValue=e,this.didChange=t}}function g(e,t){if("object"!==typeof e||"object"!==typeof t||!e||!t)return new p(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const n=Array.isArray(e)&&Array.isArray(t)&&(0,r.aI)(e,t);return new p(t,!n)}let n=!1;for(const r in t)if(t.hasOwnProperty(r)){const i=g(e[r],t[r]);i.didChange&&(e[r]=i.newValue,n=!0)}return new p(e,n)}class m{constructor(e,t){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=t}applyUpdate(e,t){return g(e,t)}validate(e){return this.defaultValue}}class y{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return g(e,t)}compute(e,t,n){return n}}function v(e,t){return"undefined"===typeof e?t:"false"!==e&&Boolean(e)}class b extends y{constructor(e,t,n,r=void 0){"undefined"!==typeof r&&(r.type="boolean",r.default=n),super(e,t,n,r)}validate(e){return v(e,this.defaultValue)}}function w(e,t,n,r){if("string"===typeof e&&(e=parseInt(e,10)),"number"!==typeof e||isNaN(e))return t;let i=e;return i=Math.max(n,i),i=Math.min(r,i),0|i}class k extends y{static clampedInt(e,t,n,r){return w(e,t,n,r)}constructor(e,t,n,r,i,o=void 0){"undefined"!==typeof o&&(o.type="integer",o.default=n,o.minimum=r,o.maximum=i),super(e,t,n,o),this.minimum=r,this.maximum=i}validate(e){return k.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function S(e,t,n,r){if("undefined"===typeof e)return t;const i=_.float(e,t);return _.clamp(i,n,r)}class _ extends y{static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){return"string"===typeof e&&(e=parseFloat(e)),"number"!==typeof e||isNaN(e)?t:e}constructor(e,t,n,r,i,o,a){"undefined"!==typeof i&&(i.type="number",i.default=n,i.minimum=o,i.maximum=a),super(e,t,n,i),this.validationFn=r,this.minimum=o,this.maximum=a}validate(e){return this.validationFn(_.float(e,this.defaultValue))}}class C extends y{static string(e,t){return"string"!==typeof e?t:e}constructor(e,t,n,r=void 0){"undefined"!==typeof r&&(r.type="string",r.default=n),super(e,t,n,r)}validate(e){return C.string(e,this.defaultValue)}}function x(e,t,n,r){return"string"!==typeof e?t:r&&e in r?r[e]:-1===n.indexOf(e)?t:e}class E extends y{constructor(e,t,n,r,i=void 0){"undefined"!==typeof i&&(i.type="string",i.enum=r.slice(0),i.default=n),super(e,t,n,i),this._allowedValues=r}validate(e){return x(e,this.defaultValue,this._allowedValues)}}class O extends h{constructor(e,t,n,r,i,o,a=void 0){"undefined"!==typeof a&&(a.type="string",a.enum=i,a.default=r),super(e,t,n,a),this._allowedValues=i,this._convert=o}validate(e){return"string"!==typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var A,T;function I(e){switch(e){case"line":return A.Line;case"block":return A.Block;case"underline":return A.Underline;case"line-thin":return A.LineThin;case"block-outline":return A.BlockOutline;case"underline-thin":return A.UnderlineThin}}!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(A||(A={}));class R extends h{static{this.OFF='"liga" off, "calt" off'}static{this.ON='"liga" on, "calt" on'}constructor(){super(60,"fontLigatures",R.OFF,{anyOf:[{type:"boolean",description:(0,l.kg)(230,"Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:(0,l.kg)(231,"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:(0,l.kg)(232,"Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e||0===e.length?R.OFF:"true"===e?R.ON:e:Boolean(e)?R.ON:R.OFF}}class P extends h{static{this.OFF=a.qC}static{this.TRANSLATE=a.Jn}constructor(){super(63,"fontVariations",P.OFF,{anyOf:[{type:"boolean",description:(0,l.kg)(233,"Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:(0,l.kg)(234,"Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:(0,l.kg)(235,"Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e?P.OFF:"true"===e?P.TRANSLATE:e:Boolean(e)?P.TRANSLATE:P.OFF}compute(e,t,n){return e.fontInfo.fontVariationSettings}}class D extends h{static{this.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"]}static{this.MINIMUM_VALUE=1}static{this.MAXIMUM_VALUE=1e3}constructor(){super(62,"fontWeight",a.jU.fontWeight,{anyOf:[{type:"number",minimum:D.MINIMUM_VALUE,maximum:D.MAXIMUM_VALUE,errorMessage:(0,l.kg)(237,'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:D.SUGGESTION_VALUES}],default:a.jU.fontWeight,description:(0,l.kg)(238,'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(k.clampedInt(e,a.jU.fontWeight,D.MINIMUM_VALUE,D.MAXIMUM_VALUE))}}class z extends m{constructor(){super(165,{width:0,height:0,glyphMarginLeft:0,glyphMarginWidth:0,glyphMarginDecorationLaneCount:0,lineNumbersLeft:0,lineNumbersWidth:0,decorationsLeft:0,decorationsWidth:0,contentLeft:0,contentWidth:0,minimap:{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:0,minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:0},viewportColumn:0,isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1,verticalScrollbarWidth:0,horizontalScrollbarHeight:0,overviewRuler:{top:0,width:0,height:0,right:0}})}compute(e,t,n){return z.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight);let r=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(r=Math.max(r,t-1));const i=(n+e.viewLineCount+r)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:r,desiredRatio:i,minimapLineCount:Math.floor(e.viewLineCount/i)}}static _computeMinimapLayout(e,t){const n=e.outerWidth,r=e.outerHeight,i=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(i*r),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:r};const o=t.stableMinimapLayoutInput,a=o&&e.outerHeight===o.outerHeight&&e.lineHeight===o.lineHeight&&e.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&e.pixelRatio===o.pixelRatio&&e.scrollBeyondLastLine===o.scrollBeyondLastLine&&e.paddingTop===o.paddingTop&&e.paddingBottom===o.paddingBottom&&e.minimap.enabled===o.minimap.enabled&&e.minimap.side===o.minimap.side&&e.minimap.size===o.minimap.size&&e.minimap.showSlider===o.minimap.showSlider&&e.minimap.renderCharacters===o.minimap.renderCharacters&&e.minimap.maxColumn===o.minimap.maxColumn&&e.minimap.scale===o.minimap.scale&&e.verticalScrollbarWidth===o.verticalScrollbarWidth&&e.isViewportWrapping===o.isViewportWrapping,s=e.lineHeight,u=e.typicalHalfwidthCharacterWidth,l=e.scrollBeyondLastLine,d=e.minimap.renderCharacters;let f=i>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const h=e.minimap.maxColumn,p=e.minimap.size,g=e.minimap.side,m=e.verticalScrollbarWidth,y=e.viewLineCount,v=e.remainingWidth,b=e.isViewportWrapping,w=d?2:3;let k=Math.floor(i*r);const S=k/i;let _=!1,C=!1,x=w*f,E=f/i,O=1;if("fill"===p||"fit"===p){const{typicalViewportLineCount:n,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:u,desiredRatio:c,minimapLineCount:d}=z.computeContainedMinimapLineCount({viewLineCount:y,scrollBeyondLastLine:l,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:r,lineHeight:s,pixelRatio:i});if(y/d>1)_=!0,C=!0,f=1,x=1,E=f/i;else{let r=!1,l=f+1;if("fit"===p){const e=Math.ceil((o+y+u)*x);b&&a&&v<=t.stableFitRemainingWidth?(r=!0,l=t.stableFitMaxMinimapScale):r=e>k}if("fill"===p||r){_=!0;const r=f;x=Math.min(s*i,Math.max(1,Math.floor(1/c))),b&&a&&v<=t.stableFitRemainingWidth&&(l=t.stableFitMaxMinimapScale),f=Math.min(l,Math.max(1,Math.floor(x/w))),f>r&&(O=Math.min(2,f/r)),E=f/i/O,k=Math.ceil(Math.max(n,o+y+u)*x),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=v,t.stableFitMaxMinimapScale=f):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const A=Math.floor(h*E),T=Math.min(A,Math.max(0,Math.floor((v-m-2)*E/(u+E)))+c);let I=Math.floor(i*T);const R=I/i;I=Math.floor(I*O);return{renderMinimap:d?1:2,minimapLeft:"left"===g?0:n-T-m,minimapWidth:T,minimapHeightIsEditorHeight:_,minimapIsSampling:C,minimapScale:f,minimapLineHeight:x,minimapCanvasInnerWidth:I,minimapCanvasInnerHeight:k,minimapCanvasOuterWidth:R,minimapCanvasOuterHeight:S}}static computeLayout(e,t){const n=0|t.outerWidth,r=0|t.outerHeight,i=0|t.lineHeight,o=0|t.lineNumbersDigitCount,a=t.typicalHalfwidthCharacterWidth,s=t.maxDigitWidth,u=t.pixelRatio,l=t.viewLineCount,c=e.get(154),d="inherit"===c?e.get(153):c,h="inherit"===d?e.get(149):d,p=e.get(152),g=t.isDominatedByLongLines,m=e.get(66),y=0!==e.get(76).renderType,v=e.get(77),b=e.get(119),w=e.get(96),k=e.get(81),S=e.get(117),_=S.verticalScrollbarSize,C=S.verticalHasArrows,x=S.arrowSize,E=S.horizontalScrollbarSize,O=e.get(52),A="never"!==e.get(126);let T=e.get(74);O&&A&&(T+=16);let I=0;if(y){const e=Math.max(o,v);I=Math.round(e*s)}let R=0;m&&(R=i*t.glyphMarginDecorationLaneCount);let P=0,D=P+R,L=D+I,N=L+T;const M=n-R-I-T;let j=!1,F=!1,B=-1;2===e.get(2)&&"inherit"===d&&g?(j=!0,F=!0):"on"===h||"bounded"===h?F=!0:"wordWrapColumn"===h&&(B=p);const U=z._computeMinimapLayout({outerWidth:n,outerHeight:r,lineHeight:i,typicalHalfwidthCharacterWidth:a,pixelRatio:u,scrollBeyondLastLine:b,paddingTop:w.top,paddingBottom:w.bottom,minimap:k,verticalScrollbarWidth:_,viewLineCount:l,remainingWidth:M,isViewportWrapping:F},t.memory||new f);0!==U.renderMinimap&&0===U.minimapLeft&&(P+=U.minimapWidth,D+=U.minimapWidth,L+=U.minimapWidth,N+=U.minimapWidth);const W=M-U.minimapWidth,q=Math.max(1,Math.floor((W-_-2)/a)),V=C?x:0;return F&&(B=Math.max(1,q),"bounded"===h&&(B=Math.min(B,p))),{width:n,height:r,glyphMarginLeft:P,glyphMarginWidth:R,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:D,lineNumbersWidth:I,decorationsLeft:L,decorationsWidth:T,contentLeft:N,contentWidth:W,minimap:U,viewportColumn:q,isWordWrapMinified:j,isViewportWrapping:F,wrappingColumn:B,verticalScrollbarWidth:_,horizontalScrollbarHeight:E,overviewRuler:{top:V,width:_,height:r-2*V,right:0}}}}!function(e){e.Off="off",e.OnCode="onCode",e.On="on"}(T||(T={}));function L(e){const t=e.get(112);return"editable"===t?e.get(104):"on"!==t}function N(e){return!e.get(172)}function M(e,t){if("string"!==typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}const j="inUntrustedWorkspace",F={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function B(e,t,n){const r=n.indexOf(e);return-1===r?t:n[r]}const U=[];function W(e){return U[e.id]=e,e}const q={acceptSuggestionOnCommitCharacter:W(new b(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:(0,l.kg)(439,"Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:W(new E(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",(0,l.kg)(440,"Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:(0,l.kg)(441,"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:W(new class extends h{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[(0,l.kg)(204,"Use platform APIs to detect when a Screen Reader is attached."),(0,l.kg)(205,"Optimize for usage with a Screen Reader."),(0,l.kg)(206,"Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:(0,l.kg)(207,"Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,n){return 0===n?e.accessibilitySupport:n}}),accessibilityPageSize:W(new k(3,"accessibilityPageSize",500,1,1073741824,{description:(0,l.kg)(442,"Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),allowOverflow:W(new b(4,"allowOverflow",!0)),allowVariableLineHeights:W(new b(5,"allowVariableLineHeights",!0,{description:(0,l.kg)(443,"Controls whether to allow using variable line heights in the editor.")})),allowVariableFonts:W(new b(6,"allowVariableFonts",!0,{description:(0,l.kg)(444,"Controls whether to allow using variable fonts in the editor.")})),allowVariableFontsInAccessibilityMode:W(new b(7,"allowVariableFontsInAccessibilityMode",!1,{description:(0,l.kg)(445,"Controls whether to allow using variable fonts in the editor in the accessibility mode."),tags:["accessibility"]})),ariaLabel:W(new C(8,"ariaLabel",(0,l.kg)(446,"Editor content"))),ariaRequired:W(new b(9,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:W(new b(12,"screenReaderAnnounceInlineSuggestion",!0,{description:(0,l.kg)(447,"Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:W(new E(10,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",(0,l.kg)(448,"Use language configurations to determine when to autoclose brackets."),(0,l.kg)(449,"Autoclose brackets only when the cursor is to the left of whitespace."),""],description:(0,l.kg)(450,"Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:W(new E(11,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",(0,l.kg)(451,"Use language configurations to determine when to autoclose comments."),(0,l.kg)(452,"Autoclose comments only when the cursor is to the left of whitespace."),""],description:(0,l.kg)(453,"Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:W(new E(13,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",(0,l.kg)(454,"Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:(0,l.kg)(455,"Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:W(new E(14,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",(0,l.kg)(456,"Type over closing quotes or brackets only if they were automatically inserted."),""],description:(0,l.kg)(457,"Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:W(new E(15,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",(0,l.kg)(458,"Use language configurations to determine when to autoclose quotes."),(0,l.kg)(459,"Autoclose quotes only when the cursor is to the left of whitespace."),""],description:(0,l.kg)(460,"Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:W(new O(16,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}},{enumDescriptions:[(0,l.kg)(461,"The editor will not insert indentation automatically."),(0,l.kg)(462,"The editor will keep the current line's indentation."),(0,l.kg)(463,"The editor will keep the current line's indentation and honor language defined brackets."),(0,l.kg)(464,"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),(0,l.kg)(465,"The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:(0,l.kg)(466,"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),autoIndentOnPaste:W(new b(17,"autoIndentOnPaste",!1,{description:(0,l.kg)(467,"Controls whether the editor should automatically auto-indent the pasted content.")})),autoIndentOnPasteWithinString:W(new b(18,"autoIndentOnPasteWithinString",!0,{description:(0,l.kg)(468,"Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true.")})),automaticLayout:W(new b(19,"automaticLayout",!1)),autoSurround:W(new E(20,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[(0,l.kg)(469,"Use language configurations to determine when to automatically surround selections."),(0,l.kg)(470,"Surround with quotes but not brackets."),(0,l.kg)(471,"Surround with brackets but not quotes."),""],description:(0,l.kg)(472,"Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:W(new class extends h{constructor(){const e={enabled:s.R.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:s.R.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(21,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:(0,l.kg)(359,"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:(0,l.kg)(360,"Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:v(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}),bracketPairGuides:W(new class extends h{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(22,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[(0,l.kg)(361,"Enables bracket pair guides."),(0,l.kg)(362,"Enables bracket pair guides only for the active bracket pair."),(0,l.kg)(363,"Disables bracket pair guides.")],default:e.bracketPairs,description:(0,l.kg)(364,"Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[(0,l.kg)(365,"Enables horizontal guides as addition to vertical bracket pair guides."),(0,l.kg)(366,"Enables horizontal guides only for the active bracket pair."),(0,l.kg)(367,"Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:(0,l.kg)(368,"Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:(0,l.kg)(369,"Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:(0,l.kg)(370,"Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[(0,l.kg)(371,"Highlights the active indent guide."),(0,l.kg)(372,"Highlights the active indent guide even if bracket guides are highlighted."),(0,l.kg)(373,"Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:(0,l.kg)(374,"Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{bracketPairs:B(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:B(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:v(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:v(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:B(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}),stickyTabStops:W(new b(132,"stickyTabStops",!1,{description:(0,l.kg)(473,"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:W(new b(23,"codeLens",!0,{description:(0,l.kg)(474,"Controls whether the editor shows CodeLens.")})),codeLensFontFamily:W(new C(24,"codeLensFontFamily","",{description:(0,l.kg)(475,"Controls the font family for CodeLens.")})),codeLensFontSize:W(new k(25,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:(0,l.kg)(476,"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:W(new b(26,"colorDecorators",!0,{description:(0,l.kg)(477,"Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:W(new E(168,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[(0,l.kg)(478,"Make the color picker appear both on click and hover of the color decorator"),(0,l.kg)(479,"Make the color picker appear on hover of the color decorator"),(0,l.kg)(480,"Make the color picker appear on click of the color decorator")],description:(0,l.kg)(481,"Controls the condition to make a color picker appear from a color decorator.")})),colorDecoratorsLimit:W(new k(27,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:(0,l.kg)(482,"Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:W(new b(28,"columnSelection",!1,{description:(0,l.kg)(483,"Enable that the selection with the mouse and keys is doing column selection.")})),comments:W(new class extends h{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(29,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:(0,l.kg)(208,"Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:(0,l.kg)(209,"Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertSpace:v(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:v(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:W(new b(30,"contextmenu",!0)),copyWithSyntaxHighlighting:W(new b(31,"copyWithSyntaxHighlighting",!0,{description:(0,l.kg)(484,"Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:W(new O(32,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}},{description:(0,l.kg)(485,"Control the cursor animation style.")})),cursorSmoothCaretAnimation:W(new E(33,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[(0,l.kg)(486,"Smooth caret animation is disabled."),(0,l.kg)(487,"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),(0,l.kg)(488,"Smooth caret animation is always enabled.")],description:(0,l.kg)(489,"Controls whether the smooth caret animation should be enabled.")})),cursorStyle:W(new O(34,"cursorStyle",A.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],I,{description:(0,l.kg)(490,"Controls the cursor style in insert input mode.")})),overtypeCursorStyle:W(new O(92,"overtypeCursorStyle",A.Block,"block",["line","block","underline","line-thin","block-outline","underline-thin"],I,{description:(0,l.kg)(491,"Controls the cursor style in overtype input mode.")})),cursorSurroundingLines:W(new k(35,"cursorSurroundingLines",0,0,1073741824,{description:(0,l.kg)(492,"Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:W(new E(36,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[(0,l.kg)(493,"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),(0,l.kg)(494,"`cursorSurroundingLines` is enforced always.")],markdownDescription:(0,l.kg)(495,"Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:W(new k(37,"cursorWidth",0,0,1073741824,{markdownDescription:(0,l.kg)(496,"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),cursorHeight:W(new k(38,"cursorHeight",0,0,1073741824,{markdownDescription:(0,l.kg)(497,"Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height.")})),disableLayerHinting:W(new b(39,"disableLayerHinting",!1)),disableMonospaceOptimizations:W(new b(40,"disableMonospaceOptimizations",!1)),domReadOnly:W(new b(41,"domReadOnly",!1)),dragAndDrop:W(new b(42,"dragAndDrop",!0,{description:(0,l.kg)(498,"Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:W(new class extends b{constructor(){super(45,"emptySelectionClipboard",!0,{description:(0,l.kg)(210,"Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}),dropIntoEditor:W(new class extends h{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(43,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:(0,l.kg)(431,"Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:"string",markdownDescription:(0,l.kg)(432,"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),enum:["afterDrop","never"],enumDescriptions:[(0,l.kg)(433,"Show the drop selector widget after a file is dropped into the editor."),(0,l.kg)(434,"Never show the drop selector widget. Instead the default drop provider is always used.")],default:"afterDrop"}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),showDropSelector:x(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}),editContext:W(new b(44,"editContext",!0,{description:(0,l.kg)(499,"Sets whether the EditContext API should be used instead of the text area to power input in the editor."),included:o.H8||o.UP||o.ib})),renderRichScreenReaderContent:W(new b(107,"renderRichScreenReaderContent",!1,{markdownDescription:(0,l.kg)(500,"Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled.")})),stickyScroll:W(new class extends h{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(131,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:(0,l.kg)(268,"Shows the nested current scopes during the scroll at the top of the editor.")},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:20,description:(0,l.kg)(269,"Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:(0,l.kg)(270,"Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")},"editor.stickyScroll.scrollWithEditor":{type:"boolean",default:e.scrollWithEditor,description:(0,l.kg)(271,"Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),maxLineCount:k.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:x(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:v(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}),experimentalGpuAcceleration:W(new E(46,"experimentalGpuAcceleration","off",["off","on"],{tags:["experimental"],enumDescriptions:[(0,l.kg)(501,"Use regular DOM-based rendering."),(0,l.kg)(502,"Use GPU acceleration.")],description:(0,l.kg)(503,"Controls whether to use the experimental GPU acceleration to render the editor.")})),experimentalWhitespaceRendering:W(new E(47,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[(0,l.kg)(504,"Use a new rendering method with svgs."),(0,l.kg)(505,"Use a new rendering method with font characters."),(0,l.kg)(506,"Use the stable rendering method.")],description:(0,l.kg)(507,"Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:W(new C(48,"extraEditorClassName","")),fastScrollSensitivity:W(new _(49,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:(0,l.kg)(508,"Scrolling speed multiplier when pressing `Alt`.")})),find:W(new class extends h{constructor(){const e={cursorMoveOnType:!0,findOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0,history:"workspace",replaceHistory:"workspace"};super(50,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:(0,l.kg)(211,"Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[(0,l.kg)(212,"Never seed search string from the editor selection."),(0,l.kg)(213,"Always seed search string from the editor selection, including word at cursor position."),(0,l.kg)(214,"Only seed search string from the editor selection.")],description:(0,l.kg)(215,"Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[(0,l.kg)(216,"Never turn on Find in Selection automatically (default)."),(0,l.kg)(217,"Always turn on Find in Selection automatically."),(0,l.kg)(218,"Turn on Find in Selection automatically when multiple lines of content are selected.")],description:(0,l.kg)(219,"Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:(0,l.kg)(220,"Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:o.zx},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:(0,l.kg)(221,"Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:(0,l.kg)(222,"Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")},"editor.find.history":{type:"string",enum:["never","workspace"],default:"workspace",enumDescriptions:[(0,l.kg)(223,"Do not store search history from the find widget."),(0,l.kg)(224,"Store search history across the active workspace")],description:(0,l.kg)(225,"Controls how the find widget history should be stored")},"editor.find.replaceHistory":{type:"string",enum:["never","workspace"],default:"workspace",enumDescriptions:[(0,l.kg)(226,"Do not store history from the replace widget."),(0,l.kg)(227,"Store replace history across the active workspace")],description:(0,l.kg)(228,"Controls how the replace widget history should be stored")},"editor.find.findOnType":{type:"boolean",default:e.findOnType,description:(0,l.kg)(229,"Controls whether the Find Widget should search as you type.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:v(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),findOnType:v(t.findOnType,this.defaultValue.findOnType),seedSearchStringFromSelection:"boolean"===typeof t.seedSearchStringFromSelection?t.seedSearchStringFromSelection?"always":"never":x(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"===typeof t.autoFindInSelection?t.autoFindInSelection?"always":"never":x(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:v(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:v(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:v(t.loop,this.defaultValue.loop),history:x(t.history,this.defaultValue.history,["never","workspace"]),replaceHistory:x(t.replaceHistory,this.defaultValue.replaceHistory,["never","workspace"])}}}),fixedOverflowWidgets:W(new b(51,"fixedOverflowWidgets",!1)),folding:W(new b(52,"folding",!0,{description:(0,l.kg)(509,"Controls whether the editor has code folding enabled.")})),foldingStrategy:W(new E(53,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[(0,l.kg)(510,"Use a language-specific folding strategy if available, else the indentation-based one."),(0,l.kg)(511,"Use the indentation-based folding strategy.")],description:(0,l.kg)(512,"Controls the strategy for computing folding ranges.")})),foldingHighlight:W(new b(54,"foldingHighlight",!0,{description:(0,l.kg)(513,"Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:W(new b(55,"foldingImportsByDefault",!1,{description:(0,l.kg)(514,"Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:W(new k(56,"foldingMaximumRegions",5e3,10,65e3,{description:(0,l.kg)(515,"The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:W(new b(57,"unfoldOnClickAfterEndOfLine",!1,{description:(0,l.kg)(516,"Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:W(new C(58,"fontFamily",a.jU.fontFamily,{description:(0,l.kg)(517,"Controls the font family.")})),fontInfo:W(new class extends m{constructor(){super(59,new a.YJ({pixelRatio:0,fontFamily:"",fontWeight:"",fontSize:0,fontFeatureSettings:"",fontVariationSettings:"",lineHeight:0,letterSpacing:0,isMonospace:!1,typicalHalfwidthCharacterWidth:0,typicalFullwidthCharacterWidth:0,canUseHalfwidthRightwardsArrow:!1,spaceWidth:0,middotWidth:0,wsmiddotWidth:0,maxDigitWidth:0},!1))}compute(e,t,n){return e.fontInfo}}),fontLigatures2:W(new R),fontSize:W(new class extends y{constructor(){super(61,"fontSize",a.jU.fontSize,{type:"number",minimum:6,maximum:100,default:a.jU.fontSize,description:(0,l.kg)(236,"Controls the font size in pixels.")})}validate(e){const t=_.float(e,this.defaultValue);return 0===t?a.jU.fontSize:_.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}),fontWeight:W(new D),fontVariations:W(new P),formatOnPaste:W(new b(64,"formatOnPaste",!1,{description:(0,l.kg)(518,"Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:W(new b(65,"formatOnType",!1,{description:(0,l.kg)(519,"Controls whether the editor should automatically format the line after typing.")})),glyphMargin:W(new b(66,"glyphMargin",!0,{description:(0,l.kg)(520,"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:W(new class extends h{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[(0,l.kg)(239,"Show Peek view of the results (default)"),(0,l.kg)(240,"Go to the primary result and show a Peek view"),(0,l.kg)(241,"Go to the primary result and enable Peek-less navigation to others")]},n=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(67,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:(0,l.kg)(242,"This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":{description:(0,l.kg)(243,"Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:(0,l.kg)(244,"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleDeclarations":{description:(0,l.kg)(245,"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleImplementations":{description:(0,l.kg)(246,"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),...t},"editor.gotoLocation.multipleReferences":{description:(0,l.kg)(247,"Controls the behavior the 'Go to References'-command when multiple target locations exist."),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:n,description:(0,l.kg)(248,"Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:n,description:(0,l.kg)(249,"Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:n,description:(0,l.kg)(250,"Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:n,description:(0,l.kg)(251,"Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:n,description:(0,l.kg)(252,"Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{multiple:x(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:x(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:x(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:x(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:x(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:x(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:x(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:C.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:C.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:C.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:C.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:C.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:C.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}),hideCursorInOverviewRuler:W(new b(68,"hideCursorInOverviewRuler",!1,{description:(0,l.kg)(521,"Controls whether the cursor should be hidden in the overview ruler.")})),hover:W(new class extends h{constructor(){const e={enabled:"on",delay:300,hidingDelay:300,sticky:!0,above:!0};super(69,"hover",e,{"editor.hover.enabled":{type:"string",enum:["on","off","onKeyboardModifier"],default:e.enabled,markdownEnumDescriptions:[(0,l.kg)(253,"Hover is enabled."),(0,l.kg)(254,"Hover is disabled."),(0,l.kg)(255,"Hover is shown when holding `{0}` or `Alt` (the opposite modifier of `#editor.multiCursorModifier#`)",o.zx?"Command":"Control")],description:(0,l.kg)(256,"Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:(0,l.kg)(257,"Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:(0,l.kg)(258,"Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.hidingDelay":{type:"integer",minimum:0,default:e.hidingDelay,markdownDescription:(0,l.kg)(259,"Controls the delay in milliseconds after which the hover is hidden. Requires `#editor.hover.sticky#` to be enabled.")},"editor.hover.above":{type:"boolean",default:e.above,description:(0,l.kg)(260,"Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:x(t.enabled,this.defaultValue.enabled,["on","off","onKeyboardModifier"]),delay:k.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:v(t.sticky,this.defaultValue.sticky),hidingDelay:k.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:v(t.above,this.defaultValue.above)}}}),inDiffEditor:W(new b(70,"inDiffEditor",!1)),inertialScroll:W(new b(158,"inertialScroll",!1,{description:(0,l.kg)(522,"Make scrolling inertial - mostly useful with touchpad on linux.")})),letterSpacing:W(new _(72,"letterSpacing",a.jU.letterSpacing,e=>_.clamp(e,-5,20),{description:(0,l.kg)(523,"Controls the letter spacing in pixels.")})),lightbulb:W(new class extends h{constructor(){const e={enabled:T.OnCode};super(73,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",enum:[T.Off,T.OnCode,T.On],default:e.enabled,enumDescriptions:[(0,l.kg)(264,"Disable the code action menu."),(0,l.kg)(265,"Show the code action menu when the cursor is on lines with code."),(0,l.kg)(266,"Show the code action menu when the cursor is on lines with code or on empty lines.")],description:(0,l.kg)(267,"Enables the Code Action lightbulb in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;return{enabled:x(e.enabled,this.defaultValue.enabled,[T.Off,T.OnCode,T.On])}}}),lineDecorationsWidth:W(new class extends h{constructor(){super(74,"lineDecorationsWidth",10)}validate(e){if("string"===typeof e&&/^\d+(\.\d+)?ch$/.test(e)){return-parseFloat(e.substring(0,e.length-2))}return k.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,n){return n<0?k.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}}),lineHeight:W(new class extends _{constructor(){super(75,"lineHeight",a.jU.lineHeight,e=>_.clamp(e,0,150),{markdownDescription:(0,l.kg)(281,"Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")},0,150)}compute(e,t,n){return e.fontInfo.lineHeight}}),lineNumbers:W(new class extends h{constructor(){super(76,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[(0,l.kg)(312,"Line numbers are not rendered."),(0,l.kg)(313,"Line numbers are rendered as absolute number."),(0,l.kg)(314,"Line numbers are rendered as distance in lines to cursor position."),(0,l.kg)(315,"Line numbers are rendered every 10 lines.")],default:"on",description:(0,l.kg)(316,"Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return"undefined"!==typeof e&&("function"===typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}),lineNumbersMinChars:W(new k(77,"lineNumbersMinChars",5,1,300)),linkedEditing:W(new b(78,"linkedEditing",!1,{description:(0,l.kg)(524,"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:W(new b(79,"links",!0,{description:(0,l.kg)(525,"Controls whether the editor should detect links and make them clickable.")})),matchBrackets:W(new E(80,"matchBrackets","always",["always","near","never"],{description:(0,l.kg)(526,"Highlight matching brackets.")})),minimap:W(new class extends h{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:"none",renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,markSectionHeaderRegex:"\\bMARK:\\s*(?<separator>-?)\\s*(?<label>.*)$",sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(81,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:(0,l.kg)(282,"Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"string",enum:["none","mouseover","scroll"],enumDescriptions:[(0,l.kg)(283,"The minimap is always shown."),(0,l.kg)(284,"The minimap is hidden when mouse is not over the minimap and shown when mouse is over the minimap."),(0,l.kg)(285,"The minimap is only shown when the editor is scrolled")],default:e.autohide,description:(0,l.kg)(286,"Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[(0,l.kg)(287,"The minimap has the same size as the editor contents (and might scroll)."),(0,l.kg)(288,"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),(0,l.kg)(289,"The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:(0,l.kg)(290,"Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:(0,l.kg)(291,"Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:(0,l.kg)(292,"Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:(0,l.kg)(293,"Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:(0,l.kg)(294,"Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:(0,l.kg)(295,"Limit the width of the minimap to render at most a certain number of columns.")},"editor.minimap.showRegionSectionHeaders":{type:"boolean",default:e.showRegionSectionHeaders,description:(0,l.kg)(296,"Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:(0,l.kg)(297,"Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.markSectionHeaderRegex":{type:"string",default:e.markSectionHeaderRegex,description:(0,l.kg)(298,"Defines the regular expression used to find section headers in comments. The regex must contain a named match group `label` (written as `(?<label>.+)`) that encapsulates the section header, otherwise it will not work. Optionally you can include another match group named `separator`. Use \\n in the pattern to match multi-line headers.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:(0,l.kg)(299,"Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:(0,l.kg)(300,"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;let n=this.defaultValue.markSectionHeaderRegex;const r=t.markSectionHeaderRegex;if("string"===typeof r)try{new RegExp(r,"d"),n=r}catch{}return{enabled:v(t.enabled,this.defaultValue.enabled),autohide:x(t.autohide,this.defaultValue.autohide,["none","mouseover","scroll"]),size:x(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:x(t.side,this.defaultValue.side,["right","left"]),showSlider:x(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:v(t.renderCharacters,this.defaultValue.renderCharacters),scale:k.clampedInt(t.scale,1,1,3),maxColumn:k.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:v(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:v(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),markSectionHeaderRegex:n,sectionHeaderFontSize:_.clamp(_.float(t.sectionHeaderFontSize,this.defaultValue.sectionHeaderFontSize),4,32),sectionHeaderLetterSpacing:_.clamp(_.float(t.sectionHeaderLetterSpacing,this.defaultValue.sectionHeaderLetterSpacing),0,5)}}}),mouseStyle:W(new E(82,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:W(new _(83,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:(0,l.kg)(527,"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:W(new b(84,"mouseWheelZoom",!1,{markdownDescription:o.zx?(0,l.kg)(528,"Zoom the font of the editor when using mouse wheel and holding `Cmd`."):(0,l.kg)(529,"Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:W(new b(85,"multiCursorMergeOverlapping",!0,{description:(0,l.kg)(530,"Merge multiple cursors when they are overlapping.")})),multiCursorModifier:W(new O(86,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],function(e){return"ctrlCmd"===e?o.zx?"metaKey":"ctrlKey":"altKey"},{markdownEnumDescriptions:[(0,l.kg)(531,"Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,l.kg)(532,"Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:(0,l.kg)(533,"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),mouseMiddleClickAction:W(new E(87,"mouseMiddleClickAction","default",["default","openLink","ctrlLeftClick"],{description:(0,l.kg)(534,"Controls what happens when middle mouse button is clicked in the editor.")})),multiCursorPaste:W(new E(88,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[(0,l.kg)(535,"Each cursor pastes a single line of the text."),(0,l.kg)(536,"Each cursor pastes the full text.")],markdownDescription:(0,l.kg)(537,"Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:W(new k(89,"multiCursorLimit",1e4,1,1e5,{markdownDescription:(0,l.kg)(538,"Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:W(new E(90,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[(0,l.kg)(539,"Does not highlight occurrences."),(0,l.kg)(540,"Highlights occurrences only in the current file."),(0,l.kg)(541,"Experimental: Highlights occurrences across all valid open files.")],markdownDescription:(0,l.kg)(542,"Controls whether occurrences should be highlighted across open files.")})),occurrencesHighlightDelay:W(new k(91,"occurrencesHighlightDelay",0,0,2e3,{description:(0,l.kg)(543,"Controls the delay in milliseconds after which occurrences are highlighted."),tags:["preview"]})),overtypeOnPaste:W(new b(93,"overtypeOnPaste",!0,{description:(0,l.kg)(544,"Controls whether pasting should overtype.")})),overviewRulerBorder:W(new b(94,"overviewRulerBorder",!0,{description:(0,l.kg)(545,"Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:W(new k(95,"overviewRulerLanes",3,0,3)),padding:W(new class extends h{constructor(){super(96,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:(0,l.kg)(301,"Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:(0,l.kg)(302,"Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{top:k.clampedInt(t.top,0,0,1e3),bottom:k.clampedInt(t.bottom,0,0,1e3)}}}),pasteAs:W(new class extends h{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(97,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:(0,l.kg)(435,"Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:(0,l.kg)(436,"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),enum:["afterPaste","never"],enumDescriptions:[(0,l.kg)(437,"Show the paste selector widget after content is pasted into the editor."),(0,l.kg)(438,"Never show the paste selector widget. Instead the default pasting behavior is always used.")],default:"afterPaste"}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),showPasteSelector:x(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}),parameterHints:W(new class extends h{constructor(){const e={enabled:!0,cycle:!0};super(98,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:(0,l.kg)(303,"Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:(0,l.kg)(304,"Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),cycle:v(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:W(new E(99,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[(0,l.kg)(546,"Focus the tree when opening peek"),(0,l.kg)(547,"Focus the editor when opening peek")],description:(0,l.kg)(548,"Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:W(new class extends h{constructor(){super(100,"placeholder",void 0)}validate(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?e:this.defaultValue}}),definitionLinkOpensInPeek:W(new b(101,"definitionLinkOpensInPeek",!1,{description:(0,l.kg)(549,"Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:W(new class extends h{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[(0,l.kg)(305,"Quick suggestions show inside the suggest widget"),(0,l.kg)(306,"Quick suggestions show as ghost text"),(0,l.kg)(307,"Quick suggestions are disabled")]}];super(102,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:(0,l.kg)(308,"Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:(0,l.kg)(309,"Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:(0,l.kg)(310,"Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:(0,l.kg)(311,"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.","`#editor.suggestOnTriggerCharacters#`")}),this.defaultValue=e}validate(e){if("boolean"===typeof e){const t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!==typeof e)return this.defaultValue;const{other:t,comments:n,strings:r}=e,i=["on","inline","off"];let o,a,s;return o="boolean"===typeof t?t?"on":"off":x(t,this.defaultValue.other,i),a="boolean"===typeof n?n?"on":"off":x(n,this.defaultValue.comments,i),s="boolean"===typeof r?r?"on":"off":x(r,this.defaultValue.strings,i),{other:o,comments:a,strings:s}}}),quickSuggestionsDelay:W(new k(103,"quickSuggestionsDelay",10,0,1073741824,{description:(0,l.kg)(550,"Controls the delay in milliseconds after which quick suggestions will show up."),experiment:{mode:"auto"}})),readOnly:W(new b(104,"readOnly",!1)),readOnlyMessage:W(new class extends h{constructor(){super(105,"readOnlyMessage",void 0)}validate(e){return e&&"object"===typeof e?e:this.defaultValue}}),renameOnType:W(new b(106,"renameOnType",!1,{description:(0,l.kg)(551,"Controls whether the editor auto renames on type."),markdownDeprecationMessage:(0,l.kg)(552,"Deprecated, use `#editor.linkedEditing#` instead.")})),renderControlCharacters:W(new b(108,"renderControlCharacters",!0,{description:(0,l.kg)(553,"Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:W(new E(109,"renderFinalNewline",o.j9?"dimmed":"on",["off","on","dimmed"],{description:(0,l.kg)(554,"Render last line number when the file ends with a newline.")})),renderLineHighlight:W(new E(110,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",(0,l.kg)(555,"Highlights both the gutter and the current line.")],description:(0,l.kg)(556,"Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:W(new b(111,"renderLineHighlightOnlyWhenFocus",!1,{description:(0,l.kg)(557,"Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:W(new E(112,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:W(new E(113,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",(0,l.kg)(558,"Render whitespace characters except for single spaces between words."),(0,l.kg)(559,"Render whitespace characters only on selected text."),(0,l.kg)(560,"Render only trailing whitespace characters."),""],description:(0,l.kg)(561,"Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:W(new k(114,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:W(new b(115,"roundedSelection",!0,{description:(0,l.kg)(562,"Controls whether selections should have rounded corners.")})),rulers:W(new class extends h{constructor(){const e=[],t={type:"number",description:(0,l.kg)(317,"Number of monospace characters at which this editor ruler will render.")};super(116,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:(0,l.kg)(318,"Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:(0,l.kg)(319,"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const n of e)if("number"===typeof n)t.push({column:k.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"===typeof n){const e=n;t.push({column:k.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}),scrollbar:W(new class extends h{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(117,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[(0,l.kg)(320,"The vertical scrollbar will be visible only when necessary."),(0,l.kg)(321,"The vertical scrollbar will always be visible."),(0,l.kg)(322,"The vertical scrollbar will always be hidden.")],default:"auto",description:(0,l.kg)(323,"Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[(0,l.kg)(324,"The horizontal scrollbar will be visible only when necessary."),(0,l.kg)(325,"The horizontal scrollbar will always be visible."),(0,l.kg)(326,"The horizontal scrollbar will always be hidden.")],default:"auto",description:(0,l.kg)(327,"Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:(0,l.kg)(328,"The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:(0,l.kg)(329,"The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:(0,l.kg)(330,"Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:(0,l.kg)(331,"When set, the horizontal scrollbar will not increase the size of the editor's content.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e,n=k.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),r=k.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:k.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:M(t.vertical,this.defaultValue.vertical),horizontal:M(t.horizontal,this.defaultValue.horizontal),useShadows:v(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:v(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:v(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:v(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:v(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:k.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:r,verticalSliderSize:k.clampedInt(t.verticalSliderSize,r,0,1e3),scrollByPage:v(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:v(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}}),scrollBeyondLastColumn:W(new k(118,"scrollBeyondLastColumn",4,0,1073741824,{description:(0,l.kg)(563,"Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:W(new b(119,"scrollBeyondLastLine",!0,{description:(0,l.kg)(564,"Controls whether the editor will scroll beyond the last line.")})),scrollOnMiddleClick:W(new b(171,"scrollOnMiddleClick",!1,{description:(0,l.kg)(565,"Controls whether the editor will scroll when the middle button is pressed.")})),scrollPredominantAxis:W(new b(120,"scrollPredominantAxis",!0,{description:(0,l.kg)(566,"Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:W(new b(121,"selectionClipboard",!0,{description:(0,l.kg)(567,"Controls whether the Linux primary clipboard should be supported."),included:o.j9})),selectionHighlight:W(new b(122,"selectionHighlight",!0,{description:(0,l.kg)(568,"Controls whether the editor should highlight matches similar to the selection.")})),selectionHighlightMaxLength:W(new k(123,"selectionHighlightMaxLength",200,0,1073741824,{description:(0,l.kg)(569,"Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited.")})),selectionHighlightMultiline:W(new b(124,"selectionHighlightMultiline",!1,{description:(0,l.kg)(570,"Controls whether the editor should highlight selection matches that span multiple lines.")})),selectOnLineNumbers:W(new b(125,"selectOnLineNumbers",!0)),showFoldingControls:W(new E(126,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[(0,l.kg)(571,"Always show the folding controls."),(0,l.kg)(572,"Never show the folding controls and reduce the gutter size."),(0,l.kg)(573,"Only show the folding controls when the mouse is over the gutter.")],description:(0,l.kg)(574,"Controls when the folding controls on the gutter are shown.")})),showUnused:W(new b(127,"showUnused",!0,{description:(0,l.kg)(575,"Controls fading out of unused code.")})),showDeprecated:W(new b(157,"showDeprecated",!0,{description:(0,l.kg)(576,"Controls strikethrough deprecated variables.")})),inlayHints:W(new class extends h{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1,maximumLength:43};super(159,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:(0,l.kg)(272,"Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[(0,l.kg)(273,"Inlay hints are enabled"),(0,l.kg)(274,"Inlay hints are showing by default and hide when holding {0}",o.zx?"Ctrl+Option":"Ctrl+Alt"),(0,l.kg)(275,"Inlay hints are hidden by default and show when holding {0}",o.zx?"Ctrl+Option":"Ctrl+Alt"),(0,l.kg)(276,"Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:(0,l.kg)(277,"Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:(0,l.kg)(278,"Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:(0,l.kg)(279,"Enables the padding around the inlay hints in the editor.")},"editor.inlayHints.maximumLength":{type:"number",default:e.maximumLength,markdownDescription:(0,l.kg)(280,"Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return"boolean"===typeof t.enabled&&(t.enabled=t.enabled?"on":"off"),{enabled:x(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:k.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:C.string(t.fontFamily,this.defaultValue.fontFamily),padding:v(t.padding,this.defaultValue.padding),maximumLength:k.clampedInt(t.maximumLength,this.defaultValue.maximumLength,0,Number.MAX_SAFE_INTEGER)}}}),snippetSuggestions:W(new E(128,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[(0,l.kg)(577,"Show snippet suggestions on top of other suggestions."),(0,l.kg)(578,"Show snippet suggestions below other suggestions."),(0,l.kg)(579,"Show snippets suggestions with other suggestions."),(0,l.kg)(580,"Do not show snippet suggestions.")],description:(0,l.kg)(581,"Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:W(new class extends h{constructor(){super(129,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:(0,l.kg)(423,"Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:(0,l.kg)(424,"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"===typeof e?{selectLeadingAndTrailingWhitespace:v(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:v(e.selectSubwords,this.defaultValue.selectSubwords)}:this.defaultValue}}),smoothScrolling:W(new b(130,"smoothScrolling",!1,{description:(0,l.kg)(582,"Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:W(new k(133,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:W(new class extends h{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(134,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[(0,l.kg)(375,"Insert suggestion without overwriting text right of the cursor."),(0,l.kg)(376,"Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:(0,l.kg)(377,"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:(0,l.kg)(378,"Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:(0,l.kg)(379,"Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:(0,l.kg)(380,"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[(0,l.kg)(381,"Always select a suggestion when automatically triggering IntelliSense."),(0,l.kg)(382,"Never select a suggestion when automatically triggering IntelliSense."),(0,l.kg)(383,"Select a suggestion only when triggering IntelliSense from a trigger character."),(0,l.kg)(384,"Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:(0,l.kg)(385,"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:(0,l.kg)(386,"Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:(0,l.kg)(387,"Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:(0,l.kg)(388,"Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:(0,l.kg)(389,"Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:(0,l.kg)(390,"Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:(0,l.kg)(391,"This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:(0,l.kg)(392,"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(393,"When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(394,"When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(395,"When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(396,"When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(397,"When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(398,"When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(399,"When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(400,"When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(401,"When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(402,"When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(403,"When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(404,"When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(405,"When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(406,"When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(407,"When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(408,"When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(409,"When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(410,"When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(411,"When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(412,"When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(413,"When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(414,"When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(415,"When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(416,"When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(417,"When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(418,"When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(419,"When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(420,"When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(421,"When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:(0,l.kg)(422,"When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertMode:x(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:v(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:v(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:v(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:v(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:x(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:v(t.showIcons,this.defaultValue.showIcons),showStatusBar:v(t.showStatusBar,this.defaultValue.showStatusBar),preview:v(t.preview,this.defaultValue.preview),previewMode:x(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:v(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:v(t.showMethods,this.defaultValue.showMethods),showFunctions:v(t.showFunctions,this.defaultValue.showFunctions),showConstructors:v(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:v(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:v(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:v(t.showFields,this.defaultValue.showFields),showVariables:v(t.showVariables,this.defaultValue.showVariables),showClasses:v(t.showClasses,this.defaultValue.showClasses),showStructs:v(t.showStructs,this.defaultValue.showStructs),showInterfaces:v(t.showInterfaces,this.defaultValue.showInterfaces),showModules:v(t.showModules,this.defaultValue.showModules),showProperties:v(t.showProperties,this.defaultValue.showProperties),showEvents:v(t.showEvents,this.defaultValue.showEvents),showOperators:v(t.showOperators,this.defaultValue.showOperators),showUnits:v(t.showUnits,this.defaultValue.showUnits),showValues:v(t.showValues,this.defaultValue.showValues),showConstants:v(t.showConstants,this.defaultValue.showConstants),showEnums:v(t.showEnums,this.defaultValue.showEnums),showEnumMembers:v(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:v(t.showKeywords,this.defaultValue.showKeywords),showWords:v(t.showWords,this.defaultValue.showWords),showColors:v(t.showColors,this.defaultValue.showColors),showFiles:v(t.showFiles,this.defaultValue.showFiles),showReferences:v(t.showReferences,this.defaultValue.showReferences),showFolders:v(t.showFolders,this.defaultValue.showFolders),showTypeParameters:v(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:v(t.showSnippets,this.defaultValue.showSnippets),showUsers:v(t.showUsers,this.defaultValue.showUsers),showIssues:v(t.showIssues,this.defaultValue.showIssues)}}}),inlineSuggest:W(new class extends h{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1,keepOnBlur:!1,fontFamily:"default",syntaxHighlightingEnabled:!0,minShowDelay:0,suppressInSnippetMode:!0,edits:{enabled:!0,showCollapsed:!1,renderSideBySide:"auto",allowCodeShifting:"always",showLongDistanceHint:!0},triggerCommandOnProviderChange:!1,experimental:{suppressInlineSuggestions:"",showOnSuggestConflict:"never",emptyResponseInformation:!0}};super(71,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:(0,l.kg)(339,"Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[(0,l.kg)(340,"Show the inline suggestion toolbar whenever an inline suggestion is shown."),(0,l.kg)(341,"Show the inline suggestion toolbar when hovering over an inline suggestion."),(0,l.kg)(342,"Never show the inline suggestion toolbar.")],description:(0,l.kg)(343,"Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.syntaxHighlightingEnabled":{type:"boolean",default:e.syntaxHighlightingEnabled,description:(0,l.kg)(344,"Controls whether to show syntax highlighting for inline suggestions in the editor.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:(0,l.kg)(345,"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")},"editor.inlineSuggest.suppressInSnippetMode":{type:"boolean",default:e.suppressInSnippetMode,description:(0,l.kg)(346,"Controls whether inline suggestions are suppressed when in snippet mode.")},"editor.inlineSuggest.minShowDelay":{type:"number",default:0,minimum:0,maximum:1e4,description:(0,l.kg)(347,"Controls the minimal delay in milliseconds after which inline suggestions are shown after typing.")},"editor.inlineSuggest.experimental.suppressInlineSuggestions":{type:"string",default:e.experimental.suppressInlineSuggestions,tags:["experimental"],description:(0,l.kg)(348,"Suppresses inline completions for specified extension IDs -- comma separated."),experiment:{mode:"auto"}},"editor.inlineSuggest.experimental.emptyResponseInformation":{type:"boolean",default:e.experimental.emptyResponseInformation,tags:["experimental"],description:(0,l.kg)(349,"Controls whether to send request information from the inline suggestion provider."),experiment:{mode:"auto"}},"editor.inlineSuggest.triggerCommandOnProviderChange":{type:"boolean",default:e.triggerCommandOnProviderChange,tags:["experimental"],description:(0,l.kg)(350,"Controls whether to trigger a command when the inline suggestion provider changes."),experiment:{mode:"auto"}},"editor.inlineSuggest.experimental.showOnSuggestConflict":{type:"string",default:e.experimental.showOnSuggestConflict,tags:["experimental"],enum:["always","never","whenSuggestListIsIncomplete"],description:(0,l.kg)(351,"Controls whether to show inline suggestions when there is a suggest conflict."),experiment:{mode:"auto"}},"editor.inlineSuggest.fontFamily":{type:"string",default:e.fontFamily,description:(0,l.kg)(352,"Controls the font family of the inline suggestions.")},"editor.inlineSuggest.edits.allowCodeShifting":{type:"string",default:e.edits.allowCodeShifting,description:(0,l.kg)(353,"Controls whether showing a suggestion will shift the code to make space for the suggestion inline."),enum:["always","horizontal","never"],tags:["nextEditSuggestions"]},"editor.inlineSuggest.edits.showLongDistanceHint":{type:"boolean",default:e.edits.showLongDistanceHint,description:(0,l.kg)(354,"Controls whether long distance inline suggestions are shown."),tags:["nextEditSuggestions","experimental"]},"editor.inlineSuggest.edits.renderSideBySide":{type:"string",default:e.edits.renderSideBySide,description:(0,l.kg)(355,"Controls whether larger suggestions can be shown side by side."),enum:["auto","never"],enumDescriptions:[(0,l.kg)(356,"Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."),(0,l.kg)(357,"Larger suggestions are never shown side by side and will always be shown below.")],tags:["nextEditSuggestions"]},"editor.inlineSuggest.edits.showCollapsed":{type:"boolean",default:e.edits.showCollapsed,description:(0,l.kg)(358,"Controls whether the suggestion will show as collapsed until jumping to it."),tags:["nextEditSuggestions"]}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:v(t.enabled,this.defaultValue.enabled),mode:x(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:x(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:v(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:v(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:C.string(t.fontFamily,this.defaultValue.fontFamily),syntaxHighlightingEnabled:v(t.syntaxHighlightingEnabled,this.defaultValue.syntaxHighlightingEnabled),minShowDelay:k.clampedInt(t.minShowDelay,0,0,1e4),suppressInSnippetMode:v(t.suppressInSnippetMode,this.defaultValue.suppressInSnippetMode),edits:this._validateEdits(t.edits),triggerCommandOnProviderChange:v(t.triggerCommandOnProviderChange,this.defaultValue.triggerCommandOnProviderChange),experimental:this._validateExperimental(t.experimental)}}_validateEdits(e){if(!e||"object"!==typeof e)return this.defaultValue.edits;const t=e;return{enabled:v(t.enabled,this.defaultValue.edits.enabled),showCollapsed:v(t.showCollapsed,this.defaultValue.edits.showCollapsed),allowCodeShifting:x(t.allowCodeShifting,this.defaultValue.edits.allowCodeShifting,["always","horizontal","never"]),showLongDistanceHint:v(t.showLongDistanceHint,this.defaultValue.edits.showLongDistanceHint),renderSideBySide:x(t.renderSideBySide,this.defaultValue.edits.renderSideBySide,["never","auto"])}}_validateExperimental(e){if(!e||"object"!==typeof e)return this.defaultValue.experimental;const t=e;return{suppressInlineSuggestions:C.string(t.suppressInlineSuggestions,this.defaultValue.experimental.suppressInlineSuggestions),showOnSuggestConflict:x(t.showOnSuggestConflict,this.defaultValue.experimental.showOnSuggestConflict,["always","never","whenSuggestListIsIncomplete"]),emptyResponseInformation:v(t.emptyResponseInformation,this.defaultValue.experimental.emptyResponseInformation)}}}),inlineCompletionsAccessibilityVerbose:W(new b(169,"inlineCompletionsAccessibilityVerbose",!1,{description:(0,l.kg)(583,"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:W(new k(135,"suggestFontSize",0,0,1e3,{markdownDescription:(0,l.kg)(584,"Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:W(new k(136,"suggestLineHeight",0,0,1e3,{markdownDescription:(0,l.kg)(585,"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:W(new b(137,"suggestOnTriggerCharacters",!0,{description:(0,l.kg)(586,"Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:W(new E(138,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[(0,l.kg)(587,"Always select the first suggestion."),(0,l.kg)(588,"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),(0,l.kg)(589,"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:(0,l.kg)(590,"Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:W(new E(139,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[(0,l.kg)(591,"Tab complete will insert the best matching suggestion when pressing tab."),(0,l.kg)(592,"Disable tab completions."),(0,l.kg)(593,"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:(0,l.kg)(594,"Enables tab completions.")})),tabIndex:W(new k(140,"tabIndex",0,-1,1073741824)),trimWhitespaceOnDelete:W(new b(141,"trimWhitespaceOnDelete",!1,{description:(0,l.kg)(595,"Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline.")})),unicodeHighlight:W(new class extends h{constructor(){const e={nonBasicASCII:j,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:j,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(142,"unicodeHighlight",e,{[F.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,j],default:e.nonBasicASCII,description:(0,l.kg)(332,"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[F.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:(0,l.kg)(333,"Controls whether characters that just reserve space or have no width at all are highlighted.")},[F.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:(0,l.kg)(334,"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[F.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,j],default:e.includeComments,description:(0,l.kg)(335,"Controls whether characters in comments should also be subject to Unicode highlighting.")},[F.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,j],default:e.includeStrings,description:(0,l.kg)(336,"Controls whether characters in strings should also be subject to Unicode highlighting.")},[F.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:(0,l.kg)(337,"Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[F.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:(0,l.kg)(338,"Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&e&&((0,i.aI)(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},n=!0)),t.allowedLocales&&e&&((0,i.aI)(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},n=!0));const r=super.applyUpdate(e,t);return n?new p(r.newValue,!0):r}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{nonBasicASCII:B(t.nonBasicASCII,j,[!0,!1,j]),invisibleCharacters:v(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:v(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:B(t.includeComments,j,[!0,!1,j]),includeStrings:B(t.includeStrings,j,[!0,!1,j]),allowedCharacters:this.validateBooleanMap(t.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(t.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if("object"!==typeof e||!e)return t;const n={};for(const[r,i]of Object.entries(e))!0===i&&(n[r]=!0);return n}}),unusualLineTerminators:W(new E(143,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[(0,l.kg)(596,"Unusual line terminators are automatically removed."),(0,l.kg)(597,"Unusual line terminators are ignored."),(0,l.kg)(598,"Unusual line terminators prompt to be removed.")],description:(0,l.kg)(599,"Remove unusual line terminators that might cause problems.")})),useShadowDOM:W(new b(144,"useShadowDOM",!0)),useTabStops:W(new b(145,"useTabStops",!0,{description:(0,l.kg)(600,"Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:W(new E(146,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[(0,l.kg)(601,"Use the default line break rule."),(0,l.kg)(602,"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:(0,l.kg)(603,"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:W(new class extends h{constructor(){const e=[];super(147,"wordSegmenterLocales",e,{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}],description:(0,l.kg)(425,"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),type:"array",items:{type:"string"},default:e})}validate(e){if("string"===typeof e&&(e=[e]),Array.isArray(e)){const t=[];for(const n of e)if("string"===typeof n)try{Intl.Segmenter.supportedLocalesOf(n).length>0&&t.push(n)}catch{}return t}return this.defaultValue}}),wordSeparators:W(new C(148,"wordSeparators",u.J3,{description:(0,l.kg)(604,"Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:W(new E(149,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[(0,l.kg)(605,"Lines will never wrap."),(0,l.kg)(606,"Lines will wrap at the viewport width."),(0,l.kg)(607,"Lines will wrap at `#editor.wordWrapColumn#`."),(0,l.kg)(608,"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:(0,l.kg)(609,"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:W(new C(150,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;\xa2\xb0\u2032\u2033\u2030\u2103\u3001\u3002\uff61\uff64\uffe0\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff05\u30fb\uff65\u309d\u309e\u30fd\u30fe\u30fc\u30a1\u30a3\u30a5\u30a7\u30a9\u30c3\u30e3\u30e5\u30e7\u30ee\u30f5\u30f6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308e\u3095\u3096\u31f0\u31f1\u31f2\u31f3\u31f4\u31f5\u31f6\u31f7\u31f8\u31f9\u31fa\u31fb\u31fc\u31fd\u31fe\u31ff\u3005\u303b\uff67\uff68\uff69\uff6a\uff6b\uff6c\uff6d\uff6e\uff6f\uff70\u201d\u3009\u300b\u300d\u300f\u3011\u3015\uff09\uff3d\uff5d\uff63")),wordWrapBreakBeforeCharacters:W(new C(151,"wordWrapBreakBeforeCharacters","([{\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\xa3\xa5\uff04\uffe1\uffe5+\uff0b")),wordWrapColumn:W(new k(152,"wordWrapColumn",80,1,1073741824,{markdownDescription:(0,l.kg)(610,"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:W(new E(153,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:W(new E(154,"wordWrapOverride2","inherit",["off","on","inherit"])),wrapOnEscapedLineFeeds:W(new b(160,"wrapOnEscapedLineFeeds",!1,{markdownDescription:(0,l.kg)(611,'Controls whether literal `\\n` shall trigger a wordWrap when `#editor.wordWrap#` is enabled.\n\nFor example:\n```c\nchar* str="hello\\nworld"\n```\nwill be displayed as\n```c\nchar* str="hello\\n\n world"\n```')})),effectiveCursorStyle:W(new class extends m{constructor(){super(161,A.Line)}compute(e,t,n){return"overtype"===e.inputMode?t.get(92):t.get(34)}}),editorClassName:W(new class extends m{constructor(){super(162,"")}compute(e,t,n){const r=["monaco-editor"];return t.get(48)&&r.push(t.get(48)),e.extraEditorClassName&&r.push(e.extraEditorClassName),"default"===t.get(82)?r.push("mouse-default"):"copy"===t.get(82)&&r.push("mouse-copy"),t.get(127)&&r.push("showUnused"),t.get(157)&&r.push("showDeprecated"),r.join(" ")}}),defaultColorDecorators:W(new E(167,"defaultColorDecorators","auto",["auto","always","never"],{enumDescriptions:[(0,l.kg)(612,"Show default color decorators only when no extension provides colors decorators."),(0,l.kg)(613,"Always show default color decorators."),(0,l.kg)(614,"Never show default color decorators.")],description:(0,l.kg)(615,"Controls whether inline color decorations should be shown using the default document color provider.")})),pixelRatio:W(new class extends m{constructor(){super(163,1)}compute(e,t,n){return e.pixelRatio}}),tabFocusMode:W(new b(164,"tabFocusMode",!1,{markdownDescription:(0,l.kg)(616,"Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:W(new z),wrappingInfo:W(new class extends m{constructor(){super(166,{isDominatedByLongLines:!1,isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1})}compute(e,t,n){const r=t.get(165);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:r.isWordWrapMinified,isViewportWrapping:r.isViewportWrapping,wrappingColumn:r.wrappingColumn}}}),wrappingIndent:W(new class extends h{constructor(){super(155,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[(0,l.kg)(426,"No indentation. Wrapped lines begin at column 1."),(0,l.kg)(427,"Wrapped lines get the same indentation as the parent."),(0,l.kg)(428,"Wrapped lines get +1 indentation toward the parent."),(0,l.kg)(429,"Wrapped lines get +2 indentation toward the parent.")],description:(0,l.kg)(430,"Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,t,n){return 2===t.get(2)?0:n}}),wrappingStrategy:W(new class extends h{constructor(){super(156,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[(0,l.kg)(261,"Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),(0,l.kg)(262,"Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:(0,l.kg)(263,"Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return x(e,"simple",["simple","advanced"])}compute(e,t,n){return 2===t.get(2)?"advanced":n}}),effectiveEditContextEnabled:W(new class extends m{constructor(){super(170,!1)}compute(e,t){return e.editContextSupported&&t.get(44)}}),effectiveAllowVariableFonts:W(new class extends m{constructor(){super(172,!1)}compute(e,t){return 2===e.accessibilitySupport?t.get(7):t.get(6)}})}},52066:(e,t,n)=>{"use strict";n.d(t,{$M:()=>y,EI:()=>s,FX:()=>u,GE:()=>b,HC:()=>i,Iu:()=>k,KU:()=>a,Kb:()=>c,M$:()=>r,NI:()=>w,OV:()=>x,PK:()=>_,WA:()=>l,YT:()=>E,dG:()=>R,gP:()=>C,lO:()=>T,ou:()=>m,qw:()=>o,r4:()=>A,rY:()=>v,uB:()=>O,v_:()=>I});var r,i,o,a,s,u,l,c,d=n(7509),f=n(11343),h=n(48824),p=n(24649),g=n(75710);class m{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class y{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class v{constructor(e,t,n){this.tokens=e,this.fontInfo=t,this.endState=n,this._encodedTokenizationResultBrand=void 0}}!function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"}(r||(r={})),function(e){const t=new Map;t.set(0,d.W.symbolMethod),t.set(1,d.W.symbolFunction),t.set(2,d.W.symbolConstructor),t.set(3,d.W.symbolField),t.set(4,d.W.symbolVariable),t.set(5,d.W.symbolClass),t.set(6,d.W.symbolStruct),t.set(7,d.W.symbolInterface),t.set(8,d.W.symbolModule),t.set(9,d.W.symbolProperty),t.set(10,d.W.symbolEvent),t.set(11,d.W.symbolOperator),t.set(12,d.W.symbolUnit),t.set(13,d.W.symbolValue),t.set(15,d.W.symbolEnum),t.set(14,d.W.symbolConstant),t.set(15,d.W.symbolEnum),t.set(16,d.W.symbolEnumMember),t.set(17,d.W.symbolKeyword),t.set(28,d.W.symbolSnippet),t.set(18,d.W.symbolText),t.set(19,d.W.symbolColor),t.set(20,d.W.symbolFile),t.set(21,d.W.symbolReference),t.set(22,d.W.symbolCustomColor),t.set(23,d.W.symbolFolder),t.set(24,d.W.symbolTypeParameter),t.set(25,d.W.account),t.set(26,d.W.issues),t.set(27,d.W.tools),e.toIcon=function(e){let n=t.get(e);return n||(n=d.W.symbolProperty),n},e.toLabel=function(e){switch(e){case 0:return(0,g.kg)(738,"Method");case 1:return(0,g.kg)(739,"Function");case 2:return(0,g.kg)(740,"Constructor");case 3:return(0,g.kg)(741,"Field");case 4:return(0,g.kg)(742,"Variable");case 5:return(0,g.kg)(743,"Class");case 6:return(0,g.kg)(744,"Struct");case 7:return(0,g.kg)(745,"Interface");case 8:return(0,g.kg)(746,"Module");case 9:return(0,g.kg)(747,"Property");case 10:return(0,g.kg)(748,"Event");case 11:return(0,g.kg)(749,"Operator");case 12:return(0,g.kg)(750,"Unit");case 13:return(0,g.kg)(751,"Value");case 14:return(0,g.kg)(752,"Constant");case 15:return(0,g.kg)(753,"Enum");case 16:return(0,g.kg)(754,"Enum Member");case 17:return(0,g.kg)(755,"Keyword");case 18:return(0,g.kg)(756,"Text");case 19:return(0,g.kg)(757,"Color");case 20:return(0,g.kg)(758,"File");case 21:return(0,g.kg)(759,"Reference");case 22:return(0,g.kg)(760,"Custom Color");case 23:return(0,g.kg)(761,"Folder");case 24:return(0,g.kg)(762,"Type Parameter");case 25:return(0,g.kg)(763,"User");case 26:return(0,g.kg)(764,"Issue");case 27:return(0,g.kg)(765,"Tool");case 28:return(0,g.kg)(766,"Snippet");default:return""}};const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",28),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),n.set("tool",27),e.fromString=function(e,t){let r=n.get(e);return"undefined"!==typeof r||t||(r=9),r}}(i||(i={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(o||(o={}));class b{constructor(e,t,n,r){this.range=e,this.text=t,this.completionKind=n,this.isSnippetText=r}equals(e){return h.Q.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}!function(e){e[e.Code=1]="Code",e[e.Label=2]="Label"}(a||(a={}));class w{static fromExtensionId(e){return new w(e,void 0,void 0)}constructor(e,t,n){this.extensionId=e,this.extensionVersion=t,this.providerId=n}toString(){let e="";return this.extensionId&&(e+=this.extensionId),this.extensionVersion&&(e+=`@${this.extensionVersion}`),this.providerId&&(e+=`:${this.providerId}`),0===e.length&&(e="unknown"),e}toStringWithoutVersion(){let e="";return this.extensionId&&(e+=this.extensionId),this.providerId&&(e+=`:${this.providerId}`),e}}function k(e){return!!e&&f.r.isUri(e.uri)&&h.Q.isIRange(e.range)&&(h.Q.isIRange(e.originSelectionRange)||h.Q.isIRange(e.targetSelectionRange))}!function(e){e[e.Accepted=0]="Accepted",e[e.Rejected=1]="Rejected",e[e.Ignored=2]="Ignored"}(s||(s={})),function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"}(u||(u={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(l||(l={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(c||(c={}));const S={17:(0,g.kg)(767,"array"),16:(0,g.kg)(768,"boolean"),4:(0,g.kg)(769,"class"),13:(0,g.kg)(770,"constant"),8:(0,g.kg)(771,"constructor"),9:(0,g.kg)(772,"enumeration"),21:(0,g.kg)(773,"enumeration member"),23:(0,g.kg)(774,"event"),7:(0,g.kg)(775,"field"),0:(0,g.kg)(776,"file"),11:(0,g.kg)(777,"function"),10:(0,g.kg)(778,"interface"),19:(0,g.kg)(779,"key"),5:(0,g.kg)(780,"method"),1:(0,g.kg)(781,"module"),2:(0,g.kg)(782,"namespace"),20:(0,g.kg)(783,"null"),15:(0,g.kg)(784,"number"),18:(0,g.kg)(785,"object"),24:(0,g.kg)(786,"operator"),3:(0,g.kg)(787,"package"),6:(0,g.kg)(788,"property"),14:(0,g.kg)(789,"string"),22:(0,g.kg)(790,"struct"),25:(0,g.kg)(791,"type parameter"),12:(0,g.kg)(792,"variable")};function _(e,t){return(0,g.kg)(793,"{0} ({1})",e,S[t])}var C,x,E,O,A;!function(e){const t=new Map;t.set(0,d.W.symbolFile),t.set(1,d.W.symbolModule),t.set(2,d.W.symbolNamespace),t.set(3,d.W.symbolPackage),t.set(4,d.W.symbolClass),t.set(5,d.W.symbolMethod),t.set(6,d.W.symbolProperty),t.set(7,d.W.symbolField),t.set(8,d.W.symbolConstructor),t.set(9,d.W.symbolEnum),t.set(10,d.W.symbolInterface),t.set(11,d.W.symbolFunction),t.set(12,d.W.symbolVariable),t.set(13,d.W.symbolConstant),t.set(14,d.W.symbolString),t.set(15,d.W.symbolNumber),t.set(16,d.W.symbolBoolean),t.set(17,d.W.symbolArray),t.set(18,d.W.symbolObject),t.set(19,d.W.symbolKey),t.set(20,d.W.symbolNull),t.set(21,d.W.symbolEnumMember),t.set(22,d.W.symbolStruct),t.set(23,d.W.symbolEvent),t.set(24,d.W.symbolOperator),t.set(25,d.W.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(n=d.W.symbolProperty),n};const n=new Map;n.set(0,20),n.set(1,8),n.set(2,8),n.set(3,8),n.set(4,5),n.set(5,0),n.set(6,9),n.set(7,3),n.set(8,2),n.set(9,15),n.set(10,7),n.set(11,1),n.set(12,4),n.set(13,14),n.set(14,18),n.set(15,13),n.set(16,13),n.set(17,13),n.set(18,13),n.set(19,17),n.set(20,13),n.set(21,16),n.set(22,6),n.set(23,10),n.set(24,11),n.set(25,24),e.toCompletionKind=function(e){let t=n.get(e);return void 0===t&&(t=20),t}}(C||(C={}));class T{static{this.Comment=new T("comment")}static{this.Imports=new T("imports")}static{this.Region=new T("region")}static fromValue(e){switch(e){case"comment":return T.Comment;case"imports":return T.Imports;case"region":return T.Region}return new T(e)}constructor(e){this.value=e}}!function(e){e[e.AIGenerated=1]="AIGenerated"}(x||(x={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(E||(E={})),function(e){e.is=function(e){return!(!e||"object"!==typeof e)&&("string"===typeof e.id&&"string"===typeof e.title)}}(O||(O={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(A||(A={}));class I{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}const R=new p.d},17055:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(9392).u1)("languageService")},28911:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});const r=(0,n(9392).u1)("modelService")},97499:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=(0,n(9392).u1)("textModelService")},40946:(e,t,n)=>{"use strict";n.d(t,{OL:()=>a,dg:()=>u,lw:()=>d});var r=n(36338),i=n(17286);const o=Symbol("TextModelEditSource");class a{constructor(e,t){this.metadata=e}toString(){return`${this.metadata.source}`}getType(){const e=this.metadata;switch(e.source){case"cursor":return e.kind;case"inlineCompletionAccept":return e.source+(e.$nes?":nes":"");case"unknown":return e.name||"unknown";default:return e.source}}toKey(e,t={}){const n=this.metadata;return Object.entries(n).filter(([n,r])=>{const i=t[n];if(void 0!==i)return i;return(n.match(/\$/g)||[]).length<=e&&void 0!==r&&null!==r&&""!==r}).map(([e,t])=>`${e}:${t}`).join("-")}}function s(e){return new a(e,o)}const u={unknown:e=>s({source:"unknown",name:e.name}),rename:(e,t)=>s({source:"rename",$$$oldName:e,$$$newName:t}),chatApplyEdits:e=>s({source:"Chat.applyEdits",$modelId:c(e.modelId),$extensionId:e.extensionId?.extensionId,$extensionVersion:e.extensionId?.version,$$languageId:e.languageId,$$sessionId:e.sessionId,$$requestId:e.requestId,$$mode:e.mode,$$codeBlockSuggestionId:e.codeBlockSuggestionId}),chatUndoEdits:()=>s({source:"Chat.undoEdits"}),chatReset:()=>s({source:"Chat.reset"}),inlineCompletionAccept:e=>s({source:"inlineCompletionAccept",$nes:e.nes,...l(e.providerId),$$correlationId:e.correlationId,$$requestUuid:e.requestUuid,$$languageId:e.languageId}),inlineCompletionPartialAccept:e=>s({source:"inlineCompletionPartialAccept",type:e.type,$nes:e.nes,...l(e.providerId),$$correlationId:e.correlationId,$$requestUuid:e.requestUuid,$$languageId:e.languageId}),inlineChatApplyEdit:e=>s({source:"inlineChat.applyEdits",$modelId:c(e.modelId),$extensionId:e.extensionId?.extensionId,$extensionVersion:e.extensionId?.version,$$sessionId:e.sessionId,$$requestId:e.requestId,$$languageId:e.languageId}),reloadFromDisk:()=>s({source:"reloadFromDisk"}),cursor:e=>s({source:"cursor",kind:e.kind,detailedSource:e.detailedSource}),setValue:()=>s({source:"setValue"}),eolChange:()=>s({source:"eolChange"}),applyEdits:()=>s({source:"applyEdits"}),snippet:()=>s({source:"snippet"}),suggest:e=>s({source:"suggest",...l(e.providerId)}),codeAction:e=>s({source:"codeAction",$kind:e.kind,...l(e.providerId)})};function l(e){return e?{$extensionId:e.extensionId,$extensionVersion:e.extensionVersion,$providerId:e.providerId}:{}}function c(e){if(void 0!==e)return e.replaceAll("/","|")}class d{static fromText(e){const t=i.W.ofText(e).lineCount,n=e.length;return new d(t,0,n,0)}static tryCreate(e,t,n,r){if(void 0!==e&&void 0!==t&&void 0!==n&&void 0!==r)return new d(e,t,n,r)}constructor(e,t,n,r){this.linesAdded=e,this.linesRemoved=t,this.charsAdded=n,this.charsRemoved=r}}var f;!function(e){e.newId=function(e){return e?e("sgt"):(0,r.t)("sgt")}}(f||(f={}))},11970:(e,t,n)=>{"use strict";n.d(t,{Tf:()=>u,f7:()=>a,fE:()=>l});var r=n(20471),i=n(85932),o=n(83850);class a{static createEmpty(e,t){const n=a.defaultTokenMetadata,r=new Uint32Array(2);return r[0]=e.length,r[1]=n,new a(r,e,t)}static createFromTextAndMetadata(e,t){let n=0,r="";const i=new Array;for(const{text:o,metadata:a}of e)i.push(n+o.length,a),n+=o.length,r+=o;return new a(new Uint32Array(i),r,t)}static convertToEndOffset(e,t){const n=(e.length>>>1)-1;for(let r=0;r<n;r++)e[r<<1]=e[r+1<<1];e[n<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let n=0,r=(e.length>>>1)-1;for(;n<r;){const i=n+Math.floor((r-n)/2),o=e[i<<1];if(o===t)return i+1;o<t?n=i+1:o>t&&(r=i)}return n}static{this.defaultTokenMetadata=33587200}constructor(e,t,n){this._lineTokensBrand=void 0;(e.length>1?e[e.length-2]:0)!==t.length&&(0,o.dz)(new Error("Token length and text length do not match!")),this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this.languageIdCodec=n}getTextLength(){return this._text.length}equals(e){return e instanceof a&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;const r=t<<1,i=r+(n<<1);for(let o=r;o<i;o++)if(this._tokens[o]!==e._tokens[o])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[1+(e<<1)]}getLanguageId(e){const t=this._tokens[1+(e<<1)],n=r.x.getLanguageId(t);return this.languageIdCodec.decodeLanguageId(n)}getStandardTokenType(e){const t=this._tokens[1+(e<<1)];return r.x.getTokenType(t)}getForeground(e){const t=this._tokens[1+(e<<1)];return r.x.getForeground(t)}getClassName(e){const t=this._tokens[1+(e<<1)];return r.x.getClassNameFromMetadata(t)}getInlineStyle(e,t){const n=this._tokens[1+(e<<1)];return r.x.getInlineStyleFromMetadata(n,t)}getPresentation(e){const t=this._tokens[1+(e<<1)];return r.x.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return a.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,n){return new s(this,e,t,n)}sliceZeroCopy(e){return this.sliceAndInflate(e.start,e.endExclusive,0)}withInserted(e){if(0===e.length)return this;let t=0,n=0,r="";const i=new Array;let o=0;for(;;){const a=t<this._tokensCount?this._tokens[t<<1]:-1,s=n<e.length?e[n]:null;if(-1!==a&&(null===s||a<=s.offset)){r+=this._text.substring(o,a);const e=this._tokens[1+(t<<1)];i.push(r.length,e),t++,o=a}else{if(!s)break;if(s.offset>o){r+=this._text.substring(o,s.offset);const e=this._tokens[1+(t<<1)];i.push(r.length,e),o=s.offset}r+=s.text,i.push(r.length,s.tokenMetadata),n++}}return new a(new Uint32Array(i),r,this.languageIdCodec)}getTokensInRange(e){const t=new d,n=this.findTokenIndexAtOffset(e.start),r=this.findTokenIndexAtOffset(e.endExclusive);for(let o=n;o<=r;o++){const n=new i.L(this.getStartOffset(o),this.getEndOffset(o)).intersectionLength(e);n>0&&t.add(n,this.getMetadata(o))}return t.build()}getTokenText(e){const t=this.getStartOffset(e),n=this.getEndOffset(e);return this._text.substring(t,n)}forEach(e){const t=this.getCount();for(let n=0;n<t;n++)e(n)}toString(){let e="";return this.forEach(t=>{e+=`[${this.getTokenText(t)}]{${this.getClassName(t)}}`}),e}}class s{constructor(e,t,n,r){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=r,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this.languageIdCodec=e.languageIdCodec,this._tokensCount=0;for(let i=this._firstTokenIndex,o=e.getCount();i<o;i++){if(e.getStartOffset(i)>=n)break;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof s&&(this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount))}getCount(){return this._tokensCount}getStandardTokenType(e){return this._source.getStandardTokenType(this._firstTokenIndex+e)}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}getTokenText(e){const t=this._firstTokenIndex+e,n=this._source.getStartOffset(t),r=this._source.getEndOffset(t);let i=this._source.getTokenText(t);return n<this._startOffset&&(i=i.substring(this._startOffset-n)),r>this._endOffset&&(i=i.substring(0,i.length-(r-this._endOffset))),i}forEach(e){for(let t=0;t<this.getCount();t++)e(t)}}function u(e,t){const n=t.lineNumber;if(!e.tokenization.isCheapToTokenize(n))return;e.tokenization.forceTokenization(n);const r=e.tokenization.getLineTokens(n),i=r.findTokenIndexAtOffset(t.column-1);return r.getStandardTokenType(i)}class l{static fromLineTokens(e){const t=[];for(let n=0;n<e.getCount();n++)t.push(new c(e.getEndOffset(n)-e.getStartOffset(n),e.getMetadata(n)));return l.create(t)}static create(e){return new l(e)}constructor(e){this._tokenInfo=e}toLineTokens(e,t){return a.createFromTextAndMetadata(this.map((t,n)=>({text:t.substring(e),metadata:n.metadata})),t)}forEach(e){let t=0;for(const n of this._tokenInfo){e(new i.L(t,t+n.length),n),t+=n.length}}map(e){const t=[];let n=0;for(const r of this._tokenInfo){const o=new i.L(n,n+r.length);t.push(e(o,r)),n+=r.length}return t}slice(e){const t=[];let n=0;for(const r of this._tokenInfo){const i=n,o=i+r.length;if(o>e.start){if(i>=e.endExclusive)break;const n=Math.max(0,e.start-i),a=Math.max(0,o-e.endExclusive);t.push(new c(r.length-n-a,r.metadata))}n+=r.length}return l.create(t)}}class c{constructor(e,t){this.length=e,this.metadata=t}}class d{constructor(){this._tokens=[]}add(e,t){this._tokens.push(new c(e,t))}build(){return l.create(this._tokens)}}},98937:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(55466),i=n(48824),o=n(58700),a=n(91759);class s{static create(e,t){return new s(e,new u(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(e){return this._startLineNumber<=e&&e<=this._endLineNumber?this._tokens.getLineTokens(e-this._startLineNumber):null}getRange(){const e=this._tokens.getRange();return e?new i.Q(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,n,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber,[r,i,o]=this._tokens.split(t,e.startColumn-1,n,e.endColumn-1);return[new s(this._startLineNumber,r),new s(this._startLineNumber+o,i)]}applyEdit(e,t){const[n,r,i]=(0,o.W)(t);this.acceptEdit(e,n,r,i,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,n,i,o){this._acceptDeleteRange(e),this._acceptInsertText(new r.y(e.startLineNumber,e.startColumn),t,n,i,o),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber;if(n<0){const e=n-t;return void(this._startLineNumber-=e)}const r=this._tokens.getMaxDeltaLine();if(!(t>=r+1)){if(t<0&&n>=r+1)return this._startLineNumber=0,void this._tokens.clear();if(t<0){const r=-t;this._startLineNumber-=r,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}_acceptInsertText(e,t,n,r,i){if(0===t&&0===n)return;const o=e.lineNumber-this._startLineNumber;if(o<0)return void(this._startLineNumber+=t);o>=this._tokens.getMaxDeltaLine()+1||this._tokens.acceptInsertText(o,e.column-1,t,n,r,i)}reportIfInvalid(e){this._tokens.reportIfInvalid(e,this._startLineNumber)}}class u{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){const t=[];for(let n=0;n<this._tokenCount;n++)t.push(`(${this._getDeltaLine(n)+e},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);return`[${t.join(",")}]`}getMaxDeltaLine(){const e=this._getTokenCount();return 0===e?-1:this._getDeltaLine(e-1)}getRange(){const e=this._getTokenCount();if(0===e)return null;const t=this._getStartCharacter(0),n=this._getDeltaLine(e-1),r=this._getEndCharacter(e-1);return new i.Q(0,t+1,n,r+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(e){return this._tokens[4*e]}_getStartCharacter(e){return this._tokens[4*e+1]}_getEndCharacter(e){return this._tokens[4*e+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(e){let t=0,n=this._getTokenCount()-1;for(;t<n;){const r=t+Math.floor((n-t)/2),i=this._getDeltaLine(r);if(i<e)t=r+1;else{if(!(i>e)){let i=r;for(;i>t&&this._getDeltaLine(i-1)===e;)i--;let o=r;for(;o<n&&this._getDeltaLine(o+1)===e;)o++;return new l(this._tokens.subarray(4*i,4*o+4))}n=r-1}}return this._getDeltaLine(t)===e?new l(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,n,r){const i=this._tokens,o=this._tokenCount;let a=0,s=!1,u=0;for(let l=0;l<o;l++){const o=4*l,c=i[o],d=i[o+1],f=i[o+2],h=i[o+3];if((c>e||c===e&&f>=t)&&(c<n||c===n&&d<=r))s=!0;else{if(0===a&&(u=c),s){const e=4*a;i[e]=c-u,i[e+1]=d,i[e+2]=f,i[e+3]=h}else 0!==u&&(i[o]=c-u);a++}}return this._tokenCount=a,u}split(e,t,n,r){const i=this._tokens,o=this._tokenCount,a=[],s=[];let l=a,c=0,d=0;for(let u=0;u<o;u++){const o=4*u,a=i[o],f=i[o+1],h=i[o+2],p=i[o+3];if(a>e||a===e&&h>=t){if(a<n||a===n&&f<=r)continue;l!==s&&(l=s,c=0,d=a)}l[c++]=a-d,l[c++]=f,l[c++]=h,l[c++]=p}return[new u(new Uint32Array(a)),new u(new Uint32Array(s)),d]}acceptDeleteRange(e,t,n,r,i){const o=this._tokens,a=this._tokenCount,s=r-t;let u=0,l=!1;for(let c=0;c<a;c++){const d=4*c;let f=o[d],h=o[d+1],p=o[d+2];const g=o[d+3];if(f<t||f===t&&p<=n){u++;continue}if(f===t&&h<n)f===r&&p>i?p-=i-n:p=n;else if(f===t&&h===n){if(!(f===r&&p>i)){l=!0;continue}p-=i-n}else if(f<r||f===r&&h<i){if(!(f===r&&p>i)){l=!0;continue}f=t,h=n,p=h+(p-i)}else if(f>r){if(0===s&&!l){u=a;break}f-=s}else{if(!(f===r&&h>=i))throw new Error("Not possible!");e&&0===f&&(h+=e,p+=e),f-=s,h-=i-n,p-=i-n}const m=4*u;o[m]=f,o[m+1]=h,o[m+2]=p,o[m+3]=g,u++}this._tokenCount=u}acceptInsertText(e,t,n,r,i,o){const a=0===n&&1===r&&(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122),s=this._tokens,u=this._tokenCount;for(let l=0;l<u;l++){const o=4*l;let u=s[o],c=s[o+1],d=s[o+2];if(!(u<e||u===e&&d<t)){if(u===e&&d===t){if(!a)continue;d+=1}else if(u===e&&c<t&&t<d)0===n?d+=r:d=t;else{if(u===e&&c===t&&a)continue;if(u===e)if(u+=n,0===n)c+=r,d+=r;else{const e=d-c;c=i+(c-t),d=c+e}else u+=n}s[o]=u,s[o+1]=c,s[o+2]=d}}}static{this._rateLimiter=new a.v(10/60)}reportIfInvalid(e,t){for(let n=0;n<this._tokenCount;n++){const r=this._getDeltaLine(n)+t;(r<1||r>e.getLineCount()||this._getEndCharacter(n)>e.getLineLength(r))&&u._rateLimiter.runIfNotLimited(()=>{})}}}class l{constructor(e){this._tokens=e}getCount(){return this._tokens.length/4}getStartCharacter(e){return this._tokens[4*e+1]}getEndCharacter(e){return this._tokens[4*e+2]}getMetadata(e){return this._tokens[4*e+3]}}},69181:(e,t,n)=>{"use strict";n.d(t,{QE:()=>Xe,XB:()=>Be,Zc:()=>$e});n(49830),n(68112),n(93881),n(70781),n(23019),n(11522),n(46037),n(24058);var r=n(20219),i=n(40980),o=n(69783),a=n(29037),s=n(40424),u=n(99109),l=n(60742),c=n(38770),d=n(11343),f=n(76704),h=n(50294),p=n(40730),g=n(90180),m=n(55466),y=n(48824),v=n(28911),b=n(97499),w=n(79901),k=n(10208),S=n(71354),_=n(5636),C=n(25013),x=n(33240),E=n(9392),O=n(69863),A=n(87372),T=n(96802),I=n(58392),R=n(15655),P=n(94003),D=n(12374),z=n(55716),L=n(80292),N=n(72452),M=n(35392),j=n(84606),F=n(95542),B=n(5140),U=n(6030),W=n(59106),q=n(33212),V=n(83693),H=n(43802),Q=n(5402),$=n(6876),K=n(62331),G=n(42991),Z=n(17055),Y=n(49708),J=n(7027),X=n(92152),ee=n(53316),te=n(45769),ne=n(5921),re=n(28114),ie=n(34642),oe=n(40616),ae=n(90885),se=n(29686),ue=n(21915),le=n(99938),ce=n(62127),de=n(94299),fe=n(56874),he=n(78778),pe=n(25736),ge=n(67546),me=n(19288),ye=n(31040),ve=n(72944),be=n(61129),we=n(29274),ke=n(28583),Se=n(24307),_e=n(83850),Ce=n(96016),xe=n(56226),Ee=n(36119),Oe=n(59055),Ae=n(43748),Te=n(40380),Ie=n(40050),Re=n(68079),Pe=n(51036),De=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ze=function(e,t){return function(n,r){t(n,r,e)}};class Le{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new a.vl}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let Ne=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new u.BO(new Le(t))):Promise.reject(new Error("Model not found"))}};Ne=De([ze(0,v.S)],Ne);class Me{static{this.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}}}show(){return Me.NULL_PROGRESS_RUNNER}async showWhile(e,t){await e}}class je{static{this.NO_OP=new z.Kz}info(e){return this.notify({severity:c.A.Info,message:e})}warn(e){return this.notify({severity:c.A.Warning,message:e})}error(e){return this.notify({severity:c.A.Error,message:e})}notify(e){switch(e.severity){case c.A.Error:case c.A.Warning:}return je.NO_OP}prompt(e,t,n,r){return je.NO_OP}status(e,t){return{close:()=>{}}}}let Fe=class{constructor(e){this._onWillExecuteCommand=new a.vl,this._onDidExecuteCommand=new a.vl,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=k.w.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const r=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(r)}catch(r){return Promise.reject(r)}}};Fe=De([ze(0,E._Y)],Fe);let Be=class extends O.E{constructor(e,t,n,r,a,s){super(e,t,n,r,a),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const l=e=>{const t=new u.Cm;t.add((0,i.ko)(e,i.Bx.KEY_DOWN,e=>{const t=new o.Z(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())})),t.add((0,i.ko)(e,i.Bx.KEY_UP,e=>{const t=new o.Z(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()})),this._domNodeListeners.push(new Ue(e,t))},c=e=>{for(let t=0;t<this._domNodeListeners.length;t++){const n=this._domNodeListeners[t];n.domNode===e&&(this._domNodeListeners.splice(t,1),n.dispose())}},d=e=>{e.getOption(70)||l(e.getContainerDomNode())};this._register(s.onCodeEditorAdd(d)),this._register(s.onCodeEditorRemove(e=>{e.getOption(70)||c(e.getContainerDomNode())})),s.listCodeEditors().forEach(d);const f=e=>{l(e.getContainerDomNode())};this._register(s.onDiffEditorAdd(f)),this._register(s.onDiffEditorRemove(e=>{c(e.getContainerDomNode())})),s.listDiffEditors().forEach(f)}addDynamicKeybinding(e,t,n,r){return(0,u.qE)(k.w.registerCommand(e,n),this.addDynamicKeybindings([{keybinding:t,command:e,when:r}]))}addDynamicKeybindings(e){const t=e.map(e=>({keybinding:(0,s.Zv)(e.keybinding,l.OS),command:e.command??null,commandArgs:e.commandArgs,when:e.when,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}));return this._dynamicKeybindings=this._dynamicKeybindings.concat(t),this.updateResolver(),(0,u.s)(()=>{for(let e=0;e<this._dynamicKeybindings.length;e++)if(this._dynamicKeybindings[e]===t[0])return this._dynamicKeybindings.splice(e,t.length),void this.updateResolver()})}updateResolver(){this._cachedResolver=null,this._onDidUpdateKeybindings.fire()}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(I.f.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new T.f(e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return xe.G.document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let r=0;for(const i of e){const e=i.when||void 0,o=i.keybinding;if(o){const a=P.j.resolveKeybinding(o,l.OS);for(const o of a)n[r++]=new R.u(o,i.command,i.commandArgs,e,t,null,!1)}else n[r++]=new R.u(void 0,i.command,i.commandArgs,e,t,null,!1)}return n}resolveKeyboardEvent(e){const t=new s.dG(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode);return new P.j([t],l.OS)}};Be=De([ze(0,C.fN),ze(1,k.d),ze(2,N.k),ze(3,z.Ot),ze(4,W.rr),ze(5,U.T)],Be);class Ue extends u.jG{constructor(e,t){super(),this.domNode=e,this._register(t)}}function We(e){return!!e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof d.r)}let qe=class{constructor(e){this.logService=e,this._onDidChangeConfiguration=new a.vl,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event;const t=new be.M(e);this._configuration=new _.Vk(t.reload(),_.S1.createEmptyModel(e),_.S1.createEmptyModel(e),_.S1.createEmptyModel(e),_.S1.createEmptyModel(e),_.S1.createEmptyModel(e),new Ee.fT,_.S1.createEmptyModel(e),new Ee.fT,e),t.dispose()}getValue(e,t){const n="string"===typeof e?e:void 0,r=We(e)?e:We(t)?t:{};return this._configuration.getValue(n,r,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const r of e){const[e,t]=r;this.getValue(e)!==t&&(this._configuration.updateValue(e,t),n.push(e))}if(n.length>0){const e=new _.Xm({keys:n,overrides:[]},t,this._configuration,void 0,this.logService);e.source=8,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,n,r){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}};qe=De([ze(0,W.rr)],qe);let Ve=class{constructor(e,t,n){this.configurationService=e,this.modelService=t,this.languageService=n,this._onDidChangeConfiguration=new a.vl,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})})}getValue(e,t,n){const r=m.y.isIPosition(t)?t:null,i=r?"string"===typeof n?n:void 0:"string"===typeof t?t:void 0,o=e?this.getLanguage(e,r):void 0;return"undefined"===typeof i?this.configurationService.getValue({resource:e,overrideIdentifier:o}):this.configurationService.getValue(i,{resource:e,overrideIdentifier:o})}getLanguage(e,t){const n=this.modelService.getModel(e);return n?t?n.getLanguageIdAtPosition(t.lineNumber,t.column):n.getLanguageId():this.languageService.guessLanguageIdByFilepathOrFirstLine(e)}};Ve=De([ze(0,S.pG),ze(1,v.S),ze(2,Z.L)],Ve);let He=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"string"===typeof n&&"auto"!==n?n:l.j9||l.zx?"\n":"\r\n"}};He=De([ze(0,S.pG)],He);class Qe{static{this.SCHEME="inmemory"}constructor(){const e=d.r.from({scheme:Qe.SCHEME,authority:"model",path:"/"});this.workspace={id:M.cn,folders:[new M.mX({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===Qe.SCHEME?this.workspace.folders[0]:null}}function $e(e,t,n){if(!t)return;if(!(e instanceof qe))return;const r=[];Object.keys(t).forEach(e=>{(0,p.vf)(e)&&r.push([`editor.${e}`,t[e]]),n&&(0,p.Gn)(e)&&r.push([`diffEditor.${e}`,t[e]])}),r.length>0&&e.updateValues(r)}let Ke=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}async apply(e,t){const n=Array.isArray(e)?e:h.jN.convert(e),i=new Map;for(const r of n){if(!(r instanceof h.cw))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(r.resource);if(!e)throw new Error("bad edit - model not found");if("number"===typeof r.versionId&&e.getVersionId()!==r.versionId)throw new Error("bad state - model changed in the meantime");let t=i.get(e);t||(t=[],i.set(e,t)),t.push(g.k.replaceMove(y.Q.lift(r.textEdit.range),r.textEdit.text))}let o=0,a=0;for(const[r,s]of i)r.pushStackElement(),r.pushEditOperations([],s,()=>[]),r.pushStackElement(),a+=1,o+=s.length;return{ariaSummary:(0,r.GP)(F.tu.bulkEditServiceSummary,o,a),isApplied:o>0}}};Ke=De([ze(0,v.S)],Ke);let Ge=class extends H.Y{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,n)}};Ge=De([ze(0,j.x),ze(1,U.T)],Ge);class Ze extends Q.g{constructor(){super()}}class Ye extends ke.K{constructor(){super(new W.Cr)}}let Je=class extends $.K{constructor(e,t,n,r,i,o){super(e,t,n,r,i,o),this.configure({blockMouse:!1})}};Je=De([ze(0,N.k),ze(1,z.Ot),ze(2,V.l),ze(3,A.b),ze(4,oe.ez),ze(5,C.fN)],Je);var Xe;(0,K.v)(Ie.d,Re.h,0),(0,K.v)(W.rr,Ye,0),(0,K.v)(S.pG,qe,0),(0,K.v)(w.U,Ve,0),(0,K.v)(w.J,He,0),(0,K.v)(M.VR,Qe,0),(0,K.v)(D.L,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,B.P8)(e)}},0),(0,K.v)(N.k,class{publicLog2(){}},0),(0,K.v)(x.X,class{async confirm(e){return{confirmed:this.doConfirm(e.message,e.detail),checkboxChecked:!1}}doConfirm(e,t){let n=e;return t&&(n=n+"\n\n"+t),xe.G.confirm(n)}async prompt(e){let t;if(this.doConfirm(e.message,e.detail)){const n=[...e.buttons??[]];e.cancelButton&&"string"!==typeof e.cancelButton&&"boolean"!==typeof e.cancelButton&&n.push(e.cancelButton),t=await(n[0]?.run({checkboxChecked:!1}))}return{result:t}}async error(e,t){await this.prompt({type:c.A.Error,message:e,detail:t})}},0),(0,K.v)(Ce.k,class{constructor(){this.isExtensionDevelopment=!1,this.isBuilt=!1}},0),(0,K.v)(z.Ot,je,0),(0,K.v)(pe.DR,ge.m,0),(0,K.v)(Z.L,Ze,0),(0,K.v)(ne.L,te.Sx,0),(0,K.v)(v.S,X.J,0),(0,K.v)(J.A,Y.D,0),(0,K.v)(C.fN,le.i7,0),(0,K.v)(L.G5,class{withProgress(e,t,n){return t({report:()=>{}})}},0),(0,K.v)(L.N8,Me,0),(0,K.v)(ve.CS,ve.pc,0),(0,K.v)(h.nu,Ke,0),(0,K.v)(q.L,class{constructor(){this._neverEmitter=new a.vl,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}},0),(0,K.v)(b.b,Ne,0),(0,K.v)(ie.j,re.s,0),(0,K.v)(he.PE,he.aG,0),(0,K.v)(k.d,Fe,0),(0,K.v)(A.b,Be,0),(0,K.v)(ye.GK,ee.oC,0),(0,K.v)(V.l,Ge,0),(0,K.v)(me.Cr,G.J,0),(0,K.v)(ue.h,se.w,0),(0,K.v)(V.Z,Je,0),(0,K.v)(oe.ez,ae.$,0),(0,K.v)(we.Nt,class{async playSignal(e,t){}},0),(0,K.v)(Oe.t,Ae.h,0),(0,K.v)(W.xd,W.DA,0),(0,K.v)(Te.a,Te.w,0),(0,K.v)(Pe.x,class{constructor(){this.onDidChangeDefaultAccount=a.Jh.None}async getDefaultAccount(){return null}},0),(0,K.v)(f.h,f.J,0),function(e){const t=new fe.a;function n(){for(const[e,n]of(0,K.N)())t.get(e)||t.set(e,n)}n();const r="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{},i="__emailmaker__.monacoEnvironment",o=i.lastIndexOf(".")>0?i.slice(0,i.lastIndexOf(".")):"";o?(r[o]=r[o]||{}).mergeLateSingletons=n:r.__monacoMergeLateSingletons=n;const s=new de.n(t,!0);t.set(E._Y,s),e.get=function(e){l||d({});const n=t.get(e);if(!n)throw new Error("Missing service "+e);return n instanceof ce.d?s.invokeFunction(t=>t.get(e)):n};let l=!1;const c=new a.vl;function d(e){if(n(),l)return s;l=!0;for(const n in e)if(e.hasOwnProperty(n)){const r=(0,E.u1)(n);t.get(r)instanceof ce.d&&t.set(r,e[n])}const r=(0,Se.T)();for(const t of r)try{s.createInstance(t)}catch(i){(0,_e.dz)(i)}return c.fire(),s}e.initialize=d,e.withServices=function(e){if(l)return e();const t=new u.Cm,n=t.add(c.event(()=>{n.dispose(),t.add(e())}));return t}}(Xe||(Xe={}))},9392:(e,t,n)=>{"use strict";var r;n.d(t,{_$:()=>r,_Y:()=>i,u1:()=>o}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(r||(r={}));const i=o("instantiationService");function o(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,n){t[r.DI_TARGET]===t?t[r.DI_DEPENDENCIES].push({id:e,index:n}):(t[r.DI_DEPENDENCIES]=[{id:e,index:n}],t[r.DI_TARGET]=t)}(t,e,i)};return t.toString=()=>e,r.serviceIds.set(e,t),t}},58392:(e,t,n)=>{"use strict";n.d(t,{f:()=>c});var r=n(40424),i=n(60742),o=n(10208),a=n(4144),s=n(99109),u=n(33548);class l{constructor(){this._coreKeybindings=new u.w,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===i.OS){if(e&&e.win)return e.win}else if(2===i.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=l.bindToCurrentPlatform(e),n=new s.Cm;if(t&&t.primary){const o=(0,r.Zv)(t.primary,i.OS);o&&n.add(this._registerDefaultKeybinding(o,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let o=0,a=t.secondary.length;o<a;o++){const a=t.secondary[o],s=(0,r.Zv)(a,i.OS);s&&n.add(this._registerDefaultKeybinding(s,e.id,e.args,e.weight,-o-1,e.when))}return n}registerCommandAndKeybindingRule(e){return(0,s.qE)(this.registerKeybindingRule(e),o.w.registerCommand(e))}_registerDefaultKeybinding(e,t,n,r,i,o){const a=this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:o,weight1:r,weight2:i,extensionId:null,isBuiltinExtension:!1});return this._cachedMergedKeybindings=null,(0,s.s)(()=>{a(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(d)),this._cachedMergedKeybindings.slice(0)}}const c=new l;function d(e,t){if(e.weight1!==t.weight1)return e.weight1-t.weight1;if(e.command&&t.command){if(e.command<t.command)return-1;if(e.command>t.command)return 1}return e.weight2-t.weight2}a.O.add("platform.keybindingsRegistry",c)},51236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Keyframes:()=>s.A,NaNLinter:()=>u.cH,StyleContext:()=>l.Ay,StyleProvider:()=>l.N7,Theme:()=>c.Sx,_experimental:()=>g,createCache:()=>l.VC,createTheme:()=>c.an,extractStyle:()=>r.A,genCalc:()=>c.Q7,getComputedToken:()=>i.lO,legacyLogicalPropertiesTransformer:()=>d.A,legacyNotSelectorLinter:()=>u.Qn,logicalPropertiesLinter:()=>u.bM,parentSelectorLinter:()=>u.QY,px2remTransformer:()=>f.A,token2CSSVar:()=>p.Ki,unit:()=>h.zA,useCSSVarRegister:()=>o.Ay,useCacheToken:()=>i.Ay,useStyleRegister:()=>a.Ay});var r=n(37660),i=n(79195),o=n(40737),a=n(59966),s=n(88189),u=n(1294),l=n(27726),c=n(79467),d=n(64210),f=n(10887),h=n(30005),p=n(16362),g={supportModernCSS:function(){return(0,h.n6)()&&(0,h.kZ)()}}},97656:(e,t,n)=>{"use strict";n.d(t,{G_:()=>o});var r=n(25366);const i=(0,r.createContext)(null);function o({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o,children:a}){const s=function(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:i}=e,[o,a]=(0,r.useState)(!1),s=(0,r.useRef)(n);s.current=n;const u=(0,r.useRef)(i);return u.current=i,(0,r.useEffect)(()=>{const e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;a(!0),null===(e=s.current)||void 0===e||e.call(s)},e.onerror=()=>{var e;a(!1),null===(e=u.current)||void 0===e||e.call(u)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),o}({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o}),u=(0,r.useMemo)(()=>({clientId:e,scriptLoadedSuccessfully:s}),[e,s]);return r.createElement(i.Provider,{value:u},a)}},44326:(e,t,n)=>{"use strict";n.d(t,{xP:()=>R});var r=n(61760),i=n(39839),o=n(25366),a=n(85472),s=n(9946),u=(n(42704),function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}),l=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,g=function(e,t,n){return t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},m=function(e,t){for(var n in t||(t={}))h.call(t,n)&&g(e,n,t[n]);if(f)for(var r=0,i=f(t);r<i.length;r++){n=i[r];p.call(t,n)&&g(e,n,t[n])}return e},y=function(e,t){return c(e,d(t))};function v(e,t,n,r){var i=(0,o.useMemo)(function(){return{queryArgs:e,serialized:"object"==typeof e?t({queryArgs:e,endpointDefinition:n,endpointName:r}):e}},[e,t,n,r]),a=(0,o.useRef)(i);return(0,o.useEffect)(function(){a.current.serialized!==i.serialized&&(a.current=i)},[i]),a.current.serialized===i.serialized?a.current.queryArgs:e}var b=Symbol();function w(e){var t=(0,o.useRef)(e);return(0,o.useEffect)(function(){(0,a.bN)(t.current,e)||(t.current=e)},[e]),(0,a.bN)(t.current,e)?t.current:e}var k,S,_=WeakMap?new WeakMap:void 0,C=function(e){var t=e.endpointName,n=e.queryArgs,r="",i=null==_?void 0:_.get(n);if("string"===typeof i)r=i;else{var o=JSON.stringify(n,function(e,t){return(0,s.isPlainObject)(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t});(0,s.isPlainObject)(n)&&(null==_||_.set(n,o)),r=o}return t+"("+r+")"},x="undefined"!==typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,E=function(e){return e},O=function(e){return e.isUninitialized?y(m({},e),{isUninitialized:!1,isFetching:!0,isLoading:void 0===e.data,status:r.RE.pending}):e};function A(e){return e.replace(e[0],e[0].toUpperCase())}function T(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,u([e],t))}(S=k||(k={})).query="query",S.mutation="mutation";var I=Symbol();var R=(0,r.l0)((0,r.m7)(),function(e){var t=void 0===e?{}:e,n=t.batch,s=void 0===n?a.vA:n,u=t.useDispatch,l=void 0===u?a.wA:u,c=t.useSelector,d=void 0===c?a.d4:c,f=t.useStore,h=void 0===f?a.Pj:f,p=t.unstable__sideEffectsInRender,g=void 0!==p&&p;return{name:I,init:function(e,t,n){var u=t.serializeQueryArgs,c=e,f=function(e){var t=e.api,n=e.moduleOptions,s=n.batch,u=n.useDispatch,l=n.useSelector,c=n.useStore,d=n.unstable__sideEffectsInRender,f=e.serializeQueryArgs,h=e.context,p=d?function(e){return e()}:o.useEffect;return{buildQueryHooks:function(e){var n=function(n,i){var a=void 0===i?{}:i,s=a.refetchOnReconnect,l=a.refetchOnFocus,c=a.refetchOnMountOrArgChange,d=a.skip,f=void 0!==d&&d,g=a.pollingInterval,m=void 0===g?0:g,y=t.endpoints[e].initiate,b=u(),k=v(f?r.hT:n,C,h.endpointDefinitions[e],e),S=w({refetchOnReconnect:s,refetchOnFocus:l,pollingInterval:m}),_=(0,o.useRef)(!1),x=(0,o.useRef)(),E=x.current||{},O=E.queryCacheKey,A=E.requestId,T=!1;if(O&&A){var I=b(t.internalActions.internal_probeSubscription({queryCacheKey:O,requestId:A}));T=!!I}var R=!T&&_.current;return p(function(){_.current=T}),p(function(){R&&(x.current=void 0)},[R]),p(function(){var e,t=x.current;if(k===r.hT)return null==t||t.unsubscribe(),void(x.current=void 0);var n=null==(e=x.current)?void 0:e.subscriptionOptions;if(t&&t.arg===k)S!==n&&t.updateSubscriptionOptions(S);else{null==t||t.unsubscribe();var i=b(y(k,{subscriptionOptions:S,forceRefetch:c}));x.current=i}},[b,y,c,k,S,R]),(0,o.useEffect)(function(){return function(){var e;null==(e=x.current)||e.unsubscribe(),x.current=void 0}},[]),(0,o.useMemo)(function(){return{refetch:function(){var e;if(!x.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=x.current)?void 0:e.refetch()}}},[])},d=function(n){var r=void 0===n?{}:n,i=r.refetchOnReconnect,a=r.refetchOnFocus,l=r.pollingInterval,c=void 0===l?0:l,d=t.endpoints[e].initiate,f=u(),h=(0,o.useState)(b),g=h[0],m=h[1],y=(0,o.useRef)(),v=w({refetchOnReconnect:i,refetchOnFocus:a,pollingInterval:c});p(function(){var e,t,n=null==(e=y.current)?void 0:e.subscriptionOptions;v!==n&&(null==(t=y.current)||t.updateSubscriptionOptions(v))},[v]);var k=(0,o.useRef)(v);p(function(){k.current=v},[v]);var S=(0,o.useCallback)(function(e,t){var n;return void 0===t&&(t=!1),s(function(){var r;null==(r=y.current)||r.unsubscribe(),y.current=n=f(d(e,{subscriptionOptions:k.current,forceRefetch:!t})),m(e)}),n},[f,d]);return(0,o.useEffect)(function(){return function(){var e;null==(e=null==y?void 0:y.current)||e.unsubscribe()}},[]),(0,o.useEffect)(function(){g===b||y.current||S(g,!0)},[g,S]),(0,o.useMemo)(function(){return[S,g]},[S,g])},k=function(n,s){var u=void 0===s?{}:s,d=u.skip,p=void 0!==d&&d,m=u.selectFromResult,y=t.endpoints[e].select,b=v(p?r.hT:n,f,h.endpointDefinitions[e],e),w=(0,o.useRef)(),k=(0,o.useMemo)(function(){return(0,i.createSelector)([y(b),function(e,t){return t},function(e){return b}],g)},[y,b]),S=(0,o.useMemo)(function(){return m?(0,i.createSelector)([k],m):k},[k,m]),_=l(function(e){return S(e,w.current)},a.bN),C=c(),E=k(C.getState(),w.current);return x(function(){w.current=E},[E]),_};return{useQueryState:k,useQuerySubscription:n,useLazyQuerySubscription:d,useLazyQuery:function(e){var t=d(e),n=t[0],r=t[1],i=k(r,y(m({},e),{skip:r===b})),a=(0,o.useMemo)(function(){return{lastArg:r}},[r]);return(0,o.useMemo)(function(){return[n,i,a]},[n,i,a])},useQuery:function(e,t){var i=n(e,t),a=k(e,m({selectFromResult:e===r.hT||(null==t?void 0:t.skip)?void 0:O},t)),s=a.data,u=a.status,l=a.isLoading,c=a.isSuccess,d=a.isError,f=a.error;return(0,o.useDebugValue)({data:s,status:u,isLoading:l,isSuccess:c,isError:d,error:f}),(0,o.useMemo)(function(){return m(m({},a),i)},[a,i])}}},buildMutationHook:function(e){return function(n){var r=void 0===n?{}:n,c=r.selectFromResult,d=void 0===c?E:c,f=r.fixedCacheKey,h=t.endpoints[e],p=h.select,g=h.initiate,v=u(),b=(0,o.useState)(),w=b[0],k=b[1];(0,o.useEffect)(function(){return function(){(null==w?void 0:w.arg.fixedCacheKey)||null==w||w.reset()}},[w]);var S=(0,o.useCallback)(function(e){var t=v(g(e,{fixedCacheKey:f}));return k(t),t},[v,g,f]),_=(w||{}).requestId,C=(0,o.useMemo)(function(){return(0,i.createSelector)([p({fixedCacheKey:f,requestId:null==w?void 0:w.requestId})],d)},[p,w,d,f]),x=l(C,a.bN),O=null==f?null==w?void 0:w.arg.originalArgs:void 0,A=(0,o.useCallback)(function(){s(function(){w&&k(void 0),f&&v(t.internalActions.removeMutationResult({requestId:_,fixedCacheKey:f}))})},[v,f,w,_]),T=x.endpointName,I=x.data,R=x.status,P=x.isLoading,D=x.isSuccess,z=x.isError,L=x.error;(0,o.useDebugValue)({endpointName:T,data:I,status:R,isLoading:P,isSuccess:D,isError:z,error:L});var N=(0,o.useMemo)(function(){return y(m({},x),{originalArgs:O,reset:A})},[x,O,A]);return(0,o.useMemo)(function(){return[S,N]},[S,N])}},usePrefetch:function(e,n){var r=u(),i=w(n);return(0,o.useCallback)(function(n,o){return r(t.util.prefetch(e,n,m(m({},i),o)))},[e,r,i])}};function g(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,i=h.endpointDefinitions[r];f({queryArgs:t.originalArgs,endpointDefinition:i,endpointName:r})===f({queryArgs:n,endpointDefinition:i,endpointName:r})&&(t=void 0)}var o=e.isSuccess?e.data:null==t?void 0:t.data;void 0===o&&(o=e.data);var a=void 0!==o,s=e.isLoading,u=!a&&s,l=e.isSuccess||s&&a;return y(m({},e),{data:o,currentData:e.data,isFetching:s,isLoading:u,isSuccess:l})}}({api:e,moduleOptions:{batch:s,useDispatch:l,useSelector:d,useStore:h,unstable__sideEffectsInRender:g},serializeQueryArgs:u,context:n}),p=f.buildQueryHooks,S=f.buildMutationHook,_=f.usePrefetch;return T(c,{usePrefetch:_}),T(n,{batch:s}),{injectEndpoint:function(t,n){if(n.type===k.query){var r=p(t),i=r.useQuery,o=r.useLazyQuery,a=r.useLazyQuerySubscription,s=r.useQueryState,u=r.useQuerySubscription;T(c.endpoints[t],{useQuery:i,useLazyQuery:o,useLazyQuerySubscription:a,useQueryState:s,useQuerySubscription:u}),e["use"+A(t)+"Query"]=i,e["useLazy"+A(t)+"Query"]=o}else if(function(e){return e.type===k.mutation}(n)){var l=S(t);T(c.endpoints[t],{useMutation:l}),e["use"+A(t)+"Mutation"]=l}}}}}}())},37754:function(e,t,n){var r,i,o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},s=Object.create,u=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,y=function(e,t,n){return t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},v=function(e,t){for(var n in t||(t={}))g.call(t,n)&&y(e,n,t[n]);if(h)for(var r=0,i=h(t);r<i.length;r++)m.call(t,n=i[r])&&y(e,n,t[n]);return e},b=function(e,t){return l(e,d(t))},w=function(e){return u(e,"__esModule",{value:!0})},k=function(e,t){var n={};for(var r in e)g.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&h)for(var i=0,o=h(e);i<o.length;i++)t.indexOf(r=o[i])<0&&m.call(e,r)&&(n[r]=e[r]);return n},S=function(e){return function(e,t,n){if(t&&"object"==typeof t||"function"==typeof t)for(var r=function(r){g.call(e,r)||"default"===r||u(e,r,{get:function(){return t[r]},enumerable:!(n=c(t,r))||n.enumerable})},i=0,o=f(t);i<o.length;i++)r(o[i]);return e}(w(u(null!=e?s(p(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)},_=function(e,t,n){return new Promise(function(r,i){var o=function(e){try{s(n.next(e))}catch(e){i(e)}},a=function(e){try{s(n.throw(e))}catch(e){i(e)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())})};w(t),function(e,t){for(var n in t)u(e,n,{get:t[n],enumerable:!0})}(t,{QueryStatus:function(){return r},buildCreateApi:function(){return ke},copyWithStructuralSharing:function(){return E},coreModule:function(){return Be},coreModuleName:function(){return Fe},createApi:function(){return Ue},defaultSerializeQueryArgs:function(){return ve},fakeBaseQuery:function(){return Se},fetchBaseQuery:function(){return P},retry:function(){return N},setupListeners:function(){return q},skipSelector:function(){return fe},skipToken:function(){return de}}),(i=r||(r={})).uninitialized="uninitialized",i.pending="pending",i.fulfilled="fulfilled",i.rejected="rejected";var C=function(e){return[].concat.apply([],e)},x=S(n(9946)).isPlainObject;function E(e,t){if(e===t||!(x(e)&&x(t)||Array.isArray(e)&&Array.isArray(t)))return t;for(var n=Object.keys(t),r=Object.keys(e),i=n.length===r.length,o=Array.isArray(t)?[]:{},a=0,s=n;a<s.length;a++){var u=s[a];o[u]=E(e[u],t[u]),i&&(i=e[u]===o[u])}return i?e:o}var O=S(n(9946)),A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fetch.apply(void 0,e)},T=function(e){return e.status>=200&&e.status<=299},I=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function R(e){if(!(0,O.isPlainObject)(e))return e;for(var t=v({},e),n=0,r=Object.entries(t);n<r.length;n++){var i=r[n];void 0===i[1]&&delete t[i[0]]}return t}function P(e){var t=this;void 0===e&&(e={});var n=e.baseUrl,r=e.prepareHeaders,i=void 0===r?function(e){return e}:r,a=e.fetchFn,s=void 0===a?A:a,u=e.paramsSerializer,l=e.isJsonContentType,c=void 0===l?I:l,d=e.jsonContentType,f=void 0===d?"application/json":d,h=e.jsonReplacer,p=e.timeout,g=e.responseHandler,m=e.validateStatus,y=k(e,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return function(e,r){return _(t,null,function(){var t,a,l,d,S,_,C,x,E,A,I,P,D,z,L,N,M,j,F,B,U,W,q,V,H,Q,$,K,G,Z,Y,J,X,ee,te,ne;return o(this,function(o){switch(o.label){case 0:return t=r.signal,a=r.getState,l=r.extra,d=r.endpoint,S=r.forced,_=r.type,E=(x="string"==typeof e?{url:e}:e).url,I=void 0===(A=x.headers)?new Headers(y.headers):A,D=void 0===(P=x.params)?void 0:P,L=void 0===(z=x.responseHandler)?null!=g?g:"json":z,M=void 0===(N=x.validateStatus)?null!=m?m:T:N,F=void 0===(j=x.timeout)?p:j,B=k(x,["url","headers","params","responseHandler","validateStatus","timeout"]),U=v(b(v({},y),{signal:t}),B),I=new Headers(R(I)),W=U,[4,i(I,{getState:a,extra:l,endpoint:d,forced:S,type:_})];case 1:W.headers=o.sent()||I,q=function(e){return"object"==typeof e&&((0,O.isPlainObject)(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!U.headers.has("content-type")&&q(U.body)&&U.headers.set("content-type",f),q(U.body)&&c(U.headers)&&(U.body=JSON.stringify(U.body,h)),D&&(V=~E.indexOf("?")?"&":"?",H=u?u(D):new URLSearchParams(R(D)),E+=V+H),E=function(e,t){if(!e)return t;if(!t)return e;if(function(e){return new RegExp("(^|:)//").test(e)}(t))return t;var n=e.endsWith("/")||!t.startsWith("?")?"/":"";return""+(e=function(e){return e.replace(/\/$/,"")}(e))+n+function(e){return e.replace(/^\//,"")}(t)}(n,E),Q=new Request(E,U),$=new Request(E,U),C={request:$},G=!1,Z=F&&setTimeout(function(){G=!0,r.abort()},F),o.label=2;case 2:return o.trys.push([2,4,5,6]),[4,s(Q)];case 3:return K=o.sent(),[3,6];case 4:return Y=o.sent(),[2,{error:{status:G?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Y)},meta:C}];case 5:return Z&&clearTimeout(Z),[7];case 6:J=K.clone(),C.response=J,ee="",o.label=7;case 7:return o.trys.push([7,9,,10]),[4,Promise.all([w(K,L).then(function(e){return X=e},function(e){return te=e}),J.text().then(function(e){return ee=e},function(){})])];case 8:if(o.sent(),te)throw te;return[3,10];case 9:return ne=o.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:K.status,data:ee,error:String(ne)},meta:C}];case 10:return[2,M(K,X)?{data:X,meta:C}:{error:{status:K.status,data:X},meta:C}]}})})};function w(e,t){return _(this,null,function(){var n;return o(this,function(r){switch(r.label){case 0:return"function"==typeof t?[2,t(e)]:("content-type"===t&&(t=c(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}})})}}var D=function(e,t){void 0===t&&(t=void 0),this.value=e,this.meta=t};function z(e,t){return void 0===e&&(e=0),void 0===t&&(t=5),_(this,null,function(){var n,r;return o(this,function(i){switch(i.label){case 0:return n=Math.min(e,t),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise(function(e){return setTimeout(function(t){return e(t)},r)})];case 1:return i.sent(),[2]}})})}var L={},N=Object.assign(function(e,t){return function(n,r,i){return _(void 0,null,function(){var a,s,u,l,c,d,f;return o(this,function(o){switch(o.label){case 0:a=[5,(t||L).maxRetries,(i||L).maxRetries].filter(function(e){return void 0!==e}),s=a.slice(-1)[0],u=function(e,t,n){return n.attempt<=s},l=v(v({maxRetries:s,backoff:z,retryCondition:u},t),i),c=0,o.label=1;case 1:o.label=2;case 2:return o.trys.push([2,4,,6]),[4,e(n,r,i)];case 3:if((d=o.sent()).error)throw new D(d);return[2,d];case 4:if(f=o.sent(),c++,f.throwImmediately){if(f instanceof D)return[2,f.value];throw f}return f instanceof D&&!l.retryCondition(f.value.error,n,{attempt:c,baseQueryApi:r,extraOptions:i})?[2,f.value]:[4,l.backoff(c,l.maxRetries)];case 5:return o.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},{fail:function(e){throw Object.assign(new D({error:e}),{throwImmediately:!0})}}),M=S(n(9946)),j=(0,M.createAction)("__rtkq/focused"),F=(0,M.createAction)("__rtkq/unfocused"),B=(0,M.createAction)("__rtkq/online"),U=(0,M.createAction)("__rtkq/offline"),W=!1;function q(e,t){return t?t(e,{onFocus:j,onFocusLost:F,onOffline:U,onOnline:B}):(n=function(){return e(j())},r=function(){return e(B())},i=function(){return e(U())},o=function(){"visible"===window.document.visibilityState?n():e(F())},W||"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("visibilitychange",o,!1),window.addEventListener("focus",n,!1),window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),W=!0),function(){window.removeEventListener("focus",n),window.removeEventListener("visibilitychange",o),window.removeEventListener("online",r),window.removeEventListener("offline",i),W=!1});var n,r,i,o}var V,H,Q=S(n(9946));function $(e){return e.type===V.query}function K(e,t,n,r,i,o){return"function"==typeof e?e(t,n,r,i).map(G).map(o):Array.isArray(e)?e.map(G).map(o):[]}function G(e){return"string"==typeof e?{type:e}:e}(H=V||(V={})).query="query",H.mutation="mutation";var Z=S(n(9946));function Y(e){return null!=e}var J=Symbol("forceQueryFn"),X=function(e){return"function"==typeof e[J]},ee=S(n(9946)),te=S(n(7612)),ne=S(n(9946));function re(e){return e}function ie(e,t,n,r){return K(n[e.meta.arg.endpointName][t],(0,ee.isFulfilled)(e)?e.payload:void 0,(0,ee.isRejectedWithValue)(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,r)}var oe=S(n(7612)),ae=S(n(7612));function se(e,t,n){var r=e[t];r&&n(r)}function ue(e){var t;return null!=(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)?t:e.requestId}function le(e,t,n){var r=e[ue(t)];r&&n(r)}var ce={},de=Symbol.for("RTKQ/skipToken"),fe=de,he={status:r.uninitialized},pe=(0,Q.createNextState)(he,function(){}),ge=(0,Q.createNextState)(he,function(){}),me=S(n(9946)),ye=WeakMap?new WeakMap:void 0,ve=function(e){var t=e.endpointName,n=e.queryArgs,r="",i=null==ye?void 0:ye.get(n);if("string"==typeof i)r=i;else{var o=JSON.stringify(n,function(e,t){return(0,me.isPlainObject)(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t});(0,me.isPlainObject)(n)&&(null==ye||ye.set(n,o)),r=o}return t+"("+r+")"},be=S(n(9946)),we=S(n(39839));function ke(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=(0,we.defaultMemoize)(function(e){var n,r;return null==(r=t.extractRehydrationInfo)?void 0:r.call(t,e,{reducerPath:null!=(n=t.reducerPath)?n:"api"})}),r=b(v({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},t),{extractRehydrationInfo:n,serializeQueryArgs:function(e){var n=ve;if("serializeQueryArgs"in e.endpointDefinition){var r=e.endpointDefinition.serializeQueryArgs;n=function(e){var t=r(e);return"string"==typeof t?t:ve(b(v({},e),{queryArgs:t}))}}else t.serializeQueryArgs&&(n=t.serializeQueryArgs);return n(e)},tagTypes:a([],t.tagTypes||[])}),i={endpointDefinitions:{},batch:function(e){e()},apiUid:(0,be.nanoid)(),extractRehydrationInfo:n,hasRehydrationInfo:(0,we.defaultMemoize)(function(e){return null!=n(e)})},o={injectEndpoints:function(e){for(var t=e.endpoints({query:function(e){return b(v({},e),{type:V.query})},mutation:function(e){return b(v({},e),{type:V.mutation})}}),n=0,r=Object.entries(t);n<r.length;n++){var a=r[n],u=a[0],l=a[1];if(e.overrideExisting||!(u in i.endpointDefinitions)){i.endpointDefinitions[u]=l;for(var c=0,d=s;c<d.length;c++)d[c].injectEndpoint(u,l)}}return o},enhanceEndpoints:function(e){var t=e.addTagTypes,n=e.endpoints;if(t)for(var a=0,s=t;a<s.length;a++){var u=s[a];r.tagTypes.includes(u)||r.tagTypes.push(u)}if(n)for(var l=0,c=Object.entries(n);l<c.length;l++){var d=c[l],f=d[0],h=d[1];"function"==typeof h?h(i.endpointDefinitions[f]):Object.assign(i.endpointDefinitions[f]||{},h)}return o}},s=e.map(function(e){return e.init(o,r,i)});return o.injectEndpoints({endpoints:t.endpoints})}}function Se(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}var _e,Ce=S(n(9946)),xe=function(e){var t=e.reducerPath,n=e.api,r=e.context,i=e.internalState,o=n.internalActions,a=o.removeQueryResult,s=o.unsubscribeQueryResult;function u(e){var t=i.currentSubscriptions[e];return!!t&&!function(e){for(var t in e)return!1;return!0}(t)}var l={};function c(e,t,n,i){var o,s=r.endpointDefinitions[t],c=null!=(o=null==s?void 0:s.keepUnusedDataFor)?o:i.keepUnusedDataFor;if(1/0!==c){var d=Math.max(0,Math.min(c,2147482.647));if(!u(e)){var f=l[e];f&&clearTimeout(f),l[e]=setTimeout(function(){u(e)||n.dispatch(a({queryCacheKey:e})),delete l[e]},1e3*d)}}}return function(e,i,o){var a;if(s.match(e)){var u=i.getState()[t];c(b=e.payload.queryCacheKey,null==(a=u.queries[b])?void 0:a.endpointName,i,u.config)}if(n.util.resetApiState.match(e))for(var d=0,f=Object.entries(l);d<f.length;d++){var h=f[d],p=h[0],g=h[1];g&&clearTimeout(g),delete l[p]}if(r.hasRehydrationInfo(e)){u=i.getState()[t];for(var m=r.extractRehydrationInfo(e).queries,y=0,v=Object.entries(m);y<v.length;y++){var b,w=v[y],k=w[1];c(b=w[0],null==k?void 0:k.endpointName,i,u.config)}}}},Ee=S(n(9946)),Oe=function(e){var t=e.reducerPath,n=e.context,i=e.context.endpointDefinitions,o=e.mutationThunk,a=e.api,s=e.assertTagType,u=e.refetchQuery,l=a.internalActions.removeQueryResult,c=(0,Ee.isAnyOf)((0,Ee.isFulfilled)(o),(0,Ee.isRejectedWithValue)(o));function d(e,i){var o=i.getState(),s=o[t],c=a.util.selectInvalidatedBy(o,e);n.batch(function(){for(var e,t=0,n=Array.from(c.values());t<n.length;t++){var o=n[t].queryCacheKey,a=s.queries[o],d=null!=(e=s.subscriptions[o])?e:{};a&&(0===Object.keys(d).length?i.dispatch(l({queryCacheKey:o})):a.status!==r.uninitialized&&i.dispatch(u(a,o)))}})}return function(e,t){c(e)&&d(ie(e,"invalidatesTags",i,s),t),a.util.invalidateTags.match(e)&&d(K(e.payload,void 0,void 0,void 0,void 0,s),t)}},Ae=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,o=e.refetchQuery,a=e.internalState,s={};function u(e,n){var i=e.queryCacheKey,u=n.getState()[t].queries[i];if(u&&u.status!==r.uninitialized){var l=d(a.currentSubscriptions[i]);if(Number.isFinite(l)){var c=s[i];(null==c?void 0:c.timeout)&&(clearTimeout(c.timeout),c.timeout=void 0);var f=Date.now()+l,h=s[i]={nextPollTimestamp:f,pollingInterval:l,timeout:setTimeout(function(){h.timeout=void 0,n.dispatch(o(u,i))},l)}}}}function l(e,n){var i=e.queryCacheKey,o=n.getState()[t].queries[i];if(o&&o.status!==r.uninitialized){var l=d(a.currentSubscriptions[i]);if(Number.isFinite(l)){var f=s[i],h=Date.now()+l;(!f||h<f.nextPollTimestamp)&&u({queryCacheKey:i},n)}else c(i)}}function c(e){var t=s[e];(null==t?void 0:t.timeout)&&clearTimeout(t.timeout),delete s[e]}function d(e){void 0===e&&(e={});var t=Number.POSITIVE_INFINITY;for(var n in e)e[n].pollingInterval&&(t=Math.min(e[n].pollingInterval,t));return t}return function(e,t){(i.internalActions.updateSubscriptionOptions.match(e)||i.internalActions.unsubscribeQueryResult.match(e))&&l(e.payload,t),(n.pending.match(e)||n.rejected.match(e)&&e.meta.condition)&&l(e.meta.arg,t),(n.fulfilled.match(e)||n.rejected.match(e)&&!e.meta.condition)&&u(e.meta.arg,t),i.util.resetApiState.match(e)&&function(){for(var e=0,t=Object.keys(s);e<t.length;e++)c(t[e])}()}},Te=S(n(9946)),Ie=new Error("Promise never resolved before cacheEntryRemoved."),Re=function(e){var t=e.api,n=e.reducerPath,r=e.context,i=e.queryThunk,o=e.mutationThunk,a=(0,Te.isAsyncThunkAction)(i),s=(0,Te.isAsyncThunkAction)(o),u=(0,Te.isFulfilled)(i,o),l={};function c(e,n,i,o,a){var s=r.endpointDefinitions[e],u=null==s?void 0:s.onCacheEntryAdded;if(u){var c={},d=new Promise(function(e){c.cacheEntryRemoved=e}),f=Promise.race([new Promise(function(e){c.valueResolved=e}),d.then(function(){throw Ie})]);f.catch(function(){}),l[i]=c;var h=t.endpoints[e].select(s.type===V.query?n:i),p=o.dispatch(function(e,t,n){return n}),g=b(v({},o),{getCacheEntry:function(){return h(o.getState())},requestId:a,extra:p,updateCachedData:s.type===V.query?function(r){return o.dispatch(t.util.updateQueryData(e,n,r))}:void 0,cacheDataLoaded:f,cacheEntryRemoved:d}),m=u(n,g);Promise.resolve(m).catch(function(e){if(e!==Ie)throw e})}}return function(e,r,d){var f=function(e){return a(e)?e.meta.arg.queryCacheKey:s(e)?e.meta.requestId:t.internalActions.removeQueryResult.match(e)?e.payload.queryCacheKey:t.internalActions.removeMutationResult.match(e)?ue(e.payload):""}(e);if(i.pending.match(e)){var h=d[n].queries[f],p=r.getState()[n].queries[f];!h&&p&&c(e.meta.arg.endpointName,e.meta.arg.originalArgs,f,r,e.meta.requestId)}else if(o.pending.match(e))(p=r.getState()[n].mutations[f])&&c(e.meta.arg.endpointName,e.meta.arg.originalArgs,f,r,e.meta.requestId);else if(u(e))(null==(v=l[f])?void 0:v.valueResolved)&&(v.valueResolved({data:e.payload,meta:e.meta.baseQueryMeta}),delete v.valueResolved);else if(t.internalActions.removeQueryResult.match(e)||t.internalActions.removeMutationResult.match(e))(v=l[f])&&(delete l[f],v.cacheEntryRemoved());else if(t.util.resetApiState.match(e))for(var g=0,m=Object.entries(l);g<m.length;g++){var y=m[g],v=y[1];delete l[y[0]],v.cacheEntryRemoved()}}},Pe=S(n(9946)),De=function(e){var t=e.api,n=e.context,r=e.queryThunk,i=e.mutationThunk,o=(0,Pe.isPending)(r,i),a=(0,Pe.isRejected)(r,i),s=(0,Pe.isFulfilled)(r,i),u={};return function(e,r){var i,l,c;if(o(e)){var d=e.meta,f=d.requestId,h=d.arg,p=h.endpointName,g=h.originalArgs,m=n.endpointDefinitions[p],y=null==m?void 0:m.onQueryStarted;if(y){var w={},k=new Promise(function(e,t){w.resolve=e,w.reject=t});k.catch(function(){}),u[f]=w;var S=t.endpoints[p].select(m.type===V.query?g:f),_=r.dispatch(function(e,t,n){return n}),C=b(v({},r),{getCacheEntry:function(){return S(r.getState())},requestId:f,extra:_,updateCachedData:m.type===V.query?function(e){return r.dispatch(t.util.updateQueryData(p,g,e))}:void 0,queryFulfilled:k});y(g,C)}}else if(s(e)){var x=e.meta,E=x.baseQueryMeta;null==(i=u[f=x.requestId])||i.resolve({data:e.payload,meta:E}),delete u[f]}else if(a(e)){var O=e.meta;E=O.baseQueryMeta,null==(c=u[f=O.requestId])||c.reject({error:null!=(l=e.payload)?l:e.error,isUnhandledError:!O.rejectedWithValue,meta:E}),delete u[f]}}},ze=function(e){var t=e.api,n=e.context.apiUid;return function(e,r){t.util.resetApiState.match(e)&&r.dispatch(t.internalActions.middlewareRegistered(n))}},Le=S(n(7612)),Ne="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:globalThis):function(e){return(_e||(_e=Promise.resolve())).then(e).catch(function(e){return setTimeout(function(){throw e},0)})};function Me(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,a([e],t))}var je=S(n(7612)),Fe=Symbol(),Be=function(){return{name:Fe,init:function(e,t,n){var i=t.baseQuery,s=t.reducerPath,u=t.serializeQueryArgs,l=t.keepUnusedDataFor,c=t.refetchOnMountOrArgChange,d=t.refetchOnFocus,f=t.refetchOnReconnect;(0,je.enablePatches)();var h=function(e){return e};Object.assign(e,{reducerPath:s,endpoints:{},internalActions:{onOnline:B,onOffline:U,onFocus:j,onFocusLost:F},util:{}});var p=function(e){var t=this,n=e.reducerPath,i=e.baseQuery,a=e.context.endpointDefinitions,s=e.serializeQueryArgs,u=e.api,l=e.assertTagType,c=function(e,n){return _(t,[e,n],function(e,t){var n,r,s,u,l,c,f,h,p,g,m,y,v,b=t.signal,w=t.abort,k=t.rejectWithValue,S=t.fulfillWithValue,_=t.dispatch,C=t.getState,x=t.extra;return o(this,function(t){switch(t.label){case 0:n=a[e.endpointName],t.label=1;case 1:return t.trys.push([1,8,,13]),r=re,s=void 0,u={signal:b,abort:w,dispatch:_,getState:C,extra:x,endpoint:e.endpointName,type:e.type,forced:"query"===e.type?d(e,C()):void 0},(l="query"===e.type?e[J]:void 0)?(s=l(),[3,6]):[3,2];case 2:return n.query?[4,i(n.query(e.originalArgs),u,n.extraOptions)]:[3,4];case 3:return s=t.sent(),n.transformResponse&&(r=n.transformResponse),[3,6];case 4:return[4,n.queryFn(e.originalArgs,u,n.extraOptions,function(e){return i(e,u,n.extraOptions)})];case 5:s=t.sent(),t.label=6;case 6:if(s.error)throw new D(s.error,s.meta);return c=S,[4,r(s.data,s.meta,e.originalArgs)];case 7:return[2,c.apply(void 0,[t.sent(),(y={fulfilledTimeStamp:Date.now(),baseQueryMeta:s.meta},y[ne.SHOULD_AUTOBATCH]=!0,y)])];case 8:if(f=t.sent(),!((h=f)instanceof D))return[3,12];p=re,n.query&&n.transformErrorResponse&&(p=n.transformErrorResponse),t.label=9;case 9:return t.trys.push([9,11,,12]),g=k,[4,p(h.value,h.meta,e.originalArgs)];case 10:return[2,g.apply(void 0,[t.sent(),(v={baseQueryMeta:h.meta},v[ne.SHOULD_AUTOBATCH]=!0,v)])];case 11:return m=t.sent(),h=m,[3,12];case 12:throw h;case 13:return[2]}})})};function d(e,t){var r,i,o,a,s=null==(i=null==(r=t[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],u=null==(o=t[n])?void 0:o.config.refetchOnMountOrArgChange,l=null==s?void 0:s.fulfilledTimeStamp,c=null!=(a=e.forceRefetch)?a:e.subscribe&&u;return!!c&&(!0===c||(Number(new Date)-Number(l))/1e3>=c)}var f=(0,ne.createAsyncThunk)(n+"/executeQuery",c,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[ne.SHOULD_AUTOBATCH]=!0,e},condition:function(e,t){var r,i,o,s=(0,t.getState)(),u=null==(i=null==(r=s[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],l=null==u?void 0:u.fulfilledTimeStamp,c=e.originalArgs,f=null==u?void 0:u.originalArgs,h=a[e.endpointName];return!(!X(e)&&("pending"===(null==u?void 0:u.status)||!d(e,s)&&(!$(h)||!(null==(o=null==h?void 0:h.forceRefetch)?void 0:o.call(h,{currentArg:c,previousArg:f,endpointState:u,state:s})))&&l))},dispatchConditionRejection:!0}),h=(0,ne.createAsyncThunk)(n+"/executeMutation",c,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[ne.SHOULD_AUTOBATCH]=!0,e}});function p(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:f,mutationThunk:h,prefetch:function(e,t,n){return function(r,i){var o=function(e){return"force"in e}(n)&&n.force,a=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,s=function(n){return void 0===n&&(n=!0),u.endpoints[e].initiate(t,{forceRefetch:n})},l=u.endpoints[e].select(t)(i());if(o)r(s());else if(a){var c=null==l?void 0:l.fulfilledTimeStamp;if(!c)return void r(s());(Number(new Date)-Number(new Date(c)))/1e3>=a&&r(s())}else r(s(!1))}},updateQueryData:function(e,t,n,i){return void 0===i&&(i=!0),function(o,a){var s,l,c,d=u.endpoints[e].select(t)(a()),f={patches:[],inversePatches:[],undo:function(){return o(u.util.patchQueryData(e,t,f.inversePatches,i))}};if(d.status===r.uninitialized)return f;if("data"in d)if((0,te.isDraftable)(d.data)){var h=(0,te.produceWithPatches)(d.data,n),p=h[0],g=h[2];(s=f.patches).push.apply(s,h[1]),(l=f.inversePatches).push.apply(l,g),c=p}else c=n(d.data),f.patches.push({op:"replace",path:[],value:c}),f.inversePatches.push({op:"replace",path:[],value:d.data});return o(u.util.patchQueryData(e,t,f.patches,i)),f}},upsertQueryData:function(e,t,n){return function(r){var i;return r(u.endpoints[e].initiate(t,((i={subscribe:!1,forceRefetch:!0})[J]=function(){return{data:n}},i)))}},patchQueryData:function(e,t,n,r){return function(i,o){var c=a[e],d=s({queryArgs:t,endpointDefinition:c,endpointName:e});if(i(u.internalActions.queryResultPatched({queryCacheKey:d,patches:n})),r){var f=u.endpoints[e].select(t)(o()),h=K(c.providesTags,f.data,void 0,t,{},l);i(u.internalActions.updateProvidedBy({queryCacheKey:d,providedTags:h}))}}},buildMatchThunkActions:function(e,t){return{matchPending:(0,ee.isAllOf)((0,ee.isPending)(e),p(t)),matchFulfilled:(0,ee.isAllOf)((0,ee.isFulfilled)(e),p(t)),matchRejected:(0,ee.isAllOf)((0,ee.isRejected)(e),p(t))}}}}({baseQuery:i,reducerPath:s,context:n,api:e,serializeQueryArgs:u,assertTagType:h}),g=p.queryThunk,m=p.mutationThunk,y=p.patchQueryData,w=p.updateQueryData,k=p.upsertQueryData,S=p.prefetch,x=p.buildMatchThunkActions,O=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.mutationThunk,o=e.context,a=o.endpointDefinitions,s=o.apiUid,u=o.extractRehydrationInfo,l=o.hasRehydrationInfo,c=e.assertTagType,d=e.config,f=(0,Z.createAction)(t+"/resetApiState"),h=(0,Z.createSlice)({name:t+"/queries",initialState:ce,reducers:{removeQueryResult:{reducer:function(e,t){delete e[t.payload.queryCacheKey]},prepare:(0,Z.prepareAutoBatched)()},queryResultPatched:{reducer:function(e,t){var n=t.payload,r=n.patches;se(e,n.queryCacheKey,function(e){e.data=(0,ae.applyPatches)(e.data,r.concat())})},prepare:(0,Z.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(n.pending,function(e,t){var n,i=t.meta,o=t.meta.arg,a=X(o);(o.subscribe||a)&&(null!=e[n=o.queryCacheKey]||(e[n]={status:r.uninitialized,endpointName:o.endpointName})),se(e,o.queryCacheKey,function(e){e.status=r.pending,e.requestId=a&&e.requestId?e.requestId:i.requestId,void 0!==o.originalArgs&&(e.originalArgs=o.originalArgs),e.startedTimeStamp=i.startedTimeStamp})}).addCase(n.fulfilled,function(e,t){var n=t.meta,i=t.payload;se(e,n.arg.queryCacheKey,function(e){var t;if(e.requestId===n.requestId||X(n.arg)){var o=a[n.arg.endpointName].merge;if(e.status=r.fulfilled,o)if(void 0!==e.data){var s=n.fulfilledTimeStamp,u=n.arg,l=n.baseQueryMeta,c=n.requestId,d=(0,Z.createNextState)(e.data,function(e){return o(e,i,{arg:u.originalArgs,baseQueryMeta:l,fulfilledTimeStamp:s,requestId:c})});e.data=d}else e.data=i;else e.data=null==(t=a[n.arg.endpointName].structuralSharing)||t?E((0,oe.isDraft)(e.data)?(0,ae.original)(e.data):e.data,i):i;delete e.error,e.fulfilledTimeStamp=n.fulfilledTimeStamp}})}).addCase(n.rejected,function(e,t){var n=t.meta,i=n.condition,o=n.requestId,a=t.error,s=t.payload;se(e,n.arg.queryCacheKey,function(e){if(i);else{if(e.requestId!==o)return;e.status=r.rejected,e.error=null!=s?s:a}})}).addMatcher(l,function(e,t){for(var n=u(t).queries,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[1];(null==s?void 0:s.status)!==r.fulfilled&&(null==s?void 0:s.status)!==r.rejected||(e[a[0]]=s)}})}}),p=(0,Z.createSlice)({name:t+"/mutations",initialState:ce,reducers:{removeMutationResult:{reducer:function(e,t){var n=ue(t.payload);n in e&&delete e[n]},prepare:(0,Z.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(i.pending,function(e,t){var n=t.meta,i=n.requestId,o=n.arg,a=n.startedTimeStamp;o.track&&(e[ue(t.meta)]={requestId:i,status:r.pending,endpointName:o.endpointName,startedTimeStamp:a})}).addCase(i.fulfilled,function(e,t){var n=t.payload,i=t.meta;i.arg.track&&le(e,i,function(e){e.requestId===i.requestId&&(e.status=r.fulfilled,e.data=n,e.fulfilledTimeStamp=i.fulfilledTimeStamp)})}).addCase(i.rejected,function(e,t){var n=t.payload,i=t.error,o=t.meta;o.arg.track&&le(e,o,function(e){e.requestId===o.requestId&&(e.status=r.rejected,e.error=null!=n?n:i)})}).addMatcher(l,function(e,t){for(var n=u(t).mutations,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[0],l=a[1];(null==l?void 0:l.status)!==r.fulfilled&&(null==l?void 0:l.status)!==r.rejected||s===(null==l?void 0:l.requestId)||(e[s]=l)}})}}),g=(0,Z.createSlice)({name:t+"/invalidation",initialState:ce,reducers:{updateProvidedBy:{reducer:function(e,t){for(var n,r,i,o,a=t.payload,s=a.queryCacheKey,u=a.providedTags,l=0,c=Object.values(e);l<c.length;l++)for(var d=0,f=Object.values(c[l]);d<f.length;d++){var h=f[d],p=h.indexOf(s);-1!==p&&h.splice(p,1)}for(var g=0,m=u;g<m.length;g++){var y=m[g],v=y.type,b=y.id,w=null!=(o=(r=null!=(n=e[v])?n:e[v]={})[i=b||"__internal_without_id"])?o:r[i]=[];w.includes(s)||w.push(s)}},prepare:(0,Z.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(h.actions.removeQueryResult,function(e,t){for(var n=t.payload.queryCacheKey,r=0,i=Object.values(e);r<i.length;r++)for(var o=0,a=Object.values(i[r]);o<a.length;o++){var s=a[o],u=s.indexOf(n);-1!==u&&s.splice(u,1)}}).addMatcher(l,function(e,t){for(var n,r,i,o,a=u(t).provided,s=0,l=Object.entries(a);s<l.length;s++)for(var c=l[s],d=c[0],f=0,h=Object.entries(c[1]);f<h.length;f++)for(var p=h[f],g=p[0],m=p[1],y=null!=(o=(r=null!=(n=e[d])?n:e[d]={})[i=g||"__internal_without_id"])?o:r[i]=[],v=0,b=m;v<b.length;v++){var w=b[v];y.includes(w)||y.push(w)}}).addMatcher((0,Z.isAnyOf)((0,Z.isFulfilled)(n),(0,Z.isRejectedWithValue)(n)),function(e,t){var n=ie(t,"providesTags",a,c);g.caseReducers.updateProvidedBy(e,g.actions.updateProvidedBy({queryCacheKey:t.meta.arg.queryCacheKey,providedTags:n}))})}}),m=(0,Z.createSlice)({name:t+"/subscriptions",initialState:ce,reducers:{updateSubscriptionOptions:function(e,t){},unsubscribeQueryResult:function(e,t){},internal_probeSubscription:function(e,t){}}}),y=(0,Z.createSlice)({name:t+"/internalSubscriptions",initialState:ce,reducers:{subscriptionsUpdated:{reducer:function(e,t){return(0,ae.applyPatches)(e,t.payload)},prepare:(0,Z.prepareAutoBatched)()}}}),w=(0,Z.createSlice)({name:t+"/config",initialState:v({online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"==typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1},d),reducers:{middlewareRegistered:function(e,t){e.middlewareRegistered="conflict"!==e.middlewareRegistered&&s===t.payload||"conflict"}},extraReducers:function(e){e.addCase(B,function(e){e.online=!0}).addCase(U,function(e){e.online=!1}).addCase(j,function(e){e.focused=!0}).addCase(F,function(e){e.focused=!1}).addMatcher(l,function(e){return v({},e)})}}),k=(0,Z.combineReducers)({queries:h.reducer,mutations:p.reducer,provided:g.reducer,subscriptions:y.reducer,config:w.reducer});return{reducer:function(e,t){return k(f.match(t)?void 0:e,t)},actions:b(v(v(v(v(v(v({},w.actions),h.actions),m.actions),y.actions),p.actions),g.actions),{unsubscribeMutationResult:p.actions.removeMutationResult,resetApiState:f})}}({context:n,queryThunk:g,mutationThunk:m,reducerPath:s,assertTagType:h,config:{refetchOnFocus:d,refetchOnReconnect:f,refetchOnMountOrArgChange:c,keepUnusedDataFor:l,reducerPath:s}}),A=O.reducer,T=O.actions;Me(e.util,{patchQueryData:y,updateQueryData:w,upsertQueryData:k,prefetch:S,resetApiState:T.resetApiState}),Me(e.internalActions,T);var I=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,o=e.context,a=o.apiUid,s={invalidateTags:(0,Ce.createAction)(t+"/invalidateTags")},u=[ze,xe,Oe,Ae,Re,De];return{middleware:function(n){var s=!1,c=b(v({},e),{internalState:{currentSubscriptions:{}},refetchQuery:l}),d=u.map(function(e){return e(c)}),f=function(e){var t=e.api,n=e.queryThunk,r=e.internalState,i=t.reducerPath+"/subscriptions",o=null,a=!1,s=t.internalActions,u=s.updateSubscriptionOptions,l=s.unsubscribeQueryResult;return function(e,s){var c,d;if(o||(o=JSON.parse(JSON.stringify(r.currentSubscriptions))),t.util.resetApiState.match(e))return o=r.currentSubscriptions={},[!0,!1];if(t.internalActions.internal_probeSubscription.match(e)){var f=e.payload;return[!1,!!(null==(c=r.currentSubscriptions[f.queryCacheKey])?void 0:c[f.requestId])]}var h=function(e,r){var i,o,a,s,c,d,f,h,p;if(u.match(r)){var g=r.payload,m=g.queryCacheKey,y=g.requestId;return(null==(i=null==e?void 0:e[m])?void 0:i[y])&&(e[m][y]=g.options),!0}if(l.match(r)){var v=r.payload;return y=v.requestId,e[m=v.queryCacheKey]&&delete e[m][y],!0}if(t.internalActions.removeQueryResult.match(r))return delete e[r.payload.queryCacheKey],!0;if(n.pending.match(r)){var b=r.meta;if(y=b.requestId,(S=b.arg).subscribe)return(w=null!=(a=e[o=S.queryCacheKey])?a:e[o]={})[y]=null!=(c=null!=(s=S.subscriptionOptions)?s:w[y])?c:{},!0}if(n.rejected.match(r)){var w,k=r.meta,S=k.arg;if(y=k.requestId,k.condition&&S.subscribe)return(w=null!=(f=e[d=S.queryCacheKey])?f:e[d]={})[y]=null!=(p=null!=(h=S.subscriptionOptions)?h:w[y])?p:{},!0}return!1}(r.currentSubscriptions,e);if(h){a||(Ne(function(){var e=JSON.parse(JSON.stringify(r.currentSubscriptions)),n=(0,Le.produceWithPatches)(o,function(){return e});s.next(t.internalActions.subscriptionsUpdated(n[1])),o=e,a=!1}),a=!0);var p=!!(null==(d=e.type)?void 0:d.startsWith(i)),g=n.rejected.match(e)&&e.meta.condition&&!!e.meta.arg.subscribe;return[!p&&!g,!1]}return[!0,!1]}}(c),h=function(e){var t=e.reducerPath,n=e.context,i=e.refetchQuery,o=e.internalState,a=e.api.internalActions.removeQueryResult;function s(e,s){var u=e.getState()[t],l=u.queries,c=o.currentSubscriptions;n.batch(function(){for(var t=0,n=Object.keys(c);t<n.length;t++){var o=n[t],d=l[o],f=c[o];f&&d&&(Object.values(f).some(function(e){return!0===e[s]})||Object.values(f).every(function(e){return void 0===e[s]})&&u.config[s])&&(0===Object.keys(f).length?e.dispatch(a({queryCacheKey:o})):d.status!==r.uninitialized&&e.dispatch(i(d,o)))}})}return function(e,t){j.match(e)&&s(t,"refetchOnFocus"),B.match(e)&&s(t,"refetchOnReconnect")}}(c);return function(e){return function(r){s||(s=!0,n.dispatch(i.internalActions.middlewareRegistered(a)));var u,l=b(v({},n),{next:e}),c=n.getState(),p=f(r,l,c),g=p[1];if(u=p[0]?e(r):g,n.getState()[t]&&(h(r,l,c),function(e){return!!e&&"string"==typeof e.type&&e.type.startsWith(t+"/")}(r)||o.hasRehydrationInfo(r)))for(var m=0,y=d;m<y.length;m++)(0,y[m])(r,l,c);return u}}},actions:s};function l(e,t,r){return void 0===r&&(r={}),n(v({type:"query",endpointName:e.endpointName,originalArgs:e.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:t},r))}}({reducerPath:s,context:n,queryThunk:g,mutationThunk:m,api:e,assertTagType:h}),R=I.middleware;Me(e.util,I.actions),Me(e,{reducer:A,middleware:R});var P=function(e){var t=e.serializeQueryArgs,n=e.reducerPath,i=function(e){return pe},o=function(e){return ge};return{buildQuerySelector:function(e,n){return function(r){var o=t({queryArgs:r,endpointDefinition:n,endpointName:e});return(0,Q.createSelector)(r===de?i:function(e){var t,n,r;return null!=(r=null==(n=null==(t=s(e))?void 0:t.queries)?void 0:n[o])?r:pe},a)}},buildMutationSelector:function(){return function(e){var t,n;return n="object"==typeof e?null!=(t=ue(e))?t:de:e,(0,Q.createSelector)(n===de?o:function(e){var t,r,i;return null!=(i=null==(r=null==(t=s(e))?void 0:t.mutations)?void 0:r[n])?i:ge},a)}},selectInvalidatedBy:function(e,t){for(var r,i=e[n],o=new Set,a=0,s=t.map(G);a<s.length;a++){var u=s[a],l=i.provided[u.type];if(l)for(var c=0,d=null!=(r=void 0!==u.id?l[u.id]:C(Object.values(l)))?r:[];c<d.length;c++)o.add(d[c])}return C(Array.from(o.values()).map(function(e){var t=i.queries[e];return t?[{queryCacheKey:e,endpointName:t.endpointName,originalArgs:t.originalArgs}]:[]}))}};function a(e){return v(v({},e),{status:t=e.status,isUninitialized:t===r.uninitialized,isLoading:t===r.pending,isSuccess:t===r.fulfilled,isError:t===r.rejected});var t}function s(e){return e[n]}}({serializeQueryArgs:u,reducerPath:s}),z=P.buildQuerySelector,L=P.buildMutationSelector;Me(e.util,{selectInvalidatedBy:P.selectInvalidatedBy});var N=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,i=e.api,s=e.context,u=new Map,l=new Map,c=i.internalActions,d=c.unsubscribeQueryResult,f=c.removeMutationResult,h=c.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var a=function(s,l){var c=void 0===l?{}:l,f=c.subscribe,p=void 0===f||f,g=c.forceRefetch,m=c.subscriptionOptions,y=c[J];return function(l,c){var f,v,b=t({queryArgs:s,endpointDefinition:r,endpointName:e}),w=n(((f={type:"query",subscribe:p,forceRefetch:g,subscriptionOptions:m,endpointName:e,originalArgs:s,queryCacheKey:b})[J]=y,f)),k=i.endpoints[e].select(s),S=l(w),C=k(c()),x=S.requestId,E=S.abort,O=C.requestId!==x,A=null==(v=u.get(l))?void 0:v[b],T=function(){return k(c())},I=Object.assign(y?S.then(T):O&&!A?Promise.resolve(C):Promise.all([A,S]).then(T),{arg:s,requestId:x,subscriptionOptions:m,queryCacheKey:b,abort:E,unwrap:function(){return _(this,null,function(){var e;return o(this,function(t){switch(t.label){case 0:return[4,I];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}})})},refetch:function(){return l(a(s,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){p&&l(d({queryCacheKey:b,requestId:x}))},updateSubscriptionOptions:function(t){I.subscriptionOptions=t,l(h({endpointName:e,requestId:x,queryCacheKey:b,options:t}))}});if(!A&&!O&&!y){var R=u.get(l)||{};R[b]=I,u.set(l,R),I.then(function(){delete R[b],Object.keys(R).length||u.delete(l)})}return I}};return a},buildInitiateMutation:function(e){return function(t,n){var i=void 0===n?{}:n,o=i.track,a=void 0===o||o,s=i.fixedCacheKey;return function(n,i){var o=r({type:"mutation",endpointName:e,originalArgs:t,track:a,fixedCacheKey:s}),u=n(o),c=u.requestId,d=u.abort,h=u.unwrap,p=u.unwrap().then(function(e){return{data:e}}).catch(function(e){return{error:e}}),g=function(){n(f({requestId:c,fixedCacheKey:s}))},m=Object.assign(p,{arg:u.arg,requestId:c,abort:d,unwrap:h,unsubscribe:g,reset:g}),y=l.get(n)||{};return l.set(n,y),y[c]=m,m.then(function(){delete y[c],Object.keys(y).length||l.delete(n)}),s&&(y[s]=m,m.then(function(){y[s]===m&&(delete y[s],Object.keys(y).length||l.delete(n))})),m}}},getRunningQueryThunk:function(e,n){return function(r){var i,o=t({queryArgs:n,endpointDefinition:s.endpointDefinitions[e],endpointName:e});return null==(i=u.get(r))?void 0:i[o]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=l.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(u.get(e)||{}).filter(Y)}},getRunningMutationsThunk:function(){return function(e){return Object.values(l.get(e)||{}).filter(Y)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap(function(e){return e?Object.values(e):[]})};return a(a([],e(u)),e(l)).filter(Y)},removalWarning:function(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}}({queryThunk:g,mutationThunk:m,api:e,serializeQueryArgs:u,context:n}),M=N.buildInitiateQuery,W=N.buildInitiateMutation;return Me(e.util,{getRunningOperationPromises:N.getRunningOperationPromises,getRunningOperationPromise:N.removalWarning,getRunningMutationThunk:N.getRunningMutationThunk,getRunningMutationsThunk:N.getRunningMutationsThunk,getRunningQueryThunk:N.getRunningQueryThunk,getRunningQueriesThunk:N.getRunningQueriesThunk}),{name:Fe,injectEndpoint:function(t,n){var r,i=e;null!=(r=i.endpoints)[t]||(r[t]={}),$(n)?Me(i.endpoints[t],{name:t,select:z(t,n),initiate:M(t,n)},x(g,t)):n.type===V.mutation&&Me(i.endpoints[t],{name:t,select:L(),initiate:W(t)},x(m,t))}}}}},Ue=ke(Be())},61760:(e,t,n)=>{"use strict";n.d(t,{$k:()=>W,RE:()=>r,cw:()=>D,hT:()=>ne,l0:()=>le,m7:()=>_e});var r,i,o=n(9946),a=n(8229),s=n(39839),u=n(59074),l=n(71188),c=(n(42704),function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}),d=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},f=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,v=function(e,t,n){return t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))m.call(t,n)&&v(e,n,t[n]);if(g)for(var r=0,i=g(t);r<i.length;r++){n=i[r];y.call(t,n)&&v(e,n,t[n])}return e},w=function(e,t){return h(e,p(t))},k=function(e,t){var n={};for(var r in e)m.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&g)for(var i=0,o=g(e);i<o.length;i++){r=o[i];t.indexOf(r)<0&&y.call(e,r)&&(n[r]=e[r])}return n},S=function(e,t,n){return new Promise(function(r,i){var o=function(e){try{s(n.next(e))}catch(t){i(t)}},a=function(e){try{s(n.throw(e))}catch(t){i(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())})};(i=r||(r={})).uninitialized="uninitialized",i.pending="pending",i.fulfilled="fulfilled",i.rejected="rejected";var _=function(e){return e.replace(/\/$/,"")},C=function(e){return e.replace(/^\//,"")};function x(e,t){if(!e)return t;if(!t)return e;if(function(e){return new RegExp("(^|:)//").test(e)}(t))return t;var n=e.endsWith("/")||!t.startsWith("?")?"/":"";return""+(e=_(e))+n+(t=C(t))}var E=function(e){return[].concat.apply([],e)};var O=o.isPlainObject;function A(e,t){if(e===t||!(O(e)&&O(t)||Array.isArray(e)&&Array.isArray(t)))return t;for(var n=Object.keys(t),r=Object.keys(e),i=n.length===r.length,o=Array.isArray(t)?[]:{},a=0,s=n;a<s.length;a++){var u=s[a];o[u]=A(e[u],t[u]),i&&(i=e[u]===o[u])}return i?e:o}var T=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fetch.apply(void 0,e)},I=function(e){return e.status>=200&&e.status<=299},R=function(e){return/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function P(e){if(!(0,o.isPlainObject)(e))return e;for(var t=b({},e),n=0,r=Object.entries(t);n<r.length;n++){var i=r[n],a=i[0];void 0===i[1]&&delete t[a]}return t}function D(e){var t=this;void 0===e&&(e={});var n=e,r=n.baseUrl,i=n.prepareHeaders,a=void 0===i?function(e){return e}:i,s=n.fetchFn,u=void 0===s?T:s,l=n.paramsSerializer,d=n.isJsonContentType,f=void 0===d?R:d,h=n.jsonContentType,p=void 0===h?"application/json":h,g=n.jsonReplacer,m=n.timeout,y=n.responseHandler,v=n.validateStatus,_=k(n,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return function(e,n){return S(t,null,function(){var t,i,s,d,h,S,E,O,A,T,R,D,z,L,N,M,j,F,B,U,W,q,V,H,Q,$,K,G,Z,Y,J,X,ee,te,ne,re;return c(this,function(c){switch(c.label){case 0:return t=n.signal,i=n.getState,s=n.extra,d=n.endpoint,h=n.forced,S=n.type,A=(O="string"==typeof e?{url:e}:e).url,T=O.headers,R=void 0===T?new Headers(_.headers):T,D=O.params,z=void 0===D?void 0:D,L=O.responseHandler,N=void 0===L?null!=y?y:"json":L,M=O.validateStatus,j=void 0===M?null!=v?v:I:M,F=O.timeout,B=void 0===F?m:F,U=k(O,["url","headers","params","responseHandler","validateStatus","timeout"]),W=b(w(b({},_),{signal:t}),U),R=new Headers(P(R)),q=W,[4,a(R,{getState:i,extra:s,endpoint:d,forced:h,type:S})];case 1:q.headers=c.sent()||R,V=function(e){return"object"===typeof e&&((0,o.isPlainObject)(e)||Array.isArray(e)||"function"===typeof e.toJSON)},!W.headers.has("content-type")&&V(W.body)&&W.headers.set("content-type",p),V(W.body)&&f(W.headers)&&(W.body=JSON.stringify(W.body,g)),z&&(H=~A.indexOf("?")?"&":"?",Q=l?l(z):new URLSearchParams(P(z)),A+=H+Q),A=x(r,A),$=new Request(A,W),K=new Request(A,W),E={request:K},Z=!1,Y=B&&setTimeout(function(){Z=!0,n.abort()},B),c.label=2;case 2:return c.trys.push([2,4,5,6]),[4,u($)];case 3:return G=c.sent(),[3,6];case 4:return J=c.sent(),[2,{error:{status:Z?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(J)},meta:E}];case 5:return Y&&clearTimeout(Y),[7];case 6:X=G.clone(),E.response=X,te="",c.label=7;case 7:return c.trys.push([7,9,,10]),[4,Promise.all([C(G,N).then(function(e){return ee=e},function(e){return ne=e}),X.text().then(function(e){return te=e},function(){})])];case 8:if(c.sent(),ne)throw ne;return[3,10];case 9:return re=c.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:G.status,data:te,error:String(re)},meta:E}];case 10:return[2,j(G,ee)?{data:ee,meta:E}:{error:{status:G.status,data:ee},meta:E}]}})})};function C(e,t){return S(this,null,function(){var n;return c(this,function(r){switch(r.label){case 0:return"function"===typeof t?[2,t(e)]:("content-type"===t&&(t=f(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return[2,(n=r.sent()).length?JSON.parse(n):null];case 2:return[2,e.text()]}})})}}var z=function(e,t){void 0===t&&(t=void 0),this.value=e,this.meta=t};var L,N,M=(0,o.createAction)("__rtkq/focused"),j=(0,o.createAction)("__rtkq/unfocused"),F=(0,o.createAction)("__rtkq/online"),B=(0,o.createAction)("__rtkq/offline"),U=!1;function W(e,t){return t?t(e,{onFocus:M,onFocusLost:j,onOffline:B,onOnline:F}):function(){var t=function(){return e(M())},n=function(){return e(F())},r=function(){return e(B())},i=function(){"visible"===window.document.visibilityState?t():e(j())};return U||"undefined"!==typeof window&&window.addEventListener&&(window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",t,!1),window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),U=!0),function(){window.removeEventListener("focus",t),window.removeEventListener("visibilitychange",i),window.removeEventListener("online",n),window.removeEventListener("offline",r),U=!1}}()}function q(e){return e.type===L.query}function V(e,t,n,r,i,o){return"function"===typeof e?e(t,n,r,i).map(H).map(o):Array.isArray(e)?e.map(H).map(o):[]}function H(e){return"string"===typeof e?{type:e}:e}function Q(e){return null!=e}(N=L||(L={})).query="query",N.mutation="mutation";var $=Symbol("forceQueryFn"),K=function(e){return"function"===typeof e[$]};function G(e){return e}function Z(e,t,n,r){return V(n[e.meta.arg.endpointName][t],(0,o.isFulfilled)(e)?e.payload:void 0,(0,o.isRejectedWithValue)(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,r)}function Y(e,t,n){var r=e[t];r&&n(r)}function J(e){var t;return null!=(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)?t:e.requestId}function X(e,t,n){var r=e[J(t)];r&&n(r)}var ee={};function te(e){var t=e.reducerPath,n=e.queryThunk,i=e.mutationThunk,s=e.context,l=s.endpointDefinitions,c=s.apiUid,d=s.extractRehydrationInfo,f=s.hasRehydrationInfo,h=e.assertTagType,p=e.config,g=(0,o.createAction)(t+"/resetApiState"),m=(0,o.createSlice)({name:t+"/queries",initialState:ee,reducers:{removeQueryResult:{reducer:function(e,t){delete e[t.payload.queryCacheKey]},prepare:(0,o.prepareAutoBatched)()},queryResultPatched:{reducer:function(e,t){var n=t.payload,r=n.queryCacheKey,i=n.patches;Y(e,r,function(e){e.data=(0,a.$i)(e.data,i.concat())})},prepare:(0,o.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(n.pending,function(e,t){var n,i=t.meta,o=t.meta.arg,a=K(o);(o.subscribe||a)&&(null!=e[n=o.queryCacheKey]||(e[n]={status:r.uninitialized,endpointName:o.endpointName})),Y(e,o.queryCacheKey,function(e){e.status=r.pending,e.requestId=a&&e.requestId?e.requestId:i.requestId,void 0!==o.originalArgs&&(e.originalArgs=o.originalArgs),e.startedTimeStamp=i.startedTimeStamp})}).addCase(n.fulfilled,function(e,t){var n=t.meta,i=t.payload;Y(e,n.arg.queryCacheKey,function(e){var t;if(e.requestId===n.requestId||K(n.arg)){var o=l[n.arg.endpointName].merge;if(e.status=r.fulfilled,o)if(void 0!==e.data){var s=n.fulfilledTimeStamp,u=n.arg,c=n.baseQueryMeta,d=n.requestId,f=(0,a.Ay)(e.data,function(e){return o(e,i,{arg:u.originalArgs,baseQueryMeta:c,fulfilledTimeStamp:s,requestId:d})});e.data=f}else e.data=i;else e.data=null==(t=l[n.arg.endpointName].structuralSharing)||t?A((0,a.Qx)(e.data)?(0,a.c2)(e.data):e.data,i):i;delete e.error,e.fulfilledTimeStamp=n.fulfilledTimeStamp}})}).addCase(n.rejected,function(e,t){var n=t.meta,i=n.condition,o=n.arg,a=n.requestId,s=t.error,u=t.payload;Y(e,o.queryCacheKey,function(e){if(i);else{if(e.requestId!==a)return;e.status=r.rejected,e.error=null!=u?u:s}})}).addMatcher(f,function(e,t){for(var n=d(t).queries,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[0],u=a[1];(null==u?void 0:u.status)!==r.fulfilled&&(null==u?void 0:u.status)!==r.rejected||(e[s]=u)}})}}),y=(0,o.createSlice)({name:t+"/mutations",initialState:ee,reducers:{removeMutationResult:{reducer:function(e,t){var n=J(t.payload);n in e&&delete e[n]},prepare:(0,o.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(i.pending,function(e,t){var n=t.meta,i=t.meta,o=i.requestId,a=i.arg,s=i.startedTimeStamp;a.track&&(e[J(n)]={requestId:o,status:r.pending,endpointName:a.endpointName,startedTimeStamp:s})}).addCase(i.fulfilled,function(e,t){var n=t.payload,i=t.meta;i.arg.track&&X(e,i,function(e){e.requestId===i.requestId&&(e.status=r.fulfilled,e.data=n,e.fulfilledTimeStamp=i.fulfilledTimeStamp)})}).addCase(i.rejected,function(e,t){var n=t.payload,i=t.error,o=t.meta;o.arg.track&&X(e,o,function(e){e.requestId===o.requestId&&(e.status=r.rejected,e.error=null!=n?n:i)})}).addMatcher(f,function(e,t){for(var n=d(t).mutations,i=0,o=Object.entries(n);i<o.length;i++){var a=o[i],s=a[0],u=a[1];(null==u?void 0:u.status)!==r.fulfilled&&(null==u?void 0:u.status)!==r.rejected||s===(null==u?void 0:u.requestId)||(e[s]=u)}})}}),v=(0,o.createSlice)({name:t+"/invalidation",initialState:ee,reducers:{updateProvidedBy:{reducer:function(e,t){for(var n,r,i,o,a=t.payload,s=a.queryCacheKey,u=a.providedTags,l=0,c=Object.values(e);l<c.length;l++)for(var d=c[l],f=0,h=Object.values(d);f<h.length;f++){var p=h[f],g=p.indexOf(s);-1!==g&&p.splice(g,1)}for(var m=0,y=u;m<y.length;m++){var v=y[m],b=v.type,w=v.id,k=null!=(o=(r=null!=(n=e[b])?n:e[b]={})[i=w||"__internal_without_id"])?o:r[i]=[];k.includes(s)||k.push(s)}},prepare:(0,o.prepareAutoBatched)()}},extraReducers:function(e){e.addCase(m.actions.removeQueryResult,function(e,t){for(var n=t.payload.queryCacheKey,r=0,i=Object.values(e);r<i.length;r++)for(var o=i[r],a=0,s=Object.values(o);a<s.length;a++){var u=s[a],l=u.indexOf(n);-1!==l&&u.splice(l,1)}}).addMatcher(f,function(e,t){for(var n,r,i,o,a=d(t).provided,s=0,u=Object.entries(a);s<u.length;s++)for(var l=u[s],c=l[0],f=l[1],h=0,p=Object.entries(f);h<p.length;h++)for(var g=p[h],m=g[0],y=g[1],v=null!=(o=(r=null!=(n=e[c])?n:e[c]={})[i=m||"__internal_without_id"])?o:r[i]=[],b=0,w=y;b<w.length;b++){var k=w[b];v.includes(k)||v.push(k)}}).addMatcher((0,o.isAnyOf)((0,o.isFulfilled)(n),(0,o.isRejectedWithValue)(n)),function(e,t){var n=Z(t,"providesTags",l,h),r=t.meta.arg.queryCacheKey;v.caseReducers.updateProvidedBy(e,v.actions.updateProvidedBy({queryCacheKey:r,providedTags:n}))})}}),k=(0,o.createSlice)({name:t+"/subscriptions",initialState:ee,reducers:{updateSubscriptionOptions:function(e,t){},unsubscribeQueryResult:function(e,t){},internal_probeSubscription:function(e,t){}}}),S=(0,o.createSlice)({name:t+"/internalSubscriptions",initialState:ee,reducers:{subscriptionsUpdated:{reducer:function(e,t){return(0,a.$i)(e,t.payload)},prepare:(0,o.prepareAutoBatched)()}}}),_=(0,o.createSlice)({name:t+"/config",initialState:b({online:"undefined"===typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"===typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1},p),reducers:{middlewareRegistered:function(e,t){var n=t.payload;e.middlewareRegistered="conflict"!==e.middlewareRegistered&&c===n||"conflict"}},extraReducers:function(e){e.addCase(F,function(e){e.online=!0}).addCase(B,function(e){e.online=!1}).addCase(M,function(e){e.focused=!0}).addCase(j,function(e){e.focused=!1}).addMatcher(f,function(e){return b({},e)})}}),C=(0,u.HY)({queries:m.reducer,mutations:y.reducer,provided:v.reducer,subscriptions:S.reducer,config:_.reducer});return{reducer:function(e,t){return C(g.match(t)?void 0:e,t)},actions:w(b(b(b(b(b(b({},_.actions),m.actions),k.actions),S.actions),y.actions),v.actions),{unsubscribeMutationResult:y.actions.removeMutationResult,resetApiState:g})}}var ne=Symbol.for("RTKQ/skipToken"),re={status:r.uninitialized},ie=(0,a.Ay)(re,function(){}),oe=(0,a.Ay)(re,function(){});function ae(e){var t=e.serializeQueryArgs,n=e.reducerPath,i=function(e){return ie},o=function(e){return oe};return{buildQuerySelector:function(e,n){return function(r){var o=t({queryArgs:r,endpointDefinition:n,endpointName:e}),l=r===ne?i:function(e){var t,n,r;return null!=(r=null==(n=null==(t=u(e))?void 0:t.queries)?void 0:n[o])?r:ie};return(0,s.createSelector)(l,a)}},buildMutationSelector:function(){return function(e){var t,n,r=(n="object"===typeof e?null!=(t=J(e))?t:ne:e)===ne?o:function(e){var t,r,i;return null!=(i=null==(r=null==(t=u(e))?void 0:t.mutations)?void 0:r[n])?i:oe};return(0,s.createSelector)(r,a)}},selectInvalidatedBy:function(e,t){for(var r,i=e[n],o=new Set,a=0,s=t.map(H);a<s.length;a++){var u=s[a],l=i.provided[u.type];if(l)for(var c=0,d=null!=(r=void 0!==u.id?l[u.id]:E(Object.values(l)))?r:[];c<d.length;c++){var f=d[c];o.add(f)}}return E(Array.from(o.values()).map(function(e){var t=i.queries[e];return t?[{queryCacheKey:e,endpointName:t.endpointName,originalArgs:t.originalArgs}]:[]}))}};function a(e){return b(b({},e),{status:t=e.status,isUninitialized:t===r.uninitialized,isLoading:t===r.pending,isSuccess:t===r.fulfilled,isError:t===r.rejected});var t}function u(e){return e[n]}}var se=WeakMap?new WeakMap:void 0,ue=function(e){var t=e.endpointName,n=e.queryArgs,r="",i=null==se?void 0:se.get(n);if("string"===typeof i)r=i;else{var a=JSON.stringify(n,function(e,t){return(0,o.isPlainObject)(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t});(0,o.isPlainObject)(n)&&(null==se||se.set(n,a)),r=a}return t+"("+r+")"};function le(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=(0,l.UI)(function(e){var n,r;return null==(r=t.extractRehydrationInfo)?void 0:r.call(t,e,{reducerPath:null!=(n=t.reducerPath)?n:"api"})}),r=w(b({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},t),{extractRehydrationInfo:n,serializeQueryArgs:function(e){var n=ue;if("serializeQueryArgs"in e.endpointDefinition){var r=e.endpointDefinition.serializeQueryArgs;n=function(e){var t=r(e);return"string"===typeof t?t:ue(w(b({},e),{queryArgs:t}))}}else t.serializeQueryArgs&&(n=t.serializeQueryArgs);return n(e)},tagTypes:d([],t.tagTypes||[])}),i={endpointDefinitions:{},batch:function(e){e()},apiUid:(0,o.nanoid)(),extractRehydrationInfo:n,hasRehydrationInfo:(0,l.UI)(function(e){return null!=n(e)})},a={injectEndpoints:function(e){for(var t=e.endpoints({query:function(e){return w(b({},e),{type:L.query})},mutation:function(e){return w(b({},e),{type:L.mutation})}}),n=0,r=Object.entries(t);n<r.length;n++){var o=r[n],u=o[0],l=o[1];if(e.overrideExisting||!(u in i.endpointDefinitions)){i.endpointDefinitions[u]=l;for(var c=0,d=s;c<d.length;c++){d[c].injectEndpoint(u,l)}}}return a},enhanceEndpoints:function(e){var t=e.addTagTypes,n=e.endpoints;if(t)for(var o=0,s=t;o<s.length;o++){var u=s[o];r.tagTypes.includes(u)||r.tagTypes.push(u)}if(n)for(var l=0,c=Object.entries(n);l<c.length;l++){var d=c[l],f=d[0],h=d[1];"function"===typeof h?h(i.endpointDefinitions[f]):Object.assign(i.endpointDefinitions[f]||{},h)}return a}},s=e.map(function(e){return e.init(a,r,i)});return a.injectEndpoints({endpoints:t.endpoints})}}var ce,de=function(e){var t=e.reducerPath,n=e.api,r=e.context,i=e.internalState,o=n.internalActions,a=o.removeQueryResult,s=o.unsubscribeQueryResult;function u(e){var t=i.currentSubscriptions[e];return!!t&&!function(e){for(var t in e)return!1;return!0}(t)}var l={};function c(e,t,n,i){var o,s=r.endpointDefinitions[t],c=null!=(o=null==s?void 0:s.keepUnusedDataFor)?o:i.keepUnusedDataFor;if(c!==1/0){var d=Math.max(0,Math.min(c,2147482.647));if(!u(e)){var f=l[e];f&&clearTimeout(f),l[e]=setTimeout(function(){u(e)||n.dispatch(a({queryCacheKey:e})),delete l[e]},1e3*d)}}}return function(e,i,o){var a;if(s.match(e)){var u=i.getState()[t];c(w=e.payload.queryCacheKey,null==(a=u.queries[w])?void 0:a.endpointName,i,u.config)}if(n.util.resetApiState.match(e))for(var d=0,f=Object.entries(l);d<f.length;d++){var h=f[d],p=h[0],g=h[1];g&&clearTimeout(g),delete l[p]}if(r.hasRehydrationInfo(e)){u=i.getState()[t];for(var m=r.extractRehydrationInfo(e).queries,y=0,v=Object.entries(m);y<v.length;y++){var b=v[y],w=b[0],k=b[1];c(w,null==k?void 0:k.endpointName,i,u.config)}}}},fe=function(e){var t=e.reducerPath,n=e.context,i=e.context.endpointDefinitions,a=e.mutationThunk,s=e.api,u=e.assertTagType,l=e.refetchQuery,c=s.internalActions.removeQueryResult,d=(0,o.isAnyOf)((0,o.isFulfilled)(a),(0,o.isRejectedWithValue)(a));function f(e,i){var o=i.getState(),a=o[t],u=s.util.selectInvalidatedBy(o,e);n.batch(function(){for(var e,t=0,n=Array.from(u.values());t<n.length;t++){var o=n[t].queryCacheKey,s=a.queries[o],d=null!=(e=a.subscriptions[o])?e:{};s&&(0===Object.keys(d).length?i.dispatch(c({queryCacheKey:o})):s.status!==r.uninitialized&&i.dispatch(l(s,o)))}})}return function(e,t){d(e)&&f(Z(e,"invalidatesTags",i,u),t),s.util.invalidateTags.match(e)&&f(V(e.payload,void 0,void 0,void 0,void 0,u),t)}},he=function(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,o=e.refetchQuery,a=e.internalState,s={};function u(e,n){var i=e.queryCacheKey,u=n.getState()[t].queries[i],l=a.currentSubscriptions[i];if(u&&u.status!==r.uninitialized){var c=d(l);if(Number.isFinite(c)){var f=s[i];(null==f?void 0:f.timeout)&&(clearTimeout(f.timeout),f.timeout=void 0);var h=Date.now()+c,p=s[i]={nextPollTimestamp:h,pollingInterval:c,timeout:setTimeout(function(){p.timeout=void 0,n.dispatch(o(u,i))},c)}}}}function l(e,n){var i=e.queryCacheKey,o=n.getState()[t].queries[i],l=a.currentSubscriptions[i];if(o&&o.status!==r.uninitialized){var f=d(l);if(Number.isFinite(f)){var h=s[i],p=Date.now()+f;(!h||p<h.nextPollTimestamp)&&u({queryCacheKey:i},n)}else c(i)}}function c(e){var t=s[e];(null==t?void 0:t.timeout)&&clearTimeout(t.timeout),delete s[e]}function d(e){void 0===e&&(e={});var t=Number.POSITIVE_INFINITY;for(var n in e)e[n].pollingInterval&&(t=Math.min(e[n].pollingInterval,t));return t}return function(e,t){(i.internalActions.updateSubscriptionOptions.match(e)||i.internalActions.unsubscribeQueryResult.match(e))&&l(e.payload,t),(n.pending.match(e)||n.rejected.match(e)&&e.meta.condition)&&l(e.meta.arg,t),(n.fulfilled.match(e)||n.rejected.match(e)&&!e.meta.condition)&&u(e.meta.arg,t),i.util.resetApiState.match(e)&&function(){for(var e=0,t=Object.keys(s);e<t.length;e++){c(t[e])}}()}},pe=new Error("Promise never resolved before cacheEntryRemoved."),ge=function(e){var t=e.api,n=e.reducerPath,r=e.context,i=e.queryThunk,a=e.mutationThunk,s=(e.internalState,(0,o.isAsyncThunkAction)(i)),u=(0,o.isAsyncThunkAction)(a),l=(0,o.isFulfilled)(i,a),c={};function d(e,n,i,o,a){var s=r.endpointDefinitions[e],u=null==s?void 0:s.onCacheEntryAdded;if(u){var l={},d=new Promise(function(e){l.cacheEntryRemoved=e}),f=Promise.race([new Promise(function(e){l.valueResolved=e}),d.then(function(){throw pe})]);f.catch(function(){}),c[i]=l;var h=t.endpoints[e].select(s.type===L.query?n:i),p=o.dispatch(function(e,t,n){return n}),g=w(b({},o),{getCacheEntry:function(){return h(o.getState())},requestId:a,extra:p,updateCachedData:s.type===L.query?function(r){return o.dispatch(t.util.updateQueryData(e,n,r))}:void 0,cacheDataLoaded:f,cacheEntryRemoved:d}),m=u(n,g);Promise.resolve(m).catch(function(e){if(e!==pe)throw e})}}return function(e,r,o){var f=function(e){return s(e)?e.meta.arg.queryCacheKey:u(e)?e.meta.requestId:t.internalActions.removeQueryResult.match(e)?e.payload.queryCacheKey:t.internalActions.removeMutationResult.match(e)?J(e.payload):""}(e);if(i.pending.match(e)){var h=o[n].queries[f],p=r.getState()[n].queries[f];!h&&p&&d(e.meta.arg.endpointName,e.meta.arg.originalArgs,f,r,e.meta.requestId)}else if(a.pending.match(e)){(p=r.getState()[n].mutations[f])&&d(e.meta.arg.endpointName,e.meta.arg.originalArgs,f,r,e.meta.requestId)}else if(l(e)){(null==(b=c[f])?void 0:b.valueResolved)&&(b.valueResolved({data:e.payload,meta:e.meta.baseQueryMeta}),delete b.valueResolved)}else if(t.internalActions.removeQueryResult.match(e)||t.internalActions.removeMutationResult.match(e)){(b=c[f])&&(delete c[f],b.cacheEntryRemoved())}else if(t.util.resetApiState.match(e))for(var g=0,m=Object.entries(c);g<m.length;g++){var y=m[g],v=y[0],b=y[1];delete c[v],b.cacheEntryRemoved()}}},me=function(e){var t=e.api,n=e.context,r=e.queryThunk,i=e.mutationThunk,a=(0,o.isPending)(r,i),s=(0,o.isRejected)(r,i),u=(0,o.isFulfilled)(r,i),l={};return function(e,r){var i,o,c;if(a(e)){var d=e.meta,f=d.requestId,h=d.arg,p=h.endpointName,g=h.originalArgs,m=n.endpointDefinitions[p],y=null==m?void 0:m.onQueryStarted;if(y){var v={},k=new Promise(function(e,t){v.resolve=e,v.reject=t});k.catch(function(){}),l[f]=v;var S=t.endpoints[p].select(m.type===L.query?g:f),_=r.dispatch(function(e,t,n){return n}),C=w(b({},r),{getCacheEntry:function(){return S(r.getState())},requestId:f,extra:_,updateCachedData:m.type===L.query?function(e){return r.dispatch(t.util.updateQueryData(p,g,e))}:void 0,queryFulfilled:k});y(g,C)}}else if(u(e)){var x=e.meta,E=(f=x.requestId,x.baseQueryMeta);null==(i=l[f])||i.resolve({data:e.payload,meta:E}),delete l[f]}else if(s(e)){var O=e.meta,A=(f=O.requestId,O.rejectedWithValue);E=O.baseQueryMeta;null==(c=l[f])||c.reject({error:null!=(o=e.payload)?o:e.error,isUnhandledError:!A,meta:E}),delete l[f]}}},ye=function(e){var t=e.api,n=e.context.apiUid;e.reducerPath;return function(e,r){t.util.resetApiState.match(e)&&r.dispatch(t.internalActions.middlewareRegistered(n))}},ve="function"===typeof queueMicrotask?queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis):function(e){return(ce||(ce=Promise.resolve())).then(e).catch(function(e){return setTimeout(function(){throw e},0)})},be=function(e){var t=e.api,n=e.queryThunk,r=e.internalState,i=t.reducerPath+"/subscriptions",o=null,s=!1,u=t.internalActions,l=u.updateSubscriptionOptions,c=u.unsubscribeQueryResult;return function(e,u){var d,f;if(o||(o=JSON.parse(JSON.stringify(r.currentSubscriptions))),t.util.resetApiState.match(e))return o=r.currentSubscriptions={},[!0,!1];if(t.internalActions.internal_probeSubscription.match(e)){var h=e.payload,p=h.queryCacheKey,g=h.requestId;return[!1,!!(null==(d=r.currentSubscriptions[p])?void 0:d[g])]}var m=function(e,r){var i,o,a,s,u,d,f,h,p;if(l.match(r)){var g=r.payload,m=g.queryCacheKey,y=g.requestId,v=g.options;return(null==(i=null==e?void 0:e[m])?void 0:i[y])&&(e[m][y]=v),!0}if(c.match(r)){var b=r.payload;return m=b.queryCacheKey,y=b.requestId,e[m]&&delete e[m][y],!0}if(t.internalActions.removeQueryResult.match(r))return delete e[r.payload.queryCacheKey],!0;if(n.pending.match(r)){var w=r.meta,k=w.arg;if(y=w.requestId,k.subscribe)return(S=null!=(a=e[o=k.queryCacheKey])?a:e[o]={})[y]=null!=(u=null!=(s=k.subscriptionOptions)?s:S[y])?u:{},!0}if(n.rejected.match(r)){var S,_=r.meta,C=_.condition;if(k=_.arg,y=_.requestId,C&&k.subscribe)return(S=null!=(f=e[d=k.queryCacheKey])?f:e[d]={})[y]=null!=(p=null!=(h=k.subscriptionOptions)?h:S[y])?p:{},!0}return!1}(r.currentSubscriptions,e);if(m){s||(ve(function(){var e=JSON.parse(JSON.stringify(r.currentSubscriptions)),n=(0,a.vI)(o,function(){return e})[1];u.next(t.internalActions.subscriptionsUpdated(n)),o=e,s=!1}),s=!0);var y=!!(null==(f=e.type)?void 0:f.startsWith(i)),v=n.rejected.match(e)&&e.meta.condition&&!!e.meta.arg.subscribe;return[!y&&!v,!1]}return[!0,!1]}};function we(e){var t=e.reducerPath,n=e.queryThunk,i=e.api,a=e.context,s=a.apiUid,u={invalidateTags:(0,o.createAction)(t+"/invalidateTags")},l=[ye,de,fe,he,ge,me];return{middleware:function(n){var o=!1,u=w(b({},e),{internalState:{currentSubscriptions:{}},refetchQuery:c}),d=l.map(function(e){return e(u)}),f=be(u),h=function(e){var t=e.reducerPath,n=e.context,i=e.api,o=e.refetchQuery,a=e.internalState,s=i.internalActions.removeQueryResult;function u(e,i){var u=e.getState()[t],l=u.queries,c=a.currentSubscriptions;n.batch(function(){for(var t=0,n=Object.keys(c);t<n.length;t++){var a=n[t],d=l[a],f=c[a];f&&d&&(Object.values(f).some(function(e){return!0===e[i]})||Object.values(f).every(function(e){return void 0===e[i]})&&u.config[i])&&(0===Object.keys(f).length?e.dispatch(s({queryCacheKey:a})):d.status!==r.uninitialized&&e.dispatch(o(d,a)))}})}return function(e,t){M.match(e)&&u(t,"refetchOnFocus"),F.match(e)&&u(t,"refetchOnReconnect")}}(u);return function(e){return function(r){o||(o=!0,n.dispatch(i.internalActions.middlewareRegistered(s)));var u,l=w(b({},n),{next:e}),c=n.getState(),p=f(r,l,c),g=p[0],m=p[1];if(u=g?e(r):m,n.getState()[t]&&(h(r,l,c),function(e){return!!e&&"string"===typeof e.type&&e.type.startsWith(t+"/")}(r)||a.hasRehydrationInfo(r)))for(var y=0,v=d;y<v.length;y++){(0,v[y])(r,l,c)}return u}}},actions:u};function c(e,t,r){return void 0===r&&(r={}),n(b({type:"query",endpointName:e.endpointName,originalArgs:e.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:t},r))}}function ke(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,d([e],t))}var Se=Symbol(),_e=function(){return{name:Se,init:function(e,t,n){var i=t.baseQuery,s=(t.tagTypes,t.reducerPath),u=t.serializeQueryArgs,l=t.keepUnusedDataFor,f=t.refetchOnMountOrArgChange,h=t.refetchOnFocus,p=t.refetchOnReconnect;(0,a.YT)();var g=function(e){return e};Object.assign(e,{reducerPath:s,endpoints:{},internalActions:{onOnline:F,onOffline:B,onFocus:M,onFocusLost:j},util:{}});var m=function(e){var t=this,n=e.reducerPath,i=e.baseQuery,s=e.context.endpointDefinitions,u=e.serializeQueryArgs,l=e.api,d=e.assertTagType,f=function(e,n){return S(t,[e,n],function(e,t){var n,r,a,u,l,d,f,p,g,m,y,v,b,w=t.signal,k=t.abort,S=t.rejectWithValue,_=t.fulfillWithValue,C=t.dispatch,x=t.getState,E=t.extra;return c(this,function(t){switch(t.label){case 0:n=s[e.endpointName],t.label=1;case 1:return t.trys.push([1,8,,13]),r=G,a=void 0,u={signal:w,abort:k,dispatch:C,getState:x,extra:E,endpoint:e.endpointName,type:e.type,forced:"query"===e.type?h(e,x()):void 0},(l="query"===e.type?e[$]:void 0)?(a=l(),[3,6]):[3,2];case 2:return n.query?[4,i(n.query(e.originalArgs),u,n.extraOptions)]:[3,4];case 3:return a=t.sent(),n.transformResponse&&(r=n.transformResponse),[3,6];case 4:return[4,n.queryFn(e.originalArgs,u,n.extraOptions,function(e){return i(e,u,n.extraOptions)})];case 5:a=t.sent(),t.label=6;case 6:if(a.error)throw new z(a.error,a.meta);return d=_,[4,r(a.data,a.meta,e.originalArgs)];case 7:return[2,d.apply(void 0,[t.sent(),(v={fulfilledTimeStamp:Date.now(),baseQueryMeta:a.meta},v[o.SHOULD_AUTOBATCH]=!0,v)])];case 8:if(f=t.sent(),!((p=f)instanceof z))return[3,12];g=G,n.query&&n.transformErrorResponse&&(g=n.transformErrorResponse),t.label=9;case 9:return t.trys.push([9,11,,12]),m=S,[4,g(p.value,p.meta,e.originalArgs)];case 10:return[2,m.apply(void 0,[t.sent(),(b={baseQueryMeta:p.meta},b[o.SHOULD_AUTOBATCH]=!0,b)])];case 11:return y=t.sent(),p=y,[3,12];case 12:throw p;case 13:return[2]}})})};function h(e,t){var r,i,o,a,s=null==(i=null==(r=t[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],u=null==(o=t[n])?void 0:o.config.refetchOnMountOrArgChange,l=null==s?void 0:s.fulfilledTimeStamp,c=null!=(a=e.forceRefetch)?a:e.subscribe&&u;return!!c&&(!0===c||(Number(new Date)-Number(l))/1e3>=c)}var p=(0,o.createAsyncThunk)(n+"/executeQuery",f,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[o.SHOULD_AUTOBATCH]=!0,e},condition:function(e,t){var r,i,o,a=(0,t.getState)(),u=null==(i=null==(r=a[n])?void 0:r.queries)?void 0:i[e.queryCacheKey],l=null==u?void 0:u.fulfilledTimeStamp,c=e.originalArgs,d=null==u?void 0:u.originalArgs,f=s[e.endpointName];return!!K(e)||"pending"!==(null==u?void 0:u.status)&&(!!h(e,a)||!(!q(f)||!(null==(o=null==f?void 0:f.forceRefetch)?void 0:o.call(f,{currentArg:c,previousArg:d,endpointState:u,state:a})))||!l)},dispatchConditionRejection:!0}),g=(0,o.createAsyncThunk)(n+"/executeMutation",f,{getPendingMeta:function(){var e;return(e={startedTimeStamp:Date.now()})[o.SHOULD_AUTOBATCH]=!0,e}});function m(e){return function(t){var n,r;return(null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return{queryThunk:p,mutationThunk:g,prefetch:function(e,t,n){return function(r,i){var o=function(e){return"force"in e}(n)&&n.force,a=function(e){return"ifOlderThan"in e}(n)&&n.ifOlderThan,s=function(n){return void 0===n&&(n=!0),l.endpoints[e].initiate(t,{forceRefetch:n})},u=l.endpoints[e].select(t)(i());if(o)r(s());else if(a){var c=null==u?void 0:u.fulfilledTimeStamp;if(!c)return void r(s());(Number(new Date)-Number(new Date(c)))/1e3>=a&&r(s())}else r(s(!1))}},updateQueryData:function(e,t,n,i){return void 0===i&&(i=!0),function(o,s){var u,c,d,f=l.endpoints[e].select(t)(s()),h={patches:[],inversePatches:[],undo:function(){return o(l.util.patchQueryData(e,t,h.inversePatches,i))}};if(f.status===r.uninitialized)return h;if("data"in f)if((0,a.a6)(f.data)){var p=(0,a.vI)(f.data,n),g=p[0],m=p[1],y=p[2];(u=h.patches).push.apply(u,m),(c=h.inversePatches).push.apply(c,y),d=g}else d=n(f.data),h.patches.push({op:"replace",path:[],value:d}),h.inversePatches.push({op:"replace",path:[],value:f.data});return o(l.util.patchQueryData(e,t,h.patches,i)),h}},upsertQueryData:function(e,t,n){return function(r){var i;return r(l.endpoints[e].initiate(t,((i={subscribe:!1,forceRefetch:!0})[$]=function(){return{data:n}},i)))}},patchQueryData:function(e,t,n,r){return function(i,o){var a=s[e],c=u({queryArgs:t,endpointDefinition:a,endpointName:e});if(i(l.internalActions.queryResultPatched({queryCacheKey:c,patches:n})),r){var f=l.endpoints[e].select(t)(o()),h=V(a.providesTags,f.data,void 0,t,{},d);i(l.internalActions.updateProvidedBy({queryCacheKey:c,providedTags:h}))}}},buildMatchThunkActions:function(e,t){return{matchPending:(0,o.isAllOf)((0,o.isPending)(e),m(t)),matchFulfilled:(0,o.isAllOf)((0,o.isFulfilled)(e),m(t)),matchRejected:(0,o.isAllOf)((0,o.isRejected)(e),m(t))}}}}({baseQuery:i,reducerPath:s,context:n,api:e,serializeQueryArgs:u,assertTagType:g}),y=m.queryThunk,v=m.mutationThunk,b=m.patchQueryData,w=m.updateQueryData,k=m.upsertQueryData,_=m.prefetch,C=m.buildMatchThunkActions,x=te({context:n,queryThunk:y,mutationThunk:v,reducerPath:s,assertTagType:g,config:{refetchOnFocus:h,refetchOnReconnect:p,refetchOnMountOrArgChange:f,keepUnusedDataFor:l,reducerPath:s}}),E=x.reducer,O=x.actions;ke(e.util,{patchQueryData:b,updateQueryData:w,upsertQueryData:k,prefetch:_,resetApiState:O.resetApiState}),ke(e.internalActions,O);var A=we({reducerPath:s,context:n,queryThunk:y,mutationThunk:v,api:e,assertTagType:g}),T=A.middleware,I=A.actions;ke(e.util,I),ke(e,{reducer:E,middleware:T});var R=ae({serializeQueryArgs:u,reducerPath:s}),P=R.buildQuerySelector,D=R.buildMutationSelector,N=R.selectInvalidatedBy;ke(e.util,{selectInvalidatedBy:N});var U=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,i=e.api,o=e.context,a=new Map,s=new Map,u=i.internalActions,l=u.unsubscribeQueryResult,f=u.removeMutationResult,h=u.updateSubscriptionOptions;return{buildInitiateQuery:function(e,r){var o=function(s,u){var d=void 0===u?{}:u,f=d.subscribe,g=void 0===f||f,m=d.forceRefetch,y=d.subscriptionOptions,v=d[$];return function(u,d){var f,b,w=t({queryArgs:s,endpointDefinition:r,endpointName:e}),k=n(((f={type:"query",subscribe:g,forceRefetch:m,subscriptionOptions:y,endpointName:e,originalArgs:s,queryCacheKey:w})[$]=v,f)),_=i.endpoints[e].select(s),C=u(k),x=_(d());p(u);var E=C.requestId,O=C.abort,A=x.requestId!==E,T=null==(b=a.get(u))?void 0:b[w],I=function(){return _(d())},R=Object.assign(v?C.then(I):A&&!T?Promise.resolve(x):Promise.all([T,C]).then(I),{arg:s,requestId:E,subscriptionOptions:y,queryCacheKey:w,abort:O,unwrap:function(){return S(this,null,function(){var e;return c(this,function(t){switch(t.label){case 0:return[4,R];case 1:if((e=t.sent()).isError)throw e.error;return[2,e.data]}})})},refetch:function(){return u(o(s,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){g&&u(l({queryCacheKey:w,requestId:E}))},updateSubscriptionOptions:function(t){R.subscriptionOptions=t,u(h({endpointName:e,requestId:E,queryCacheKey:w,options:t}))}});if(!T&&!A&&!v){var P=a.get(u)||{};P[w]=R,a.set(u,P),R.then(function(){delete P[w],Object.keys(P).length||a.delete(u)})}return R}};return o},buildInitiateMutation:function(e){return function(t,n){var i=void 0===n?{}:n,o=i.track,a=void 0===o||o,u=i.fixedCacheKey;return function(n,i){var o=r({type:"mutation",endpointName:e,originalArgs:t,track:a,fixedCacheKey:u}),l=n(o);p(n);var c=l.requestId,d=l.abort,h=l.unwrap,g=l.unwrap().then(function(e){return{data:e}}).catch(function(e){return{error:e}}),m=function(){n(f({requestId:c,fixedCacheKey:u}))},y=Object.assign(g,{arg:l.arg,requestId:c,abort:d,unwrap:h,unsubscribe:m,reset:m}),v=s.get(n)||{};return s.set(n,v),v[c]=y,y.then(function(){delete v[c],Object.keys(v).length||s.delete(n)}),u&&(v[u]=y,y.then(function(){v[u]===y&&(delete v[u],Object.keys(v).length||s.delete(n))})),y}}},getRunningQueryThunk:function(e,n){return function(r){var i,s=o.endpointDefinitions[e],u=t({queryArgs:n,endpointDefinition:s,endpointName:e});return null==(i=a.get(r))?void 0:i[u]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=s.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(a.get(e)||{}).filter(Q)}},getRunningMutationsThunk:function(){return function(e){return Object.values(s.get(e)||{}).filter(Q)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap(function(e){return e?Object.values(e):[]})};return d(d([],e(a)),e(s)).filter(Q)},removalWarning:function(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}};function p(e){}}({queryThunk:y,mutationThunk:v,api:e,serializeQueryArgs:u,context:n}),W=U.buildInitiateQuery,H=U.buildInitiateMutation,Z=U.getRunningMutationThunk,Y=U.getRunningMutationsThunk,J=U.getRunningQueriesThunk,X=U.getRunningQueryThunk,ee=U.getRunningOperationPromises,ne=U.removalWarning;return ke(e.util,{getRunningOperationPromises:ee,getRunningOperationPromise:ne,getRunningMutationThunk:Z,getRunningMutationsThunk:Y,getRunningQueryThunk:X,getRunningQueriesThunk:J}),{name:Se,injectEndpoint:function(t,n){var r,i=e;null!=(r=i.endpoints)[t]||(r[t]={}),q(n)?ke(i.endpoints[t],{name:t,select:P(t,n),initiate:W(t,n)},C(y,t)):n.type===L.mutation&&ke(i.endpoints[t],{name:t,select:D(),initiate:H(t)},C(v,t))}}}}};_e()},9946:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EnhancerArray:()=>z,MiddlewareArray:()=>D,SHOULD_AUTOBATCH:()=>Ye,TaskAbortError:()=>Ie,__DO_NOT_USE__ActionTypes:()=>i.$d,addListener:()=>He,applyMiddleware:()=>i.Tw,autoBatchEnhancer:()=>nt,bindActionCreators:()=>i.zH,clearAllListeners:()=>Qe,combineReducers:()=>i.HY,compose:()=>i.Zz,configureStore:()=>V,createAction:()=>E,createActionCreatorInvariantMiddleware:()=>P,createAsyncThunk:()=>ae,createDraftSafeSelector:()=>S,createEntityAdapter:()=>ee,createImmutableStateInvariantMiddleware:()=>M,createListenerMiddleware:()=>Ge,createNextState:()=>r.Ay,createReducer:()=>Q,createSelector:()=>o.createSelector,createSerializableStateInvariantMiddleware:()=>U,createSlice:()=>$,createStore:()=>i.y$,current:()=>r.ss,findNonSerializableValue:()=>F,freeze:()=>r.CN,getDefaultMiddleware:()=>W,getType:()=>R,isAction:()=>O,isActionCreator:()=>A,isAllOf:()=>ce,isAnyOf:()=>le,isAsyncThunkAction:()=>ye,isDraft:()=>r.Qx,isFluxStandardAction:()=>T,isFulfilled:()=>me,isImmutableDefault:()=>N,isPending:()=>he,isPlain:()=>j,isPlainObject:()=>C,isRejected:()=>pe,isRejectedWithValue:()=>ge,legacy_createStore:()=>i.Yl,miniSerializeError:()=>oe,nanoid:()=>te,original:()=>r.c2,prepareAutoBatched:()=>Je,removeListener:()=>$e,unwrapResult:()=>se});var r=n(8229),i=n(59074),o=n(39839);function a(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}var s=a();s.withExtraArgument=a;const u=s;n(42704);var l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},d=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},f=Object.defineProperty,h=Object.defineProperties,p=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,v=function(e,t,n){return t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))m.call(t,n)&&v(e,n,t[n]);if(g)for(var r=0,i=g(t);r<i.length;r++){n=i[r];y.call(t,n)&&v(e,n,t[n])}return e},w=function(e,t){return h(e,p(t))},k=function(e,t,n){return new Promise(function(r,i){var o=function(e){try{s(n.next(e))}catch(t){i(t)}},a=function(e){try{s(n.throw(e))}catch(t){i(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())})},S=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.createSelector.apply(void 0,e);return function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return n.apply(void 0,d([(0,r.Qx)(e)?(0,r.ss)(e):e],t))}},_="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?i.Zz:i.Zz.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function C(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}var x=function(e){return e&&"function"===typeof e.match};function E(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return b(b({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function O(e){return C(e)&&"type"in e}function A(e){return"function"===typeof e&&"type"in e&&x(e)}function T(e){return O(e)&&"string"===typeof e.type&&Object.keys(e).every(I)}function I(e){return["type","payload","error","meta"].indexOf(e)>-1}function R(e){return""+e}function P(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}var D=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return l(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,d([void 0],e[0].concat(this)))):new(t.bind.apply(t,d([void 0],e.concat(this))))},t}(Array),z=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return l(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,d([void 0],e[0].concat(this)))):new(t.bind.apply(t,d([void 0],e.concat(this))))},t}(Array);function L(e){return(0,r.a6)(e)?(0,r.Ay)(e,function(){}):e}function N(e){return"object"!==typeof e||null==e||Object.isFrozen(e)}function M(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function j(e){var t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||C(e)}function F(e,t,n,r,i,o){var a;if(void 0===t&&(t=""),void 0===n&&(n=j),void 0===i&&(i=[]),!n(e))return{keyPath:t||"<root>",value:e};if("object"!==typeof e||null===e)return!1;if(null==o?void 0:o.has(e))return!1;for(var s=null!=r?r(e):Object.entries(e),u=i.length>0,l=function(e,s){var l=t?t+"."+e:e;if(u&&i.some(function(e){return e instanceof RegExp?e.test(l):l===e}))return"continue";return n(s)?"object"===typeof s&&(a=F(s,l,n,r,i,o))?{value:a}:void 0:{value:{keyPath:l,value:s}}},c=0,d=s;c<d.length;c++){var f=d[c],h=l(f[0],f[1]);if("object"===typeof h)return h.value}return o&&B(e)&&o.add(e),!1}function B(e){if(!Object.isFrozen(e))return!1;for(var t=0,n=Object.values(e);t<n.length;t++){var r=n[t];if("object"===typeof r&&null!==r&&!B(r))return!1}return!0}function U(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function W(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new D);return n&&("boolean"===typeof n?r.push(u):r.push(u.withExtraArgument(n.extraArgument))),r}var q=!0;function V(e){var t,n=function(e){return W(e)},r=e||{},o=r.reducer,a=void 0===o?void 0:o,s=r.middleware,u=void 0===s?n():s,l=r.devTools,c=void 0===l||l,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,g=void 0===p?void 0:p;if("function"===typeof a)t=a;else{if(!C(a))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=(0,i.HY)(a)}var m=u;if("function"===typeof m&&(m=m(n),!q&&!Array.isArray(m)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!q&&m.some(function(e){return"function"!==typeof e}))throw new Error("each middleware provided to configureStore must be a function");var y=i.Tw.apply(void 0,m),v=i.Zz;c&&(v=_(b({trace:!q},"object"===typeof c&&c)));var w=new z(y),k=w;Array.isArray(g)?k=d([y],g):"function"===typeof g&&(k=g(w));var S=v.apply(void 0,k);return(0,i.y$)(t,h,S)}function H(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function Q(e,t,n,i){void 0===n&&(n=[]);var o,a="function"===typeof t?H(t):[t,n,i],s=a[0],u=a[1],l=a[2];if("function"===typeof e)o=function(){return L(e())};else{var c=L(e);o=function(){return c}}function f(e,t){void 0===e&&(e=o());var n=d([s[t.type]],u.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===n.filter(function(e){return!!e}).length&&(n=[l]),n.reduce(function(e,n){if(n){var i;if((0,r.Qx)(e))return void 0===(i=n(e,t))?e:i;if((0,r.a6)(e))return(0,r.Ay)(e,function(e){return n(e,t)});if(void 0===(i=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return e},e)}return f.getInitialState=o,f}function $(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:L(e.initialState),i=e.reducers||{},o=Object.keys(i),a={},s={},u={};function l(){var t="function"===typeof e.extraReducers?H(e.extraReducers):[e.extraReducers],n=t[0],i=void 0===n?{}:n,o=t[1],a=void 0===o?[]:o,u=t[2],l=void 0===u?void 0:u,c=b(b({},i),s);return Q(r,function(e){for(var t in c)e.addCase(t,c[t]);for(var n=0,r=a;n<r.length;n++){var i=r[n];e.addMatcher(i.matcher,i.reducer)}l&&e.addDefaultCase(l)})}return o.forEach(function(e){var n,r,o=i[e],l=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,a[e]=n,s[l]=n,u[e]=r?E(l,r):E(l)}),{name:t,reducer:function(e,t){return n||(n=l()),n(e,t)},actions:u,caseReducers:a,getInitialState:function(){return n||(n=l()),n.getInitialState()}}}function K(e){var t=G(function(t,n){return e(n)});return function(e){return t(e,void 0)}}function G(e){return function(t,n){var i=function(t){T(n)?e(n.payload,t):e(n,t)};return(0,r.Qx)(t)?(i(t),t):(0,r.Ay)(t,i)}}function Z(e,t){return t(e)}function Y(e){return Array.isArray(e)||(e=Object.values(e)),e}function J(e,t,n){for(var r=[],i=[],o=0,a=e=Y(e);o<a.length;o++){var s=a[o],u=Z(s,t);u in n.entities?i.push({id:u,changes:s}):r.push(s)}return[r,i]}function X(e){function t(t,n){var r=Z(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){for(var r=0,i=e=Y(e);r<i.length;r++){t(i[r],n)}}function r(t,n){var r=Z(t,e);r in n.entities||n.ids.push(r),n.entities[r]=t}function i(e,t){var n=!1;e.forEach(function(e){e in t.entities&&(delete t.entities[e],n=!0)}),n&&(t.ids=t.ids.filter(function(e){return e in t.entities}))}function o(t,n){var r={},i={};if(t.forEach(function(e){e.id in n.entities&&(i[e.id]={id:e.id,changes:b(b({},i[e.id]?i[e.id].changes:null),e.changes)})}),(t=Object.values(i)).length>0){var o=t.filter(function(t){return function(t,n,r){var i=r.entities[n.id],o=Object.assign({},i,n.changes),a=Z(o,e),s=a!==n.id;return s&&(t[n.id]=a,delete r.entities[n.id]),r.entities[a]=o,s}(r,t,n)}).length>0;o&&(n.ids=Object.keys(n.entities))}}function a(t,r){var i=J(t,e,r),a=i[0];o(i[1],r),n(a,r)}return{removeAll:K(function(e){Object.assign(e,{ids:[],entities:{}})}),addOne:G(t),addMany:G(n),setOne:G(r),setMany:G(function(e,t){for(var n=0,i=e=Y(e);n<i.length;n++){r(i[n],t)}}),setAll:G(function(e,t){e=Y(e),t.ids=[],t.entities={},n(e,t)}),updateOne:G(function(e,t){return o([e],t)}),updateMany:G(o),upsertOne:G(function(e,t){return a([e],t)}),upsertMany:G(a),removeOne:G(function(e,t){return i([e],t)}),removeMany:G(i)}}function ee(e){void 0===e&&(e={});var t=b({sortComparer:!1,selectId:function(e){return e.id}},e),n=t.selectId,r=t.sortComparer,i={getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},o={getSelectors:function(e){var t=function(e){return e.ids},n=function(e){return e.entities},r=S(t,n,function(e,t){return e.map(function(e){return t[e]})}),i=function(e,t){return t},o=function(e,t){return e[t]},a=S(t,function(e){return e.length});if(!e)return{selectIds:t,selectEntities:n,selectAll:r,selectTotal:a,selectById:S(n,i,o)};var s=S(e,n);return{selectIds:S(e,t),selectEntities:s,selectAll:S(e,r),selectTotal:S(e,a),selectById:S(s,i,o)}}},a=r?function(e,t){var n=X(e);function r(t,n){var r=(t=Y(t)).filter(function(t){return!(Z(t,e)in n.entities)});0!==r.length&&s(r,n)}function i(e,t){0!==(e=Y(e)).length&&s(e,t)}function o(t,n){for(var r=!1,i=0,o=t;i<o.length;i++){var a=o[i],s=n.entities[a.id];if(s){r=!0,Object.assign(s,a.changes);var l=e(s);a.id!==l&&(delete n.entities[a.id],n.entities[l]=s)}}r&&u(n)}function a(t,n){var i=J(t,e,n),a=i[0];o(i[1],n),r(a,n)}function s(t,n){t.forEach(function(t){n.entities[e(t)]=t}),u(n)}function u(n){var r=Object.values(n.entities);r.sort(t);var i=r.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return!1;return!0})(n.ids,i)||(n.ids=i)}return{removeOne:n.removeOne,removeMany:n.removeMany,removeAll:n.removeAll,addOne:G(function(e,t){return r([e],t)}),updateOne:G(function(e,t){return o([e],t)}),upsertOne:G(function(e,t){return a([e],t)}),setOne:G(function(e,t){return i([e],t)}),setMany:G(i),setAll:G(function(e,t){e=Y(e),t.entities={},t.ids=[],r(e,t)}),addMany:G(r),updateMany:G(o),upsertMany:G(a)}}(n,r):X(n);return b(b(b({selectId:n,sortComparer:r},i),o),a)}var te=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},ne=["name","message","stack","code"],re=function(e,t){this.payload=e,this.meta=t},ie=function(e,t){this.payload=e,this.meta=t},oe=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=ne;n<r.length;n++){var i=r[n];"string"===typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}},ae=function(){function e(e,t,n){var r=E(e+"/fulfilled",function(e,t,n,r){return{payload:e,meta:w(b({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}}),i=E(e+"/pending",function(e,t,n){return{payload:void 0,meta:w(b({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}}),o=E(e+"/rejected",function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||oe)(e||"Rejected"),meta:w(b({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}}),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign(function(e){return function(s,u,l){var d,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):te(),h=new a;function p(e){d=e,h.abort()}var g=function(){return k(this,null,function(){var a,g,m,y,v,b;return c(this,function(c){switch(c.label){case 0:return c.trys.push([0,4,,5]),y=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:u,extra:l}),null===(w=y)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,y];case 1:y=c.sent(),c.label=2;case 2:if(!1===y||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=new Promise(function(e,t){return h.signal.addEventListener("abort",function(){return t({name:"AbortError",message:d||"Aborted"})})}),s(i(f,e,null==(g=null==n?void 0:n.getPendingMeta)?void 0:g.call(n,{requestId:f,arg:e},{getState:u,extra:l}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:s,getState:u,extra:l,requestId:f,signal:h.signal,abort:p,rejectWithValue:function(e,t){return new re(e,t)},fulfillWithValue:function(e,t){return new ie(e,t)}})).then(function(t){if(t instanceof re)throw t;return t instanceof ie?r(t.payload,f,e,t.meta):r(t,f,e)})])];case 3:return m=c.sent(),[3,5];case 4:return b=c.sent(),m=b instanceof re?o(null,f,e,b.payload,b.meta):o(b,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(m)&&m.meta.condition||s(m),[2,m]}var w})})}();return Object.assign(g,{abort:p,requestId:f,arg:e,unwrap:function(){return g.then(se)}})}},{pending:i,rejected:o,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function se(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var ue=function(e,t){return x(e)?e.match(t):e(t)};function le(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some(function(e){return ue(e,t)})}}function ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.every(function(e){return ue(e,t)})}}function de(e,t){if(!e||!e.meta)return!1;var n="string"===typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function fe(e){return"function"===typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function he(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return de(e,["pending"])}:fe(e)?function(t){var n=e.map(function(e){return e.pending});return le.apply(void 0,n)(t)}:he()(e[0])}function pe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return de(e,["rejected"])}:fe(e)?function(t){var n=e.map(function(e){return e.rejected});return le.apply(void 0,n)(t)}:pe()(e[0])}function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return e&&e.meta&&e.meta.rejectedWithValue};return 0===e.length||fe(e)?function(t){return ce(pe.apply(void 0,e),n)(t)}:ge()(e[0])}function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return de(e,["fulfilled"])}:fe(e)?function(t){var n=e.map(function(e){return e.fulfilled});return le.apply(void 0,n)(t)}:me()(e[0])}function ye(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return de(e,["pending","fulfilled","rejected"])}:fe(e)?function(t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push(o.pending,o.rejected,o.fulfilled)}return le.apply(void 0,n)(t)}:ye()(e[0])}var ve=function(e,t){if("function"!==typeof e)throw new TypeError(t+" is not a function")},be=function(){},we=function(e,t){return void 0===t&&(t=be),e.catch(t),e},ke=function(e,t){return e.addEventListener("abort",t,{once:!0}),function(){return e.removeEventListener("abort",t)}},Se=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},_e="listener",Ce="completed",xe="cancelled",Ee="task-"+xe,Oe="task-"+Ce,Ae=_e+"-"+xe,Te=_e+"-"+Ce,Ie=function(e){this.code=e,this.name="TaskAbortError",this.message="task "+xe+" (reason: "+e+")"},Re=function(e){if(e.aborted)throw new Ie(e.reason)};function Pe(e,t){var n=be;return new Promise(function(r,i){var o=function(){return i(new Ie(e.reason))};e.aborted?o():(n=ke(e,o),t.finally(function(){return n()}).then(r,i))}).finally(function(){n=be})}var De=function(e){return function(t){return we(Pe(e,t).then(function(t){return Re(e),t}))}},ze=function(e){var t=De(e);return function(e){return t(new Promise(function(t){return setTimeout(t,e)}))}},Le=Object.assign,Ne={},Me="listenerMiddleware",je=function(e,t){return function(n,r){ve(n,"taskExecutor");var i,o=new AbortController;i=o,ke(e,function(){return Se(i,e.reason)});var a,s,u=(a=function(){return k(void 0,null,function(){var t;return c(this,function(r){switch(r.label){case 0:return Re(e),Re(o.signal),[4,n({pause:De(o.signal),delay:ze(o.signal),signal:o.signal})];case 1:return t=r.sent(),Re(o.signal),[2,t]}})})},s=function(){return Se(o,Oe)},k(void 0,null,function(){var e;return c(this,function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,a()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof Ie?"cancelled":"rejected",error:e}];case 4:return null==s||s(),[7];case 5:return[2]}})}));return(null==r?void 0:r.autoJoin)&&t.push(u),{result:De(e)(u),cancel:function(){Se(o,Ee)}}}},Fe=function(e,t){return function(n,r){return we(function(n,r){return k(void 0,null,function(){var i,o,a,s;return c(this,function(u){switch(u.label){case 0:Re(t),i=function(){},o=new Promise(function(t,r){var o=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=function(){o(),r()}}),a=[o],null!=r&&a.push(new Promise(function(e){return setTimeout(e,r,null)})),u.label=1;case 1:return u.trys.push([1,,3,4]),[4,Pe(t,Promise.race(a))];case 2:return s=u.sent(),Re(t),[2,s];case 3:return i(),[7];case 4:return[2]}})})}(n,r))}},Be=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,i=e.predicate,o=e.effect;if(t)i=E(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return ve(o,"options.listener"),{predicate:i,type:t,effect:o}},Ue=function(e){var t=Be(e),n=t.type,r=t.predicate,i=t.effect;return{id:te(),effect:i,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},We=function(e){e.pending.forEach(function(e){Se(e,Ae)})},qe=function(e){return function(){e.forEach(We),e.clear()}},Ve=function(e,t,n){try{e(t,n)}catch(r){setTimeout(function(){throw r},0)}},He=E(Me+"/add"),Qe=E(Me+"/removeAll"),$e=E(Me+"/remove"),Ke=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]};function Ge(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,i=e.onError,o=void 0===i?Ke:i;ve(o,"onError");var a=function(e){for(var t=0,r=Array.from(n.values());t<r.length;t++){var i=r[t];if(e(i))return i}},s=function(e){var t=a(function(t){return t.effect===e.effect});return t||(t=Ue(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&We(e)}}(t)},u=function(e){var t=Be(e),n=t.type,r=t.effect,i=t.predicate,o=a(function(e){return("string"===typeof n?e.type===n:e.predicate===i)&&e.effect===r});return o&&(o.unsubscribe(),e.cancelActive&&We(o)),!!o},l=function(e,i,a,u){return k(t,null,function(){var t,l,d,f;return c(this,function(c){switch(c.label){case 0:t=new AbortController,l=Fe(s,t.signal),d=[],c.label=1;case 1:return c.trys.push([1,3,4,6]),e.pending.add(t),[4,Promise.resolve(e.effect(i,Le({},a,{getOriginalState:u,condition:function(e,t){return l(e,t).then(Boolean)},take:l,delay:ze(t.signal),pause:De(t.signal),extra:r,signal:t.signal,fork:je(t.signal,d),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach(function(e,n,r){e!==t&&(Se(e,Ae),r.delete(e))})}})))];case 2:return c.sent(),[3,6];case 3:return(f=c.sent())instanceof Ie||Ve(o,f,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(d)];case 5:return c.sent(),Se(t,Te),e.pending.delete(t),[7];case 6:return[2]}})})},d=qe(n);return{middleware:function(e){return function(t){return function(r){if(!O(r))return t(r);if(He.match(r))return s(r.payload);if(!Qe.match(r)){if($e.match(r))return u(r.payload);var i,a=e.getState(),c=function(){if(a===Ne)throw new Error(Me+": getOriginalState can only be called synchronously");return a};try{if(i=t(r),n.size>0)for(var f=e.getState(),h=Array.from(n.values()),p=0,g=h;p<g.length;p++){var m=g[p],y=!1;try{y=m.predicate(r,f,a)}catch(v){y=!1,Ve(o,v,{raisedBy:"predicate"})}y&&l(m,r,e,c)}}finally{a=Ne}return i}d()}}},startListening:s,stopListening:u,clearListeners:d}}var Ze,Ye="RTK_autoBatch",Je=function(){return function(e){var t;return{payload:e,meta:(t={},t[Ye]=!0,t)}}},Xe="function"===typeof queueMicrotask?queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis):function(e){return(Ze||(Ze=Promise.resolve())).then(e).catch(function(e){return setTimeout(function(){throw e},0)})},et=function(e){return function(t){setTimeout(t,e)}},tt="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:et(10),nt=function(e){return void 0===e&&(e={type:"raf"}),function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(void 0,n),o=!0,a=!1,s=!1,u=new Set,l="tick"===e.type?Xe:"raf"===e.type?tt:"callback"===e.type?e.queueNotification:et(e.timeout),c=function(){s=!1,a&&(a=!1,u.forEach(function(e){return e()}))};return Object.assign({},i,{subscribe:function(e){var t=i.subscribe(function(){return o&&e()});return u.add(e),function(){t(),u.delete(e)}},dispatch:function(e){var t;try{return o=!(null==(t=null==e?void 0:e.meta)?void 0:t[Ye]),(a=!o)&&(s||(s=!0,l(c))),i.dispatch(e)}finally{o=!0}}})}}};(0,r.rF)()},96791:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[K]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Z}(e)||Array.isArray(e)||!!e[$]||!!(null===(t=e.constructor)||void 0===t?void 0:t[$])||d(e)||f(e))}function o(e,t,n){void 0===n&&(n=!1),0===a(e)?(n?Object.keys:Y)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function a(e){var t=e[K];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:d(e)?2:f(e)?3:0}function s(e,t){return 2===a(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===a(e)?e.get(t):e[t]}function l(e,t,n){var r=a(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return q&&e instanceof Map}function f(e){return V&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[K];for(var n=Y(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),y(e)||r(e)||!i(e)||(a(e)>1&&(e.set=e.add=e.clear=e.delete=m),Object.freeze(e),t&&o(e,function(e,t){return g(t,!0)},!0)),e}function m(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=X[e];return t||n(18,e),t}function b(e,t){X[e]||(X[e]=t)}function w(){return U}function k(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function S(e){_(e),e.p.forEach(x),e.p=null}function _(e){e===U&&(U=e.l)}function C(e){return U={p:[],l:U,h:e,_:!0,m:0}}function x(e){var t=e[K];0===t.t||1===t.t?t.j():t.O=!0}function E(e,t){t.m=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,o),o?(r[K].g&&(S(t),n(4)),i(e)&&(e=O(t,e),t.l||T(t,e)),t.o&&v("Patches").M(r[K].u,e,t.o,t.v)):e=O(t,r,[]),S(t),t.o&&t.s(t.o,t.v),e!==Q?e:void 0}function O(e,t,n){if(y(t))return t;var r=t[K];if(!r)return o(t,function(i,o){return A(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.g)return T(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var i=4===r.t||5===r.t?r.i=p(r.k):r.i,a=i,s=!1;3===r.t&&(a=new Set(i),i.clear(),s=!0),o(a,function(t,o){return A(e,r,i,t,o,n,s)}),T(e,i,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function A(e,t,n,o,a,u,c){if(r(a)){var d=O(e,a,u&&t&&3!==t.t&&!s(t.N,o)?u.concat(o):void 0);if(l(n,o,d),!r(d))return;e._=!1}else c&&n.add(a);if(i(a)&&!y(a)){if(!e.h.D&&e.m<1)return;O(e,a),t&&t.A.l||T(e,a)}}function T(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&g(t,n)}function I(e,t){var n=e[K];return(n?h(n):e)[t]}function R(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function P(e){e.g||(e.g=!0,e.l&&P(e.l))}function D(e){e.i||(e.i=p(e.u))}function z(e,t,n){var r=d(t)?v("MapSet").K(t,n):f(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:w(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},i=r,o=ee;n&&(i=[r],o=te);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):v("ES5").I(t,n);return(n?n.A:w()).p.push(r),r}function L(e){return r(e)||n(22,e),function e(t){if(!i(t))return t;var n,r=t[K],s=a(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=N(t,s),r.R=!1}else n=N(t,s);return o(n,function(t,i){r&&u(r.u,t)===i||l(n,t,e(i))}),3===s?new Set(n):n}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function M(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[K],e)},set:function(t){ee.set(this[K],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][K];if(!r.g)switch(r.t){case 5:i(r)&&P(r);break;case 4:n(r)&&P(r)}}}function n(e){for(var t=e.u,n=e.k,r=Y(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==K){var a=t[o];if(void 0===a&&!s(t,o))return!0;var u=n[o],l=u&&u[K];if(l?l.u!==a:!c(u,a))return!0}}var d=!!t[K];return r.length!==Y(t).length+(d?0:1)}function i(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var a={};b("ES5",{I:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=J(n);delete o[K];for(var a=Y(o),s=0;s<a.length;s++){var u=a[s];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={t:r?5:4,A:n?n.A:w(),g:!1,R:!1,N:{},l:n,u:t,k:i,i:null,O:!1,C:!1};return Object.defineProperty(i,K,{value:o,writable:!0}),i},P:function(e,n,a){a?r(n)&&n[K].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var r=n.u,a=n.k,u=n.N,l=n.t;if(4===l)o(a,function(t){t!==K&&(void 0!==r[t]||s(r,t)?u[t]||e(a[t]):(u[t]=!0,P(n)))}),o(r,function(e){void 0!==a[e]||s(a,e)||(u[e]=!1,P(n))});else if(5===l){if(i(n)&&(P(n),u.length=!0),a.length<r.length)for(var c=a.length;c<r.length;c++)u[c]=!1;else for(var d=r.length;d<a.length;d++)u[d]=!0;for(var f=Math.min(a.length,r.length),h=0;h<f;h++)a.hasOwnProperty(h)||(u[h]=!0),void 0===u[h]&&e(a[h])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?n(e):i(e)}})}function j(){function e(t){if(!i(t))return t;if(Array.isArray(t))return t.map(e);if(d(t))return new Map(Array.from(t.entries()).map(function(t){return[t[0],e(t[1])]}));if(f(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return s(t,$)&&(n[$]=t[$]),n}function t(t){return r(t)?e(t):t}var l="add";b("Patches",{W:function(t,r){return r.forEach(function(r){for(var i=r.path,o=r.op,s=t,c=0;c<i.length-1;c++){var d=a(s),f=i[c];"string"!=typeof f&&"number"!=typeof f&&(f=""+f),0!==d&&1!==d||"__proto__"!==f&&"constructor"!==f||n(24),"function"==typeof s&&"prototype"===f&&n(24),"object"!=typeof(s=u(s,f))&&n(15,i.join("/"))}var h=a(s),p=e(r.value),g=i[i.length-1];switch(o){case"replace":switch(h){case 2:return s.set(g,p);case 3:n(16);default:return s[g]=p}case l:switch(h){case 1:return"-"===g?s.push(p):s.splice(g,0,p);case 2:return s.set(g,p);case 3:return s.add(p);default:return s[g]=p}case"remove":switch(h){case 1:return s.splice(g,1);case 2:return s.delete(g);case 3:return s.delete(r.value);default:return delete s[g]}default:n(17,o)}}),t},F:function(e,n,r,i){switch(e.t){case 0:case 4:case 2:return function(e,n,r,i){var a=e.u,c=e.i;o(e.N,function(e,o){var d=u(a,e),f=u(c,e),h=o?s(a,e)?"replace":l:"remove";if(d!==f||"replace"!==h){var p=n.concat(e);r.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:f}),i.push(h===l?{op:"remove",path:p}:"remove"===h?{op:l,path:p,value:t(d)}:{op:"replace",path:p,value:t(d)})}})}(e,n,r,i);case 5:case 1:return function(e,n,r,i){var o=e.u,a=e.N,s=e.i;if(s.length<o.length){var u=[s,o];o=u[0],s=u[1];var c=[i,r];r=c[0],i=c[1]}for(var d=0;d<o.length;d++)if(a[d]&&s[d]!==o[d]){var f=n.concat([d]);r.push({op:"replace",path:f,value:t(s[d])}),i.push({op:"replace",path:f,value:t(o[d])})}for(var h=o.length;h<s.length;h++){var p=n.concat([h]);r.push({op:l,path:p,value:t(s[h])})}o.length<s.length&&i.push({op:"replace",path:n.concat(["length"]),value:o.length})}(e,n,r,i);case 3:return function(e,t,n,r){var i=e.u,o=e.i,a=0;i.forEach(function(e){if(!o.has(e)){var i=t.concat([a]);n.push({op:"remove",path:i,value:e}),r.unshift({op:l,path:i,value:e})}a++}),a=0,o.forEach(function(e){if(!i.has(e)){var o=t.concat([a]);n.push({op:l,path:o,value:e}),r.unshift({op:"remove",path:o,value:e})}a++})}(e,n,r,i)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===Q?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function F(){function e(e,t){function n(){this.constructor=e}s(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach(function(t){if(i(t)){var n=z(e.A.h,t,e);e.p.set(t,n),e.i.add(n)}else e.i.add(t)}))}function a(e){e.O&&n(3,JSON.stringify(h(e)))}var s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){function n(e,t){return this[K]={t:2,l:t,A:t?t.A:w(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[K]).size}}),r.has=function(e){return h(this[K]).has(e)},r.set=function(e,n){var r=this[K];return a(r),h(r).has(e)&&h(r).get(e)===n||(t(r),P(r),r.N.set(e,!0),r.i.set(e,n),r.N.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[K];return a(n),t(n),P(n),n.u.has(e)?n.N.set(e,!1):n.N.delete(e),n.i.delete(e),!0},r.clear=function(){var e=this[K];a(e),h(e).size&&(t(e),P(e),e.N=new Map,o(e.u,function(t){e.N.set(t,!1)}),e.i.clear())},r.forEach=function(e,t){var n=this;h(this[K]).forEach(function(r,i){e.call(t,n.get(i),i,n)})},r.get=function(e){var n=this[K];a(n);var r=h(n).get(e);if(n.R||!i(r))return r;if(r!==n.u.get(e))return r;var o=z(n.A.h,r,n);return t(n),n.i.set(e,o),o},r.keys=function(){return h(this[K]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[G]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[G]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[G]=function(){return this.entries()},n}(),l=function(){function t(e,t){return this[K]={t:3,l:t,A:t?t.A:w(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[K]).size}}),n.has=function(e){var t=this[K];return a(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[K];return a(t),this.has(e)||(r(t),P(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[K];return a(t),r(t),P(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[K];a(e),h(e).size&&(r(e),P(e),e.i.clear())},n.values=function(){var e=this[K];return a(e),r(e),e.i.values()},n.entries=function(){var e=this[K];return a(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[G]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();b("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new l(e,t)}})}var B;Object.defineProperty(t,"__esModule",{value:!0});var U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,V="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Q=W?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),$=W?Symbol.for("immer-draftable"):"__$immer_draftable",K=W?Symbol.for("immer-state"):"__$immer_state",G="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",Z=""+Object.prototype.constructor,Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},X={},ee={get:function(e,t){if(t===K)return e;var n=h(e);if(!s(n,t))return function(e,t,n){var r,i=R(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.R||!i(r)?r:r===I(e.u,t)?(D(e),e.i[t]=z(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=R(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.g){var i=I(h(e),t),o=null==i?void 0:i[K];if(o&&o.u===n)return e.i[t]=n,e.N[t]=!1,!0;if(c(n,i)&&(void 0!==n||s(e.u,t)))return!0;D(e),P(e)}return e.i[t]===n&&(void 0!==n||t in e.i)||Number.isNaN(n)&&Number.isNaN(e.i[t])||(e.i[t]=n,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==I(e.u,t)||t in e.u?(e.N[t]=!1,D(e),P(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},te={};o(ee,function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.S=H,this.D=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return s.produce(e,function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))})}}var u;if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var l=C(t),c=z(t,e,void 0),d=!0;try{u=r(c),d=!1}finally{d?S(l):_(l)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then(function(e){return k(l,o),E(e,l)},function(e){throw S(l),e}):(k(l,o),E(u,l))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===Q&&(u=void 0),t.D&&g(u,!0),o){var f=[],h=[];v("Patches").M(e,u,f,h),o(f,h)}return u}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(i))})};var r,i,o=t.produce(e,n,function(e,t){r=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,r,i]}):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),r(e)&&(e=L(e));var t=C(this),o=z(this,e,void 0);return o[K].C=!0,_(t),o},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return k(n,t),E(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!H&&n(20),this.S=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var o=v("Patches").W;return r(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}(),re=new ne,ie=re.produce,oe=re.produceWithPatches.bind(re),ae=re.setAutoFreeze.bind(re),se=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),le=re.createDraft.bind(re),ce=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=le,t.current=L,t.default=ie,t.enableAllPlugins=function(){M(),F(),j()},t.enableES5=M,t.enableMapSet=F,t.enablePatches=j,t.finishDraft=ce,t.freeze=g,t.immerable=$,t.isDraft=r,t.isDraftable=i,t.nothing=Q,t.original=function(e){return r(e)||n(23,e),e[K].u},t.produce=ie,t.produceWithPatches=oe,t.setAutoFreeze=ae,t.setUseProxies=se},7612:(e,t,n)=>{"use strict";e.exports=n(96791)},19679:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),c=0,d=u>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(l(e,s,s+a>u?u:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function l(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(u(r));return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48021:(e,t,n)=>{"use strict";const r=n(19679),i=n(64121),o="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,n)}function l(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=s(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(G(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|p(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||Z(e.length)?s(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),s(e<0?0:0|p(e))}function f(e){const t=e.length<0?0:0|p(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(i)return r?-1:Q(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Z(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(l(e,o+r)!==l(t,r)){n=!1;break}if(n)return o}return-1}function w(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Z(r))return a;e[n+a]=r}return a}function k(e,t,n,r){return K(Q(t,e.length-n),e,n,r)}function S(e,t,n,r){return K(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function _(e,t,n,r){return K($(t),e,n,r)}function C(e,t,n,r){return K(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128===(192&n)&&(u=(31&t)<<6|63&n,u>127&&(o=u));break;case 3:n=e[i+1],r=e[i+2],128===(192&n)&&128===(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128===(192&n)&&128===(192&r)&&128===(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=O));return n}(r)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!u.TYPED_ARRAY_SUPPORT&&"undefined"!==typeof console&&console.error,Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},u.allocUnsafe=function(e){return d(e)},u.allocUnsafeSlow=function(e){return d(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(G(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(G(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):m.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(G(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n);for(let u=0;u<s;++u)if(l[u]!==c[u]){o=l[u],a=c[u];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function A(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function I(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let o=t;o<n;++o)i+=Y[e[o]];return i}function R(e,t,n){const r=e.slice(t,n);let i="";for(let o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r,i){W(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function L(e,t,n,r,i){W(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function N(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return t=+t,n>>>=0,o||N(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,o){return t=+t,n>>>=0,o||N(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=J(function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||V(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=J(function(e,t=0){return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=J(function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=J(function(e,t=0){return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=J(function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const F={};function B(e,t,n){F[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function U(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function W(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"===typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||V(t,e.length-(n+1))}(r,i,o)}function q(e,t){if("number"!==typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function V(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}B("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),B("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),B("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=U(String(n)):"bigint"===typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=U(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r},RangeError);const H=/[^+/0-9A-Za-z-_]/g;function Q(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function K(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function G(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Z(e){return e!==e}const Y=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function J(e){return"undefined"===typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},56549:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{A:()=>r})},65865:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});Math.pow(10,8);var r=6e4,i=36e5,o=n(56549);function a(e,t){var n;(0,o.A)(1,arguments);var a=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var g,m=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var i=s.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e);if(m.date){var y=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(m.date,a);g=function(e,t){if(null===t)return new Date(NaN);var n=e.match(u);if(!n)return new Date(NaN);var r=!!n[4],i=d(n[1]),o=d(n[2])-1,a=d(n[3]),s=d(n[4]),l=d(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,s,l):new Date(NaN);var c=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(h[t]||(p(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(p(e)?366:365)}(t,i)?(c.setUTCFullYear(t,o,Math.max(i,a)),c):new Date(NaN)}(y.restDateString,y.year)}if(!g||isNaN(g.getTime()))return new Date(NaN);var v,b=g.getTime(),w=0;if(m.time&&(w=function(e){var t=e.match(l);if(!t)return NaN;var n=f(t[1]),o=f(t[2]),a=f(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,a))return NaN;return n*i+o*r+1e3*a}(m.time),isNaN(w)))return new Date(NaN);if(!m.timezone){var k=new Date(b+w),S=new Date(0);return S.setFullYear(k.getUTCFullYear(),k.getUTCMonth(),k.getUTCDate()),S.setHours(k.getUTCHours(),k.getUTCMinutes(),k.getUTCSeconds(),k.getUTCMilliseconds()),S}return v=function(e){if("Z"===e)return 0;var t=e.match(c);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return n*(o*i+a*r)}(m.timezone),isNaN(v)?new Date(NaN):new Date(b+w+v)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function f(e){return e&&parseFloat(e.replace(",","."))||0}var h=[31,null,31,30,31,30,31,31,30,31,30,31];function p(e){return e%400===0||e%4===0&&e%100!==0}},76959:function(e,t){var n,r,i;!function(o){"use strict";var a=o.setTimeout,s=o.clearTimeout,u=o.XMLHttpRequest,l=o.XDomainRequest,c=o.ActiveXObject,d=o.EventSource,f=o.document,h=o.Promise,p=o.fetch,g=o.Response,m=o.TextDecoder,y=o.TextEncoder,v=o.AbortController;if("undefined"===typeof window||"undefined"===typeof f||"readyState"in f||null!=f.body||(f.readyState="loading",window.addEventListener("load",function(e){f.readyState="complete"},!1)),null==u&&null!=c&&(u=function(){return new c("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),void 0==v){var b=p;p=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},v=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function w(){this.bitsNeeded=0,this.codePoint=0}w.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var u=e[s];0!==o&&(u<128||u>191||!t(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};void 0!=m&&void 0!=y&&function(){try{return"test"===(new m).decode((new y).encode("test"),{stream:!0})}catch(e){}return!1}()||(m=w);var k=function(){};function S(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=k,this.onload=k,this.onerror=k,this.onreadystatechange=k,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=k}function _(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function C(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[_(o)]=a}this._map=t}function x(){}function E(e){this._headers=e}function O(){}function A(){this._listeners=Object.create(null)}function T(e){a(function(){throw e},0)}function I(e){this.type=e,this.target=void 0}function R(e,t){I.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function P(e,t){I.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function D(e,t){I.call(this,e),this.error=t.error}S.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,i=1,o=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,r.onload=k,r.onerror=k,r.onabort=k,r.onprogress=k,r.onreadystatechange=k,r.abort(),0!==o&&(s(o),o=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),i=0};var l=function(){if(1===i){var e=0,t="",o=void 0;if("contentType"in r)e=200,t="OK",o=r.contentType;else try{e=r.status,t=r.statusText,o=r.getResponseHeader("Content-Type")}catch(a){e=0,t="",o=void 0}0!==e&&(i=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=o,n.onreadystatechange())}},c=function(){if(l(),2===i||3===i){i=3;var e="";try{e=r.responseText}catch(t){}n.readyState=3,n.responseText=e,n.onprogress()}},d=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:k}),c(),1===i||2===i||3===i){if(i=4,0!==o&&(s(o),o=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},f=function(){o=a(function(){f()},500),3===r.readyState&&c()};"onload"in r&&(r.onload=function(e){d("load",e)}),"onerror"in r&&(r.onerror=function(e){d("error",e)}),"onabort"in r&&(r.onabort=function(e){d("abort",e)}),"onprogress"in r&&(r.onprogress=c),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){void 0!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||d(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||c():2===r.readyState&&l())}(e)}),!("contentType"in r)&&"ontimeout"in u.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a(function(){f()},0))},S.prototype.abort=function(){this._abort(!1)},S.prototype.getResponseHeader=function(e){return this._contentType},S.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},S.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},S.prototype.send=function(){if("ontimeout"in u.prototype&&("sendAsBinary"in u.prototype||"mozAnon"in u.prototype)||void 0==f||void 0==f.readyState||"complete"===f.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(n){throw n}}else{var t=this;t._sendTimeout=a(function(){t._sendTimeout=0,t.send()},4)}},C.prototype.get=function(e){return this._map[_(e)]},null!=u&&null==u.HEADERS_RECEIVED&&(u.HEADERS_RECEIVED=2),x.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var l in e.onprogress=function(){var t=e.responseText.slice(s);s+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===u.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new C(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,l)&&e.setRequestHeader(l,a[l]);return e.send(),e},E.prototype.get=function(e){return this._headers.get(e)},O.prototype.open=function(e,t,n,r,i,o,a){var s=null,u=new v,l=u.signal,c=new m;return p(i,{headers:a,credentials:o?"include":"same-origin",signal:l,cache:"no-store"}).then(function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new E(e.headers)),new h(function(e,t){var r=function(){s.read().then(function(t){if(t.done)e(void 0);else{var i=c.decode(t.value,{stream:!0});n(i),r()}}).catch(function(e){t(e)})};r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){r(e)}),{abort:function(){null!=s&&s.cancel(),u.abort()}}},A.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(void 0!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"===typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(o){T(o)}}},A.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];void 0==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},A.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(void 0!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},R.prototype=Object.create(I.prototype),P.prototype=Object.create(I.prototype),D.prototype=Object.create(I.prototype);var z=-1,L=-1,N=/^text\/event\-stream(;.*)?$/i,M=function(e,t){var n=null==e?t:parseInt(e,10);return n!==n&&(n=t),j(n)},j=function(e){return Math.min(Math.max(e,1e3),18e6)},F=function(e,t,n){try{"function"===typeof t&&t.call(e,n)}catch(r){T(r)}};function B(e,t){A.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var r=Boolean(n.withCredentials),i=n.lastEventIdQueryParameterName||"lastEventId",o=j(1e3),c=M(n.heartbeatTimeout,45e3),d="",f=o,h=!1,p=0,g=n.headers||{},m=n.Transport,y=U&&void 0==m?void 0:new S(void 0!=m?new m:void 0!=u&&"withCredentials"in u.prototype||void 0==l?new u:new l),v=null!=m&&"string"!==typeof m?new m:void 0==y?new O:new x,b=void 0,w=0,k=z,_="",C="",E="",A="",T=0,I=0,B=0,W=function(t,n,r,i){if(0===k)if(200===t&&void 0!=r&&N.test(r)){k=1,h=Date.now(),f=o,e.readyState=1;var a=new P("open",{status:t,statusText:n,headers:i});e.dispatchEvent(a),F(e,e.onopen,a)}else{200!==t?(n&&(n=n.replace(/\s+/g," ")),"EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):"EventSource's response has a Content-Type specifying an unsupported type: "+(void 0==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",H();a=new P("error",{status:t,statusText:n,headers:i});e.dispatchEvent(a),F(e,e.onerror,a)}},q=function(t){if(1===k){for(var n=-1,r=0;r<t.length;r+=1){(l=t.charCodeAt(r))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=r)}var i=(-1!==n?A:"")+t.slice(0,n+1);A=(-1===n?A:"")+t.slice(n+1),""!==t&&(h=Date.now(),p+=t.length);for(var u=0;u<i.length;u+=1){var l=i.charCodeAt(u);if(T===L&&l==="\n".charCodeAt(0))T=0;else if(T===L&&(T=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==T){1===T&&(B=u+1);var g=i.slice(I,B-1),m=i.slice(B+(B<u&&i.charCodeAt(B)===" ".charCodeAt(0)?1:0),u);"data"===g?(_+="\n",_+=m):"id"===g?C=m:"event"===g?E=m:"retry"===g?(o=M(m,o),f=o):"heartbeatTimeout"===g&&(c=M(m,c),0!==w&&(s(w),w=a(function(){Q()},c)))}if(0===T){if(""!==_){d=C,""===E&&(E="message");var y=new R(E,{data:_.slice(1),lastEventId:C});if(e.dispatchEvent(y),"open"===E?F(e,e.onopen,y):"message"===E?F(e,e.onmessage,y):"error"===E&&F(e,e.onerror,y),2===k)return}_="",E=""}T=l==="\r".charCodeAt(0)?L:0}else 0===T&&(I=u,T=1),1===T?l===":".charCodeAt(0)&&(B=u+1,T=2):2===T&&(T=3)}}},V=function(t){if(1===k||0===k){k=z,0!==w&&(s(w),w=0),w=a(function(){Q()},f),f=j(Math.min(16*o,2*f)),e.readyState=0;var n=new D("error",{error:t});e.dispatchEvent(n),F(e,e.onerror,n)}},H=function(){k=2,void 0!=b&&(b.abort(),b=void 0),0!==w&&(s(w),w=0),e.readyState=2},Q=function(){if(w=0,k===z){h=!1,p=0,w=a(function(){Q()},c),k=0,_="",E="",C=d,A="",I=0,B=0,T=0;var n=t;if("data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==d){var r=t.indexOf("?");n=-1===r?t:t.slice(0,r+1)+t.slice(r+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(e,t){return t===i?"":e}),n+=(-1===t.indexOf("?")?"?":"&")+i+"="+encodeURIComponent(d)}var o=e.withCredentials,s={Accept:"text/event-stream"},u=e.headers;if(void 0!=u)for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(s[l]=u[l]);try{b=v.open(y,W,q,V,n,o,s)}catch(g){throw H(),g}}else if(h||void 0==b){var f=Math.max((h||Date.now())+c-Date.now(),1);h=!1,w=a(function(){Q()},f)}else V(new Error("No activity within "+c+" milliseconds. "+(0===k?"No response received.":p+" chars received.")+" Reconnecting.")),void 0!=b&&(b.abort(),b=void 0)};e.url=t,e.readyState=0,e.withCredentials=r,e.headers=g,e._close=H,Q()}(this,e,t)}var U=void 0!=p&&void 0!=g&&"body"in g.prototype;B.prototype=Object.create(A.prototype),B.prototype.CONNECTING=0,B.prototype.OPEN=1,B.prototype.CLOSED=2,B.prototype.close=function(){this._close()},B.CONNECTING=0,B.OPEN=1,B.CLOSED=2,B.prototype.withCredentials=void 0;var W=d;void 0==u||void 0!=d&&"withCredentials"in d.prototype||(W=B),function(o){if("object"===typeof e.exports){var a=o(t);void 0!==a&&(e.exports=a)}else r=[t],void 0===(i="function"===typeof(n=o)?n.apply(t,r):n)||(e.exports=i)}(function(e){e.EventSourcePolyfill=B,e.NativeEventSource=d,e.EventSource=W})}("undefined"===typeof globalThis?"undefined"!==typeof window?window:"undefined"!==typeof self?self:this:globalThis)},61404:(e,t,n)=>{"use strict";var r=n(76158),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),g=u(n),m=0;m<a.length;++m){var y=a[m];if(!o[y]&&(!r||!r[y])&&(!g||!g[y])&&(!s||!s[y])){var v=f(n,y);try{l(t,y,v)}catch(b){}}}}return t}},74946:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case m:case g:case u:return e;default:return t}}case i:return t}}}function S(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||k(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return k(e)===l},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===a},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===a||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},76158:(e,t,n)=>{"use strict";e.exports=n(74946)},64121:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*g}},33616:(e,t,n)=>{var r=n(48021).Buffer,i=n(42704);e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){return i(t[a][1][e]||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,a,s,u,l,c=[],d=0,f=e.length,h=f,p="string"!==r.getTypeOf(e);d<e.length;)h=f-d,i=p?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),a=t>>2,s=(3&t)<<4|n>>4,u=1<h?(15&n)<<2|i>>6:64,l=2<h?63&i:64,c.push(o.charAt(a)+o.charAt(s)+o.charAt(u)+o.charAt(l));return c.join("")},n.decode=function(e){var t,n,r,a,s,u,l=0,c=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&h--,e.charAt(e.length-2)===o.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|h):new Array(0|h);l<e.length;)t=o.indexOf(e.charAt(l++))<<2|(a=o.indexOf(e.charAt(l++)))>>4,n=(15&a)<<4|(s=o.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(u=o.indexOf(e.charAt(l++))),f[c++]=t,64!==s&&(f[c++]=n),64!==u&&(f[c++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var o=i,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var o=i,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^o[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),s=r?"uint8array":"array";function u(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(u,a),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},u.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new u("Deflate",e)},n.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,a,c){var d,f,h=e.file,p=e.compression,g=c!==s.utf8encode,m=o.transformTo("string",c(h.name)),y=o.transformTo("string",s.utf8encode(h.name)),v=h.comment,b=o.transformTo("string",c(v)),w=o.transformTo("string",s.utf8encode(v)),k=y.length!==h.name.length,S=w.length!==v.length,_="",C="",x="",E=h.dir,O=h.date,A={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(A.crc32=e.crc32,A.compressedSize=e.compressedSize,A.uncompressedSize=e.uncompressedSize);var T=0;t&&(T|=8),g||!k&&!S||(T|=2048);var I=0,R=0;E&&(I|=16),"UNIX"===a?(R=798,I|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(h.unixPermissions,E)):(R=20,I|=function(e){return 63&(e||0)}(h.dosPermissions)),d=O.getUTCHours(),d<<=6,d|=O.getUTCMinutes(),d<<=5,d|=O.getUTCSeconds()/2,f=O.getUTCFullYear()-1980,f<<=4,f|=O.getUTCMonth()+1,f<<=5,f|=O.getUTCDate(),k&&(C=r(1,1)+r(u(m),4)+y,_+="up"+r(C.length,2)+C),S&&(x=r(1,1)+r(u(b),4)+w,_+="uc"+r(x.length,2)+x);var P="";return P+="\n\0",P+=r(T,2),P+=p.magic,P+=r(d,2),P+=r(f,2),P+=r(A.crc32,4),P+=r(A.compressedSize,4),P+=r(A.uncompressedSize,4),P+=r(m.length,2),P+=r(_.length,2),{fileRecord:l.LOCAL_FILE_HEADER+P+m+_,dirRecord:l.CENTRAL_FILE_HEADER+r(R,2)+P+r(b.length,2)+"\0\0\0\0"+r(I,4)+r(i,4)+m+_+b}}var o=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),u=e("../crc32"),l=e("../signature");function c(e,t,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,a),c.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,a){var s=o.transformTo("string",a(i));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},c.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},c.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new i(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,n){a++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},u=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo("file",{name:e,dir:u,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)}),o.entriesCount=a}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./external"),o=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),u=e("./nodejsUtils");function l(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on("error",function(e){n(e)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),u.isNode&&u.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new a(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(l(r[o]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),o=i.files,a=0;a<o.length;a++){var s=o[a],u=s.fileNameStr,l=r.resolve(s.fileNameStr);n.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(l).unsafeOriginalName=u)}return i.zipComment.length&&(n.comment=i.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on("error",function(e){i.emit("error",e)}).on("end",function(){i.push(null)})}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:"undefined"!=typeof r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r,i=o.getTypeOf(t),s=o.extend(n||{},u);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=g(e)),s.createFolders&&(r=p(e))&&m.call(this,r,!0);var d="string"===i&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!d),(t instanceof l&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string");var y=null;y=t instanceof l||t instanceof a?t:f.isNode&&f.isStream(t)?new h(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new c(e,y,s);this.files[e]=v}var i=e("./utf8"),o=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),u=e("./defaults"),l=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),f=e("./nodejsUtils"),h=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},m=function(e,t){return t=void 0!==t?t:u.createFolders,e=g(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(y(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(y(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=m.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new a("error")).error(e)}return new s(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var r=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),o=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new u(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){"use strict";var i=e("../utils"),o=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),u=e("../support"),l=e("../external"),c=null;if(u.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t){return new l.Promise(function(n,o){var a=[],u=e._internalType,l=e._outputType,c=e._mimeType;e.on("data",function(e,n){a.push(e),t&&t(n)}).on("error",function(e){a=[],o(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,o=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(a),n=0;n<t.length;n++)o.set(t[n],i),i+=t[n].length;return o;case"nodebuffer":return r.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(u,a),c);n(e)}catch(e){o(e)}a=[]}).resume()})}function f(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new o(r)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}f.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){i.delay(t,arguments,n)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof r,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),n.blob=0===o.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=new Array(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function l(){a.call(this,"utf-8 decode"),this.leftOver=null}function c(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(u):new Array(u),o=a=0;a<u;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,o,a=e.length,u=new Array(2*a);for(t=n=0;t<a;)if((i=e[t++])<128)u[n++]=i;else if(4<(o=s[i]))u[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<a;)i=i<<6|63&e[t++],o--;1<o?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),r.applyFromCharCode(u)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(l,a),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),u=t;a!==t.length&&(i.uint8array?(u=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(u=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:n.utf8decode(u),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(c,a),c.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function s(e){return e}function u(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=l.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=c;var f={};f.string={string:s,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:function(e){return u(e,o.allocBuffer(e.length))}},f.array={string:c,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},f.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:c,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},f.nodebuffer={string:c,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return f[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,s,l){return a.Promise.resolve(t).then(function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var c=n.getTypeOf(t);return c?("arraybuffer"===c?t=n.transformTo("uint8array",t):"string"===c&&(l?t=i.decode(t):o&&!0!==s&&(t=function(e){return u(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):a.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),a=e("./zipEntry"),s=e("./support");function u(e){this.files=[],this.loadOptions=e}u.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),u=e("./compressions"),l=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in u)if(Object.prototype.hasOwnProperty.call(u,t)&&u[t].magic===e)return u[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),u=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new u("error")).error(e)}return new i(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof u?this._data:new o(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)r.prototype[l[d]]=c;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var u=new e.MessageChannel;u.port1.onmessage=c,n=function(){u.port2.postMessage(0)}}var l=[];function c(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){1!==l.push(e)||r||n()}}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var r=e("immediate");function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&h(this,e)}function c(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var a=p(function(){t(i,r)});"error"===a.status&&r(a.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(i);return this.state!==u?d(n,this.state===s?e:t,this.outcome):this.queue.push(new c(n,e,t)),n},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(f,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)h(e,r);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return o.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,u=-1,l=new this(i);++u<n;)c(e[u],u);return l;function c(e,i){t.resolve(e).then(function(e){a[i]=e,++s!==n||r||(r=!0,o.resolve(l,a))},function(e){r||(r=!0,o.reject(l,e))})}},l.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a,s=-1,u=new this(i);++s<n;)a=e[s],t.resolve(a).then(function(e){r||(r=!0,o.resolve(u,e))},function(e){r||(r=!0,o.reject(u,e))});return u}},{immediate:36}],38:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),u=Object.prototype.toString,l=0,c=-1,d=0,f=8;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({level:c,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==l)throw new Error(a[n]);this._dict_set=!0}}function p(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}h.prototype.push=function(e,t){var n,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===u.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(c),s.next_out=0,s.avail_out=c),1!==(n=r.deflate(s,a))&&n!==l)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):2!==a||(this.onEnd(l),!(s.avail_out=0))},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=h,n.deflate=p,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),u=e("./zlib/zstream"),l=e("./zlib/gzheader"),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,u,l,d,f,h=this.strm,p=this.options.chunkSize,g=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(p),h.next_out=0,h.avail_out=p),(n=r.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&g&&(f="string"==typeof g?o.string2buf(g):"[object ArrayBuffer]"===c.call(g)?new Uint8Array(g):g,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===m&&(n=a.Z_OK,m=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&n!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(h.output,h.next_out),l=h.next_out-u,d=o.buf2string(h.output,u),h.next_out=l,h.avail_out=p-l,l&&i.arraySet(h.output,h.output,u,l,0),this.onData(d)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(m=!0)}while((0<h.avail_in||0===h.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(h.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=f,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function u(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,i,o,a,s=e.length,u=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(u),o=a=0;a<u;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return u(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,s=t||e.length,l=new Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)l[r++]=i;else if(4<(o=a[i]))l[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<s;)i=i<<6|63&e[n++],o--;1<o?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return u(l,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e,o=e>>>16&65535,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(i=i+t[r++]|0)|0,--a;);i%=65521,o%=65521}return i|o<<16}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),u=e("./messages"),l=0,c=4,d=0,f=-2,h=-1,p=4,g=2,m=8,y=9,v=286,b=30,w=19,k=2*v+1,S=15,_=3,C=258,x=C+_+1,E=42,O=113,A=1,T=2,I=3,R=4;function P(e,t){return e.msg=u[t],t}function D(e){return(e<<1)-(4<e?9:0)}function z(e){for(var t=e.length;0<=--t;)e[t]=0}function L(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function N(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,L(e.strm)}function M(e,t){e.pending_buf[e.pending++]=t}function j(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function F(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-x?e.strstart-(e.w_size-x):0,l=e.window,c=e.w_mask,d=e.prev,f=e.strstart+C,h=l[o+a-1],p=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===p&&l[n+a-1]===h&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<f);if(r=C-(f-o),o=f-C,a<r){if(e.match_start=t,s<=(a=r))break;h=l[o+a-1],p=l[o+a]}}}while((t=d[t&c])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead}function B(e){var t,n,r,o,u,l,c,d,f,h,p=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-x)){for(i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;r=e.head[--t],e.head[t]=p<=r?r-p:0,--n;);for(t=n=p;r=e.prev[--t],e.prev[t]=p<=r?r-p:0,--n;);o+=p}if(0===e.strm.avail_in)break;if(l=e.strm,c=e.window,d=e.strstart+e.lookahead,h=void 0,(f=o)<(h=l.avail_in)&&(h=f),n=0===h?0:(l.avail_in-=h,i.arraySet(c,l.input,l.next_in,h,d),1===l.state.wrap?l.adler=a(l.adler,c,h,d):2===l.state.wrap&&(l.adler=s(l.adler,c,h,d)),l.next_in+=h,l.total_in+=h,h),e.lookahead+=n,e.lookahead+e.insert>=_)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+_-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<_)););}while(e.lookahead<x&&0!==e.strm.avail_in)}function U(e,t){for(var n,r;;){if(e.lookahead<x){if(B(e),e.lookahead<x&&t===l)return A;if(0===e.lookahead)break}if(n=0,e.lookahead>=_&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-x&&(e.match_length=F(e,n)),e.match_length>=_)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-_),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=_){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=e.strstart<_-1?e.strstart:_-1,t===c?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:T}function W(e,t){for(var n,r,i;;){if(e.lookahead<x){if(B(e),e.lookahead<x&&t===l)return A;if(0===e.lookahead)break}if(n=0,e.lookahead>=_&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=_-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-x&&(e.match_length=F(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===_&&4096<e.strstart-e.match_start)&&(e.match_length=_-1)),e.prev_length>=_&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-_,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-_),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=_-1,e.strstart++,r&&(N(e,!1),0===e.strm.avail_out))return A}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&N(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return A}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<_-1?e.strstart:_-1,t===c?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:T}function q(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function V(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*k),this.dyn_dtree=new i.Buf16(2*(2*b+1)),this.bl_tree=new i.Buf16(2*(2*w+1)),z(this.dyn_ltree),z(this.dyn_dtree),z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*v+1),z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*v+1),z(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function H(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=g,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:O,e.adler=2===t.wrap?0:1,t.last_flush=l,o._tr_init(t),d):P(e,f)}function Q(e){var t=H(e);return t===d&&function(e){e.window_size=2*e.w_size,z(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=_-1,e.match_available=0,e.ins_h=0}(e.state),t}function $(e,t,n,r,o,a){if(!e)return f;var s=1;if(t===h&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||y<o||n!==m||r<8||15<r||t<0||9<t||a<0||p<a)return P(e,f);8===r&&(r=9);var u=new V;return(e.state=u).strm=e,u.wrap=s,u.gzhead=null,u.w_bits=r,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+_-1)/_),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=a,u.method=n,Q(e)}r=[new q(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),0===e.lookahead&&t===l)return A;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,N(e,!1),0===e.strm.avail_out))return A;if(e.strstart-e.block_start>=e.w_size-x&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===c?(N(e,!0),0===e.strm.avail_out?I:R):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),A)}),new q(4,4,8,4,U),new q(4,5,16,8,U),new q(4,6,32,32,U),new q(4,4,16,16,W),new q(8,16,32,32,W),new q(8,16,128,128,W),new q(8,32,128,256,W),new q(32,128,258,1024,W),new q(32,258,258,4096,W)],n.deflateInit=function(e,t){return $(e,t,m,15,8,0)},n.deflateInit2=$,n.deflateReset=Q,n.deflateResetKeep=H,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?f:(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,a,u;if(!e||!e.state||5<t||t<0)return e?P(e,f):f;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==c)return P(e,0===e.avail_out?-5:f);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===E)if(2===i.wrap)e.adler=0,M(i,31),M(i,139),M(i,8),i.gzhead?(M(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),M(i,255&i.gzhead.time),M(i,i.gzhead.time>>8&255),M(i,i.gzhead.time>>16&255),M(i,i.gzhead.time>>24&255),M(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),M(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(M(i,255&i.gzhead.extra.length),M(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(M(i,0),M(i,0),M(i,0),M(i,0),M(i,0),M(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),M(i,3),i.status=O);else{var h=m+(i.w_bits-8<<4)<<8;h|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(h|=32),h+=31-h%31,i.status=O,j(i,h),0!==i.strstart&&(j(i,e.adler>>>16),j(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),L(e),a=i.pending,i.pending!==i.pending_buf_size));)M(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),L(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,M(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),L(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,M(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&L(e),i.pending+2<=i.pending_buf_size&&(M(i,255&e.adler),M(i,e.adler>>8&255),e.adler=0,i.status=O)):i.status=O),0!==i.pending){if(L(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&D(t)<=D(n)&&t!==c)return P(e,-5);if(666===i.status&&0!==e.avail_in)return P(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==l&&666!==i.status){var p=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===l)return A;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===c?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:T}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=C){if(B(e),e.lookahead<=C&&t===l)return A;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=_&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+C;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=C-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=_?(n=o._tr_tally(e,1,e.match_length-_),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===c?(N(e,!0),0===e.strm.avail_out?I:R):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:T}(i,t):r[i.level].func(i,t);if(p!==I&&p!==R||(i.status=666),p===A||p===I)return 0===e.avail_out&&(i.last_flush=-1),d;if(p===T&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(z(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),L(e),0===e.avail_out))return i.last_flush=-1,d}return t!==c?d:i.wrap<=0?1:(2===i.wrap?(M(i,255&e.adler),M(i,e.adler>>8&255),M(i,e.adler>>16&255),M(i,e.adler>>24&255),M(i,255&e.total_in),M(i,e.total_in>>8&255),M(i,e.total_in>>16&255),M(i,e.total_in>>24&255)):(j(i,e.adler>>>16),j(i,65535&e.adler)),L(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?d:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&69!==t&&73!==t&&91!==t&&103!==t&&t!==O&&666!==t?P(e,f):(e.state=null,t===O?P(e,-3):d):f},n.deflateSetDictionary=function(e,t){var n,r,o,s,u,l,c,h,p=t.length;if(!e||!e.state)return f;if(2===(s=(n=e.state).wrap)||1===s&&n.status!==E||n.lookahead)return f;for(1===s&&(e.adler=a(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(z(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,t,p-n.w_size,n.w_size,0),t=h,p=n.w_size),u=e.avail_in,l=e.next_in,c=e.input,e.avail_in=p,e.next_in=0,e.input=t,B(n);n.lookahead>=_;){for(r=n.strstart,o=n.lookahead-(_-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+_-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=_-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=_-1,n.match_available=0,e.next_in=l,e.input=c,e.avail_in=u,n.wrap=s,d},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,u,l,c,d,f,h,p,g,m,y,v,b,w,k,S,_,C,x,E;n=e.state,r=e.next_in,x=e.input,i=r+(e.avail_in-5),o=e.next_out,E=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),u=n.dmax,l=n.wsize,c=n.whave,d=n.wnext,f=n.window,h=n.hold,p=n.bits,g=n.lencode,m=n.distcode,y=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{p<15&&(h+=x[r++]<<p,p+=8,h+=x[r++]<<p,p+=8),b=g[h&y];t:for(;;){if(h>>>=w=b>>>24,p-=w,0===(w=b>>>16&255))E[o++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=g[(65535&b)+(h&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}k=65535&b,(w&=15)&&(p<w&&(h+=x[r++]<<p,p+=8),k+=h&(1<<w)-1,h>>>=w,p-=w),p<15&&(h+=x[r++]<<p,p+=8,h+=x[r++]<<p,p+=8),b=m[h&v];n:for(;;){if(h>>>=w=b>>>24,p-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=m[(65535&b)+(h&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&b,p<(w&=15)&&(h+=x[r++]<<p,(p+=8)<w&&(h+=x[r++]<<p,p+=8)),u<(S+=h&(1<<w)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=w,p-=w,(w=o-a)<S){if(c<(w=S-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=f,(_=0)===d){if(_+=l-w,w<k){for(k-=w;E[o++]=f[_++],--w;);_=o-S,C=E}}else if(d<w){if(_+=l+d-w,(w-=d)<k){for(k-=w;E[o++]=f[_++],--w;);if(_=0,d<k){for(k-=w=d;E[o++]=f[_++],--w;);_=o-S,C=E}}}else if(_+=d-w,w<k){for(k-=w;E[o++]=f[_++],--w;);_=o-S,C=E}for(;2<k;)E[o++]=C[_++],E[o++]=C[_++],E[o++]=C[_++],k-=3;k&&(E[o++]=C[_++],1<k&&(E[o++]=C[_++]))}else{for(_=o-S;E[o++]=E[_++],E[o++]=E[_++],E[o++]=E[_++],2<(k-=3););k&&(E[o++]=E[_++],1<k&&(E[o++]=E[_++]))}break}}break}}while(r<i&&o<s);r-=k=p>>3,h&=(1<<(p-=k<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=p}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),u=1,l=2,c=0,d=-2,f=1,h=852,p=592;function g(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(h),t.distcode=t.distdyn=new r.Buf32(p),t.sane=1,t.back=-1,c):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,y(e)):d}function b(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):d}function w(e,t){var n,r;return e?(r=new m,(e.state=r).window=null,(n=b(e,t))!==c&&(e.state=null),n):d}var k,S,_=!0;function C(e){if(_){var t;for(k=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(u,e.lens,0,288,k,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,S,0,e.work,{bits:5}),_=!1}e.lencode=k,e.lenbits=9,e.distcode=S,e.distbits=5}function x(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(o=a.wsize-a.wnext)&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=v,n.inflateReset2=b,n.inflateResetKeep=y,n.inflateInit=function(e){return w(e,15)},n.inflateInit2=w,n.inflate=function(e,t){var n,h,p,m,y,v,b,w,k,S,_,E,O,A,T,I,R,P,D,z,L,N,M,j,F=0,B=new r.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(n=e.state).mode&&(n.mode=13),y=e.next_out,p=e.output,b=e.avail_out,m=e.next_in,h=e.input,v=e.avail_in,w=n.hold,k=n.bits,S=v,_=b,N=c;e:for(;;)switch(n.mode){case f:if(0===n.wrap){n.mode=13;break}for(;k<16;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(2&n.wrap&&35615===w){B[n.check=0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0),k=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",n.mode=30;break}if(k-=4,L=8+(15&(w>>>=4)),0===n.wbits)n.wbits=L;else if(L>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<L,e.adler=n.check=1,n.mode=512&w?10:12,k=w=0;break;case 2:for(;k<16;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(n.flags=w,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=w>>8&1),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),k=w=0,n.mode=3;case 3:for(;k<32;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}n.head&&(n.head.time=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,n.check=o(n.check,B,4,0)),k=w=0,n.mode=4;case 4:for(;k<16;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}n.head&&(n.head.xflags=255&w,n.head.os=w>>8),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),k=w=0,n.mode=5;case 5:if(1024&n.flags){for(;k<16;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}n.length=w,n.head&&(n.head.extra_len=w),512&n.flags&&(B[0]=255&w,B[1]=w>>>8&255,n.check=o(n.check,B,2,0)),k=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(L=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,h,m,E,L)),512&n.flags&&(n.check=o(n.check,h,E,m)),v-=E,m+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break e;for(E=0;L=h[m+E++],n.head&&L&&n.length<65536&&(n.head.name+=String.fromCharCode(L)),L&&E<v;);if(512&n.flags&&(n.check=o(n.check,h,E,m)),v-=E,m+=E,L)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===v)break e;for(E=0;L=h[m+E++],n.head&&L&&n.length<65536&&(n.head.comment+=String.fromCharCode(L)),L&&E<v;);if(512&n.flags&&(n.check=o(n.check,h,E,m)),v-=E,m+=E,L)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;k<16;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(w!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}k=w=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;k<32;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}e.adler=n.check=g(w),k=w=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=y,e.avail_out=b,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=k,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){w>>>=7&k,k-=7&k,n.mode=27;break}for(;k<3;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}switch(n.last=1&w,k-=1,3&(w>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;w>>>=2,k-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}w>>>=2,k-=2;break;case 14:for(w>>>=7&k,k-=7&k;k<32;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,k=w=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),b<E&&(E=b),0===E)break e;r.arraySet(p,h,m,E,y),v-=E,m+=E,b-=E,y+=E,n.length-=E;break}n.mode=12;break;case 17:for(;k<14;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(n.nlen=257+(31&w),w>>>=5,k-=5,n.ndist=1+(31&w),w>>>=5,k-=5,n.ncode=4+(15&w),w>>>=4,k-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;k<3;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}n.lens[U[n.have++]]=7&w,w>>>=3,k-=3}for(;n.have<19;)n.lens[U[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,M={bits:n.lenbits},N=s(0,n.lens,0,19,n.lencode,0,n.work,M),n.lenbits=M.bits,N){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;I=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,R=65535&F,!((T=F>>>24)<=k);){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(R<16)w>>>=T,k-=T,n.lens[n.have++]=R;else{if(16===R){for(j=T+2;k<j;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(w>>>=T,k-=T,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}L=n.lens[n.have-1],E=3+(3&w),w>>>=2,k-=2}else if(17===R){for(j=T+3;k<j;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}k-=T,L=0,E=3+(7&(w>>>=T)),w>>>=3,k-=3}else{for(j=T+7;k<j;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}k-=T,L=0,E=11+(127&(w>>>=T)),w>>>=7,k-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=L}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,M={bits:n.lenbits},N=s(u,n.lens,0,n.nlen,n.lencode,0,n.work,M),n.lenbits=M.bits,N){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,M={bits:n.distbits},N=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,M),n.distbits=M.bits,N){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=b){e.next_out=y,e.avail_out=b,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=k,a(e,_),y=e.next_out,p=e.output,b=e.avail_out,m=e.next_in,h=e.input,v=e.avail_in,w=n.hold,k=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;I=(F=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,R=65535&F,!((T=F>>>24)<=k);){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(I&&0==(240&I)){for(P=T,D=I,z=R;I=(F=n.lencode[z+((w&(1<<P+D)-1)>>P)])>>>16&255,R=65535&F,!(P+(T=F>>>24)<=k);){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}w>>>=P,k-=P,n.back+=P}if(w>>>=T,k-=T,n.back+=T,n.length=R,0===I){n.mode=26;break}if(32&I){n.back=-1,n.mode=12;break}if(64&I){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&I,n.mode=22;case 22:if(n.extra){for(j=n.extra;k<j;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}n.length+=w&(1<<n.extra)-1,w>>>=n.extra,k-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;I=(F=n.distcode[w&(1<<n.distbits)-1])>>>16&255,R=65535&F,!((T=F>>>24)<=k);){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(0==(240&I)){for(P=T,D=I,z=R;I=(F=n.distcode[z+((w&(1<<P+D)-1)>>P)])>>>16&255,R=65535&F,!(P+(T=F>>>24)<=k);){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}w>>>=P,k-=P,n.back+=P}if(w>>>=T,k-=T,n.back+=T,64&I){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&I,n.mode=24;case 24:if(n.extra){for(j=n.extra;k<j;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}n.offset+=w&(1<<n.extra)-1,w>>>=n.extra,k-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===b)break e;if(E=_-b,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}O=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),A=n.window}else A=p,O=y-n.offset,E=n.length;for(b<E&&(E=b),b-=E,n.length-=E;p[y++]=A[O++],--E;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break e;p[y++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;k<32;){if(0===v)break e;v--,w|=h[m++]<<k,k+=8}if(_-=b,e.total_out+=_,n.total+=_,_&&(e.adler=n.check=n.flags?o(n.check,p,_,y-_):i(n.check,p,_,y-_)),_=b,(n.flags?w:g(w))!==n.check){e.msg="incorrect data check",n.mode=30;break}k=w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;k<32;){if(0===v)break e;v--,w+=h[m++]<<k,k+=8}if(w!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}k=w=0}n.mode=29;case 29:N=1;break e;case 30:N=-3;break e;case 31:return-4;default:return d}return e.next_out=y,e.avail_out=b,e.next_in=m,e.avail_in=v,n.hold=w,n.bits=k,(n.wsize||_!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&x(e,e.output,e.next_out,_-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,_-=e.avail_out,e.total_in+=S,e.total_out+=_,n.total+=_,n.wrap&&_&&(e.adler=n.check=n.flags?o(n.check,p,_,e.next_out-_):i(n.check,p,_,e.next_out-_)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==S&&0===_||4===t)&&N===c&&(N=-5),N)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,c},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?d:((n.head=t).done=!1,c):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&i(1,t,r,0)!==n.check?-3:x(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,c):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var r=e("../utils/common"),i=[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,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[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,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,u,l,c,d,f){var h,p,g,m,y,v,b,w,k,S=f.bits,_=0,C=0,x=0,E=0,O=0,A=0,T=0,I=0,R=0,P=0,D=null,z=0,L=new r.Buf16(16),N=new r.Buf16(16),M=null,j=0;for(_=0;_<=15;_++)L[_]=0;for(C=0;C<u;C++)L[t[n+C]]++;for(O=S,E=15;1<=E&&0===L[E];E--);if(E<O&&(O=E),0===E)return l[c++]=20971520,l[c++]=20971520,f.bits=1,0;for(x=1;x<E&&0===L[x];x++);for(O<x&&(O=x),_=I=1;_<=15;_++)if(I<<=1,(I-=L[_])<0)return-1;if(0<I&&(0===e||1!==E))return-1;for(N[1]=0,_=1;_<15;_++)N[_+1]=N[_]+L[_];for(C=0;C<u;C++)0!==t[n+C]&&(d[N[t[n+C]]++]=C);if(v=0===e?(D=M=d,19):1===e?(D=i,z-=257,M=o,j-=257,256):(D=a,M=s,-1),_=x,y=c,T=C=P=0,g=-1,m=(R=1<<(A=O))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(b=_-T,k=d[C]<v?(w=0,d[C]):d[C]>v?(w=M[j+d[C]],D[z+d[C]]):(w=96,0),h=1<<_-T,x=p=1<<A;l[y+(P>>T)+(p-=h)]=b<<24|w<<16|k,0!==p;);for(h=1<<_-1;P&h;)h>>=1;if(0!==h?(P&=h-1,P+=h):P=0,C++,0==--L[_]){if(_===E)break;_=t[n+d[C]]}if(O<_&&(P&m)!==g){for(0===T&&(T=O),y+=x,I=1<<(A=_-T);A+T<E&&!((I-=L[A+T])<=0);)A++,I<<=1;if(R+=1<<A,1===e&&852<R||2===e&&592<R)return 1;l[g=P&m]=O<<24|A<<16|y-c}}return 0!==P&&(l[y+P]=_-T<<24|64<<16),f.bits=O,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var r=e("../utils/common"),i=0,o=1;function a(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,u=29,l=256,c=l+1+u,d=30,f=19,h=2*c+1,p=15,g=16,m=7,y=256,v=16,b=17,w=18,k=[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],S=[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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],x=new Array(2*(c+2));a(x);var E=new Array(2*d);a(E);var O=new Array(512);a(O);var A=new Array(256);a(A);var T=new Array(u);a(T);var I,R,P,D=new Array(d);function z(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function L(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function N(e){return e<256?O[e]:O[256+(e>>>7)]}function M(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function j(e,t,n){e.bi_valid>g-n?(e.bi_buf|=t<<e.bi_valid&65535,M(e,e.bi_buf),e.bi_buf=t>>g-e.bi_valid,e.bi_valid+=n-g):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function F(e,t,n){j(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function U(e,t,n){var r,i,o=new Array(p+1),a=0;for(r=1;r<=p;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=B(o[s]++,s))}}function W(e){var t;for(t=0;t<c;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<f;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*y]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function q(e){8<e.bi_valid?M(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function H(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&V(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!V(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function Q(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?F(e,i,t):(F(e,(o=A[i])+l+1,t),0!==(a=k[o])&&j(e,i-=T[o],a),F(e,o=N(--r),n),0!==(a=S[o])&&j(e,r-=D[o],a)),s<e.last_lit;);F(e,y,t)}function $(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=h,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)H(e,o,n);for(i=u;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],H(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,H(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,g=t.stat_desc.extra_base,m=t.stat_desc.max_length,y=0;for(o=0;o<=p;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<h;n++)m<(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)&&(o=m,y++),u[2*r+1]=o,l<r||(e.bl_count[o]++,a=0,g<=r&&(a=f[r-g]),s=u[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==y){do{for(o=m-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[m]--,y-=2}while(0<y);for(o=m;0!==o;o--)for(r=e.bl_count[o];0!==r;)l<(i=e.heap[--n])||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(e,t),U(o,l,e.bl_count)}function K(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*v]++):s<=10?e.bl_tree[2*b]++:e.bl_tree[2*w]++,o=i,l=(s=0)===a?(u=138,3):i===a?(u=6,3):(u=7,4))}function G(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<l)for(;F(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==o&&(F(e,i,e.bl_tree),s--),F(e,v,e.bl_tree),j(e,s-3,2)):s<=10?(F(e,b,e.bl_tree),j(e,s-3,3)):(F(e,w,e.bl_tree),j(e,s-11,7));o=i,l=(s=0)===a?(u=138,3):i===a?(u=6,3):(u=7,4)}}a(D);var Z=!1;function Y(e,t,n,i){j(e,(s<<1)+(i?1:0),3),function(e,t,n,i){q(e),i&&(M(e,n),M(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){Z||(function(){var e,t,n,r,i,o=new Array(p+1);for(r=n=0;r<u-1;r++)for(T[r]=n,e=0;e<1<<k[r];e++)A[n++]=r;for(A[n-1]=r,r=i=0;r<16;r++)for(D[r]=i,e=0;e<1<<S[r];e++)O[i++]=r;for(i>>=7;r<d;r++)for(D[r]=i<<7,e=0;e<1<<S[r]-7;e++)O[256+i++]=r;for(t=0;t<=p;t++)o[t]=0;for(e=0;e<=143;)x[2*e+1]=8,e++,o[8]++;for(;e<=255;)x[2*e+1]=9,e++,o[9]++;for(;e<=279;)x[2*e+1]=7,e++,o[7]++;for(;e<=287;)x[2*e+1]=8,e++,o[8]++;for(U(x,c+1,o),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);I=new z(x,k,l+1,c,p),R=new z(E,S,0,d,p),P=new z(new Array(0),_,0,f,m)}(),Z=!0),e.l_desc=new L(e.dyn_ltree,I),e.d_desc=new L(e.dyn_dtree,R),e.bl_desc=new L(e.bl_tree,P),e.bi_buf=0,e.bi_valid=0,W(e)},n._tr_stored_block=Y,n._tr_flush_block=function(e,t,n,r){var a,s,u=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<l;t++)if(0!==e.dyn_ltree[2*t])return o;return i}(e)),$(e,e.l_desc),$(e,e.d_desc),u=function(e){var t;for(K(e,e.dyn_ltree,e.l_desc.max_code),K(e,e.dyn_dtree,e.d_desc.max_code),$(e,e.bl_desc),t=f-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=a&&(a=s)):a=s=n+5,n+4<=a&&-1!==t?Y(e,t,n,r):4===e.strategy||s===a?(j(e,2+(r?1:0),3),Q(e,x,E)):(j(e,4+(r?1:0),3),function(e,t,n,r){var i;for(j(e,t-257,5),j(e,n-1,5),j(e,r-4,4),i=0;i<r;i++)j(e,e.bl_tree[2*C[i]+1],3);G(e,e.dyn_ltree,t-1),G(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),Q(e,e.dyn_ltree,e.dyn_dtree)),W(e),r&&q(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(A[n]+l+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){j(e,2,3),F(e,y,x),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var n,r,o,a,s=1,u={},l=!1,c=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,n="[object process]"==={}.toString.call(e.process)?function(e){i.nextTick(function(){h(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){o.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(h,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return u[s]=i,n(s),s++},d.clearImmediate=f}function f(e){delete u[e]}function h(e){if(l)setTimeout(h,0,e);else{var n=u[e];if(n){l=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{f(e),l=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},42704:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],l=!1,c=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},41208:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82284),i=n(28776);const o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=o.has(t);if((0,i.Ay)(!u,"Warning: There may be circular references"),u)return!1;if(t===a)return!0;if(n&&s>1)return!1;o.add(t);var l=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var c=0;c<t.length;c++)if(!e(t[c],a[c],l))return!1;return!0}if(t&&a&&"object"===(0,r.A)(t)&&"object"===(0,r.A)(a)){var d=Object.keys(t);return d.length===Object.keys(a).length&&d.every(function(n){return e(t[n],a[n],l)})}return!1}(e,t)}},95761:(e,t,n)=>{"use strict";var r=n(25366),i=n(71076);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function u(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function g(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){m[e]=new g(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){m[e]=new g(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){m[e]=new g(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){m[e]=new g(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){m[e]=new g(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)});var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=m.hasOwnProperty(t)?m[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(y,v);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)}),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)});var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),S=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),O=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var z=Symbol.iterator;function L(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=z&&e[z]||e["@@iterator"])?e:null}var N,M=Object.assign;function j(e){if(void 0===N)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var F=!1;function B(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var i=l.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var u="\n"+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function U(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case S:return"Portal";case x:return"Profiler";case C:return"StrictMode";case T:return"Suspense";case I:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Y(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function oe(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ce(e,t)})}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach(function(e){pe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]})});var ye=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,_e=null,Ce=null;function xe(e){if(e=bi(e)){if("function"!==typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=ki(t),Se(e.stateNode,e.type,t))}}function Ee(e){_e?Ce?Ce.push(e):Ce=[e]:_e=e}function Oe(){if(_e){var e=_e,t=Ce;if(Ce=_e=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Ae(e,t){return e(t)}function Te(){}var Ie=!1;function Re(e,t,n){if(Ie)return e(t,n);Ie=!0;try{return Ae(e,t,n)}finally{Ie=!1,(null!==_e||null!==Ce)&&(Te(),Oe())}}function Pe(e,t){var n=e.stateNode;if(null===n)return null;var r=ki(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(c)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){De=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(ce){De=!1}function Le(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var Ne=!1,Me=null,je=!1,Fe=null,Be={onError:function(e){Ne=!0,Me=e}};function Ue(e,t,n,r,i,o,a,s,u){Ne=!1,Me=null,Le.apply(Be,arguments)}function We(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(We(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Ve(i),e;if(a===r)return Ve(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=a;break}if(u===r){s=!0,r=i,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=i;break}if(u===r){s=!0,r=a,n=i;break}u=u.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var $e=i.unstable_scheduleCallback,Ke=i.unstable_cancelCallback,Ge=i.unstable_shouldYield,Ze=i.unstable_requestPaint,Ye=i.unstable_now,Je=i.unstable_getCurrentPriorityLevel,Xe=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ut|0)|0},st=Math.log,ut=Math.LN2;var lt=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=dt(s):0!==(o&=a)&&(r=dt(o))}else 0!==(a=n&~i)?r=dt(a):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=lt;return 0===(4194240&(lt<<=1))&&(lt=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var kt,St,_t,Ct,xt,Et=!1,Ot=[],At=null,Tt=null,It=null,Rt=new Map,Pt=new Map,Dt=[],zt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":It=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function Nt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Mt(e){var t=vi(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void xt(e.priority,function(){_t(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){jt(e)&&n.delete(t)}function Bt(){Et=!1,null!==At&&jt(At)&&(At=null),null!==Tt&&jt(Tt)&&(Tt=null),null!==It&&jt(It)&&(It=null),Rt.forEach(Ft),Pt.forEach(Ft)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Bt)))}function Wt(e){function t(t){return Ut(t,e)}if(0<Ot.length){Ut(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&Ut(At,e),null!==Tt&&Ut(Tt,e),null!==It&&Ut(It,e),Rt.forEach(t),Pt.forEach(t),n=0;n<Dt.length;n++)(r=Dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&null===(n=Dt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Dt.shift()}var qt=w.ReactCurrentBatchConfig,Vt=!0;function Ht(e,t,n,r){var i=bt,o=qt.transition;qt.transition=null;try{bt=1,$t(e,t,n,r)}finally{bt=i,qt.transition=o}}function Qt(e,t,n,r){var i=bt,o=qt.transition;qt.transition=null;try{bt=4,$t(e,t,n,r)}finally{bt=i,qt.transition=o}}function $t(e,t,n,r){if(Vt){var i=Gt(e,t,n,r);if(null===i)Vr(e,t,r,Kt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return At=Nt(At,e,t,n,r,i),!0;case"dragenter":return Tt=Nt(Tt,e,t,n,r,i),!0;case"mouseover":return It=Nt(It,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Rt.set(o,Nt(Rt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Pt.set(o,Nt(Pt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<zt.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&kt(o),null===(o=Gt(e,t,n,r))&&Vr(e,t,r,Kt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Kt=null;function Gt(e,t,n,r){if(Kt=null,null!==(e=vi(e=ke(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Jt,r=n.length,i="value"in Yt?Yt.value:Yt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Xt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,un,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(ln),dn=M({},ln,{view:0,detail:0}),fn=on(dn),hn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,sn=e.screenY-un.screenY):sn=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),gn=on(M({},hn,{dataTransfer:0})),mn=on(M({},dn,{relatedTarget:0})),yn=on(M({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=M({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(vn),wn=on(M({},ln,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function xn(){return Cn}var En=M({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=on(En),An=on(M({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),In=on(M({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=M({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=on(Rn),Dn=[9,13,27,32],zn=c&&"CompositionEvent"in window,Ln=null;c&&"documentMode"in document&&(Ln=document.documentMode);var Nn=c&&"TextEvent"in window&&!Ln,Mn=c&&(!zn||Ln&&8<Ln&&11>=Ln),jn=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Hn(e,t,n,r){Ee(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,$n=null;function Kn(e){jr(e,0)}function Gn(e){if($(wi(e)))return e}function Zn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Jn;if(c){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"===typeof er.oninput}Jn=Xn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Qn&&(Qn.detachEvent("onpropertychange",nr),$n=Qn=null)}function nr(e){if("value"===e.propertyName&&Gn($n)){var t=[];Hn(t,$n,e,ke(e)),Re(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),$n=n,(Qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn($n)}function or(e,t){if("click"===e)return Gn(t)}function ar(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=cr(n,o);var a=cr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==K(r)||("selectionStart"in(r=mr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},_r={},Cr={};function xr(e){if(_r[e])return _r[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return _r[e]=n[t];return e}c&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Er=xr("animationend"),Or=xr("animationiteration"),Ar=xr("animationstart"),Tr=xr("transitionend"),Ir=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Pr(e,t){Ir.set(e,t),u(t,[e])}for(var Dr=0;Dr<Rr.length;Dr++){var zr=Rr[Dr];Pr(zr.toLowerCase(),"on"+(zr[0].toUpperCase()+zr.slice(1)))}Pr(Er,"onAnimationEnd"),Pr(Or,"onAnimationIteration"),Pr(Ar,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(Tr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,u,l){if(Ue.apply(this,arguments),Ne){if(!Ne)throw Error(o(198));var c=Me;Ne=!1,Me=null,je||(je=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function jr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;Mr(i,s,l),o=u}else for(a=0;a<r.length;a++){if(u=(s=r[a]).instance,l=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;Mr(i,s,l),o=u}}}if(je)throw e=Fe,je=!1,Fe=null,e}function Fr(e,t){var n=t[gi];void 0===n&&(n=t[gi]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Ur]){e[Ur]=!0,a.forEach(function(t){"selectionchange"!==t&&(Nr.has(t)||Br(t,!1,e),Br(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Zt(t)){case 1:var i=Ht;break;case 4:i=Qt;break;default:i=$t}n=i.bind(null,t,n,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(u=a.tag)||6===u){r=o=a;continue e}s=s.parentNode}}r=r.return}Re(function(){var r=o,i=ke(n),a=[];e:{var s=Ir.get(e);if(void 0!==s){var u=cn,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=On;break;case"focusin":l="focus",u=mn;break;case"focusout":l="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Tn;break;case Er:case Or:case Ar:u=yn;break;case Tr:u=In;break;case"scroll":u=fn;break;case"wheel":u=Pn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=An}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var g=(h=p).stateNode;if(5===h.tag&&null!==g&&(h=g,null!==f&&(null!=(g=Pe(p,f))&&c.push(Hr(p,g,h)))),d)break;p=p.return}0<c.length&&(s=new u(s,l,null,n,i),a.push({event:s,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(l=n.relatedTarget||n.fromElement)||!vi(l)&&!l[pi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(l=(l=n.relatedTarget||n.toElement)?vi(l):null)&&(l!==(d=We(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(u=null,l=r),u!==l)){if(c=pn,g="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=An,g="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==u?s:wi(u),h=null==l?s:wi(l),(s=new c(g,p+"leave",u,n,i)).target=d,s.relatedTarget=h,g=null,vi(i)===r&&((c=new c(f,p+"enter",l,n,i)).target=h,c.relatedTarget=d,g=c),d=g,u&&l)e:{for(f=l,p=0,h=c=u;h;h=$r(h))p++;for(h=0,g=f;g;g=$r(g))h++;for(;0<p-h;)c=$r(c),p--;for(;0<h-p;)f=$r(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=$r(c),f=$r(f)}c=null}else c=null;null!==u&&Kr(a,s,u,c,!1),null!==l&&null!==d&&Kr(a,d,l,c,!0)}if("select"===(u=(s=r?wi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var m=Zn;else if(Vn(s))if(Yn)m=ar;else{m=ir;var y=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Hn(a,m,n,i):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?wi(r):window,e){case"focusin":(Vn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,vr=null);break;case"focusout":vr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(a,n,i)}var v;if(zn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wn&&(v=en()):(Jt="value"in(Yt=i)?Yt.value:Yt.textContent,Wn=!0)),0<(y=Qr(r,b)).length&&(b=new wn(b,e,null,n,i),a.push({event:b,listeners:y}),v?b.data=v:null!==(v=Un(n))&&(b.data=v))),(v=Nn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Fn=!0,jn);case"textInput":return(e=t.data)===jn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!zn&&Bn(e,t)?(e=en(),Xt=Jt=Yt=null,Wn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Qr(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v))}jr(a,t)})}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Pe(e,n))&&r.unshift(Hr(e,o,i)),null!=(o=Pe(e,t))&&r.push(Hr(e,o,i))),e=e.return}return r}function $r(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==l&&(s=l,i?null!=(u=Pe(n,o))&&a.unshift(Hr(n,u,s)):i||null!=(u=Pe(n,o))&&a.push(Hr(n,u,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Gr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Gr,"\n").replace(Zr,"")}function Jr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(o(425))}function Xr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,oi="function"===typeof Promise?Promise:void 0,ai="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout(function(){throw e})}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Wt(t)}function li(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),fi="__reactFiber$"+di,hi="__reactProps$"+di,pi="__reactContainer$"+di,gi="__reactEvents$"+di,mi="__reactListeners$"+di,yi="__reactHandles$"+di;function vi(e){var t=e[fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[fi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[fi])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[fi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ki(e){return e[hi]||null}var Si=[],_i=-1;function Ci(e){return{current:e}}function xi(e){0>_i||(e.current=Si[_i],Si[_i]=null,_i--)}function Ei(e,t){_i++,Si[_i]=e.current,e.current=t}var Oi={},Ai=Ci(Oi),Ti=Ci(!1),Ii=Oi;function Ri(e,t){var n=e.type.contextTypes;if(!n)return Oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Di(){xi(Ti),xi(Ai)}function zi(e,t,n){if(Ai.current!==Oi)throw Error(o(168));Ei(Ai,t),Ei(Ti,n)}function Li(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,q(e)||"Unknown",i));return M({},n,r)}function Ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oi,Ii=Ai.current,Ei(Ai,e),Ei(Ti,Ti.current),!0}function Mi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Li(e,t,Ii),r.__reactInternalMemoizedMergedChildContext=e,xi(Ti),xi(Ai),Ei(Ai,e)):xi(Ti),Ei(Ti,n)}var ji=null,Fi=!1,Bi=!1;function Ui(e){null===ji?ji=[e]:ji.push(e)}function Wi(){if(!Bi&&null!==ji){Bi=!0;var e=0,t=bt;try{var n=ji;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}ji=null,Fi=!1}catch(i){throw null!==ji&&(ji=ji.slice(e+1)),$e(Xe,Wi),i}finally{bt=t,Bi=!1}}return null}var qi=[],Vi=0,Hi=null,Qi=0,$i=[],Ki=0,Gi=null,Zi=1,Yi="";function Ji(e,t){qi[Vi++]=Qi,qi[Vi++]=Hi,Hi=e,Qi=t}function Xi(e,t,n){$i[Ki++]=Zi,$i[Ki++]=Yi,$i[Ki++]=Gi,Gi=e;var r=Zi;e=Yi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Zi=1<<32-at(t)+i|n<<i|r,Yi=o+e}else Zi=1<<o|n<<i|r,Yi=e}function eo(e){null!==e.return&&(Ji(e,1),Xi(e,1,0))}function to(e){for(;e===Hi;)Hi=qi[--Vi],qi[Vi]=null,Qi=qi[--Vi],qi[Vi]=null;for(;e===Gi;)Gi=$i[--Ki],$i[Ki]=null,Yi=$i[--Ki],$i[Ki]=null,Zi=$i[--Ki],$i[Ki]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Il(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=li(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Gi?{id:Zi,overflow:Yi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Il(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function lo(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(uo(e))throw Error(o(418));t=li(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return co(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw ho(),Error(o(418));for(;t;)ao(e,t),t=li(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=li(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?li(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=li(e.nextSibling)}function po(){ro=no=null,io=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=w.ReactCurrentBatchConfig;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function vo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Pl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Nl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var o=n.type;return o===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===P&&bo(o)===t.type)?((r=i(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Dl(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ml(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=zl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Nl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Dl(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case S:return(t=Ml(t,e.mode,n)).return=e,t;case P:return f(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=zl(t,e.mode,n,null)).return=e,t;vo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===i?l(e,t,n,r):null;case S:return n.key===i?c(e,t,n,r):null;case P:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||L(n))return null!==i?null:d(e,t,n,r,null);vo(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case P:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||L(r))return d(t,e=e.get(n)||null,r,i,null);vo(t,r)}return null}function g(i,o,s,u){for(var l=null,c=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var y=h(i,d,s[g],u);if(null===y){null===d&&(d=m);break}e&&d&&null===y.alternate&&t(i,d),o=a(y,o,g),null===c?l=y:c.sibling=y,c=y,d=m}if(g===s.length)return n(i,d),io&&Ji(i,g),l;if(null===d){for(;g<s.length;g++)null!==(d=f(i,s[g],u))&&(o=a(d,o,g),null===c?l=d:c.sibling=d,c=d);return io&&Ji(i,g),l}for(d=r(i,d);g<s.length;g++)null!==(m=p(d,i,g,s[g],u))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=a(m,o,g),null===c?l=m:c.sibling=m,c=m);return e&&d.forEach(function(e){return t(i,e)}),io&&Ji(i,g),l}function m(i,s,u,l){var c=L(u);if("function"!==typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var d=c=null,g=s,m=s=0,y=null,v=u.next();null!==g&&!v.done;m++,v=u.next()){g.index>m?(y=g,g=null):y=g.sibling;var b=h(i,g,v.value,l);if(null===b){null===g&&(g=y);break}e&&g&&null===b.alternate&&t(i,g),s=a(b,s,m),null===d?c=b:d.sibling=b,d=b,g=y}if(v.done)return n(i,g),io&&Ji(i,m),c;if(null===g){for(;!v.done;m++,v=u.next())null!==(v=f(i,v.value,l))&&(s=a(v,s,m),null===d?c=v:d.sibling=v,d=v);return io&&Ji(i,m),c}for(g=r(i,g);!v.done;m++,v=u.next())null!==(v=p(g,i,m,v.value,l))&&(e&&null!==v.alternate&&g.delete(null===v.key?m:v.key),s=a(v,s,m),null===d?c=v:d.sibling=v,d=v);return e&&g.forEach(function(e){return t(i,e)}),io&&Ji(i,m),c}return function e(r,o,a,u){if("object"===typeof a&&null!==a&&a.type===_&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case k:e:{for(var l=a.key,c=o;null!==c;){if(c.key===l){if((l=a.type)===_){if(7===c.tag){n(r,c.sibling),(o=i(c,a.props.children)).return=r,r=o;break e}}else if(c.elementType===l||"object"===typeof l&&null!==l&&l.$$typeof===P&&bo(l)===c.type){n(r,c.sibling),(o=i(c,a.props)).ref=yo(r,c,a),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===_?((o=zl(a.props.children,r.mode,u,a.key)).return=r,r=o):((u=Dl(a.type,a.key,a.props,null,r.mode,u)).ref=yo(r,o,a),u.return=r,r=u)}return s(r);case S:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ml(a,r.mode,u)).return=r,r=o}return s(r);case P:return e(r,o,(c=a._init)(a._payload),u)}if(te(a))return g(r,o,a,u);if(L(a))return m(r,o,a,u);vo(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Nl(a,r.mode,u)).return=r,r=o),s(r)):n(r,o)}}var ko=wo(!0),So=wo(!1),_o=Ci(null),Co=null,xo=null,Eo=null;function Oo(){Eo=xo=Co=null}function Ao(e){var t=_o.current;xi(_o),e._currentValue=t}function To(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Io(e,t){Co=e,Eo=xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(vs=!0),e.firstContext=null)}function Ro(e){var t=e._currentValue;if(Eo!==e)if(e={context:e,memoizedValue:t,next:null},null===xo){if(null===Co)throw Error(o(308));xo=e,Co.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var Po=null;function Do(e){null===Po?Po=[e]:Po.push(e)}function zo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Do(t)):(n.next=i.next,i.next=n),t.interleaved=n,Lo(e,r)}function Lo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var No=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ou)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Lo(e,n)}return null===(i=r.interleaved)?(t.next=t,Do(r)):(t.next=i.next,i.next=t),r.interleaved=t,Lo(e,n)}function Uo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Wo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qo(e,t,n,r){var i=e.updateQueue;No=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,l=u.next;u.next=null,null===a?o=l:a.next=l,a=u;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(null!==o){var d=i.baseState;for(a=0,c=l=u=null,s=o;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,g=s;switch(f=t,h=n,g.tag){case 1:if("function"===typeof(p=g.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=g.payload)?p.call(h,d,f):p)||void 0===f)break e;d=M({},d,f);break e;case 2:No=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(l=c=h,u=d):c=c.next=h,a|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(u=d),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Lu|=a,e.lanes=a,e.memoizedState=d}}function Vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var Ho={},Qo=Ci(Ho),$o=Ci(Ho),Ko=Ci(Ho);function Go(e){if(e===Ho)throw Error(o(174));return e}function Zo(e,t){switch(Ei(Ko,t),Ei($o,e),Ei(Qo,Ho),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}xi(Qo),Ei(Qo,t)}function Yo(){xi(Qo),xi($o),xi(Ko)}function Jo(e){Go(Ko.current);var t=Go(Qo.current),n=ue(t,e.type);t!==n&&(Ei($o,e),Ei(Qo,n))}function Xo(e){$o.current===e&&(xi(Qo),xi($o))}var ea=Ci(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var ia=w.ReactCurrentDispatcher,oa=w.ReactCurrentBatchConfig,aa=0,sa=null,ua=null,la=null,ca=!1,da=!1,fa=0,ha=0;function pa(){throw Error(o(321))}function ga(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ma(e,t,n,r,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Xa:es,e=n(r,i),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(o(301));a+=1,la=ua=null,t.updateQueue=null,ia.current=ts,e=n(r,i)}while(da)}if(ia.current=Ja,t=null!==ua&&null!==ua.next,aa=0,la=ua=sa=null,ca=!1,t)throw Error(o(300));return e}function ya(){var e=0!==fa;return fa=0,e}function va(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?sa.memoizedState=la=e:la=la.next=e,la}function ba(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===la?sa.memoizedState:la.next;if(null!==t)la=t,ua=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===la?sa.memoizedState=la=e:la=la.next=e}return la}function wa(e,t){return"function"===typeof t?t(e):t}function ka(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ua,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var u=s=null,l=null,c=a;do{var d=c.lane;if((aa&d)===d)null!==l&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===l?(u=l=f,s=r):l=l.next=f,sa.lanes|=d,Lu|=d}c=c.next}while(null!==c&&c!==a);null===l?s=r:l.next=u,sr(r,t.memoizedState)||(vs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Lu|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sa(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(vs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function _a(){}function Ca(e,t){var n=sa,r=ba(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,vs=!0),r=r.queue,Na(Oa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==la&&1&la.memoizedState.tag){if(n.flags|=2048,Ra(9,Ea.bind(null,n,r,i,t),void 0,null),null===Au)throw Error(o(349));0!==(30&aa)||xa(n,t,i)}return i}function xa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ea(e,t,n,r){t.value=n,t.getSnapshot=r,Aa(t)&&Ta(e)}function Oa(e,t,n){return n(function(){Aa(t)&&Ta(e)})}function Aa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ta(e){var t=Lo(e,1);null!==t&&tl(t,e,1,-1)}function Ia(e){var t=va();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ka.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Pa(){return ba().memoizedState}function Da(e,t,n,r){var i=va();sa.flags|=e,i.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function za(e,t,n,r){var i=ba();r=void 0===r?null:r;var o=void 0;if(null!==ua){var a=ua.memoizedState;if(o=a.destroy,null!==r&&ga(r,a.deps))return void(i.memoizedState=Ra(t,n,o,r))}sa.flags|=e,i.memoizedState=Ra(1|t,n,o,r)}function La(e,t){return Da(8390656,8,e,t)}function Na(e,t){return za(2048,8,e,t)}function Ma(e,t){return za(4,2,e,t)}function ja(e,t){return za(4,4,e,t)}function Fa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,za(4,4,Fa.bind(null,t,e),n)}function Ua(){}function Wa(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ga(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qa(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ga(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Va(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=n):(sr(n,t)||(n=gt(),sa.lanes|=n,Lu|=n,e.baseState=!0),t)}function Ha(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{bt=n,oa.transition=r}}function Qa(){return ba().memoizedState}function $a(e,t,n){var r=el(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ga(e))Za(t,n);else if(null!==(n=zo(e,t,n,r))){tl(n,e,r,Xu()),Ya(n,t,r)}}function Ka(e,t,n){var r=el(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ga(e))Za(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var u=t.interleaved;return null===u?(i.next=i,Do(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(l){}null!==(n=zo(e,t,i,r))&&(tl(n,e,r,i=Xu()),Ya(n,t,r))}}function Ga(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Za(e,t){da=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ya(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Ja={readContext:Ro,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Xa={readContext:Ro,useCallback:function(e,t){return va().memoizedState=[e,void 0===t?null:t],e},useContext:Ro,useEffect:La,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Da(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Da(4194308,4,e,t)},useInsertionEffect:function(e,t){return Da(4,2,e,t)},useMemo:function(e,t){var n=va();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=va();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$a.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},va().memoizedState=e},useState:Ia,useDebugValue:Ua,useDeferredValue:function(e){return va().memoizedState=e},useTransition:function(){var e=Ia(!1),t=e[0];return e=Ha.bind(null,e[1]),va().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,i=va();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Au)throw Error(o(349));0!==(30&aa)||xa(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,La(Oa.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,Ea.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=va(),t=Au.identifierPrefix;if(io){var n=Yi;t=":"+t+"R"+(n=(Zi&~(1<<32-at(Zi)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ro,useCallback:Wa,useContext:Ro,useEffect:Na,useImperativeHandle:Ba,useInsertionEffect:Ma,useLayoutEffect:ja,useMemo:qa,useReducer:ka,useRef:Pa,useState:function(){return ka(wa)},useDebugValue:Ua,useDeferredValue:function(e){return Va(ba(),ua.memoizedState,e)},useTransition:function(){return[ka(wa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:Ca,useId:Qa,unstable_isNewReconciler:!1},ts={readContext:Ro,useCallback:Wa,useContext:Ro,useEffect:Na,useImperativeHandle:Ba,useInsertionEffect:Ma,useLayoutEffect:ja,useMemo:qa,useReducer:Sa,useRef:Pa,useState:function(){return Sa(wa)},useDebugValue:Ua,useDeferredValue:function(e){var t=ba();return null===ua?t.memoizedState=e:Va(t,ua.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:Ca,useId:Qa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xu(),i=el(e),o=Fo(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(tl(t,e,i,r),Uo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xu(),i=el(e),o=Fo(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(tl(t,e,i,r),Uo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xu(),r=el(e),i=Fo(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Bo(e,i,r))&&(tl(t,e,r,n),Uo(t,e,r))}};function os(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,o))}function as(e,t,n){var r=!1,i=Oi,o=t.contextType;return"object"===typeof o&&null!==o?o=Ro(o):(i=Pi(t)?Ii:Ai.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ri(e,i):Oi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function us(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Mo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=Ro(o):(o=Pi(t)?Ii:Ai.current,i.context=Ri(e,o)),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),qo(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}var ds="function"===typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Vu=r)},n}function hs(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ps(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ds;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Cl.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ms(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var ys=w.ReactCurrentOwner,vs=!1;function bs(e,t,n,r){t.child=null===e?So(t,null,n,r):ko(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var o=t.ref;return Io(t,i),r=ma(e,t,n,r,o,i),n=ya(),null===e||vs?(io&&n&&eo(t),t.flags|=1,bs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qs(e,t,i))}function ks(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||Rl(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Dl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(a,r)&&e.ref===t.ref)return qs(e,t,i)}return t.flags|=1,(e=Pl(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(vs=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,qs(e,t,i);0!==(131072&e.flags)&&(vs=!0)}}return xs(e,t,n,r,i)}function _s(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ei(Pu,Ru),Ru|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ei(Pu,Ru),Ru|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ei(Pu,Ru),Ru|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ei(Pu,Ru),Ru|=r;return bs(e,t,i,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xs(e,t,n,r,i){var o=Pi(n)?Ii:Ai.current;return o=Ri(t,o),Io(t,i),n=ma(e,t,n,r,o,i),r=ya(),null===e||vs?(io&&r&&eo(t),t.flags|=1,bs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,qs(e,t,i))}function Es(e,t,n,r,i){if(Pi(n)){var o=!0;Ni(t)}else o=!1;if(Io(t,i),null===t.stateNode)Ws(e,t),as(t,n,r),us(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"===typeof l&&null!==l?l=Ro(l):l=Ri(t,l=Pi(n)?Ii:Ai.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||u!==l)&&ss(t,a,r,l),No=!1;var f=t.memoizedState;a.state=f,qo(t,r,a,i),u=t.memoizedState,s!==r||f!==u||Ti.current||No?("function"===typeof c&&(rs(t,n,c,r),u=t.memoizedState),(s=No||os(t,n,s,r,f,u,l))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,jo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),a.props=l,d=t.pendingProps,f=a.context,"object"===typeof(u=n.contextType)&&null!==u?u=Ro(u):u=Ri(t,u=Pi(n)?Ii:Ai.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==u)&&ss(t,a,r,u),No=!1,f=t.memoizedState,a.state=f,qo(t,r,a,i);var p=t.memoizedState;s!==d||f!==p||Ti.current||No?("function"===typeof h&&(rs(t,n,h,r),p=t.memoizedState),(l=No||os(t,n,l,r,f,p,u)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,u)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=u,r=l):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,o,i)}function Os(e,t,n,r,i,o){Cs(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&Mi(t,n,!1),qs(e,t,o);r=t.stateNode,ys.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=ko(t,e.child,null,o),t.child=ko(t,null,s,o)):bs(e,t,s,o),t.memoizedState=r.state,i&&Mi(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?zi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zi(0,t.context,!1),Zo(e,t.containerInfo)}function Ts(e,t,n,r,i){return po(),go(i),t.flags|=256,bs(e,t,n,r),t.child}var Is,Rs,Ps,Ds,zs={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,n){var r,i=t.pendingProps,a=ea.current,s=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ei(ea,1&a),null===e)return lo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=i.children,e=i.fallback,s?(i=t.mode,s=t.child,u={mode:"hidden",children:u},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=u):s=Ll(u,i,0,null),e=zl(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=zs,e):Ms(t,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,js(e,t,s,r=cs(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Ll({mode:"visible",children:r.children},i,0,null),(a=zl(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&ko(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=zs,a);if(0===(1&t.mode))return js(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var u=r.dgst;return r=u,js(e,t,s,r=cs(a=Error(o(419)),r,void 0))}if(u=0!==(s&e.childLanes),vs||u){if(null!==(r=Au)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Lo(e,i),tl(r,e,i,-1))}return pl(),js(e,t,s,r=cs(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=El.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=li(i.nextSibling),no=t,io=!0,oo=null,null!==e&&($i[Ki++]=Zi,$i[Ki++]=Yi,$i[Ki++]=Gi,Zi=e.id,Yi=e.overflow,Gi=t),t=Ms(t,r.children),t.flags|=4096,t)}(e,t,u,i,r,a,n);if(s){s=i.fallback,u=t.mode,r=(a=e.child).sibling;var l={mode:"hidden",children:i.children};return 0===(1&u)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null):(i=Pl(a,l)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Pl(r,s):(s=zl(s,u,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,u=null===(u=e.child.memoizedState)?Ls(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~n,t.memoizedState=zs,i}return e=(s=e.child).sibling,i=Pl(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ms(e,t){return(t=Ll({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function js(e,t,n,r){return null!==r&&go(r),ko(t,e.child,null,n),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),To(e.return,t,n)}function Bs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Us(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(bs(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ei(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Bs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Bs(t,!0,n,null,o);break;case"together":Bs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Lu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Pl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Hs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hs(t),null;case 1:case 17:return Pi(t.type)&&Di(),Hs(t),null;case 3:return r=t.stateNode,Yo(),xi(Ti),xi(Ai),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(ol(oo),oo=null))),Rs(e,t),Hs(t),null;case 5:Xo(t);var i=Go(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Ps(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Hs(t),null}if(e=Go(Qo.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fi]=t,r[hi]=a,e=0!==(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)Fr(Lr[i],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Z(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":ie(r,a),Fr("invalid",r)}for(var u in ve(n,a),i=null,a)if(a.hasOwnProperty(u)){var l=a[u];"children"===u?"string"===typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,l,e),i=["children",l]):"number"===typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,l,e),i=["children",""+l]):s.hasOwnProperty(u)&&null!=l&&"onScroll"===u&&Fr("scroll",r)}switch(n){case"input":Q(r),X(r,a,!0);break;case"textarea":Q(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Xr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[fi]=t,e[hi]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),i=r;break;case"iframe":case"object":case"embed":Fr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)Fr(Lr[i],e);i=r;break;case"source":Fr("error",e),i=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=r;break;case"details":Fr("toggle",e),i=r;break;case"input":Z(e,r),i=G(e,r),Fr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=M({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Fr("invalid",e)}for(a in ve(n,i),l=i)if(l.hasOwnProperty(a)){var c=l[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Fr("scroll",e):null!=c&&b(e,a,c,u))}switch(n){case"input":Q(e),X(e,r,!1);break;case"textarea":Q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Hs(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=Go(Ko.current),Go(Qo.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fi]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Jr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fi]=t,t.stateNode=r}return Hs(t),null;case 13:if(xi(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))ho(),po(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[fi]=t}else po(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Hs(t),a=!1}else null!==oo&&(ol(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Du&&(Du=3):pl())),null!==t.updateQueue&&(t.flags|=4),Hs(t),null);case 4:return Yo(),Rs(e,t),null===e&&Wr(t.stateNode.containerInfo),Hs(t),null;case 10:return Ao(t.type._context),Hs(t),null;case 19:if(xi(ea),null===(a=t.memoizedState))return Hs(t),null;if(r=0!==(128&t.flags),null===(u=a.rendering))if(r)Vs(a,!1);else{if(0!==Du||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ta(e))){for(t.flags|=128,Vs(a,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(u=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,e=u.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ei(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ye()>Uu&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!u.alternate&&!io)return Hs(t),null}else 2*Ye()-a.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=128,r=!0,Vs(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=a.last)?n.sibling=u:t.child=u,a.last=u)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,n=ea.current,Ei(ea,r?1&n|2:1&n),t):(Hs(t),null);case 22:case 23:return cl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ru)&&(Hs(t),6&t.subtreeFlags&&(t.flags|=8192)):Hs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function $s(e,t){switch(to(t),t.tag){case 1:return Pi(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yo(),xi(Ti),xi(Ai),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xo(t),null;case 13:if(xi(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return xi(ea),null;case 4:return Yo(),null;case 10:return Ao(t.type._context),null;case 22:case 23:return cl(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Rs=function(){},Ps=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Go(Qo.current);var o,a=null;switch(n){case"input":i=G(e,i),r=G(e,r),a=[];break;case"select":i=M({},i,{value:void 0}),r=M({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Xr)}for(c in ve(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var u=i[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var l=r[c];if(u=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&l!==u&&(null!=l||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(c,n)),n=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(a=a||[]).push(c,l)):"children"===c?"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=l&&"onScroll"===c&&Fr("scroll",e),a||u===l||(a=[])):(a=a||[]).push(c,l))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Gs=!1,Zs="function"===typeof WeakSet?WeakSet:Set,Ys=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){_l(e,t,r)}else n.current=null}function Xs(e,t,n){try{n()}catch(r){_l(e,t,r)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&Xs(t,n,o)}i=i.next}while(i!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function iu(e){var t=e.alternate;null!==t&&(e.alternate=null,iu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fi],delete t[hi],delete t[gi],delete t[mi],delete t[yi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ou(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ou(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var lu=null,cu=!1;function du(e,t,n){for(n=n.child;null!==n;)fu(e,t,n),n=n.sibling}function fu(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(s){}switch(n.tag){case 5:Gs||Js(n,t);case 6:var r=lu,i=cu;lu=null,du(e,t,n),cu=i,null!==(lu=r)&&(cu?(e=lu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:null!==lu&&(cu?(e=lu,n=n.stateNode,8===e.nodeType?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),Wt(e)):ui(lu,n.stateNode));break;case 4:r=lu,i=cu,lu=n.stateNode.containerInfo,cu=!0,du(e,t,n),lu=r,cu=i;break;case 0:case 11:case 14:case 15:if(!Gs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&Xs(n,t,a),i=i.next}while(i!==r)}du(e,t,n);break;case 1:if(!Gs&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){_l(n,t,s)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Gs=(r=Gs)||null!==n.memoizedState,du(e,t,n),Gs=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach(function(t){var r=Ol.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function pu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,u=s;e:for(;null!==u;){switch(u.tag){case 5:lu=u.stateNode,cu=!1;break e;case 3:case 4:lu=u.stateNode.containerInfo,cu=!0;break e}u=u.return}if(null===lu)throw Error(o(160));fu(a,s,i),lu=null,cu=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(c){_l(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gu(t,e),t=t.sibling}function gu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pu(t,e),mu(e),4&r){try{tu(3,e,e.return),nu(3,e)}catch(m){_l(e,e.return,m)}try{tu(5,e,e.return)}catch(m){_l(e,e.return,m)}}break;case 1:pu(t,e),mu(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(pu(t,e),mu(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var i=e.stateNode;try{fe(i,"")}catch(m){_l(e,e.return,m)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,u=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===u&&"radio"===a.type&&null!=a.name&&Y(i,a),be(u,s);var c=be(u,a);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];"style"===d?me(i,f):"dangerouslySetInnerHTML"===d?de(i,f):"children"===d?fe(i,f):b(i,d,f,c)}switch(u){case"input":J(i,a);break;case"textarea":oe(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(i,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[hi]=a}catch(m){_l(e,e.return,m)}}break;case 6:if(pu(t,e),mu(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(m){_l(e,e.return,m)}}break;case 3:if(pu(t,e),mu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(m){_l(e,e.return,m)}break;case 4:default:pu(t,e),mu(e);break;case 13:pu(t,e),mu(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Bu=Ye())),4&r&&hu(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Gs=(c=Gs)||d,pu(t,e),Gs=c):pu(t,e),mu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Ys=e,d=e.child;null!==d;){for(f=Ys=d;null!==Ys;){switch(p=(h=Ys).child,h.tag){case 0:case 11:case 14:case 15:tu(4,h,h.return);break;case 1:Js(h,h.return);var g=h.stateNode;if("function"===typeof g.componentWillUnmount){r=h,n=h.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){_l(r,n,m)}}break;case 5:Js(h,h.return);break;case 22:if(null!==h.memoizedState){wu(f);continue}}null!==p?(p.return=h,Ys=p):wu(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{i=f.stateNode,c?"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(u=f.stateNode,s=void 0!==(l=f.memoizedProps.style)&&null!==l&&l.hasOwnProperty("display")?l.display:null,u.style.display=ge("display",s))}catch(m){_l(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){_l(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:pu(t,e),mu(e),4&r&&hu(e);case 21:}}function mu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ou(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(fe(i,""),r.flags&=-33),uu(e,au(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;su(e,au(e),a);break;default:throw Error(o(161))}}catch(s){_l(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yu(e,t,n){Ys=e,vu(e,t,n)}function vu(e,t,n){for(var r=0!==(1&e.mode);null!==Ys;){var i=Ys,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Ks;if(!a){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Gs;s=Ks;var l=Gs;if(Ks=a,(Gs=u)&&!l)for(Ys=i;null!==Ys;)u=(a=Ys).child,22===a.tag&&null!==a.memoizedState?ku(i):null!==u?(u.return=a,Ys=u):ku(i);for(;null!==o;)Ys=o,vu(o,t,n),o=o.sibling;Ys=i,Ks=s,Gs=l}bu(e)}else 0!==(8772&i.subtreeFlags)&&null!==o?(o.return=i,Ys=o):bu(e)}}function bu(e){for(;null!==Ys;){var t=Ys;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Gs||nu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Gs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Vo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Vo(t,s,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(o(163))}Gs||512&t.flags&&ru(t)}catch(h){_l(t,t.return,h)}}if(t===e){Ys=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ys=n;break}Ys=t.return}}function wu(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ys=n;break}Ys=t.return}}function ku(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nu(4,t)}catch(u){_l(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(u){_l(t,i,u)}}var o=t.return;try{ru(t)}catch(u){_l(t,o,u)}break;case 5:var a=t.return;try{ru(t)}catch(u){_l(t,a,u)}}}catch(u){_l(t,t.return,u)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var Su,_u=Math.ceil,Cu=w.ReactCurrentDispatcher,xu=w.ReactCurrentOwner,Eu=w.ReactCurrentBatchConfig,Ou=0,Au=null,Tu=null,Iu=0,Ru=0,Pu=Ci(0),Du=0,zu=null,Lu=0,Nu=0,Mu=0,ju=null,Fu=null,Bu=0,Uu=1/0,Wu=null,qu=!1,Vu=null,Hu=null,Qu=!1,$u=null,Ku=0,Gu=0,Zu=null,Yu=-1,Ju=0;function Xu(){return 0!==(6&Ou)?Ye():-1!==Yu?Yu:Yu=Ye()}function el(e){return 0===(1&e.mode)?1:0!==(2&Ou)&&0!==Iu?Iu&-Iu:null!==mo.transition?(0===Ju&&(Ju=gt()),Ju):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function tl(e,t,n,r){if(50<Gu)throw Gu=0,Zu=null,Error(o(185));yt(e,n,r),0!==(2&Ou)&&e===Au||(e===Au&&(0===(2&Ou)&&(Nu|=n),4===Du&&al(e,Iu)),nl(e,r),1===n&&0===Ou&&0===(1&t.mode)&&(Uu=Ye()+500,Fi&&Wi()))}function nl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,u=i[a];-1===u?0!==(s&n)&&0===(s&r)||(i[a]=ht(s,t)):u<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ft(e,e===Au?Iu:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Fi=!0,Ui(e)}(sl.bind(null,e)):Ui(sl.bind(null,e)),ai(function(){0===(6&Ou)&&Wi()}),n=null;else{switch(wt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Al(n,rl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function rl(e,t){if(Yu=-1,Ju=0,0!==(6&Ou))throw Error(o(327));var n=e.callbackNode;if(kl()&&e.callbackNode!==n)return null;var r=ft(e,e===Au?Iu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gl(e,r);else{t=r;var i=Ou;Ou|=2;var a=hl();for(Au===e&&Iu===t||(Wu=null,Uu=Ye()+500,dl(e,t));;)try{yl();break}catch(u){fl(e,u)}Oo(),Cu.current=a,Ou=i,null!==Tu?t=0:(Au=null,Iu=0,t=Du)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=il(e,i))),1===t)throw n=zu,dl(e,0),al(e,r),nl(e,Ye()),n;if(6===t)al(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=gl(e,r))&&(0!==(a=pt(e))&&(r=a,t=il(e,a))),1===t))throw n=zu,dl(e,0),al(e,r),nl(e,Ye()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wl(e,Fu,Wu);break;case 3:if(al(e,r),(130023424&r)===r&&10<(t=Bu+500-Ye())){if(0!==ft(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Xu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wl.bind(null,e,Fu,Wu),t);break}wl(e,Fu,Wu);break;case 4:if(al(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_u(r/1960))-r)){e.timeoutHandle=ri(wl.bind(null,e,Fu,Wu),r);break}wl(e,Fu,Wu);break;default:throw Error(o(329))}}}return nl(e,Ye()),e.callbackNode===n?rl.bind(null,e):null}function il(e,t){var n=ju;return e.current.memoizedState.isDehydrated&&(dl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=Fu,Fu=n,null!==t&&ol(t)),e}function ol(e){null===Fu?Fu=e:Fu.push.apply(Fu,e)}function al(e,t){for(t&=~Mu,t&=~Nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function sl(e){if(0!==(6&Ou))throw Error(o(327));kl();var t=ft(e,0);if(0===(1&t))return nl(e,Ye()),null;var n=gl(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=il(e,r))}if(1===n)throw n=zu,dl(e,0),al(e,t),nl(e,Ye()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,Fu,Wu),nl(e,Ye()),null}function ul(e,t){var n=Ou;Ou|=1;try{return e(t)}finally{0===(Ou=n)&&(Uu=Ye()+500,Fi&&Wi())}}function ll(e){null!==$u&&0===$u.tag&&0===(6&Ou)&&kl();var t=Ou;Ou|=1;var n=Eu.transition,r=bt;try{if(Eu.transition=null,bt=1,e)return e()}finally{bt=r,Eu.transition=n,0===(6&(Ou=t))&&Wi()}}function cl(){Ru=Pu.current,xi(Pu)}function dl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Tu)for(n=Tu.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Di();break;case 3:Yo(),xi(Ti),xi(Ai),ra();break;case 5:Xo(r);break;case 4:Yo();break;case 13:case 19:xi(ea);break;case 10:Ao(r.type._context);break;case 22:case 23:cl()}n=n.return}if(Au=e,Tu=e=Pl(e.current,null),Iu=Ru=t,Du=0,zu=null,Mu=Nu=Lu=0,Fu=ju=null,null!==Po){for(t=0;t<Po.length;t++)if(null!==(r=(n=Po[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Po=null}return e}function fl(e,t){for(;;){var n=Tu;try{if(Oo(),ia.current=Ja,ca){for(var r=sa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ca=!1}if(aa=0,la=ua=sa=null,da=!1,fa=0,xu.current=null,null===n||null===n.return){Du=1,zu=t,Tu=null;break}e:{var a=e,s=n.return,u=n,l=t;if(t=Iu,u.flags|=32768,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l,d=u,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,ms(p,s,u,0,t),1&p.mode&&ps(a,c,t),l=c;var g=(t=p).updateQueue;if(null===g){var m=new Set;m.add(l),t.updateQueue=m}else g.add(l);break e}if(0===(1&t)){ps(a,c,t),pl();break e}l=Error(o(426))}else if(io&&1&u.mode){var y=gs(s);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),ms(y,s,u,0,t),go(ls(l,u));break e}}a=l=ls(l,u),4!==Du&&(Du=2),null===ju?ju=[a]:ju.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,fs(0,l,t));break e;case 1:u=l;var v=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof v.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Hu||!Hu.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,hs(a,u,t));break e}}a=a.return}while(null!==a)}bl(n)}catch(w){t=w,Tu===n&&null!==n&&(Tu=n=n.return);continue}break}}function hl(){var e=Cu.current;return Cu.current=Ja,null===e?Ja:e}function pl(){0!==Du&&3!==Du&&2!==Du||(Du=4),null===Au||0===(268435455&Lu)&&0===(268435455&Nu)||al(Au,Iu)}function gl(e,t){var n=Ou;Ou|=2;var r=hl();for(Au===e&&Iu===t||(Wu=null,dl(e,t));;)try{ml();break}catch(i){fl(e,i)}if(Oo(),Ou=n,Cu.current=r,null!==Tu)throw Error(o(261));return Au=null,Iu=0,Du}function ml(){for(;null!==Tu;)vl(Tu)}function yl(){for(;null!==Tu&&!Ge();)vl(Tu)}function vl(e){var t=Su(e.alternate,e,Ru);e.memoizedProps=e.pendingProps,null===t?bl(e):Tu=t,xu.current=null}function bl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Qs(n,t,Ru)))return void(Tu=n)}else{if(null!==(n=$s(n,t)))return n.flags&=32767,void(Tu=n);if(null===e)return Du=6,void(Tu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Tu=t);Tu=t=e}while(null!==t);0===Du&&(Du=5)}function wl(e,t,n){var r=bt,i=Eu.transition;try{Eu.transition=null,bt=1,function(e,t,n,r){do{kl()}while(null!==$u);if(0!==(6&Ou))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Au&&(Tu=Au=null,Iu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Qu||(Qu=!0,Al(tt,function(){return kl(),null})),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Eu.transition,Eu.transition=null;var s=bt;bt=1;var u=Ou;Ou|=4,xu.current=null,function(e,t){if(ei=Vt,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(k){n=null;break e}var s=0,u=-1,l=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(u=s+i),f!==a||0!==r&&3!==f.nodeType||(l=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===i&&(u=s),h===a&&++d===r&&(l=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===u||-1===l?null:{start:u,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Vt=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var g=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,y=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:ns(t.type,m),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){_l(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}g=eu,eu=!1}(e,n),gu(n,e),pr(ti),Vt=!!ei,ti=ei=null,e.current=n,yu(n,e,i),Ze(),Ou=u,bt=s,Eu.transition=a}else e.current=n;if(Qu&&(Qu=!1,$u=e,Ku=i),a=e.pendingLanes,0===a&&(Hu=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),nl(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(qu)throw qu=!1,e=Vu,Vu=null,e;0!==(1&Ku)&&0!==e.tag&&kl(),a=e.pendingLanes,0!==(1&a)?e===Zu?Gu++:(Gu=0,Zu=e):Gu=0,Wi()}(e,t,n,r)}finally{Eu.transition=i,bt=r}return null}function kl(){if(null!==$u){var e=wt(Ku),t=Eu.transition,n=bt;try{if(Eu.transition=null,bt=16>e?16:e,null===$u)var r=!1;else{if(e=$u,$u=null,Ku=0,0!==(6&Ou))throw Error(o(331));var i=Ou;for(Ou|=4,Ys=e.current;null!==Ys;){var a=Ys,s=a.child;if(0!==(16&Ys.flags)){var u=a.deletions;if(null!==u){for(var l=0;l<u.length;l++){var c=u[l];for(Ys=c;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:tu(8,d,a)}var f=d.child;if(null!==f)f.return=d,Ys=f;else for(;null!==Ys;){var h=(d=Ys).sibling,p=d.return;if(iu(d),d===c){Ys=null;break}if(null!==h){h.return=p,Ys=h;break}Ys=p}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}Ys=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Ys=s;else e:for(;null!==Ys;){if(0!==(2048&(a=Ys).flags))switch(a.tag){case 0:case 11:case 15:tu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Ys=v;break e}Ys=a.return}}var b=e.current;for(Ys=b;null!==Ys;){var w=(s=Ys).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Ys=w;else e:for(s=b;null!==Ys;){if(0!==(2048&(u=Ys).flags))try{switch(u.tag){case 0:case 11:case 15:nu(9,u)}}catch(S){_l(u,u.return,S)}if(u===s){Ys=null;break e}var k=u.sibling;if(null!==k){k.return=u.return,Ys=k;break e}Ys=u.return}}if(Ou=i,Wi(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(S){}r=!0}return r}finally{bt=n,Eu.transition=t}}return!1}function Sl(e,t,n){e=Bo(e,t=fs(0,t=ls(n,t),1),1),t=Xu(),null!==e&&(yt(e,1,t),nl(e,t))}function _l(e,t,n){if(3===e.tag)Sl(e,e,n);else for(;null!==t;){if(3===t.tag){Sl(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){t=Bo(t,e=hs(t,e=ls(n,e),1),1),e=Xu(),null!==t&&(yt(t,1,e),nl(t,e));break}}t=t.return}}function Cl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Xu(),e.pingedLanes|=e.suspendedLanes&n,Au===e&&(Iu&n)===n&&(4===Du||3===Du&&(130023424&Iu)===Iu&&500>Ye()-Bu?dl(e,0):Mu|=n),nl(e,t)}function xl(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=Xu();null!==(e=Lo(e,t))&&(yt(e,t,n),nl(e,n))}function El(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xl(e,n)}function Ol(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),xl(e,n)}function Al(e,t){return $e(e,t)}function Tl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Il(e,t,n,r){return new Tl(e,t,n,r)}function Rl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pl(e,t){var n=e.alternate;return null===n?((n=Il(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dl(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)Rl(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case _:return zl(n.children,i,a,t);case C:s=8,i|=8;break;case x:return(e=Il(12,n,t,2|i)).elementType=x,e.lanes=a,e;case T:return(e=Il(13,n,t,i)).elementType=T,e.lanes=a,e;case I:return(e=Il(19,n,t,i)).elementType=I,e.lanes=a,e;case D:return Ll(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case O:s=9;break e;case A:s=11;break e;case R:s=14;break e;case P:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Il(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function zl(e,t,n,r){return(e=Il(7,e,r,t)).lanes=n,e}function Ll(e,t,n,r){return(e=Il(22,e,r,t)).elementType=D,e.lanes=n,e.stateNode={isHidden:!1},e}function Nl(e,t,n){return(e=Il(6,e,null,t)).lanes=n,e}function Ml(e,t,n){return(t=Il(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jl(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fl(e,t,n,r,i,o,a,s,u){return e=new jl(e,t,n,s,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Il(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function Bl(e){if(!e)return Oi;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Pi(n))return Li(e,n,t)}return t}function Ul(e,t,n,r,i,o,a,s,u){return(e=Fl(n,r,!0,e,0,o,0,s,u)).context=Bl(null),n=e.current,(o=Fo(r=Xu(),i=el(n))).callback=void 0!==t&&null!==t?t:null,Bo(n,o,i),e.current.lanes=i,yt(e,i,r),nl(e,r),e}function Wl(e,t,n,r){var i=t.current,o=Xu(),a=el(i);return n=Bl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(i,t,a))&&(tl(e,i,a,o),Uo(e,i,a)),a}function ql(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Hl(e,t){Vl(e,t),(e=e.alternate)&&Vl(e,t)}Su=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ti.current)vs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return vs=!1,function(e,t,n){switch(t.tag){case 3:As(t),po();break;case 5:Jo(t);break;case 1:Pi(t.type)&&Ni(t);break;case 4:Zo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ei(_o,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ei(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ns(e,t,n):(Ei(ea,1&ea.current),null!==(e=qs(e,t,n))?e.sibling:null);Ei(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Us(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ei(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,_s(e,t,n)}return qs(e,t,n)}(e,t,n);vs=0!==(131072&e.flags)}else vs=!1,io&&0!==(1048576&t.flags)&&Xi(t,Qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ws(e,t),e=t.pendingProps;var i=Ri(t,Ai.current);Io(t,n),i=ma(null,t,r,e,i,n);var a=ya();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pi(r)?(a=!0,Ni(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Mo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,us(t,r,e,n),t=Os(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),bs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Rl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===A)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),i){case 0:t=xs(null,t,r,e,n);break e;case 1:t=Es(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=ks(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,xs(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,Es(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(As(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,jo(e,t),qo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ts(e,t,r,n,i=ls(Error(o(423)),t));break e}if(r!==i){t=Ts(e,t,r,n,i=ls(Error(o(424)),t));break e}for(ro=li(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=So(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===i){t=qs(e,t,n);break e}bs(e,t,r,n)}t=t.child}return t;case 5:return Jo(t),null===e&&lo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Cs(e,t),bs(e,t,s,n),t.child;case 6:return null===e&&lo(t),null;case 13:return Ns(e,t,n);case 4:return Zo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ko(t,null,r,n):bs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return bs(e,t,t.pendingProps,n),t.child;case 8:case 12:return bs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ei(_o,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Ti.current){t=qs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var u=a.dependencies;if(null!==u){s=a.child;for(var l=u.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=Fo(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),To(a.return,n,t),u.lanes|=n;break}l=l.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),To(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}bs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Io(t,n),r=r(i=Ro(i)),t.flags|=1,bs(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),ks(e,t,r,i=ns(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),Ws(e,t),t.tag=1,Pi(r)?(e=!0,Ni(t)):e=!1,Io(t,n),as(t,r,i),us(t,r,i,n),Os(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return _s(e,t,n)}throw Error(o(156,t.tag))};var Ql="function"===typeof reportError?reportError:function(e){};function $l(e){this._internalRoot=e}function Kl(e){this._internalRoot=e}function Gl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yl(){}function Jl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"===typeof i){var s=i;i=function(){var e=ql(a);s.call(e)}}Wl(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"===typeof r){var o=r;r=function(){var e=ql(a);o.call(e)}}var a=Ul(t,r,e,0,null,!1,0,"",Yl);return e._reactRootContainer=a,e[pi]=a.current,Wr(8===e.nodeType?e.parentNode:e),ll(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=ql(u);s.call(e)}}var u=Fl(e,0,!1,null,0,!1,0,"",Yl);return e._reactRootContainer=u,e[pi]=u.current,Wr(8===e.nodeType?e.parentNode:e),ll(function(){Wl(t,u,n,r)}),u}(n,t,e,i,r);return ql(a)}Kl.prototype.render=$l.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Wl(e,t,null,null)},Kl.prototype.unmount=$l.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ll(function(){Wl(null,e,null,null)}),t[pi]=null}},Kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),nl(t,Ye()),0===(6&Ou)&&(Uu=Ye()+500,Wi()))}break;case 13:ll(function(){var t=Lo(e,1);if(null!==t){var n=Xu();tl(t,e,1,n)}}),Hl(e,1)}},St=function(e){if(13===e.tag){var t=Lo(e,134217728);if(null!==t)tl(t,e,134217728,Xu());Hl(e,134217728)}},_t=function(e){if(13===e.tag){var t=el(e),n=Lo(e,t);if(null!==n)tl(n,e,t,Xu());Hl(e,t)}},Ct=function(){return bt},xt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ki(r);if(!i)throw Error(o(90));$(r),J(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ae=ul,Te=ll;var Xl={usingClientEntryPoint:!1,Events:[bi,wi,ki,Ee,Oe,ul]},ec={findFiberByHostInstance:vi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tc={bundleType:ec.bundleType,version:ec.version,rendererPackageName:ec.rendererPackageName,rendererConfig:ec.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:ec.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"},nc={isDisabled:!0};if(!nc.isDisabled&&nc.supportsFiber)try{it=nc.inject(tc),ot=nc}catch(ce){}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xl,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gl(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Gl(e))throw Error(o(299));var n=!1,r="",i=Ql;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fl(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,Wr(8===e.nodeType?e.parentNode:e),new $l(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return ll(e)},t.hydrate=function(e,t,n){if(!Zl(t))throw Error(o(200));return Jl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Gl(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Ql;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Ul(t,null,e,1,null!=n?n:null,i,0,a,s),e[pi]=t.current,Wr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kl(t)},t.render=function(e,t,n){if(!Zl(t))throw Error(o(200));return Jl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zl(e))throw Error(o(40));return!!e._reactRootContainer&&(ll(function(){Jl(null,null,e,!1,function(){e._reactRootContainer=null,e[pi]=null})}),!0)},t.unstable_batchedUpdates=ul,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zl(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Jl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},85095:(e,t,n)=>{"use strict";!function e(){if("function"===typeof{isDisabled:!0}.checkDCE)try{({isDisabled:!0}).checkDCE(e)}catch(t){}}(),e.exports=n(95761)},85472:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>c,vA:()=>S.unstable_batchedUpdates,bN:()=>w,wA:()=>g,d4:()=>v,Pj:()=>h});var r=n(25366),i=r.createContext(null);var o=function(e){e()},a=function(){return o};var s={notify:function(){},get:function(){return[]}};function u(e,t){var n,r=s;function i(){u.onStateChange&&u.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){var e=a(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var u={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return u}var l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;const c=function(e){var t=e.store,n=e.context,o=e.children,a=(0,r.useMemo)(function(){var e=u(t);return{store:t,subscription:e}},[t]),s=(0,r.useMemo)(function(){return t.getState()},[t]);l(function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[a,s]);var c=n||i;return r.createElement(c.Provider,{value:a},o)};n(61404),n(89815);n(58168);function d(){return(0,r.useContext)(i)}function f(e){void 0===e&&(e=i);var t=e===i?d:function(){return(0,r.useContext)(e)};return function(){return t().store}}var h=f();function p(e){void 0===e&&(e=i);var t=e===i?h:f(e);return function(){return t().dispatch}}var g=p(),m=function(e,t){return e===t};function y(e){void 0===e&&(e=i);var t=e===i?d:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=m);var i=t(),o=function(e,t,n,i){var o,a=(0,r.useReducer)(function(e){return e+1},0)[1],s=(0,r.useMemo)(function(){return u(n,i)},[n,i]),c=(0,r.useRef)(),d=(0,r.useRef)(),f=(0,r.useRef)(),h=(0,r.useRef)(),p=n.getState();try{if(e!==d.current||p!==f.current||c.current){var g=e(p);o=void 0!==h.current&&t(g,h.current)?h.current:g}else o=h.current}catch(m){throw c.current&&(m.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),m}return l(function(){d.current=e,f.current=p,h.current=o,c.current=void 0}),l(function(){function e(){try{var e=n.getState();if(e===f.current)return;var r=d.current(e);if(t(r,h.current))return;h.current=r,f.current=e}catch(m){c.current=m}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}},[n,s]),o}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var v=y();function b(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function w(e,t){if(b(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!b(e[n[i]],t[n[i]]))return!1;return!0}var k,S=n(85095);k=S.unstable_batchedUpdates,o=k},29507:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,u=60110,l=60112,c=60113,d=60120,f=60115,h=60116,p=60121,g=60122,m=60117,y=60129,v=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),l=b("react.forward_ref"),c=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),h=b("react.lazy"),p=b("react.block"),g=b("react.server.block"),m=b("react.fundamental"),y=b("react.debug_trace_mode"),v=b("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case u:case l:case h:case f:case s:return e;default:return t}}case r:return t}}}},89815:(e,t,n)=>{"use strict";n(29507)},37666:(e,t,n)=>{"use strict";var r,i;n.d(t,{Kd:()=>p,N_:()=>y,ok:()=>w});var o=n(25366),a=n(85095),s=n(33637),u=n(75426);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const f=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(k){}new Map;const h=(r||(r=n.t(o,2))).startTransition;(i||(i=n.t(a,2))).flushSync,(r||(r=n.t(o,2))).useId;function p(e){let{basename:t,children:n,future:r,window:i}=e,a=o.useRef();null==a.current&&(a.current=(0,u.zR)({window:i,v5Compat:!0}));let l=a.current,[c,d]=o.useState({action:l.action,location:l.location}),{v7_startTransition:f}=r||{},p=o.useCallback(e=>{f&&h?h(()=>d(e)):d(e)},[d,f]);return o.useLayoutEffect(()=>l.listen(p),[l,p]),o.useEffect(()=>(0,s.V8)(r),[r]),o.createElement(s.Ix,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:r})}const g="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,m=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,y=o.forwardRef(function(e,t){let n,{onClick:r,relative:i,reloadDocument:a,replace:d,state:h,target:p,to:y,preventScrollReset:v,viewTransition:b}=e,w=c(e,f),{basename:S}=o.useContext(s.jb),_=!1;if("string"===typeof y&&m.test(y)&&(n=y,g))try{let e=new URL(window.location.href),t=y.startsWith("//")?new URL(e.protocol+y):new URL(y),n=(0,u.pb)(t.pathname,S);t.origin===e.origin&&null!=n?y=n+t.search+t.hash:_=!0}catch(k){}let C=(0,s.$P)(y,{relative:i}),x=function(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:l,viewTransition:c}=void 0===t?{}:t,d=(0,s.Zp)(),f=(0,s.zy)(),h=(0,s.x$)(e,{relative:l});return o.useCallback(t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==r?r:(0,u.AO)(f)===(0,u.AO)(h);d(e,{replace:n,state:i,preventScrollReset:a,relative:l,viewTransition:c})}},[f,d,h,r,i,n,e,a,l,c])}(y,{replace:d,state:h,target:p,preventScrollReset:v,relative:i,viewTransition:b});return o.createElement("a",l({},w,{href:n||C,onClick:_||a?r:function(e){r&&r(e),e.defaultPrevented||x(e)},ref:t,target:p}))});var v,b;function w(e){let t=o.useRef(d(e)),n=o.useRef(!1),r=(0,s.zy)(),i=o.useMemo(()=>function(e,t){let n=d(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),a=(0,s.Zp)(),u=o.useCallback((e,t)=>{const r=d("function"===typeof e?e(i):e);n.current=!0,a("?"+r,t)},[a,i]);return[i,u]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(v||(v={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(b||(b={}))},33637:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>h,BV:()=>B,C5:()=>N,Ix:()=>F,KC:()=>b,V8:()=>L,Zp:()=>y,g:()=>w,jb:()=>l,qh:()=>j,sv:()=>M,x$:()=>k,zy:()=>g});var i=n(25366),o=n(75426);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const s=i.createContext(null);const u=i.createContext(null);const l=i.createContext(null);const c=i.createContext(null);const d=i.createContext({outlet:null,matches:[],isDataRoute:!1});const f=i.createContext(null);function h(e,t){let{relative:n}=void 0===t?{}:t;p()||(0,o.Oi)(!1);let{basename:r,navigator:a}=i.useContext(l),{hash:s,pathname:u,search:c}=k(e,{relative:n}),d=u;return"/"!==r&&(d="/"===u?r:(0,o.HS)([r,u])),a.createHref({pathname:d,search:c,hash:s})}function p(){return null!=i.useContext(c)}function g(){return p()||(0,o.Oi)(!1),i.useContext(c).location}function m(e){i.useContext(l).static||i.useLayoutEffect(e)}function y(){let{isDataRoute:e}=i.useContext(d);return e?function(){let{router:e}=I(A.UseNavigateStable),t=P(T.UseNavigateStable),n=i.useRef(!1);return m(()=>{n.current=!0}),i.useCallback(function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))},[e,t])}():function(){p()||(0,o.Oi)(!1);let e=i.useContext(s),{basename:t,future:n,navigator:r}=i.useContext(l),{matches:a}=i.useContext(d),{pathname:u}=g(),c=JSON.stringify((0,o.yD)(a,n.v7_relativeSplatPath)),f=i.useRef(!1);return m(()=>{f.current=!0}),i.useCallback(function(n,i){if(void 0===i&&(i={}),!f.current)return;if("number"===typeof n)return void r.go(n);let a=(0,o.Gh)(n,JSON.parse(c),u,"path"===i.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,o.HS)([t,a.pathname])),(i.replace?r.replace:r.push)(a,i.state,i)},[t,r,c,u,e])}()}const v=i.createContext(null);function b(){return i.useContext(v)}function w(){let{matches:e}=i.useContext(d),t=e[e.length-1];return t?t.params:{}}function k(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=i.useContext(l),{matches:a}=i.useContext(d),{pathname:s}=g(),u=JSON.stringify((0,o.yD)(a,r.v7_relativeSplatPath));return i.useMemo(()=>(0,o.Gh)(e,JSON.parse(u),s,"path"===n),[e,u,s,n])}function S(e,t,n,r){p()||(0,o.Oi)(!1);let{navigator:s}=i.useContext(l),{matches:u}=i.useContext(d),f=u[u.length-1],h=f?f.params:{},m=(f&&f.pathname,f?f.pathnameBase:"/");f&&f.route;let y,v=g();if(t){var b;let e="string"===typeof t?(0,o.Rr)(t):t;"/"===m||(null==(b=e.pathname)?void 0:b.startsWith(m))||(0,o.Oi)(!1),y=e}else y=v;let w=y.pathname||"/",k=w;if("/"!==m){let e=m.replace(/^\//,"").split("/");k="/"+w.replace(/^\//,"").split("/").slice(e.length).join("/")}let S=(0,o.ue)(e,{pathname:k});let _=O(S&&S.map(e=>Object.assign({},e,{params:Object.assign({},h,e.params),pathname:(0,o.HS)([m,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?m:(0,o.HS)([m,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),u,n,r);return t&&_?i.createElement(c.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:o.rc.Pop}},_):_}function _(){let e=function(){var e;let t=i.useContext(f),n=R(T.UseRouteError),r=P(T.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:a},n):null,null)}const C=i.createElement(_,null);class x extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return void 0!==this.state.error?i.createElement(d.Provider,{value:this.props.routeContext},i.createElement(f.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function E(e){let{routeContext:t,match:n,children:r}=e,o=i.useContext(s);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),i.createElement(d.Provider,{value:t},r)}function O(e,t,n,r){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=r)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let u=e,l=null==(a=n)?void 0:a.errors;if(null!=l){let e=u.findIndex(e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id]));e>=0||(0,o.Oi)(!1),u=u.slice(0,Math.min(u.length,e+1))}let c=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let i=0;i<u.length;i++){let e=u[i];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=i),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){c=!0,u=d>=0?u.slice(0,d+1):[u[0]];break}}}return u.reduceRight((e,r,o)=>{let a,s=!1,f=null,h=null;var p;n&&(a=l&&r.route.id?l[r.route.id]:void 0,f=r.route.errorElement||C,c&&(d<0&&0===o?(p="route-fallback",!1||D[p]||(D[p]=!0),s=!0,h=null):d===o&&(s=!0,h=r.route.hydrateFallbackElement||null)));let g=t.concat(u.slice(0,o+1)),m=()=>{let t;return t=a?f:s?h:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(E,{match:r,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?i.createElement(x,{location:n.location,revalidation:n.revalidation,component:f,error:a,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var A=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(A||{}),T=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(T||{});function I(e){let t=i.useContext(s);return t||(0,o.Oi)(!1),t}function R(e){let t=i.useContext(u);return t||(0,o.Oi)(!1),t}function P(e){let t=function(){let e=i.useContext(d);return e||(0,o.Oi)(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||(0,o.Oi)(!1),n.route.id}const D={};const z=(e,t,n)=>{};function L(e,t){void 0===(null==e?void 0:e.v7_startTransition)&&z("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),void 0!==(null==e?void 0:e.v7_relativeSplatPath)||t&&void 0!==t.v7_relativeSplatPath||z("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&z("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&z("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&z("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&z("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}(r||(r=n.t(i,2))).startTransition;function N(e){let{to:t,replace:n,state:r,relative:a}=e;p()||(0,o.Oi)(!1);let{future:s,static:u}=i.useContext(l),{matches:c}=i.useContext(d),{pathname:f}=g(),h=y(),m=(0,o.Gh)(t,(0,o.yD)(c,s.v7_relativeSplatPath),f,"path"===a),v=JSON.stringify(m);return i.useEffect(()=>h(JSON.parse(v),{replace:n,state:r,relative:a}),[h,v,a,n,r]),null}function M(e){return function(e){let t=i.useContext(d).outlet;return t?i.createElement(v.Provider,{value:e},t):t}(e.context)}function j(e){(0,o.Oi)(!1)}function F(e){let{basename:t="/",children:n=null,location:r,navigationType:s=o.rc.Pop,navigator:u,static:d=!1,future:f}=e;p()&&(0,o.Oi)(!1);let h=t.replace(/^\/*/,"/"),g=i.useMemo(()=>({basename:h,navigator:u,static:d,future:a({v7_relativeSplatPath:!1},f)}),[h,f,u,d]);"string"===typeof r&&(r=(0,o.Rr)(r));let{pathname:m="/",search:y="",hash:v="",state:b=null,key:w="default"}=r,k=i.useMemo(()=>{let e=(0,o.pb)(m,h);return null==e?null:{location:{pathname:e,search:y,hash:v,state:b,key:w},navigationType:s}},[h,m,y,v,b,w,s]);return null==k?null:i.createElement(l.Provider,{value:g},i.createElement(c.Provider,{children:n,value:k}))}function B(e){let{children:t,location:n}=e;return S(U(t),n)}new Promise(()=>{});i.Component;function U(e,t){void 0===t&&(t=[]);let n=[];return i.Children.forEach(e,(e,r)=>{if(!i.isValidElement(e))return;let a=[...t,r];if(e.type===i.Fragment)return void n.push.apply(n,U(e.props.children,a));e.type!==j&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=U(e.props.children,a)),n.push(s)}),n}},34446:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(25366),i=n(32382),o=n.n(i),a=n(993);function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var u=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,n=s(e,["children","gutter"]);n.gutter=function(e,n){var r;return t?r=t(e,n):(r=document.createElement("div")).className="gutter gutter-"+n,r.__isSplitGutter=!0,r},this.split=(0,a.A)(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,i=n.sizes,o=n.collapsed,u=s(n,["children","minSize","sizes","collapsed"]),l=e.minSize,c=e.sizes,d=e.collapsed,f=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map(function(n){return t.props[n]!==e[n]}).reduce(function(e,t){return e||t},!1);if(Array.isArray(r)&&Array.isArray(l)){var h=!1;r.forEach(function(e,t){h=h||e!==l[t]}),f=f||h}else f=!(!Array.isArray(r)&&!Array.isArray(l))||(f||r!==l);if(f)u.minSize=r,u.sizes=i||this.split.getSizes(),this.split.destroy(!0,!0),u.gutter=function(e,t,n){return n.previousSibling},this.split=(0,a.A)(Array.from(this.parent.children).filter(function(e){return!e.__isSplitGutter}),u);else if(i){var p=!1;i.forEach(function(e,t){p=p||e!==c[t]}),p&&this.split.setSizes(this.props.sizes)}Number.isInteger(o)&&(o!==d||f)&&this.split.collapse(o)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var n=t.children,i=s(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return r.createElement("div",Object.assign({},{ref:function(t){e.parent=t}},i),n)},t}(r.Component);u.propTypes={sizes:o().arrayOf(o().number),minSize:o().oneOfType([o().number,o().arrayOf(o().number)]),maxSize:o().oneOfType([o().number,o().arrayOf(o().number)]),expandToMin:o().bool,gutterSize:o().number,gutterAlign:o().string,snapOffset:o().oneOfType([o().number,o().arrayOf(o().number)]),dragInterval:o().number,direction:o().string,cursor:o().string,gutter:o().func,elementStyle:o().func,gutterStyle:o().func,onDrag:o().func,onDragStart:o().func,onDragEnd:o().func,collapsed:o().number,children:o().arrayOf(o().element)},u.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const l=u},22137:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,g(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,S=Object.prototype.hasOwnProperty,_={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!C.hasOwnProperty(i)&&(o[i]=t[i]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(i in u=e.defaultProps)void 0===o[i]&&(o[i]=u[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:_.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function A(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function T(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return a=a(u=e),e=""===o?"."+A(u,0):o,k(a)?(i="",null!=e&&(i=e.replace(O,"$&/")+"/"),T(a,t,i,"",function(e){return e})):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e)),t.push(a)),1;if(u=0,o=""===o?".":o+":",k(e))for(var l=0;l<e.length;l++){var c=o+A(s=e[l],l);u+=T(s,t,i,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),l=0;!(s=e.next()).done;)u+=T(s=s.value,t,i,c=o+A(s,l++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function I(e,t,n){if(null==e)return e;var r=[],i=0;return T(e,r,"","",function(e){return t.call(n,e,i++)}),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},D={transition:null},z={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:D,ReactCurrentOwner:_};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,n){I(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.act=L,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=g({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)S.call(t,l)&&!C.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},25366:(e,t,n)=>{"use strict";e.exports=n(22137)},59074:(e,t,n)=>{"use strict";n.d(t,{$d:()=>s,HY:()=>d,Tw:()=>g,Yl:()=>c,Zz:()=>p,y$:()=>l,zH:()=>h});var r=n(89379);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(i(1));return n(l)(e,t)}if("function"!==typeof e)throw new Error(i(2));var a=e,c=t,d=[],f=d,h=!1;function p(){f===d&&(f=d.slice())}function g(){if(h)throw new Error(i(3));return c}function m(e){if("function"!==typeof e)throw new Error(i(4));if(h)throw new Error(i(5));var t=!0;return p(),f.push(e),function(){if(t){if(h)throw new Error(i(6));t=!1,p();var n=f.indexOf(e);f.splice(n,1),d=null}}}function y(e){if(!u(e))throw new Error(i(7));if("undefined"===typeof e.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,c=a(c,e)}finally{h=!1}for(var t=d=f,n=0;n<t.length;n++){(0,t[n])()}return e}return y({type:s.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:function(e){if("function"!==typeof e)throw new Error(i(10));a=e,y({type:s.REPLACE})}})[o]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(i(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[o]=function(){return this},e},r}var c=l;function d(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:s.INIT}))throw new Error(i(12));if("undefined"===typeof n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))})}(n)}catch(l){a=l}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},s=0;s<u.length;s++){var l=u[s],c=n[l],d=e[l],f=c(d,t);if("undefined"===typeof f){t&&t.type;throw new Error(i(14))}o[l]=f,r=r||f!==d}return(r=r||u.length!==Object.keys(e).length)?o:e}}function f(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"===typeof e)return f(e,t);if("object"!==typeof e||null===e)throw new Error(i(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=f(o,t))}return n}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),o=function(){throw new Error(i(15))},a={getState:n.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=t.map(function(e){return e(a)});return o=p.apply(void 0,s)(n.dispatch),(0,r.A)((0,r.A)({},n),{},{dispatch:o})}}}},64467:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(20816);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},89379:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(64467);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},20816:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82284);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},82284:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},8229:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[G]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Z}(e)||Array.isArray(e)||!!e[K]||!!(null===(t=e.constructor)||void 0===t?void 0:t[K])||h(e)||p(e))}function a(e){return i(e)||r(23,e),e[G].t}function s(e,t,n){void 0===n&&(n=!1),0===u(e)?(n?Object.keys:Y)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function u(e){var t=e[G];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function l(e,t){return 2===u(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===u(e)?e.get(t):e[t]}function d(e,t,n){var r=u(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return V&&e instanceof Map}function p(e){return H&&e instanceof Set}function g(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[G];for(var n=Y(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function y(e,t){return void 0===t&&(t=!1),b(e)||i(e)||!o(e)||(u(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&s(e,function(e,t){return y(t,!0)},!0)),e}function v(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var t=X[e];return t||r(18,e),t}function k(e,t){X[e]||(X[e]=t)}function S(){return W}function _(e,t){t&&(w("Patches"),e.u=[],e.s=[],e.v=t)}function C(e){x(e),e.p.forEach(O),e.p=null}function x(e){e===W&&(W=e.l)}function E(e){return W={p:[],l:W,h:e,m:!0,_:0}}function O(e){var t=e[G];0===t.i||1===t.i?t.j():t.g=!0}function A(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.O||w("ES5").S(t,e,i),i?(n[G].P&&(C(t),r(4)),o(e)&&(e=T(t,e),t.l||R(t,e)),t.u&&w("Patches").M(n[G].t,e,t.u,t.s)):e=T(t,n,[]),C(t),t.u&&t.v(t.u,t.s),e!==$?e:void 0}function T(e,t,n){if(b(t))return t;var r=t[G];if(!r)return s(t,function(i,o){return I(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.P)return R(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=m(r.k):r.o,o=i,a=!1;3===r.i&&(o=new Set(i),i.clear(),a=!0),s(o,function(t,o){return I(e,r,i,t,o,n,a)}),R(e,i,!1),n&&e.u&&w("Patches").N(r,n,e.u,e.s)}return r.o}function I(e,t,n,r,a,s,u){if(i(a)){var c=T(e,a,s&&t&&3!==t.i&&!l(t.R,r)?s.concat(r):void 0);if(d(n,r,c),!i(c))return;e.m=!1}else u&&n.add(a);if(o(a)&&!b(a)){if(!e.h.D&&e._<1)return;T(e,a),t&&t.A.l||R(e,a)}}function R(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&y(t,n)}function P(e,t){var n=e[G];return(n?g(n):e)[t]}function D(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function z(e){e.P||(e.P=!0,e.l&&z(e.l))}function L(e){e.o||(e.o=m(e.t))}function N(e,t,n){var r=h(t)?w("MapSet").F(t,n):p(t)?w("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:S(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=ee;n&&(i=[r],o=te);var a=Proxy.revocable(i,o),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):w("ES5").J(t,n);return(n?n.A:S()).p.push(r),r}function M(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[G],i=u(t);if(r){if(!r.P&&(r.i<4||!w("ES5").K(r)))return r.t;r.I=!0,n=j(t,i),r.I=!1}else n=j(t,i);return s(n,function(t,i){r&&c(r.t,t)===i||d(n,t,e(i))}),3===i?new Set(n):n}(e)}function j(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function F(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[G];return ee.get(t,e)},set:function(t){var n=this[G];ee.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][G];if(!i.P)switch(i.i){case 5:r(i)&&z(i);break;case 4:n(i)&&z(i)}}}function n(e){for(var t=e.t,n=e.k,r=Y(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==G){var a=t[o];if(void 0===a&&!l(t,o))return!0;var s=n[o],u=s&&s[G];if(u?u.t!==a:!f(s,a))return!0}}var c=!!t[G];return r.length!==Y(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};k("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=J(n);delete o[G];for(var a=Y(o),s=0;s<a.length;s++){var u=a[s];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:S(),P:!1,I:!1,R:{},l:n,t:t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,G,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[G].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[G];if(n){var i=n.t,o=n.k,a=n.R,u=n.i;if(4===u)s(o,function(t){t!==G&&(void 0!==i[t]||l(i,t)?a[t]||e(o[t]):(a[t]=!0,z(n)))}),s(i,function(e){void 0!==o[e]||l(o,e)||(a[e]=!1,z(n))});else if(5===u){if(r(n)&&(z(n),a.length=!0),o.length<i.length)for(var c=o.length;c<i.length;c++)a[c]=!1;else for(var d=i.length;d<o.length;d++)a[d]=!0;for(var f=Math.min(o.length,i.length),h=0;h<f;h++)o.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&e(o[h])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}function B(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(h(t))return new Map(Array.from(t.entries()).map(function(t){return[t[0],e(t[1])]}));if(p(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return l(t,K)&&(n[K]=t[K]),n}function t(t){return i(t)?e(t):t}var n="add";k("Patches",{$:function(t,i){return i.forEach(function(i){for(var o=i.path,a=i.op,s=t,l=0;l<o.length-1;l++){var d=u(s),f=o[l];"string"!=typeof f&&"number"!=typeof f&&(f=""+f),0!==d&&1!==d||"__proto__"!==f&&"constructor"!==f||r(24),"function"==typeof s&&"prototype"===f&&r(24),"object"!=typeof(s=c(s,f))&&r(15,o.join("/"))}var h=u(s),p=e(i.value),g=o[o.length-1];switch(a){case"replace":switch(h){case 2:return s.set(g,p);case 3:r(16);default:return s[g]=p}case n:switch(h){case 1:return"-"===g?s.push(p):s.splice(g,0,p);case 2:return s.set(g,p);case 3:return s.add(p);default:return s[g]=p}case"remove":switch(h){case 1:return s.splice(g,1);case 2:return s.delete(g);case 3:return s.delete(i.value);default:return delete s[g]}default:r(17,a)}}),t},N:function(e,r,i,o){switch(e.i){case 0:case 4:case 2:return function(e,r,i,o){var a=e.t,u=e.o;s(e.R,function(e,s){var d=c(a,e),f=c(u,e),h=s?l(a,e)?"replace":n:"remove";if(d!==f||"replace"!==h){var p=r.concat(e);i.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:f}),o.push(h===n?{op:"remove",path:p}:"remove"===h?{op:n,path:p,value:t(d)}:{op:"replace",path:p,value:t(d)})}})}(e,r,i,o);case 5:case 1:return function(e,r,i,o){var a=e.t,s=e.R,u=e.o;if(u.length<a.length){var l=[u,a];a=l[0],u=l[1];var c=[o,i];i=c[0],o=c[1]}for(var d=0;d<a.length;d++)if(s[d]&&u[d]!==a[d]){var f=r.concat([d]);i.push({op:"replace",path:f,value:t(u[d])}),o.push({op:"replace",path:f,value:t(a[d])})}for(var h=a.length;h<u.length;h++){var p=r.concat([h]);i.push({op:n,path:p,value:t(u[h])})}a.length<u.length&&o.push({op:"replace",path:r.concat(["length"]),value:a.length})}(e,r,i,o);case 3:return function(e,t,r,i){var o=e.t,a=e.o,s=0;o.forEach(function(e){if(!a.has(e)){var o=t.concat([s]);r.push({op:"remove",path:o,value:e}),i.unshift({op:n,path:o,value:e})}s++}),s=0,a.forEach(function(e){if(!o.has(e)){var a=t.concat([s]);r.push({op:n,path:a,value:e}),i.unshift({op:"remove",path:a,value:e})}s++})}(e,r,i,o)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===$?void 0:t}),r.push({op:"replace",path:[],value:e})}})}n.d(t,{$i:()=>ae,Ay:()=>se,CN:()=>y,Qx:()=>i,YT:()=>B,a6:()=>o,c2:()=>a,rF:()=>F,ss:()=>M,vI:()=>oe});var U,W,q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,H="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$=q?Symbol.for("immer-nothing"):((U={})["immer-nothing"]=!0,U),K=q?Symbol.for("immer-draftable"):"__$immer_draftable",G=q?Symbol.for("immer-state"):"__$immer_state",Z=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},X={},ee={get:function(e,t){if(t===G)return e;var n=g(e);if(!l(n,t))return function(e,t,n){var r,i=D(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===P(e.t,t)?(L(e),e.o[t]=N(e.A.h,r,e)):r},has:function(e,t){return t in g(e)},ownKeys:function(e){return Reflect.ownKeys(g(e))},set:function(e,t,n){var r=D(g(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=P(g(e),t),o=null==i?void 0:i[G];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(f(n,i)&&(void 0!==n||l(e.t,t)))return!0;L(e),z(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==P(e.t,t)||t in e.t?(e.R[t]=!1,L(e),z(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=g(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},te={};s(ee,function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.O=Q,this.D=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return s.produce(e,function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))})}}var u;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var l=E(t),c=N(t,e,void 0),d=!0;try{u=n(c),d=!1}finally{d?C(l):x(l)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then(function(e){return _(l,i),A(e,l)},function(e){throw C(l),e}):(_(l,i),A(u,l))}if(!e||"object"!=typeof e){if(void 0===(u=n(e))&&(u=e),u===$&&(u=void 0),t.D&&y(u,!0),i){var f=[],h=[];w("Patches").M(e,u,f,h),i(f,h)}return u}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(i))})};var r,i,o=t.produce(e,n,function(e,t){r=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,r,i]}):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=M(e));var t=E(this),n=N(this,e,void 0);return n[G].C=!0,x(t),n},t.finishDraft=function(e,t){var n=(e&&e[G]).A;return _(n,t),A(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Q&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=w("Patches").$;return i(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}(),re=new ne,ie=re.produce,oe=re.produceWithPatches.bind(re),ae=(re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re));re.createDraft.bind(re),re.finishDraft.bind(re);const se=ie},27849:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{A:()=>i});var i=function e(t,n){function i(e,i,o){if("undefined"!==typeof document){"number"===typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(u){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},66606:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(87259),i=n(4212);const o=new(n(60844).A)(i.A,r.A)._freeze()}}]);
3
+ //# sourceMappingURL=4824.157d5b8d.js.map