PageSourceSearch

https://www.roomdeco.ai/_next/static/chunks/8197-9302dcc1a5bd75ea.js

js roomdeco.ai collected 2026-10-04 06:50:02 UTC 233,795 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8197],{77557:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ImgComparisonSlider=void 0;let l=n(67294);"undefined"!=typeof document&&Promise.resolve().then(()=>o(n(59058))),t.ImgComparisonSlider=(0,l.forwardRef)(({children:e,onSlide:t,value:n,className:r,...i},o)=>{let a=(0,l.useRef)();return(0,l.useEffect)(()=>{void 0!==n&&(a.current.value=parseFloat(n.toString()))},[n,a]),(0,l.useEffect)(()=>{t&&a.current.addEventListener("slide",t)},[]),(0,l.useImperativeHandle)(o,()=>a.current,[a]),(0,l.createElement)("img-comparison-slider",Object.assign({class:r?`${r} rendered`:"rendered",tabIndex:0,ref:a},i),e)})},75090:function(e){e.exports=function(){"use strict";var e={
1"./src/index.ts":function(e,t,n){function r(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function i(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return Promise.resolve(e.apply(this,t))}catch(e){return Promise.reject(e)}}}n.r(t),n.d(t,{beginMultipartUpload:function(){return g},completeUploadPart:function(){return p},getUploadPart:function(){return h},request:function(){return o}});var o=i(function(e,t){var n,i,o,a,u=(o=t.path.replace(/[:]/g,"_"),a="".concat(e.BASE).concat(o),t.query?"".concat(a).concat((n=t.query,i=[],(Object.keys(n).forEach(function(e){var t=n[e];null!=t&&(Array.isArray(t)?t.forEach(function(t){i.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(String(t))))}):i.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(String(t)))))}),i.length>0)?"?".concat(i.join("&")):"")):a);return r(l(e,t,u),function(e){var n,r,i=(n=e.getResponseHeader(s))?n.toLowerCase().startsWith(c)?JSON.parse(e.responseText):e.responseText:null,o=(r=t.responseHeader)?e.getResponseHeader(r):null;return{url:u,ok:e.status>=200&&e.status<300,status:e.status,statusText:e.statusText,body:o||i}})}),l=i(function(e,t,n){var i=new XMLHttpRequest;return i.open(t.method,n,!0),i.withCredentials=e.WITH_CREDENTIALS,r(a(e,t),function(e){return e.forEach(function(e,t){i.setRequestHeader(t,e)}),new Promise(function(e){i.onreadystatechange=function(){i.readyState===XMLHttpRequest.DONE&&e(i)},i.send(function(e){if(e.body)return JSON.stringify(e.body)}(t))})})}),a=i(function(e,t){return r(u(t,e.USERNAME),function(n){return r(u(t,e.PASSWORD),function(i){return r(u(t,e.HEADERS),function(e){var r=new Headers(Object.assign(Object.assign({Accept:c},e),t.headers));if(f(n)&&f(i)){var o=btoa("".concat(n,":").concat(i));r.append("Authorization","Basic ".concat(o))}return t.body&&r.append(s,c),r})})})}),u=i(function(e,t){return"function"==typeof t?t(e):t}),s="Content-Type",c="application/json";function f(e){return"string"==typeof e&&""!==e}function d(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return Promise.resolve(e.apply(this,t))}catch(e){return Promise.reject(e)}}}var h=d(function(e,t,n,r){return o(e,{method:"GET",path:"".concat(m).concat(t).concat(v,"/").concat(n).concat(y).concat(r)})}),p=d(function(e,t,n,r,i){return o(e,{method:"PUT",path:"".concat(m).concat(t).concat(v,"/").concat(n).concat(y).concat(r),body:i})}),g=d(function(e,t,n){return o(e,{method:"POST",path:"".concat(m).concat(t).concat(v),body:n})}),m="/v2/accounts/",v="/uploads",y="/parts/"}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n("./src/index.ts")}()},94184:function(e,t){var n;/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var l=i.apply(null,n);l&&e.push(l)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},94470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,c,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<h;++d)if(t=arguments[d],null!=t)for(n in t)r=u(f,n),f!==(i=u(t,n))&&(p&&i&&(l(i)||(s=o(i)))?(s?(s=!1,c=r&&o(r)?r:[]):c=r&&l(r)?r:{},a(f,{name:n,newValue:e(p,c,i)})):void 0!==i&&a(f,{name:n,newValue:i}));return f}},93778:function(e,t,n){"use strict";n.d(t,{HT:function(){return Q},iZ:function(){return G}});var r={},i=Uint8Array,o=Uint16Array,l=Int32Array,a=new i([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),u=new i([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var n=new o(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new l(n[30]),r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return{b:n,r:i}},f=c(a,2),d=f.b,h=f.r;d[28]=258,h[258]=28;for(var p=c(u,0),g=p.b,m=p.r,v=new o(32768),y=0;y<32768;++y){var _=(43690&y)>>1|(21845&y)<<1;_=(61680&(_=(52428&_)>>2|(13107&_)<<2))>>4|(3855&_)<<4,v[y]=((65280&_)>>8|(255&_)<<8)>>1}for(var b=function(e,t,n){for(var r,i=e.length,l=0,a=new o(t);l<i;++l)e[l]&&++a[e[l]-1];var u=new o(t);for(l=1;l<t;++l)u[l]=u[l-1]+a[l-1]<<1;if(n){r=new o(1<<t);var s=15-t;for(l=0;l<i;++l)if(e[l])for(var c=l<<4|e[l],f=t-e[l],d=u[e[l]-1]++<<f,h=d|(1<<f)-1;d<=h;++d)r[v[d]>>s]=c}else for(l=0,r=new o(i);l<i;++l)e[l]&&(r[l]=v[u[e[l]-1]++]>>15-e[l]);return r},x=new i(288),y=0;y<144;++y)x[y]=8;for(var y=144;y<256;++y)x[y]=9;for(var y=256;y<280;++y)x[y]=7;for(var y=280;y<288;++y)x[y]=8;for(var w=new i(32),y=0;y<32;++y)w[y]=5;var k=b(x,9,0),S=b(x,9,1),P=b(w,5,0),C=b(w,5,1),E=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},T=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},D=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},A=function(e){return(e+7)/8|0},I=function(e,t,n){return(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length),new i(e.subarray(t,n))}
5,O=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],F=function(e,t,n){var r=Error(t||O[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,F),!n)throw r;return r},M=function(e,t,n,r){var o=e.length,l=r?r.length:0;if(!o||t.f&&!t.l)return n||new i(0);var c=!n,f=c||2!=t.i,h=t.i;c&&(n=new i(3*o));var p=function(e){var t=n.length;if(e>t){var r=new i(Math.max(2*t,e));r.set(n),n=r}},m=t.f||0,v=t.p||0,y=t.b||0,_=t.l,x=t.d,w=t.m,k=t.n,P=8*o;do{if(!_){m=T(e,v,1);var O=T(e,v+1,3);if(v+=3,O){if(1==O)_=S,x=C,w=9,k=5;else if(2==O){var M=T(e,v,31)+257,j=T(e,v+10,15)+4,L=M+T(e,v+5,31)+1;v+=14;for(var N=new i(L),H=new i(19),R=0;R<j;++R)H[s[R]]=T(e,v+3*R,7);v+=3*j;for(var z=E(H),W=(1<<z)-1,U=b(H,z,1),R=0;R<L;){var B=U[T(e,v,W)];v+=15&B;var V=B>>4;if(V<16)N[R++]=V;else{var q=0,Y=0;for(16==V?(Y=3+T(e,v,3),v+=2,q=N[R-1]):17==V?(Y=3+T(e,v,7),v+=3):18==V&&(Y=11+T(e,v,127),v+=7);Y--;)N[R++]=q}}var K=N.subarray(0,M),$=N.subarray(M);w=E(K),k=E($),_=b(K,w,1),x=b($,k,1)}else F(1)}else{var V=A(v)+4,X=e[V-4]|e[V-3]<<8,J=V+X;if(J>o){h&&F(0);break}f&&p(y+X),n.set(e.subarray(V,J),y),t.b=y+=X,t.p=v=8*J,t.f=m;continue}if(v>P){h&&F(0);break}}f&&p(y+131072);for(var G=(1<<w)-1,Q=(1<<k)-1,Z=v;;Z=v){var q=_[D(e,v)&G],ee=q>>4;if((v+=15&q)>P){h&&F(0);break}if(q||F(2),ee<256)n[y++]=ee;else if(256==ee){Z=v,_=null;break}else{var et=ee-254;if(ee>264){var R=ee-257,en=a[R];et=T(e,v,(1<<en)-1)+d[R],v+=en}var er=x[D(e,v)&Q],ei=er>>4;er||F(3),v+=15&er;var $=g[ei];if(ei>3){var en=u[ei];$+=D(e,v)&(1<<en)-1,v+=en}if(v>P){h&&F(0);break}f&&p(y+131072);var eo=y+et;if(y<$){var el=l-$,ea=Math.min($,eo);for(el+y<0&&F(3);y<ea;++y)n[y]=r[el+y]}for(;y<eo;++y)n[y]=n[y-$]}}t.l=_,t.p=Z,t.b=y,t.f=m,_&&(m=1,t.m=w,t.d=x,t.n=k)}while(!m);return y!=n.length&&c?I(n,0,y):n.subarray(0,y)},j=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},L=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},N=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var l=n.length,a=n.slice();if(!l)return{t:V,l:0};if(1==l){var u=new i(n[0].s+1);return u[n[0].s]=1,{t:u,l:1}}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var s=n[0],c=n[1],f=0,d=1,h=2;for(n[0]={s:-1,f:s.f+c.f,l:s,r:c};d!=l-1;)s=n[n[f].f<n[h].f?f++:h++],c=n[f!=d&&n[f].f<n[h].f?f++:h++],n[d++]={s:-1,f:s.f+c.f,l:s,r:c};for(var p=a[0].s,r=1;r<l;++r)a[r].s>p&&(p=a[r].s);var g=new o(p+1),m=H(n[d-1],g,0);if(m>t){var r=0,v=0,y=m-t,_=1<<y;for(a.sort(function(e,t){return g[t.s]-g[e.s]||e.f-t.f});r<l;++r){var b=a[r].s;if(g[b]>t)v+=_-(1<<m-g[b]),g[b]=t;else break}for(v>>=y;v>0;){var x=a[r].s;g[x]<t?v-=1<<t-g[x]++-1:++r}for(;r>=0&&v;--r){var w=a[r].s;g[w]==t&&(--g[w],++v)}m=t}return{t:new i(g),l:m}},H=function(e,t,n){return -1==e.s?Math.max(H(e.l,t,n+1),H(e.r,t,n+1)):t[e.s]=n},R=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new o(++t),r=0,i=e[0],l=1,a=function(e){n[r++]=e},u=1;u<=t;++u)if(e[u]==i&&u!=t)++l;else{if(!i&&l>2){for(;l>138;l-=138)a(32754);l>2&&(a(l>10?l-11<<5|28690:l-3<<5|12305),l=0)}else if(l>3){for(a(i),--l;l>6;l-=6)a(8304);l>2&&(a(l-3<<5|8208),l=0)}for(;l--;)a(i);l=1,i=e[u]}return{c:n.subarray(0,r),n:t}},z=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},W=function(e,t,n){var r=n.length,i=A(t+2);e[i]=255&r,e[i+1]=r>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<r;++o)e[i+o+4]=n[o];return(i+4+r)*8},U=function(e,t,n,r,i,l,c,f,d,h,p){j(t,p++,n),++i[256];for(var g,m,v,y,_=N(i,15),S=_.t,C=_.l,E=N(l,15),T=E.t,D=E.l,A=R(S),I=A.c,O=A.n,F=R(T),M=F.c,H=F.n,U=new o(19),B=0;B<I.length;++B)++U[31&I[B]];for(var B=0;B<M.length;++B)++U[31&M[B]];for(var V=N(U,7),q=V.t,Y=V.l,K=19;K>4&&!q[s[K-1]];--K);var $=h+5<<3,X=z(i,x)+z(l,w)+c,J=z(i,S)+z(l,T)+c+14+3*K+z(U,q)+2*U[16]+3*U[17]+7*U[18];if(d>=0&&$<=X&&$<=J)return W(t,p,e.subarray(d,d+h));if(j(t,p,1+(J<X)),p+=2,J<X){g=b(S,C,0),m=S,v=b(T,D,0),y=T;var G=b(q,Y,0);j(t,p,O-257),j(t,p+5,H-1),j(t,p+10,K-4),p+=14;for(var B=0;B<K;++B)j(t,p+3*B,q[s[B]]);p+=3*K;for(var Q=[I,M],Z=0;Z<2;++Z)for(var ee=Q[Z],B=0;B<ee.length;++B){var et=31&ee[B];j(t,p,G[et]),p+=q[et],et>15&&(j(t,p,ee[B]>>5&127),p+=ee[B]>>12)}}else g=k,m=x,v=P,y=w;for(var B=0;B<f;++B){var en=r[B];if(en>255){var et=en>>18&31;L(t,p,g[et+257]),p+=m[et+257],et>7&&(j(t,p,en>>23&31),p+=a[et]);var er=31&en;L(t,p,v[er]),p+=y[er],er>3&&(L(t,p,en>>5&8191),p+=u[er])}else L(t,p,g[en]),p+=m[en]}return L(t,p,g[256]),p+m[256]},B=new l([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),V=new i(0),q=function(e,t,n,r,s,c){var f=c.z||e.length,d=new i(r+f+5*(1+Math.ceil(f/7e3))+s),p=d.subarray(r,d.length-s),g=c.l,v=7&(c.r||0);if(t){v&&(p[0]=c.r>>3);for(var y=B[t-1],_=y>>13,b=8191&y,x=(1<<n)-1,w=c.p||new o(32768),k=c.h||new o(x+1),S=Math.ceil(n/3),P=2*S,C=function(t){return(e[t]^e[t+1]<<S^e[t+2]<<P)&x},E=new l(25e3),T=new o(288),D=new o(32),O=0,F=0,M=c.i||0,j=0,L=c.w||0,N=0;M+2<f;++M){var H=C(M),R=32767&M,z=k[H];if(w[R]=z,k[H]=R,L<=M){var V=f-M;if((O>7e3||j>24576)&&(V>423||!g)){v=U(e,p,0,E,T,D,F,j,N,M-N,v),j=O=F=0,N=M;for(var q=0;q<286;++q)T[q]=0;for(var q=0;q<30;++q)D[q]=0}var Y=2,K=0,$=b,X=R-z&32767;if(V>2&&H==C(M-X))for(var J=Math.min(_,V)-1,G=Math.min(32767,M),Q=Math.min(258,V);X<=G&&--$&&R!=z;){if(e[M+Y]==e[M+Y-X]){for(var Z=0;Z<Q&&e[M+Z]==e[M+Z-X];++Z);if(Z>Y){if(Y=Z,K=X,Z>J)break;for(var ee=Math.min(X,Z-2),et=0,q=0;q<ee;++q){var en=M-X+q&32767,er=w[en],ei=en-er&32767;ei>et&&(et=ei,z=en)}}}z=w[R=z],X+=R-z&32767}if(K){E[j++]=268435456|h[Y]<<18|m[K];var eo=31&h[Y],el=31&m[K];F+=a[eo]+u[el],++T[257+eo],++D[el],L=M+Y,++O}else E[j++]=e[M],++T[e[M]]}}for(M=Math.max(M,L);M<f;++M)E[j++]=e[M],++T[e[M]];v=U(e,p,g,E,T,D,F,j,N,M-N,v),g||(c.r=7&v|p[v/8|0]<<3,v-=7,c.h=k,c.p=w,c.i=M,c.w=L)}else{for(var M=c.w||0;M<f+g;M+=65535){var ea=M+65535;ea>=f&&(p[v/8|0]=g,ea=f),v=W(p,v+1,e.subarray(M,ea))}c.i=f}return I(d,0,r+A(v)+s)},Y=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=0|n.length,l=0;l!=o;){for(var a=Math.min(l+2655,o);l<a;++l)i+=r+=n[l];r=(65535&r)+15*(r>>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},K=function(e,t,n,r,o){if(!o&&(o={l:1},t.dictionary)){var l=t.dictionary.subarray(-32768),a=new i(l.length+e.length);a.set(l),a.set(e,l.length),e=a,o.w=l.length}return q(e,null==t.level?6:t.level,null==t.mem?o.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,o)},$=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n},X=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},J=function(e,t){var n=t.level;if(e[0]=120,e[1]=(0==n?0:n<6?1:9==n?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var r=Y();r.p(t.dictionary),X(e,2,r.d())}};function G(e,t){t||(t={});var n=Y();n.p(e);var r=K(e,t,t.dictionary?6:2,4);return J(r,t),X(r,r.length-4,n.d()),r}function Q(e,t){var n;return M(e.subarray((n=t&&t.dictionary,((15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&F(6,"invalid zlib data"),(e[1]>>5&1)==+!n&&F(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2),-4),{i:2},t&&t.out,t&&t.dictionary)}var Z=function(e,t,n,r){for(var o in e){var l=e[o],a=t+o,u=r;Array.isArray(l)&&(u=$(r,l[1]),l=l[0]),l instanceof i?n[a]=[l,u]:(n[a+="/"]=[new i(0),u],Z(l,a,n,r))}},ee="undefined"!=typeof TextDecoder&&new TextDecoder;try{ee.decode(V,{stream:!0})}catch(e){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},59058:function(){(()=>{"use strict";var e={792:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(609),i=n.n(r)()(function(e){return e[1]});
5i.push([e.id,':host{--divider-width: 1px;--divider-color: #fff;--divider-shadow: none;--default-handle-width: 50px;--default-handle-color: #fff;--default-handle-opacity: 1;--default-handle-shadow: none;--handle-position-start: 50%;position:relative;display:inline-block;overflow:hidden;line-height:0;direction:ltr}@media screen and (-webkit-min-device-pixel-ratio: 0)and (min-resolution: 0.001dpcm){:host{outline-offset:1px}}:host(:focus){outline:2px solid -webkit-focus-ring-color}::slotted(*){-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.first{position:absolute;left:0;top:0;right:0;line-height:normal;font-size:100%;max-height:100%;height:100%;width:100%;--exposure: 50%;--keyboard-transition-time: 0ms;--default-transition-time: 0ms;--transition-time: var(--default-transition-time)}.first .first-overlay-container{position:relative;clip-path:inset(0 var(--exposure) 0 0);transition:clip-path var(--transition-time);height:100%}.first .first-overlay{overflow:hidden;height:100%}.first.focused{will-change:clip-path}.first.focused .first-overlay-container{will-change:clip-path}.second{position:relative}.handle-container{transform:translateX(50%);position:absolute;top:0;right:var(--exposure);height:100%;transition:right var(--transition-time),bottom var(--transition-time)}.focused .handle-container{will-change:right}.divider{position:absolute;height:100%;width:100%;left:0;top:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.divider:after{content:" ";display:block;height:100%;border-left-width:var(--divider-width);border-left-style:solid;border-left-color:var(--divider-color);box-shadow:var(--divider-shadow)}.handle{position:absolute;top:var(--handle-position-start);pointer-events:none;box-sizing:border-box;margin-left:1px;transform:translate(calc(-50% - 0.5px), -50%);line-height:0}.default-handle{width:var(--default-handle-width);opacity:var(--default-handle-opacity);transition:all 1s;filter:drop-shadow(var(--default-handle-shadow))}.default-handle path{stroke:var(--default-handle-color)}.vertical .first-overlay-container{clip-path:inset(0 0 var(--exposure) 0)}.vertical .handle-container{transform:translateY(50%);height:auto;top:unset;bottom:var(--exposure);width:100%;left:0;flex-direction:row}.vertical .divider:after{height:1px;width:100%;border-top-width:var(--divider-width);border-top-style:solid;border-top-color:var(--divider-color);border-left:0}.vertical .handle{top:auto;left:var(--handle-position-start);transform:translate(calc(-50% - 0.5px), -50%) rotate(90deg)}',""]);let o=i},609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(i[l]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{let e;var t=n(792);let r="rendered",i=(e,t)=>{let n,r;let i=e.getBoundingClientRect();return"mousedown"===t.type?(n=t.clientX,r=t.clientY):(n=t.touches[0].clientX,r=t.touches[0].clientY),n>=i.x&&n<=i.x+i.width&&r>=i.y&&r<=i.y+i.height},o={ArrowLeft:-1,ArrowRight:1},l=["horizontal","vertical"],a=e=>({x:e.touches[0].pageX,y:e.touches[0].pageY}),u=e=>({x:e.pageX,y:e.pageY}),s="undefined"!=typeof window&&(null==window?void 0:window.HTMLElement);"undefined"!=typeof window&&(window.document&&((e=document.createElement("template")).innerHTML='<div class="second" id="second"> <slot name="second"><slot name="before"></slot></slot> </div> <div class="first" id="first"> <div class="first-overlay"> <div class="first-overlay-container" id="firstImageContainer"> <slot name="first"><slot name="after"></slot></slot> </div> </div> <div class="handle-container"> <div class="divider"></div> <div class="handle" id="handle"> <slot name="handle"> <svg xmlns="http://www.w3.org/2000/svg" class="default-handle" viewBox="-8 -3 16 6"> <path d="M -5 -2 L -7 0 L -5 2 M 5 -2 L 7 0 L 5 2" fill="none" vector-effect="non-scaling-stroke"/> </svg> </slot> </div> </div> </div> '),window.customElements.define("img-comparison-slider",class extends s{constructor(){super(),this.exposure=this.hasAttribute("value")?parseFloat(this.getAttribute("value")):
550,this.slideOnHover=!1,this.slideDirection="horizontal",this.keyboard="enabled",this.isMouseDown=!1,this.animationDirection=0,this.isFocused=!1,this.dragByHandle=!1,this.onMouseMove=e=>{if(this.isMouseDown||this.slideOnHover){let t=u(e);this.slideToPage(t)}},this.bodyUserSelectStyle="",this.bodyWebkitUserSelectStyle="",this.onMouseDown=e=>{if(this.slideOnHover||this.handle&&!i(this.handleElement,e))return;e.preventDefault(),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onWindowMouseUp),this.isMouseDown=!0,this.enableTransition();let t=u(e);this.slideToPage(t),this.focus(),this.bodyUserSelectStyle=window.document.body.style.userSelect,this.bodyWebkitUserSelectStyle=window.document.body.style.webkitUserSelect,window.document.body.style.userSelect="none",window.document.body.style.webkitUserSelect="none"},this.onWindowMouseUp=()=>{this.isMouseDown=!1,window.document.body.style.userSelect=this.bodyUserSelectStyle,window.document.body.style.webkitUserSelect=this.bodyWebkitUserSelectStyle,window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onWindowMouseUp)},this.touchStartPoint=null,this.isTouchComparing=!1,this.hasTouchMoved=!1,this.onTouchStart=e=>{this.dragByHandle&&!i(this.handleElement,e)||(this.touchStartPoint=a(e),this.isFocused&&(this.enableTransition(),this.slideToPage(this.touchStartPoint)))},this.onTouchMove=e=>{if(null===this.touchStartPoint)return;let t=a(e);if(this.isTouchComparing)return this.slideToPage(t),e.preventDefault(),!1;if(!this.hasTouchMoved){let n=Math.abs(t.y-this.touchStartPoint.y),r=Math.abs(t.x-this.touchStartPoint.x);if("horizontal"===this.slideDirection&&n<r||"vertical"===this.slideDirection&&n>r)return this.isTouchComparing=!0,this.focus(),this.slideToPage(t),e.preventDefault(),!1;this.hasTouchMoved=!0}},this.onTouchEnd=()=>{this.isTouchComparing=!1,this.hasTouchMoved=!1,this.touchStartPoint=null},this.onBlur=()=>{this.stopSlideAnimation(),this.isFocused=!1,this.firstElement.classList.remove("focused")},this.onFocus=()=>{this.isFocused=!0,this.firstElement.classList.add("focused")},this.onKeyDown=e=>{if("disabled"===this.keyboard)return;let t=o[e.key];this.animationDirection!==t&&void 0!==t&&(this.animationDirection=t,this.startSlideAnimation())},this.onKeyUp=e=>{if("disabled"===this.keyboard)return;let t=o[e.key];void 0!==t&&this.animationDirection===t&&this.stopSlideAnimation()},this.resetDimensions=()=>{this.imageWidth=this.offsetWidth,this.imageHeight=this.offsetHeight};let n=this.attachShadow({mode:"open"}),r=document.createElement("style");r.innerHTML=t.Z,this.getAttribute("nonce")&&r.setAttribute("nonce",this.getAttribute("nonce")),n.appendChild(r),n.appendChild(e.content.cloneNode(!0)),this.firstElement=n.getElementById("first"),this.handleElement=n.getElementById("handle")}set handle(e){this.dragByHandle="false"!==e.toString().toLowerCase()}get handle(){return this.dragByHandle}get value(){return this.exposure}set value(e){let t=parseFloat(e);t!==this.exposure&&(this.exposure=t,this.enableTransition(),this.setExposure())}get hover(){return this.slideOnHover}set hover(e){this.slideOnHover="false"!==e.toString().toLowerCase(),this.removeEventListener("mousemove",this.onMouseMove),this.slideOnHover&&this.addEventListener("mousemove",this.onMouseMove)}get direction(){return this.slideDirection}set direction(e){this.slideDirection=e.toString().toLowerCase(),this.slide(0),this.firstElement.classList.remove(...l),l.includes(this.slideDirection)&&this.firstElement.classList.add(this.slideDirection)}static get observedAttributes(){return["hover","direction"]}connectedCallback(){this.hasAttribute("tabindex")||(this.tabIndex=0),this.addEventListener("dragstart",e=>(e.preventDefault(),!1)),new ResizeObserver(this.resetDimensions).observe(this),this.setExposure(0),this.keyboard=this.hasAttribute("keyboard")&&"disabled"===this.getAttribute("keyboard")?"disabled":"enabled",this.addEventListener("keydown",this.onKeyDown),this.addEventListener("keyup",this.onKeyUp),this.addEventListener("focus",this.onFocus),this.addEventListener("blur",this.onBlur),this.addEventListener("touchstart",this.onTouchStart,{passive:!0}),this.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.addEventListener("touchend",this.onTouchEnd),this.addEventListener("mousedown",this.onMouseDown),this.handle=this.hasAttribute("handle")?this.getAttribute("handle"):this.dragByHandle,this.hover=this.hasAttribute("hover")?this.getAttribute("hover"):this.slideOnHover,this.direction=this.hasAttribute("direction")?this.getAttribute("direction"):this.slideDirection,this.resetDimensions(),this.classList.contains(r)||this.classList.add(r)}disconnectedCallback(){this.transitionTimer&&window.clearTimeout(this.transitionTimer)}attributeChangedCallback(e,t,n){"hover"===e&&(this.hover=n),"direction"===e&&(this.direction=n),"ke
5yboard"===e&&(this.keyboard="disabled"===n?"disabled":"enabled")}setExposure(e=0){var t;this.exposure=(t=this.exposure+e)<0?0:t>100?100:t,this.firstElement.style.setProperty("--exposure",100-this.exposure+"%")}slide(e=0){this.setExposure(e);let t=new Event("slide");this.dispatchEvent(t)}slideToPage(e){"horizontal"===this.slideDirection&&this.slideToPageX(e.x),"vertical"===this.slideDirection&&this.slideToPageY(e.y)}slideToPageX(e){let t=e-this.getBoundingClientRect().left-window.scrollX;this.exposure=t/this.imageWidth*100,this.slide(0)}slideToPageY(e){let t=e-this.getBoundingClientRect().top-window.scrollY;this.exposure=t/this.imageHeight*100,this.slide(0)}enableTransition(){this.firstElement.style.setProperty("--transition-time","100ms"),this.transitionTimer=window.setTimeout(()=>{this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)"),this.transitionTimer=null},100)}startSlideAnimation(){let e=null,t=this.animationDirection;this.firstElement.style.setProperty("--transition-time","var(--keyboard-transition-time)");let n=r=>{if(0===this.animationDirection||t!==this.animationDirection)return;null===e&&(e=r);let i=(r-e)/16.666666666666668*this.animationDirection;this.slide(i),setTimeout(()=>window.requestAnimationFrame(n),0),e=r};window.requestAnimationFrame(n)}stopSlideAnimation(){this.animationDirection=0,this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)")}}))})()})()},18159:function(e,t,n){var r;"undefined"!=typeof globalThis?globalThis:void 0!==this||("undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g),e.exports=(r=function(){try{return n(91819)}catch(e){}}(),function(){"use strict";var e={172:function(e,t){var n,r=this&&this.__extends||(n=function(e,t){return(n=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)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellHookData=t.HookData=void 0;var i=function(e,t,n){this.table=t,this.pageNumber=t.pageNumber,this.pageCount=this.pageNumber,this.settings=t.settings,this.cursor=n,this.doc=e.getDocument()};t.HookData=i;var o=function(e){function t(t,n,r,i,o,l){var a=e.call(this,t,n,l)||this;return a.cell=r,a.row=i,a.column=o,a.section=i.section,a}return r(t,e),t}(i);t.CellHookData=o},340:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(136),o=n(744),l=n(776),a=n(664),u=n(972);t.default=function(e){e.API.autoTable=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];1===t.length?e=t[0]:(console.error("Use of deprecated autoTable initiation"),(e=t[2]||{}).columns=t[0],e.body=t[1]);var r=(0,l.parseInput)(this,e),i=(0,u.createTable)(this,r);return(0,a.drawTable)(this,i),this},e.API.lastAutoTable=!1,e.API.previousAutoTable=!1,e.API.autoTable.previous=!1,e.API.autoTableText=function(e,t,n,r){(0,i.default)(e,t,n,r,this)},e.API.autoTableSetDefaults=function(e){return o.DocHandler.setDefaults(e,this),this},e.autoTableSetDefaults=function(e,t){o.DocHandler.setDefaults(e,t)},e.API.autoTableHtmlToJson=function(e,t){if(void 0===t&&(t=!1),"undefined"==typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var n,i=new o.DocHandler(this),l=(0,r.parseHtml)(i,e,window,t,!1),a=l.head,u=l.body;return{columns:(null===(n=a[0])||void 0===n?void 0:n.map(function(e){return e.content}))||[],rows:u,data:u}},e.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.");var e=this.lastAutoTable;return e&&e.finalY?e.finalY:0},e.API.autoTableAddPageContent=function(t){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),e.API.autoTable.globalDefaults||(e.API.autoTable.globalDefaults={}),e.API.autoTable.globalDefaults.addPageContent=t,this},e.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}}}
5,136:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){r=r||{};var o=i.internal.scaleFactor,l=i.internal.getFontSize()/o,a=l*(i.getLineHeightFactor?i.getLineHeightFactor():1.15),u="",s=1;if(("middle"===r.valign||"bottom"===r.valign||"center"===r.halign||"right"===r.halign)&&(s=(u="string"==typeof e?e.split(/\r\n|\r|\n/g):e).length||1),n+=.8500000000000001*l,"middle"===r.valign?n-=s/2*a:"bottom"===r.valign&&(n-=s*a),"center"===r.halign||"right"===r.halign){var c=l;if("center"===r.halign&&(c*=.5),u&&s>=1){for(var f=0;f<u.length;f++)i.text(u[f],t-i.getStringUnitWidth(u[f])*c,n),n+=a;return i}t-=i.getStringUnitWidth(e)*c}return"justify"===r.halign?i.text(e,t,n,{maxWidth:r.maxWidth||100,align:"justify"}):i.text(e,t,n),i}},420:function(e,t){function n(e,t){var n=e>0,r=t||0===t;return n&&r?"DF":n?"S":r?"F":null}function r(e,t){var n,r,i,o;if(Array.isArray(e=e||t)){if(e.length>=4)return{top:e[0],right:e[1],bottom:e[2],left:e[3]};if(3===e.length)return{top:e[0],right:e[1],bottom:e[2],left:e[1]};if(2===e.length)return{top:e[0],right:e[1],bottom:e[0],left:e[1]};e=1===e.length?e[0]:t}return"object"==typeof e?("number"==typeof e.vertical&&(e.top=e.vertical,e.bottom=e.vertical),"number"==typeof e.horizontal&&(e.right=e.horizontal,e.left=e.horizontal),{left:null!==(n=e.left)&&void 0!==n?n:t,top:null!==(r=e.top)&&void 0!==r?r:t,right:null!==(i=e.right)&&void 0!==i?i:t,bottom:null!==(o=e.bottom)&&void 0!==o?o:t}):("number"!=typeof e&&(e=t),{top:e,right:e,bottom:e,left:e})}Object.defineProperty(t,"__esModule",{value:!0}),t.getPageAvailableWidth=t.parseSpacing=t.getFillStyle=t.addTableBorder=t.getStringWidth=void 0,t.getStringWidth=function(e,t,n){return n.applyStyles(t,!0),(Array.isArray(e)?e:[e]).map(function(e){return n.getTextWidth(e)}).reduce(function(e,t){return Math.max(e,t)},0)},t.addTableBorder=function(e,t,r,i){var o=t.settings.tableLineWidth,l=t.settings.tableLineColor;e.applyStyles({lineWidth:o,lineColor:l});var a=n(o,!1);a&&e.rect(r.x,r.y,t.getWidth(e.pageSize().width),i.y-r.y,a)},t.getFillStyle=n,t.parseSpacing=r,t.getPageAvailableWidth=function(e,t){var n=r(t.settings.margin,0);return e.pageSize().width-(n.left+n.right)}},796:function(e,t){var n,r=this&&this.__extends||(n=function(e,t){return(n=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)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.getTheme=t.defaultStyles=t.HtmlRowInput=void 0;var i=function(e){function t(t){var n=e.call(this)||this;return n._element=t,n}return r(t,e),t}(Array);t.HtmlRowInput=i,t.defaultStyles=function(e){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/e,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}},t.getTheme=function(e){return({striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}})[e]}},903:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseCss=void 0;var r=n(420);function i(e,t){var n=function e(t,n){var r=n(t);return"rgba(0, 0, 0, 0)"!==r&&"transparent"!==r&&"initial"!==r&&"inherit"!==r?r:null==t.parentElement?null:e(t.parentElement,n)}(e,t);if(!n)return null;var r=n.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!r||!Array.isArray(r))return null;var i=[parseInt(r[1]),parseInt(r[2]),parseInt(r[3])];return 0===parseInt(r[4])||isNaN(i[0])||isNaN(i[1])||isNaN(i[2])?null:i}t.parseCss=function(e,t,n,o,l){var a,u,s,c,f,d,h={},p=96/72,g=i(t,function(e){return l.getComputedStyle(e).backgroundColor});null!=g&&(h.fillColor=g);var m=i(t,function(e){return l.getComputedStyle(e).color});null!=m&&(h.textColor=m);var v=(a=[o.paddingTop,o.paddingRight,o.paddingBottom,o.paddingLeft],u=96/(72/n),s=(parseInt(o.lineHeight)-parseInt(o.fontSize))/n/2,c=a.map(function(e){return parseInt(e||"0")/u}),s>
5(f=(0,r.parseSpacing)(c,0)).top&&(f.top=s),s>f.bottom&&(f.bottom=s),f);v&&(h.cellPadding=v);var y="borderTopColor",_=p*n,b=o.borderTopWidth;if(o.borderBottomWidth===b&&o.borderRightWidth===b&&o.borderLeftWidth===b){var x=(parseFloat(b)||0)/_;x&&(h.lineWidth=x)}else h.lineWidth={top:(parseFloat(o.borderTopWidth)||0)/_,right:(parseFloat(o.borderRightWidth)||0)/_,bottom:(parseFloat(o.borderBottomWidth)||0)/_,left:(parseFloat(o.borderLeftWidth)||0)/_},!h.lineWidth.top&&(h.lineWidth.right?y="borderRightColor":h.lineWidth.bottom?y="borderBottomColor":h.lineWidth.left&&(y="borderLeftColor"));var w=i(t,function(e){return l.getComputedStyle(e)[y]});null!=w&&(h.lineColor=w);var k=["left","right","center","justify"];-1!==k.indexOf(o.textAlign)&&(h.halign=o.textAlign),-1!==(k=["middle","bottom","top"]).indexOf(o.verticalAlign)&&(h.valign=o.verticalAlign);var S=parseInt(o.fontSize||"");isNaN(S)||(h.fontSize=S/p);var P=(d="",("bold"===o.fontWeight||"bolder"===o.fontWeight||parseInt(o.fontWeight)>=700)&&(d="bold"),("italic"===o.fontStyle||"oblique"===o.fontStyle)&&(d+="italic"),d);P&&(h.fontStyle=P);var C=(o.fontFamily||"").toLowerCase();return -1!==e.indexOf(C)&&(h.font=C),h}},744:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DocHandler=void 0;var n={},r=function(){function e(e){this.jsPDFDocument=e,this.userStyles={textColor:e.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:e.internal.getFontSize(),fontStyle:e.internal.getFont().fontStyle,font:e.internal.getFont().fontName,lineWidth:e.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:e.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return e.setDefaults=function(e,t){void 0===t&&(t=null),t?t.__autoTableDocumentDefaults=e:n=e},e.unifyColor=function(e){return Array.isArray(e)?e:"number"==typeof e?[e,e,e]:"string"==typeof e?[e]:null},e.prototype.applyStyles=function(t,n){void 0===n&&(n=!1),t.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(t.fontStyle);var r,i,o,l=this.jsPDFDocument.internal.getFont(),a=l.fontStyle,u=l.fontName;if(t.font&&(u=t.font),t.fontStyle){a=t.fontStyle;var s=this.getFontList()[u];s&&-1===s.indexOf(a)&&(this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(s[0]),a=s[0])}if(this.jsPDFDocument.setFont(u,a),t.fontSize&&this.jsPDFDocument.setFontSize(t.fontSize),!n){var c=e.unifyColor(t.fillColor);c&&(r=this.jsPDFDocument).setFillColor.apply(r,c),(c=e.unifyColor(t.textColor))&&(i=this.jsPDFDocument).setTextColor.apply(i,c),(c=e.unifyColor(t.lineColor))&&(o=this.jsPDFDocument).setDrawColor.apply(o,c),"number"==typeof t.lineWidth&&this.jsPDFDocument.setLineWidth(t.lineWidth)}},e.prototype.splitTextToSize=function(e,t,n){return this.jsPDFDocument.splitTextToSize(e,t,n)},e.prototype.rect=function(e,t,n,r,i){return this.jsPDFDocument.rect(e,t,n,r,i)},e.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},e.prototype.getTextWidth=function(e){return this.jsPDFDocument.getTextWidth(e)},e.prototype.getDocument=function(){return this.jsPDFDocument},e.prototype.setPage=function(e){this.jsPDFDocument.setPage(e)},e.prototype.addPage=function(){return this.jsPDFDocument.addPage()},e.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},e.prototype.getGlobalOptions=function(){return n||{}},e.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},e.prototype.pageSize=function(){var e=this.jsPDFDocument.internal.pageSize;return null==e.width&&(e={width:e.getWidth(),height:e.getHeight()}),e},e.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},e.prototype.getLineHeightFactor=function(){var e=this.jsPDFDocument;return e.getLineHeightFactor?e.getLineHeightFactor():1.15},e.prototype.getLineHeight=function(e){return e/this.scaleFactor()*this.getLineHeightFactor()},e.prototype.pageNumber=function(){var e=this.jsPDFDocument.internal.getCurrentPageInfo();return e?e.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},e}();t.DocHandler=r}
5,4:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseHtml=void 0;var r=n(903),i=n(796);t.parseHtml=function(e,t,n,o,l){void 0===o&&(o=!1),void 0===l&&(l=!1),s="string"==typeof t?n.document.querySelector(t):t;var a,u,s,c=Object.keys(e.getFontList()),f=e.scaleFactor(),d=[],h=[],p=[];if(!s)return console.error("Html table could not be found with input: ",t),{head:d,body:h,foot:p};for(var g=0;g<s.rows.length;g++){var m=s.rows[g],v=null===(u=null===(a=null==m?void 0:m.parentElement)||void 0===a?void 0:a.tagName)||void 0===u?void 0:u.toLowerCase(),y=function(e,t,n,o,l,a){for(var u=new i.HtmlRowInput(o),s=0;s<o.cells.length;s++){var c=o.cells[s],f=n.getComputedStyle(c);if(l||"none"!==f.display){var d=void 0;a&&(d=(0,r.parseCss)(e,c,t,f,n)),u.push({rowSpan:c.rowSpan,colSpan:c.colSpan,styles:d,_element:c,content:function(e){var t=e.cloneNode(!0);return t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/ +/g," "),t.innerHTML=t.innerHTML.split(/<br.*?>/).map(function(e){return e.trim()}).join("\n"),t.innerText||t.textContent||""}(c)})}}var h=n.getComputedStyle(o);if(u.length>0&&(l||"none"!==h.display))return u}(c,f,n,m,o,l);y&&("thead"===v?d.push(y):"tfoot"===v?p.push(y):h.push(y))}return{head:d,body:h,foot:p}}},776:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseInput=void 0;var r=n(4),i=n(356),o=n(420),l=n(744),a=n(792);t.parseInput=function(e,t){var n,u,s,c,f,d,h,p,g,m,v,y,_,b,x,w,k,S,P,C,E,T,D,A,I,O,F=new l.DocHandler(e),M=F.getDocumentOptions(),j=F.getGlobalOptions();(0,a.default)(F,j,M,t);var L=(0,i.assign)({},j,M,t);"undefined"!=typeof window&&(O=window);var N=function(e,t,n){for(var r={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},o=function(o){if("columnStyles"===o){var l=e[o],a=t[o],u=n[o];r.columnStyles=(0,i.assign)({},l,a,u)}else{var s=[e,t,n].map(function(e){return e[o]||{}});r[o]=(0,i.assign)({},s[0],s[1],s[2])}},l=0,a=Object.keys(r);l<a.length;l++)o(a[l]);return r}(j,M,t),H=function(e,t,n){for(var r={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},i=0,o=[e,t,n];i<o.length;i++){var l=o[i];l.didParseCell&&r.didParseCell.push(l.didParseCell),l.willDrawCell&&r.willDrawCell.push(l.willDrawCell),l.didDrawCell&&r.didDrawCell.push(l.didDrawCell),l.willDrawPage&&r.willDrawPage.push(l.willDrawPage),l.didDrawPage&&r.didDrawPage.push(l.didDrawPage)}return r}(j,M,t),R=(C=(0,o.parseSpacing)(L.margin,40/F.scaleFactor()),E=null!==(n=L.startY,u=F.getLastAutoTable(),s=F.scaleFactor(),c=F.pageNumber(),f=!1,u&&u.startPageNumber&&(f=u.startPageNumber+u.pageNumber-1===c),d="number"==typeof n?n:(null==n||!1===n)&&f&&(null==u?void 0:u.finalY)!=null?u.finalY+20/s:null)&&void 0!==d?d:C.top,S=!0===L.showFoot?"everyPage":!1===L.showFoot?"never":null!==(h=L.showFoot)&&void 0!==h?h:"everyPage",P=!0===L.showHead?"everyPage":!1===L.showHead?"never":null!==(p=L.showHead)&&void 0!==p?p:"everyPage",T=null!==(g=L.useCss)&&void 0!==g&&g,D=L.theme||(T?"plain":"striped"),A=!!L.horizontalPageBreak,I=null!==(m=L.horizontalPageBreakRepeat)&&void 0!==m?m:null,{includeHiddenHtml:null!==(v=L.includeHiddenHtml)&&void 0!==v&&v,useCss:T,theme:D,startY:E,margin:C,pageBreak:null!==(y=L.pageBreak)&&void 0!==y?y:"auto",rowPageBreak:null!==(_=L.rowPageBreak)&&void 0!==_?_:"auto",tableWidth:null!==(b=L.tableWidth)&&void 0!==b?b:"auto",showHead:P,showFoot:S,tableLineWidth:null!==(x=L.tableLineWidth)&&void 0!==x?x:0,tableLineColor:null!==(w=L.tableLineColor)&&void 0!==w?w:200,horizontalPageBreak:A,horizontalPageBreakRepeat:I,horizontalPageBreakBehaviour:null!==(k=L.horizontalPageBreakBehaviour)&&void 0!==k?k:"afterAllRows"}),z=function(e,t,n){var i,o,l,a,u,s=t.head||[],c=t.body||[],f=t.foot||[];if(t.html){var d=t.includeHiddenHtml;if(n){var h=(0,r.parseHtml)(e,t.html,n,d,t.useCss)||{};s=h.head||s,c=h.body||s,f=h.foot||s}else console.error("Cannot parse html in non browser environment")}return{columns:t.columns||(i=s,o=c,l=f,a=i[0]||o[0]||l[0]||[],u=[],Object.keys(a).filter(function(e){return"_element"!==e}).forEach(function(e){var t,n=1;"object"!=typeof(t=Array.isArray(a)?a[parseInt(e)]:a[e])||Array.isArray(t)||(n=(null==t?void 0:t.colSpan)||1);for(var r=0;r<n;r++){var i={dataKey:Array.isArray(a)?u.length:e+(r>0?"_".concat(r):"")};u.push(i)}}),u),head:s,body:c,foot:f}}(F,L,O);return{id:t.tableId,content:z,hooks:H,styles:N,settings:R}}},792:function(e,t){function n(e){e.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),e.minCellHeight||(e.minCellHeight=e.rowHeight)):e.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),e.cellWidth||(e.cellWidth=e.columnWidth))}
vendor: 6,148 bytes, line 5
5Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){for(var o=function(t){t&&"object"!=typeof t&&console.error("The options parameter should be of type object, is: "+typeof t),void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead.")),t.startY&&"number"!=typeof t.startY&&(console.error("Invalid value for startY option",t.startY),delete t.startY),!t.didDrawPage&&(t.afterPageContent||t.beforePageContent||t.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),t.didDrawPage=function(n){e.applyStyles(e.userStyles),t.beforePageContent&&t.beforePageContent(n),e.applyStyles(e.userStyles),t.afterPageContent&&t.afterPageContent(n),e.applyStyles(e.userStyles),t.afterPageAdd&&n.pageNumber>1&&n.afterPageAdd(n),e.applyStyles(e.userStyles)}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach(function(e){t[e]&&console.error('The "'.concat(e,'" hook has changed in version 3.0, check the changelog for how to migrate.'))}),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach(function(e){var n=e[0],r=e[1];t[r]&&(console.error("Use of deprecated option ".concat(r,". Use ").concat(n," instead")),t[n]=t[r])}),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach(function(e){var n="string"==typeof e?e:e[0],r="string"==typeof e?e:e[1];void 0!==t[n]&&(void 0===t.styles[r]&&(t.styles[r]=t[n]),console.error("Use of deprecated option: "+n+", use the style "+r+" instead."))});for(var r=0,i=["styles","bodyStyles","headStyles","footStyles"];r<i.length;r++)n(t[i[r]]||{});for(var o=t.columnStyles||{},l=0,a=Object.keys(o);l<a.length;l++)n(o[a[l]]||{})},l=0,a=[t,r,i];l<a.length;l++)o(a[l])}},260:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Column=t.Cell=t.Row=t.Table=void 0;var r=n(796),i=n(172),o=n(420),l=function(){function e(e,t){this.pageNumber=1,this.pageCount=1,this.id=e.id,this.settings=e.settings,this.styles=e.styles,this.hooks=e.hooks,this.columns=t.columns,this.head=t.head,this.body=t.body,this.foot=t.foot}return e.prototype.getHeadHeight=function(e){return this.head.reduce(function(t,n){return t+n.getMaxCellHeight(e)},0)},e.prototype.getFootHeight=function(e){return this.foot.reduce(function(t,n){return t+n.getMaxCellHeight(e)},0)},e.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},e.prototype.callCellHooks=function(e,t,n,r,o,l){for(var a=0;a<t.length;a++){var u=!1===(0,t[a])(new i.CellHookData(e,this,n,r,o,l));if(n.text=Array.isArray(n.text)?n.text:[n.text],u)return!1}return!0},e.prototype.callEndPageHooks=function(e,t){e.applyStyles(e.userStyles);for(var n=0,r=this.hooks.didDrawPage;n<r.length;n++)(0,r[n])(new i.HookData(e,this,t))},e.prototype.callWillDrawPageHooks=function(e,t){for(var n=0,r=this.hooks.willDrawPage;n<r.length;n++)(0,r[n])(new i.HookData(e,this,t))},e.prototype.getWidth=function(e){if("number"==typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth)return this.columns.reduce(function(e,t){return e+t.wrappedWidth},0);var t=this.settings.margin;return e-t.left-t.right},e}();t.Table=l;var a=function(){function e(e,t,n,i,o){void 0===o&&(o=!1),this.height=0,this.raw=e,e instanceof r.HtmlRowInput&&(this.raw=e._element,this.element=e._element),this.index=t,this.section=n,this.cells=i,this.spansMultiplePages=o}return e.prototype.getMaxCellHeight=function(e){var t=this;return e.reduce(function(e,n){var r;return Math.max(e,(null===(r=t.cells[n.index])||void 0===r?void 0:r.height)||0)},0)},e.prototype.hasRowSpan=function(e){var t=this;return e.filter(function(e){var n=t.cells[e.index];return!!n&&n.rowSpan>1}).length>0},e.prototype.canEntireRowFit=function(e,t){return this.getMaxCellHeight(t)<=e},e.prototype.getMinimumRowHeight=function(e,t){var n=this;return e.reduce(function(e,r){var i=n.cells[r.index];if(!i)return 0;var o=t.getLineHeight(i.styles.fontSize),l=i.padding("vertical")+o;return l>e?l:e},0)},e}();t.Row=a;var u=function(){function e(e,t,n){this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=t,this.section=n,this.raw=e;var r,i,o=e;null==e||"object"!=typeof e||Array.isArray(e)?(this.rowSpan=1,this.colSpan=1):(this.rowSpan=e.rowSpan||1,this.colSpan=e.colSpan||1,o=null!==(i=null!==(r=e.content)&&void 0!==r?r:e.title)&&void 0!==i?i:e,e._element&&(this.raw=e._element));var l=null!=o?""+o:"";this.text=l.split(/\r\n|\r|\n/g)}return e.prototype.getTextPos=function(){if("top"===this.styles.valign)e=this.y+this.padding("top");else if("bottom"===this.styles.valign)e=this.y+this.height-this.padding("bottom");else{var e,t,n=this.height-this.padding("vertical");e=this.y+n/2+this.padding("top")}if("right"===this.styles.halign)t=this.x+this.width-this.padding("right");else if("center"===this.styles.halign){var r=this.width-this.padding("horizontal");t=this.x+r/2+this.padding("left")}else t=this.x+this.padding("left");return{x:t,y:e}},e.prototype.getContentHeight=function(e,t){return void 0===t&&(t=1.15),Math.max((Array.isArray(this.text)?this.text.length:1)*(this.styles.fontSize/e*t)+this.padding("vertical"),this.styles.minCellHeight)},e.prototype.padding=function(e){var t=(0,o.parseSpacing)(this.styles.cellPadding,0);return"vertical"===e?t.top+t.bottom:"horizontal"===e?t.left+t.right:t[e]},e}();t.Cell=u;var s=function(){function e(e,t,n){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=e,this.raw=t,this.index=n}return e.prototype.getMaxCustomCellWidth=function(e){for(var t=0,n=0,r=e.allRows();n<r.length;n++){var i=r[n].cells[this.index];i&&"number"==typeof i.styles.cellWidth&&(t=Math.max(t,i.styles.cellWidth))}return t},e}();t.Column=s}
5,356:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.assign=void 0,t.assign=function(e,t,n,r,i){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var o=Object(e),l=1;l<arguments.length;l++){var a=arguments[l];if(null!=a)for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(o[u]=a[u])}return o}},972:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createTable=void 0;var r=n(744),i=n(260),o=n(324),l=n(796),a=n(356);function u(e,t,n,r,o,u){var s={};return t.map(function(t,c){for(var f=0,d={},h=0,p=0,g=0;g<n.length;g++){var m=n[g];if(null==s[m.index]||0===s[m.index].left){if(0===p){var v=void 0;v=Array.isArray(t)?t[m.index-h-f]:t[m.dataKey];var y={};"object"!=typeof v||Array.isArray(v)||(y=(null==v?void 0:v.styles)||{});var _=function(e,t,n,r,i,o,u){var s,c=(0,l.getTheme)(r);"head"===e?s=i.headStyles:"body"===e?s=i.bodyStyles:"foot"===e&&(s=i.footStyles);var f=(0,a.assign)({},c.table,c[e],i.styles,s),d=i.columnStyles[t.dataKey]||i.columnStyles[t.index]||{},h="body"===e&&n%2==0?(0,a.assign)({},c.alternateRow,i.alternateRowStyles):{},p=(0,l.defaultStyles)(o),g=(0,a.assign)({},p,f,h,"body"===e?d:{});return(0,a.assign)(g,u)}(e,m,c,o,r,u,y),b=new i.Cell(v,_,e);d[m.dataKey]=b,d[m.index]=b,p=b.colSpan-1,s[m.index]={left:b.rowSpan-1,times:p}}else p--,h++}else s[m.index].left--,p=s[m.index].times,f++}return new i.Row(t,c,e,d)})}function s(e,t){var n={};return e.forEach(function(e){if(null!=e.raw){var r=function(e,t){if("head"===e){if("object"==typeof t)return t.header||t.title||null;if("string"==typeof t||"number"==typeof t)return t}else if("foot"===e&&"object"==typeof t)return t.footer;return null}(t,e.raw);null!=r&&(n[e.dataKey]=r)}}),Object.keys(n).length>0?n:null}t.createTable=function(e,t){var n=new r.DocHandler(e),l=function(e,t){var n=e.content,r=n.columns.map(function(e,t){var n,r,o;return o="object"==typeof e&&null!==(r=null!==(n=e.dataKey)&&void 0!==n?n:e.key)&&void 0!==r?r:t,new i.Column(o,e,t)});if(0===n.head.length){var o=s(r,"head");o&&n.head.push(o)}if(0===n.foot.length){var o=s(r,"foot");o&&n.foot.push(o)}var l=e.settings.theme,a=e.styles;return{columns:r,head:u("head",n.head,r,a,l,t),body:u("body",n.body,r,a,l,t),foot:u("foot",n.foot,r,a,l,t)}}(t,n.scaleFactor()),a=new i.Table(t,l);return(0,o.calculateWidths)(n,a),n.applyStyles(n.userStyles),a}},664:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addPage=t.drawTable=void 0;var r=n(420),i=n(260),o=n(744),l=n(356),a=n(136),u=n(224);function s(e,t,n,r){var i=t.settings;e.applyStyles(e.userStyles),("firstPage"===i.showHead||"everyPage"===i.showHead)&&t.head.forEac
5h(function(i){return h(e,t,i,n,r)})}function c(e,t,n,r,i,o){e.applyStyles(e.userStyles);var l=Math.min(n+(o=null!=o?o:t.body.length),t.body.length),a=-1;return t.body.slice(n,l).forEach(function(o,l){var u=n+l===t.body.length-1,s=p(e,t,u,r);o.canEntireRowFit(s,i)&&(h(e,t,o,r,i),a=n+l)}),a}function f(e,t,n,r){var i=t.settings;e.applyStyles(e.userStyles),("lastPage"===i.showFoot||"everyPage"===i.showFoot)&&t.foot.forEach(function(i){return h(e,t,i,n,r)})}function d(e,t,n,r,o,a,u){var s=p(e,t,r,a);if(n.canEntireRowFit(s,u))h(e,t,n,a,u);else if(function(e,t,n,r){var i=e.pageSize().height,o=r.settings.margin,l=i-(o.top+o.bottom);"body"===t.section&&(l-=r.getHeadHeight(r.columns)+r.getFootHeight(r.columns));var a=t.getMinimumRowHeight(r.columns,e);if(a>l)return console.error("Will not be able to print row ".concat(t.index," correctly since it's minimum height is larger than page height")),!0;if(!(a<n))return!1;var u=t.hasRowSpan(r.columns);return t.getMaxCellHeight(r.columns)>l?(u&&console.error("The content of row ".concat(t.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!u&&"avoid"!==r.settings.rowPageBreak}(e,n,s,t)){var c=function(e,t,n,r){var o={};e.spansMultiplePages=!0,e.height=0;for(var a=0,u=0,s=n.columns;u<s.length;u++){var c=s[u],f=e.cells[c.index];if(f){Array.isArray(f.text)||(f.text=[f.text]);var d=new i.Cell(f.raw,f.styles,f.section);(d=(0,l.assign)(d,f)).text=[];var h=function(e,t,n){var r=n.getLineHeight(e.styles.fontSize);return Math.max(0,Math.floor((t-e.padding("vertical"))/r))}(f,t,r);f.text.length>h&&(d.text=f.text.splice(h,f.text.length));var p=r.scaleFactor(),g=r.getLineHeightFactor();f.contentHeight=f.getContentHeight(p,g),f.contentHeight>=t&&(f.contentHeight=t,d.styles.minCellHeight-=t),f.contentHeight>e.height&&(e.height=f.contentHeight),d.contentHeight=d.getContentHeight(p,g),d.contentHeight>a&&(a=d.contentHeight),o[c.index]=d}}var m=new i.Row(e.raw,-1,e.section,o,!0);m.height=a;for(var v=0,y=n.columns;v<y.length;v++){var c=y[v],d=m.cells[c.index];d&&(d.height=m.height);var f=e.cells[c.index];f&&(f.height=e.height)}return m}(n,s,t,e);h(e,t,n,a,u),g(e,t,o,a,u),d(e,t,c,r,o,a,u)}else g(e,t,o,a,u),d(e,t,n,r,o,a,u)}function h(e,t,n,i,o){i.x=t.settings.margin.left;for(var l=0;l<o.length;l++){var u=o[l],s=n.cells[u.index];if(!s||(e.applyStyles(s.styles),s.x=i.x,s.y=i.y,!1===t.callCellHooks(e,t.hooks.willDrawCell,s,n,u,i))){i.x+=u.width;continue}(function(e,t,n){var i=t.styles;if(e.getDocument().setFillColor(e.getDocument().getFillColor()),"number"==typeof i.lineWidth){var o=(0,r.getFillStyle)(i.lineWidth,i.fillColor);o&&e.rect(t.x,n.y,t.width,t.height,o)}else"object"==typeof i.lineWidth&&(i.fillColor&&e.rect(t.x,n.y,t.width,t.height,"F"),function(e,t,n,r){var i,o,l,a;function u(t,n,r,i,o){e.getDocument().setLineWidth(t),e.getDocument().line(n,r,i,o,"S")}r.top&&(i=n.x,o=n.y,l=n.x+t.width,a=n.y,r.right&&(l+=.5*r.right),r.left&&(i-=.5*r.left),u(r.top,i,o,l,a)),r.bottom&&(i=n.x,o=n.y+t.height,l=n.x+t.width,a=n.y+t.height,r.right&&(l+=.5*r.right),r.left&&(i-=.5*r.left),u(r.bottom,i,o,l,a)),r.left&&(i=n.x,o=n.y,l=n.x,a=n.y+t.height,r.top&&(o-=.5*r.top),r.bottom&&(a+=.5*r.bottom),u(r.left,i,o,l,a)),r.right&&(i=n.x+t.width,o=n.y,l=n.x+t.width,a=n.y+t.height,r.top&&(o-=.5*r.top),r.bottom&&(a+=.5*r.bottom),u(r.right,i,o,l,a))}(e,t,n,i.lineWidth))})(e,s,i);var c=s.getTextPos();(0,a.default)(s.text,c.x,c.y,{halign:s.styles.halign,valign:s.styles.valign,maxWidth:Math.ceil(s.width-s.padding("left")-s.padding("right"))},e.getDocument()),t.callCellHooks(e,t.hooks.didDrawCell,s,n,u,i),i.x+=u.width}i.y+=n.height}function p(e,t,n,r){var i=t.settings.margin.bottom,o=t.settings.showFoot;return("everyPage"===o||"lastPage"===o&&n)&&(i+=t.getFootHeight(t.columns)),e.pageSize().height-r.y-i}function g(e,t,n,i,o,l){void 0===o&&(o=[]),void 0===l&&(l=!1),e.applyStyles(e.userStyles),"everyPage"!==t.settings.showFoot||l||t.foot.forEach(function(n){return h(e,t,n,i,o)}),t.callEndPageHooks(e,i);var a=t.settings.margin;
5(0,r.addTableBorder)(e,t,n,i),m(e),t.pageNumber++,t.pageCount++,i.x=a.left,i.y=a.top,n.y=a.top,t.callWillDrawPageHooks(e,i),"everyPage"===t.settings.showHead&&(t.head.forEach(function(n){return h(e,t,n,i,o)}),e.applyStyles(e.userStyles))}function m(e){var t=e.pageNumber();return e.setPage(t+1),e.pageNumber()===t&&(e.addPage(),!0)}t.drawTable=function(e,t){var n=t.settings,i=n.startY,a=n.margin,p={x:a.left,y:i},v=t.getHeadHeight(t.columns)+t.getFootHeight(t.columns),y=i+a.bottom+v;"avoid"===n.pageBreak&&(y+=t.body.reduce(function(e,t){return e+t.height},0));var _=new o.DocHandler(e);("always"===n.pageBreak||null!=n.startY&&y>_.pageSize().height)&&(m(_),p.y=a.top),t.callWillDrawPageHooks(_,p);var b=(0,l.assign)({},p);t.startPageNumber=_.pageNumber(),n.horizontalPageBreak?function(e,t,n,r){var i=(0,u.calculateAllColumnsCanFitInPage)(e,t);if("afterAllRows"===t.settings.horizontalPageBreakBehaviour)i.forEach(function(i,o){var l;e.applyStyles(e.userStyles),o>0?g(e,t,n,r,i.columns,!0):s(e,t,r,i.columns),l=i.columns,e.applyStyles(e.userStyles),t.body.forEach(function(i,o){var a=o===t.body.length-1;d(e,t,i,a,n,r,l)}),f(e,t,r,i.columns)});else for(var o=-1,l=i[0];o<t.body.length-1;)!function(){var a=o;if(l){e.applyStyles(e.userStyles);var u=l.columns;o>=0?g(e,t,n,r,u,!0):s(e,t,r,u),a=c(e,t,o+1,r,u),f(e,t,r,u)}var d=a-o;i.slice(1).forEach(function(i){e.applyStyles(e.userStyles),g(e,t,n,r,i.columns,!0),c(e,t,o+1,r,i.columns,d),f(e,t,r,i.columns)}),o=a}()}(_,t,b,p):(_.applyStyles(_.userStyles),("firstPage"===n.showHead||"everyPage"===n.showHead)&&t.head.forEac
5h(function(e){return h(_,t,e,p,t.columns)}),_.applyStyles(_.userStyles),t.body.forEach(function(e,n){var r=n===t.body.length-1;d(_,t,e,r,b,p,t.columns)}),_.applyStyles(_.userStyles),("lastPage"===n.showFoot||"everyPage"===n.showFoot)&&t.foot.forEach(function(e){return h(_,t,e,p,t.columns)})),(0,r.addTableBorder)(_,t,b,p),t.callEndPageHooks(_,p),t.finalY=p.y,e.lastAutoTable=t,e.previousAutoTable=t,e.autoTable&&(e.autoTable.previous=t),_.applyStyles(_.userStyles)},t.addPage=g},224:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.calculateAllColumnsCanFitInPage=void 0;var r=n(420);t.calculateAllColumnsCanFitInPage=function(e,t){for(var n=[],i=0;i<t.columns.length;i++){var o=function(e,t,n){void 0===n&&(n={});var i,o=(0,r.getPageAvailableWidth)(e,t),l=new Map,a=[],u=[],s=[];t.settings.horizontalPageBreakRepeat,Array.isArray(t.settings.horizontalPageBreakRepeat)?s=t.settings.horizontalPageBreakRepeat:("string"==typeof t.settings.horizontalPageBreakRepeat||"number"==typeof t.settings.horizontalPageBreakRepeat)&&(s=[t.settings.horizontalPageBreakRepeat]),s.forEac
5h(function(e){var n=t.columns.find(function(t){return t.dataKey===e||t.index===e});n&&!l.has(n.index)&&(l.set(n.index,!0),a.push(n.index),u.push(t.columns[n.index]),o-=n.wrappedWidth)});for(var c=!0,f=null!==(i=null==n?void 0:n.start)&&void 0!==i?i:0;f<t.columns.length;){if(l.has(f)){f++;continue}var d=t.columns[f].wrappedWidth;if(c||o>=d)c=!1,a.push(f),u.push(t.columns[f]),o-=d;else break;f++}return{colIndexes:a,columns:u,lastIndex:f-1}}(e,t,{start:i});o.columns.length&&(n.push(o),i=o.lastIndex)}return n}},324:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ellipsize=t.resizeColumns=t.calculateWidths=void 0;var r=n(420);function i(e,t,n){for(var r=t,o=e.reduce(function(e,t){return e+t.wrappedWidth},0),l=0;l<e.length;l++){var a=e[l],u=r*(a.wrappedWidth/o),s=a.width+u,c=n(a),f=s<c?c:s;t-=f-a.width,a.width=f}if(t=Math.round(1e10*t)/1e10){var d=e.filter(function(e){return!(t<0)||e.width>n(e)});d.length&&(t=i(d,t,n))}return t}function o(e,t,n,i,o){return e.map(function(e){return function(e,t,n,i,o){var l=1e4*i.scaleFactor();if((t=Math.ceil(t*l)/l)>=(0,r.getStringWidth)(e,n,i))return e;for(;t<(0,r.getStringWidth)(e+o,n,i)&&!(e.length<=1);)e=e.substring(0,e.length-1);return e.trim()+o}(e,t,n,i,o)})}t.calculateWidths=function(e,t){n=e.scaleFactor(),l=t.settings.horizontalPageBreak,a=(0,r.getPageAvailableWidth)(e,t),t.allRows().forEach(function(i){for(var o=0,u=t.columns;o<u.length;o++){var s=u[o],c=i.cells[s.index];if(c){var f=t.hooks.didParseCell;t.callCellHooks(e,f,c,i,s,null);var d=c.padding("horizontal");c.contentWidth=(0,r.getStringWidth)(c.text,c.styles,e)+d;var h=(0,r.getStringWidth)(c.text.join(" ").split(/[^\S\u00A0]+/),c.styles,e);if(c.minReadableWidth=h+c.padding("horizontal"),"number"==typeof c.styles.cellWidth)c.minWidth=c.styles.cellWidth,c.wrappedWidth=c.styles.cellWidth;else if("wrap"===c.styles.cellWidth||!0===l)c.contentWidth>a?(c.minWidth=a,c.wrappedWidth=a):(c.minWidth=c.contentWidth,c.wrappedWidth=c.contentWidth);else{var p=10/n;c.minWidth=c.styles.minCellWidth||p,c.wrappedWidth=c.contentWidth,c.minWidth>c.wrappedWidth&&(c.wrappedWidth=c.minWidth)}}}}),t.allRows().forEach(function(e){for(var n=0,r=t.columns;n<r.length;n++){var i=r[n],o=e.cells[i.index];if(o&&1===o.colSpan)i.wrappedWidth=Math.max(i.wrappedWidth,o.wrappedWidth),i.minWidth=Math.max(i.minWidth,o.minWidth),i.minReadableWidth=Math.max(i.minReadableWidth,o.minReadableWidth);else{var l=t.styles.columnStyles[i.dataKey]||t.styles.columnStyles[i.index]||{},a=l.cellWidth||l.minCellWidth;a&&"number"==typeof a&&(i.minWidth=a,i.wrappedWidth=a)}o&&(o.colSpan>1&&!i.minWidth&&(i.minWidth=o.minWidth),o.colSpan>1&&!i.wrappedWidth&&(i.wrappedWidth=o.minWidth))}});var n,l,a,u=[],s=0;t.columns.forEach(function(e){var n=e.getMaxCustomCellWidth(t);n?e.width=n:(e.width=e.wrappedWidth,u.push(e)),s+=e.width});var c=t.getWidth(e.pageSize().width)-s;c&&(c=i(u,c,function(e){return Math.max(e.minReadableWidth,e.minWidth)})),c&&(c=i(u,c,function(e){return e.minWidth})),c=Math.abs(c),!t.settings.horizontalPageBreak&&c>.1/e.scaleFactor()&&(c=c<1?c:Math.round(c),console.warn("Of the table content, ".concat(c," units width could not fit page"))),function(e){for(var t=e.allRows(),n=0;n<t.length;n++)for(var r=t[n],i=null,o=0,l=0,a=0;a<e.columns.length;a++){var u=e.columns[a];if((l-=1)>1&&e.columns[a+1])o+=u.width,delete r.cells[u.index];else if(i){var s=i;delete r.cells[u.index],i=null,s.width=u.width+o}else{var s=r.cells[u.index];if(!s)continue;if(l=s.colSpan,o=0,s.colSpan>1){i=s,o+=u.width;continue}s.width=u.width+o}}}(t),function(e,t){for(var n={count:0,height:0},r=0,i=e.allRows();r<i.length;r++){for(var l=i[r],a=0,u=e.columns;a<u.length;a++){var s=u[a],c=l.cells[s.index];if(c){t.applyStyles(c.styles,!0);var f=c.width-c.padding("horizontal");if("linebreak"===c.styles.overflow)c.text=t.splitTextToSize(c.text,f+1/t.scaleFactor(),{fontSize:c.styles.fontSize});else if("ellipsize"===c.styles.overflow)c.text=o(c.text,f,c.styles,t,"...");else if("hidden"===c.styles.overflow)c.text=o(c.text,f,c.styles,t,"");else if("function"==typeof c.styles.overflow){var d=c.styles.overflow(c.text,f);"string"==typeof d?c.text=[d]:c.text=d}c.contentHeight=c.getContentHeight(t.scaleFactor(),t.getLineHeightFactor());var h=c.contentHeight/c.rowSpan;c.rowSpan>1&&n.count*n.height<h*c.rowSpan?n={height:h,count:c.rowSpan}:n&&n.count>0&&n.height>h&&(h=n.height),h>l.height&&(l.height=h)}}n.count--}}(t,e),function(e){for(var t={},n=1,r=e.allRows(),i=0;i<r.length;i++)for(var o=r[i],l=0,a=e.columns;l<a.length;l++){var u=a[l],s=t[u.index];if(n>1)n--,delete o.cells[u.index];
5else if(s)s.cell.height+=o.height,n=s.cell.colSpan,delete o.cells[u.index],s.left--,s.left<=1&&delete t[u.index];else{var c=o.cells[u.index];if(!c)continue;if(c.height=o.height,c.rowSpan>1){var f=r.length-i,d=c.rowSpan>f?f:c.rowSpan;t[u.index]={cell:c,left:d,row:o}}}}}(t)},t.resizeColumns=i,t.ellipsize=o},964:function(e){if(void 0===r){var t=Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}e.exports=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}var i={};return function(){var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.Cell=e.Column=e.Row=e.Table=e.CellHookData=e.__drawTable=e.__createTable=e.applyPlugin=void 0;var t=n(340),r=n(776),o=n(664),l=n(972),a=n(260);Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return a.Table}});var u=n(172);Object.defineProperty(e,"CellHookData",{enumerable:!0,get:function(){return u.CellHookData}});var s=n(260);function c(e){(0,t.default)(e)}Object.defineProperty(e,"Cell",{enumerable:!0,get:function(){return s.Cell}}),Object.defineProperty(e,"Column",{enumerable:!0,get:function(){return s.Column}}),Object.defineProperty(e,"Row",{enumerable:!0,get:function(){return s.Row}}),e.applyPlugin=c,e.__createTable=function(e,t){var n=(0,r.parseInput)(e,t);return(0,l.createTable)(e,n)},e.__drawTable=function(e,t){(0,o.drawTable)(e,t)};try{var f=n(964);f.jsPDF&&(f=f.jsPDF),c(f)}catch(e){}e.default=function(e,t){var n=(0,r.parseInput)(e,t),i=(0,l.createTable)(e,n);(0,o.drawTable)(e,i)}}(),i}())},11720:function(e,t,n){"use strict";n.r(t),n.d(t,{Children:function(){return q},Component:function(){return a.Component},Fragment:function(){return a.Fragment},PureComponent:function(){return R},StrictMode:function(){return eE},Suspense:function(){return $},SuspenseList:function(){return G},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return ey},cloneElement:function(){return ew},createContext:function(){return a.createContext},createElement:function(){return a.createElement},createFactory:function(){return eb},createPortal:function(){return et},createRef:function(){return a.createRef},default:function(){return eF},findDOMNode:function(){return eS},flushSync:function(){return eC},forwardRef:function(){return B},hydrate:function(){return eu},isValidElement:function(){return ex},lazy:function(){return J},memo:function(){return z},render:function(){return ea},startTransition:function(){return eT},unmountComponentAtNode:function(){return ek},unstable_batchedUpdates:function(){return eP},useCallback:function(){return S},useContext:function(){return P},useDebugValue:function(){return C},useDeferredValue:function(){return eD},useEffect:function(){return _},useErrorBoundary:function(){return E},useId:function(){return T},useImperativeHandle:function(){return w},useInsertionEffect:function(){return eI},useLayoutEffect:function(){return b},useMemo:function(){return k},useReducer:function(){return y}
5,useRef:function(){return x},useState:function(){return v},useSyncExternalStore:function(){return eO},useTransition:function(){return eA},version:function(){return e_}});var r,i,o,l,a=n(6400),u=0,s=[],c=[],f=a.options.__b,d=a.options.__r,h=a.options.diffed,p=a.options.__c,g=a.options.unmount;function m(e,t){a.options.__h&&a.options.__h(i,e,u||t),u=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:c}),n.__[e]}function v(e){return u=1,y(j,e)}function y(e,t,n){var o=m(r++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):j(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=i,!i.u)){var l=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter(function(e){return e.__c});if(r.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var i=!1;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),!(!i&&o.__c.props===e)&&(!a||a.call(this,e,t,n))};i.u=!0;var a=i.shouldComponentUpdate,u=i.componentWillUpdate;i.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,l(e,t,n),a=r}u&&u.call(this,e,t,n)},i.shouldComponentUpdate=l}return o.__N||o.__}function _(e,t){var n=m(r++,3);!a.options.__s&&M(n.__H,t)&&(n.__=e,n.i=t,i.__H.__h.push(n))}function b(e,t){var n=m(r++,4);!a.options.__s&&M(n.__H,t)&&(n.__=e,n.i=t,i.__h.push(n))}function x(e){return u=5,k(function(){return{current:e}},[])}function w(e,t,n){u=6,b(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))}function k(e,t){var n=m(r++,7);return M(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function S(e,t){return u=8,k(function(){return e},t)}function P(e){var t=i.context[e.__c],n=m(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function C(e,t){a.options.useDebugValue&&a.options.useDebugValue(t?t(e):e)}function E(e){var t=m(r++,10),n=v();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function T(){var e=m(r++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function D(){for(var e;e=s.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(O),e.__H.__h.forEach(F),e.__H.__h=[]}catch(t){e.__H.__h=[],a.options.__e(t,e.__v)}}a.options.__b=function(e){i=null,f&&f(e)},a.options.__r=function(e){d&&d(e),r=0;var t=(i=e.__c).__H;t&&(o===i?(t.__h=[],i.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=c,e.__N=e.i=void 0})):(t.__h.forEach(O),t.__h.forEach(F),t.__h=[])),o=i},a.options.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==s.push(t)&&l===a.options.requestAnimationFrame||((l=a.options.requestAnimationFrame)||I)(D)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==c&&(e.__=e.__V),e.i=void 0,e.__V=c})),o=i=null},a.options.__c=function(e,t){t.some(function(e){try{e.__h.forEach(O),e.__h=e.__h.filter(function(e){return!e.__||F(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],a.options.__e(n,e.__v)}}),p&&p(e,t)},a.options.unmount=function(e){g&&g(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{O(e)}catch(e){t=e}}),n.__H=void 0,t&&a.options.__e(t,n.__v))};var A="function"==typeof requestAnimationFrame;function I(e){var t,n=function(){clearTimeout(r),A&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);A&&(t=requestAnimationFrame(n))}function O(e){var t=i,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),i=t}function F(e){var t=i;e.__c=e.__(),i=t}function M(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function j(e,t){return"function"==typeof t?t(e):t}function L(e,t){for(var n in t)e[n]=t[n];return e}function N(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function H(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function R(e){this.props=e}function z(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:N(this.props,e)}function r(t){return this.shouldComponentUpdate=n,(0,a.createElement)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(R.prototype=new a.Component).isPureReactComponent=!0,R.prototype.shouldComponentUpdate=function(e,t){return N(this.props,e)||N(this.state,t)};var W=a.options.__b;a.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),W&&W(e)};var U="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function B(e){function t(t){var n=L({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=U,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var V=function(e,t){return null==e?null:(0,a.toChildArray)((0,a.toChildArray)(e).map(t))},q={map:V,forEach:V,count:function(e){return e?(0,a.toChildArray)(e).length:0},only:function(e){var t=(0,a.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:a.toChildArray},Y=a.options.__e;a.options.__e=function(e,t,n,r){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}Y(e,t,n,r)};var K=a.options.unmount;function $(){this.__u=0,this.t=null,this.__b=null}function X(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function J(e){var t,n,r;function i(i){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return(0,a.createElement)(n,i)}return i.displayName="Lazy",i.__f=!0,i}function G(){this.u=null,this.o=null}a.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),K&&K(e)},($.prototype=new a.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=X(r.__v),o=!1,l=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=l;var a=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.t.pop();)e.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},$.prototype.componentWillUnmount=function(){this.t=[]},$.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=L({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&(0,a.createElement)(a.Fragment,null,e.fallback);return i&&(i.__h=null),[(0,a.createElement)(a.Fragment,null,t.__a?null:e.children),i]};var Q=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Z(e){return this.getChildContext=function(){return e.context},e.children}function ee(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,a.render)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,a.render)((0,a.createElement)(Z,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function et(e,t){var n=(0,a.createElement)(ee,{__v:e,i:t});return n.containerInfo=t,n}(G.prototype=new a.Component).__a=function(e){var t=this,n=X(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Q(t,e,r)):i()};n?n(o):o()}},G.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,a.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},G.prototype.componentDidUpdate=G.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Q(e,n,t)})};var en="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,er=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ei=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,eo=/[A-Z0-9]/g,el="undefined"!=typeof document;
5function ea(e,t,n){return null==t.__k&&(t.textContent=""),(0,a.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function eu(e,t,n){return(0,a.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}a.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(a.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var es=a.options.event;function ec(){}function ef(){return this.cancelBubble}function ed(){return this.defaultPrevented}a.options.event=function(e){es&&(e=es(e));var t=e.currentTarget,n=e.type;return("input"===n||"change"===n)&&t.h&&Promise.resolve().then(function(){var e;null!=(e=t).value&&Promise.resolve().then(function(){return e.value=e.v}),"change"===n&&null!=e.checked&&Promise.resolve().then(function(){return e.checked=e.v})}),e.persist=ec,e.isPropagationStopped=ef,e.isDefaultPrevented=ed,e.nativeEvent=e};var eh,ep={enumerable:!1,configurable:!0,get:function(){return this.class}},eg=a.options.vnode;a.options.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var i in t){var o=t[i];if(!("value"===i&&"defaultValue"in t&&null==o||el&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var l,u=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===o?o="":"ondoubleclick"===u?i="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||(l=t.type,("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(l))?"onfocus"===u?i="onfocusin":"onblur"===u?i="onfocusout":ei.test(i)?i=u:-1===n.indexOf("-")&&er.test(i)?i=i.replace(eo,"-$&").toLowerCase():null===o&&(o=void 0):u=i="oninput","oninput"===u&&r[i=u]&&(i="oninputCapture"),r[i]=o}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,a.toChildArray)(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==n&&null!=r.defaultValue&&(r.value=(0,a.toChildArray)(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",ep)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=en,eg&&eg(e)};var em=a.options.__r;a.options.__r=function(e){em&&em(e),eh=e.__c};var ev=a.options.diffed;a.options.diffed=function(e){ev&&ev(e);var t=e.type,n=e.props,r=e.__e,i=r&&r.h;null==r||"input"!==t&&"textarea"!==t&&"select"!==t||!1===i||(i||n.oninput||n.onchange||n.onChange)&&(null!=n.value?(r.h=!0,r.v=n.value):null!=n.checked?(r.h=!0,r.v=n.checked):r.h=!1),null!=r&&"textarea"===e.type&&"value"in n&&n.value!==r.value&&(r.value=null==n.value?"":n.value),eh=null};var ey={ReactCurrentDispatcher:{current:{readContext:function(e){return eh.__n[e.__c].props.value}}}},e_="17.0.2";function eb(e){return a.createElement.bind(null,e)}function ex(e){return!!e&&e.$$typeof===en}function ew(e){return ex(e)?a.cloneElement.apply(null,arguments):e}function ek(e){return!!e.__k&&((0,a.render)(null,e),!0)}function eS(e){return e&&(e.base||1===e.nodeType&&e)||null}var eP=function(e,t){return e(t)},eC=function(e,t){return e(t)},eE=a.Fragment;function eT(e){e()}function eD(e){return e}function eA(){return[!1,eT]}var eI=b;function eO(e,t){var n=t(),r=v({p:{__:n,m:t}}),i=r[0].p,o=r[1];return b(function(){i.__=n,i.m=t,H(i.__,t())||o({p:i})},[e,n,t]),_(function(){return H(i.__,i.m())||o({p:i}),e(function(){H(i.__,i.m())||o({p:i})})},[e]),n}var eF={useState:v,useId:T,useReducer:y,useEffect:_,useLayoutEffect:b,useInsertionEffect:eI,useTransition:eA,useDeferredValue:eD,useSyncExternalStore:eO,startTransition:eT,useRef:x,useImperativeHandle:w,useMemo:k,useCallback:S,useContext:P,useDebugValue:C,version:"17.0.2",Children:q,render:ea,hydrate:eu,unmountComponentAtNode:ek,createPortal:et,createElement:a.createElement,createContext:a.createContext,createFactory:eb,cloneElement:ew,createRef:a.createRef,Fragment:a.Fragment,isValidElement:ex,findDOMNode:eS,Component:a.Component,PureComponent:R,memo:z,forwardRef:B,flushSync:eC,unstable_batchedUpdates:eP,StrictMode:eE,Suspense:$,SuspenseList:G,lazy:J,__SECRET_INT
vendor: 5,821 bytes, line 5
5ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ey}},6400:function(e,t,n){"use strict";n.r(t),n.d(t,{Component:function(){return w},Fragment:function(){return x},cloneElement:function(){return H},createContext:function(){return R},createElement:function(){return y},createRef:function(){return b},h:function(){return y},hydrate:function(){return N},isValidElement:function(){return l},options:function(){return i},render:function(){return L},toChildArray:function(){return function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(g(t)?t.some(function(t){e(t,n)}):n.push(t)),n}}});var r,i,o,l,a,u,s,c,f,d={},h=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,t,n){var i,o,l,a={};for(l in t)"key"==l?i=t[l]:"ref"==l?o=t[l]:a[l]=t[l];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===a[l]&&(a[l]=e.defaultProps[l]);return _(e,a,i,o,null)}function _(e,t,n,r,l){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++o:l};return null==l&&null!=i.vnode&&i.vnode(a),a}function b(){return{current:null}}function x(e){return e.children}function w(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?k(e):null}function S(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!P.__r++||u!==i.debounceRendering)&&((u=i.debounceRendering)||s)(P)}function P(){var e,t,n,r,i,o,l,u;for(a.sort(c);e=a.shift();)e.__d&&(t=a.length,r=void 0,i=void 0,l=(o=(n=e).__v).__e,(u=n.__P)&&(r=[],(i=m({},o)).__v=o.__v+1,O(u,o,i,n.__n,void 0!==u.ownerSVGElement,null!=o.__h?[l]:null,r,null==l?k(o):l,o.__h),F(r,o),o.__e!=l&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(o)),a.length>t&&a.sort(c));P.__r=0}function C(e,t,n,r,o,l,a,u,s,c){var f,p,m,y,b,w,S,P=r&&r.__k||h,C=P.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(y=n.__k[f]=null==(y=t[f])||"boolean"==typeof y||"function"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?_(null,y,null,null,y):g(y)?_(x,{children:y},null,null,null):y.__b>0?_(y.type,y.props,y.key,y.ref?y.ref:null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(m=P[f])||m&&y.key==m.key&&y.type===m.type)P[f]=void 0;else for(p=0;p<C;p++){if((m=P[p])&&y.key==m.key&&y.type===m.type){P[p]=void 0;break}m=null}O(e,y,m=m||d,o,l,a,u,s,c),b=y.__e,(p=y.ref)&&m.ref!=p&&(S||(S=[]),m.ref&&S.push(m.ref,null,y),S.push(p,y.__c||b,y)),null!=b?(null==w&&(w=b),"function"==typeof y.type&&y.__k===m.__k?y.__d=s=function e(t,n,r){for(var i,o=t.__k,l=0;o&&l<o.length;l++)(i=o[l])&&(i.__=t,n="function"==typeof i.type?e(i,n,r):E(r,i,i,o,i.__e,n));return n}(y,s,e):s=E(e,y,m,P,b,s),"function"==typeof n.type&&(n.__d=s)):s&&m.__e==s&&s.parentNode!=e&&(s=k(m))}for(n.__e=w,f=C;f--;)null!=P[f]&&("function"==typeof n.type&&null!=P[f].__e&&P[f].__e==n.__d&&(n.__d=function e(t){var n,r,i;if(null==t.type||"string"==typeof t.type)return t.__e;if(t.__k){for(n=t.__k.length-1;n>=0;n--)if((r=t.__k[n])&&(i=e(r)))return i}return null}(r).nextSibling),function e(t,n,r){var o,l;if(i.unmount&&i.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||M(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){i.__e(e,n)}o.base=o.__P=null,t.__c=void 0}if(o=t.__k)for(l=0;l<o.length;l++)o[l]&&e(o[l],n,r||"function"!=typeof t.type);r||null==t.__e||v(t.__e),t.__=t.__e=t.__d=void 0}(P[f],P[f]));if(S)for(f=0;f<S.length;f++)M(S[f],S[++f],S[++f])}function E(e,t,n,r,i,o){var l,a,u;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),l=null;else{for(a=o,u=0;(a=a.nextSibling)&&u<r.length;u+=1)if(a==i)break e;e.insertBefore(i,o),l=o}return void 0!==l?l:i.nextSibling}function T(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function D(e,t,n,r,i){var o;e:if("style"===t){if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||T(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||T(e.style,t,n[t])}}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase() in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:A,o):e.removeEventListener(t,o?I:A,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function A(e){return this.l[e.type+!1](i.event?i.event(e):e)}function I(e){return this.l[e.type+!0](i.event?i.event(e):e)}function O(e,t,n,o,l,a,u,s,c){var f,h,p,y,_,b,S,P,E,T,A,I,O,F,M,L=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(f=i.__b)&&f(t);try{e:if("function"==typeof L){if(P=t.props,E=(f=L.contextType)&&o[f.__c],T=f?E?E.props.value:f.__:o,n.__c?S=(h=t.__c=n.__c).__=h.__E:("prototype"in L&&L.prototype.render?t.__c=h=new L(P,T):(t.__c=h=new w(P,T),h.constructor=L,h.render=j),E&&E.sub(h),h.props=P,h.state||(h.state={}),h.context=T,h.__n=o,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=L.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=m({}
5,h.__s)),m(h.__s,L.getDerivedStateFromProps(P,h.__s))),y=h.props,_=h.state,h.__v=t,p)null==L.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==L.getDerivedStateFromProps&&P!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(P,T),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(P,h.__s,T)||t.__v===n.__v){for(t.__v!==n.__v&&(h.props=P,h.state=h.__s,h.__d=!1),h.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),A=0;A<h._sb.length;A++)h.__h.push(h._sb[A]);h._sb=[],h.__h.length&&u.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(P,h.__s,T),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,b)})}if(h.context=T,h.props=P,h.__P=e,I=i.__r,O=0,"prototype"in L&&L.prototype.render){for(h.state=h.__s,h.__d=!1,I&&I(t),f=h.render(h.props,h.state,h.context),F=0;F<h._sb.length;F++)h.__h.push(h._sb[F]);h._sb=[]}else do h.__d=!1,I&&I(t),f=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++O<25);h.state=h.__s,null!=h.getChildContext&&(o=m(m({},o),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(b=h.getSnapshotBeforeUpdate(y,_)),C(e,g(M=null!=f&&f.type===x&&null==f.key?f.props.children:f)?M:[M],t,n,o,l,a,u,s,c),h.base=t.__e,t.__h=null,h.__h.length&&u.push(h),S&&(h.__E=h.__=null),h.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,o,l,a,u){var s,c,f,h=n.props,p=t.props,m=t.type,y=0;if("svg"===m&&(o=!0),null!=l){for(;y<l.length;y++)if((s=l[y])&&"setAttribute"in s==!!m&&(m?s.localName===m:3===s.nodeType)){e=s,l[y]=null;break}}if(null==e){if(null===m)return document.createTextNode(p);e=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),l=null,u=!1}if(null===m)h===p||u&&e.data===p||(e.data=p);else{if(l=l&&r.call(e.childNodes),c=(h=n.props||d).dangerouslySetInnerHTML,f=p.dangerouslySetInnerHTML,!u){if(null!=l)for(h={},y=0;y<e.attributes.length;y++)h[e.attributes[y].name]=e.attributes[y].value;(f||c)&&(f&&(c&&f.__html==c.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||D(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||D(e,o,t[o],n[o],r)}(e,p,h,o,u),f)t.__k=[];else if(C(e,g(y=t.props.children)?y:[y],t,n,i,o&&"foreignObject"!==m,l,a,l?l[0]:n.__k&&k(n,0),u),null!=l)for(y=l.length;y--;)null!=l[y]&&v(l[y]);u||("value"in p&&void 0!==(y=p.value)&&(y!==e.value||"progress"===m&&!y||"option"===m&&y!==h.value)&&D(e,"value",y,h.value,!1),"checked"in p&&void 0!==(y=p.checked)&&y!==e.checked&&D(e,"checked",y,h.checked,!1))}return e}(n.__e,t,n,o,l,a,u,c);(f=i.diffed)&&f(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=s,t.__h=!!c,a[a.indexOf(s)]=null),i.__e(e,t,n)}}function F(e,t){i.__c&&i.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){i.__e(e,t.__v)}})}function M(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,n)}}function j(e,t,n){return this.constructor(e,n)}function L(e,t,n){var o,l,a;i.__&&i.__(e,t),l=(o="function"==typeof n)?null:n&&n.__k||t.__k,a=[],O(t,e=(!o&&n||t).__k=y(x,null,[e]),l||d,d,void 0!==t.ownerSVGElement,!o&&n?[n]:l?null:t.firstChild?r.call(t.childNodes):null,a,!o&&n?n:l?l.__e:t.firstChild,o),F(a,e)}function N(e,t){L(e,t,N)}function H(e,t,n){var i,o,l,a,u=m({},e.props);for(l in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==l?i=t[l]:"ref"==l?o=t[l]:u[l]=void 0===t[l]&&void 0!==a?a[l]:t[l];return arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),_(e.type,u,i||e.key,o||e.ref,null)}function R(e,t){var n={__c:t="__cC"+f++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,S(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=h.slice,i={__e:function(e,t,n,r){for(var i,o,l;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),l=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),l=i.__d),l)return i.__E=i}catch(t){e=t}throw e}},o=0,l=function(e){return null!=e&&void 0===e.constructor},w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},w.prototype.render=x,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Prom
5ise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},P.__r=0,f=0},16584:function(e,t,n){"use strict";n.r(t),n.d(t,{Fragment:function(){return r.Fragment},jsx:function(){return o},jsxDEV:function(){return o},jsxs:function(){return o}});var r=n(6400),i=0;function o(e,t,n,o,l,a){var u,s,c={};for(s in t)"ref"==s?u=t[s]:c[s]=t[s];var f={type:e,props:c,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--i,__source:l,__self:a};if("function"==typeof e&&(u=e.defaultProps))for(s in u)void 0===c[s]&&(c[s]=u[s]);return r.options.vnode&&r.options.vnode(f),f}},12493:function(e){e.exports=function(){"use strict";var e={
5"./src/index.ts":function(e,t,n){function r(e){var t,n,r,i=null!==(t=e.minDelayUntilFirstValue)&&void 0!==t?t:0,o=null!==(n=e.teardownTime)&&void 0!==n?n:0,l=e.valueIncreaseRatePerSecond,a=e.averageTimeBetweenValues,u=e.maxValue,s=e.valueIncreaseDelta,c=Date.now(),f=0,d=0;function h(e,t,n){var r=1-Math.exp(-(t-n)/(3.5*a));return r*e+(1-r)*d}function p(e){var t,n,a;return a=null!=e?e:Date.now(),(t=void 0!==r?function(e,t){if(e.value===u){var n,r=(n=Math.min(1,(t-e.time)/Math.max(1e3,o)))*n,i=e.value-d;return d+i*r}return h(e.value,t,c)}(r,a):Math.min(1,(a-c)/(i+(n=Math.min(s,.33*u))/l*1e3))*n)>f&&(f=t),f}return{setValue:function(e,t){if(void 0!==r){if(r.value===u)return;d=h(r.value,r.time,c),c=r.time}r={time:null!=t?t:Date.now(),value:Math.min(e,u)}},smoothedValue:p,smoothedFactor:function(e){return p(e)/u}}}n.r(t),n.d(t,{ProgressSmoother:function(){return r}})}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n("./src/index.ts")}()},3502:function(e,t,n){e.exports=function(){"use strict";var e={
5"./src/index.ts":function(e,t,r){r.r(t),r.d(t,{Upload:function(){return I},UploadApiError:function(){return v}});var i=n(75090);function o(){}function l(e,t,n){if(!e.s){if(n instanceof a){if(n.s)1&t&&(t=n.s),n=n.v;else{n.o=l.bind(null,e,t);return}}if(n&&n.then){n.then(l.bind(null,e,t),l.bind(null,e,2));return}e.s=t,e.v=n;var r=e.o;r&&r(e)}}var a=function(){function e(){}return e.prototype.then=function(t,n){var r=new e,i=this.s;if(i){var o=1&i?t:n;if(!o)return this;try{l(r,1,o(this.v))}catch(e){l(r,2,e)}return r}return this.o=function(e){try{var i=e.v;1&e.s?l(r,1,t?t(i):i):n?l(r,1,n(i)):l(r,2,i)}catch(e){l(r,2,e)}},r},e}();function u(e){return e instanceof a&&1&e.s}var s=n(12493);function c(e){return(c="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})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,m(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),g(n,e)})(e)}function h(e,t,n){return(h=p()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&g(i,n.prototype),i}).apply(null,arguments)}function p(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(o,e);var t,n,r,i=(t=p(),function(){var e,n=m(o);if(t){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function o(e){var t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e.error.message)).errorCode=e.error.code,t.details=e.error.details,t}return n&&f(o.prototype,n),r&&f(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(d(Error));function y(e,t){if(e)throw t;return t}function _(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(){}function w(e,t){if(!t)return e&&e.then?e.then(x):Promise.resolve()}function k(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return Promise.resolve(e.apply(this,t))}catch(e){return Promise.reject(e)}}}var S=["free","demo"];function P(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}var C="public_";function E(e,t,n){if(n)return t?t(e()):e();try{var r=Promise.resolve(e());return t?r.then(t):r}catch(e){return Promise.reject(e)}}function T(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function D(e){var t=e();if(t&&t.then)return t.then(x)}var A="[upload-js] ";function I(e){var t,n,r,c,f,d,h,p,g,m,I,O,F,M,j,L,N=(r=function(){var e,r;return e=function(e,t,n){for(;;){var r,i=e();if(u(i)&&(i=i.v),!i)return o;if(i.then){r=0;break}var o=n();if(o&&o.then){if(u(o))o=o.s;else{r=1;break}}if(t){var s=t();if(s&&s.then&&!u(s)){r=2;break}}}var c=new a,f=l.bind(null,c,2);return(0===r?i.then(h):1===r?o.then(d):s.then(p)).then(void 0,f),c;function d(r){o=r;do{if(t&&(s=t())&&s.then&&!u(s)){s.then(p).then(void 0,f);return}if(!(i=e())||u(i)&&!i.v){l(c,1,o);return}if(i.then){i.then(h).then(void 0,f);return}u(o=n())&&(o=o.v)}while(!o||!o.then);o.then(d).then(void 0,f)}function h(e){e?(o=n())&&o.then?o.then(d).then(void 0,f):d(o):l(c,1,o)}
5function p(){(i=e())?i.then?i.then(h).then(void 0,f):h(i):l(c,1,o)}}(function(){return void 0!==t},void 0,function(){var e;return(e=t)&&e.then?e.then(o):Promise.resolve()}),r=function(){t=new Promise(function(e){n=e})},e&&e.then?e.then(r):r(e)},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(r.apply(this,e))}catch(e){return Promise.reject(e)}},f=function(){if(void 0===n)throw Error("Unable to release mutex: already released.");n(),n=void 0,t=void 0},{safe:function(e){return function(e,t,n){try{var r=Promise.resolve(e());return t?r.then(t):r}catch(e){return Promise.reject(e)}}(c,function(){return function(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}(e,function(e,t){return f(),function(e,t){if(e)throw t;return t}(e,t)})})}}),H=null!==(h=null===(d=e.internal)||void 0===d?void 0:d.apiUrl)&&void 0!==h?h:"https://api.upload.io",R=null!==(g=null===(p=e.internal)||void 0===p?void 0:p.cdnUrl)&&void 0!==g?g:"https://upcdn.io",z=null===(I=null===(m=e.internal)||void 0===m?void 0:m.authenticateWithApiKey)||void 0===I||I,W=null===(O=e.internal)||void 0===O?void 0:O.headers,U=!0===e.debug,B=" was called.";if((null!=e?e:void 0)===void 0)throw Error("".concat(A,"Config parameter required."));if(!0===e.debug&&console.log("".concat(A,"Initialized with API key '").concat(e.apiKey,"'")),(null!==(F=e.apiKey)&&void 0!==F?F:void 0)===void 0)throw Error("".concat(A,"Please provide an API key via the 'apiKey' config parameter."));if(e.apiKey.trim()!==e.apiKey)throw Error("".concat(A,"API key needs trimming (whitespace detected)."));if((null===(M=e.internal)||void 0===M?void 0:M.authenticateWithApiKey)===!1)j=e.internal.accountId;else if(S.includes(e.apiKey))j="W142hJk";else{if(!e.apiKey.startsWith(C))throw Error("".concat(A,'API key must begin with "').concat(C,'".'));if(7!==(j=e.apiKey.substr(C.length,7)).length)throw Error("".concat(A,"API key is too short!"))}var V="".concat(R).concat("/api/v1/access_tokens/").concat(j),q=k(function(e,t){return w(ee(k(function(n){return n.beginAuthSession(e,t)}),k(function(){if(ec("'beginAuthSession'".concat(B)),(null==L?void 0:L.authUrl)===e){ef("'beginAuthSession' already called. Ignoring this call. Hint: call 'endAuthSession' and then 'beginAuthSession' if you want to restart the auth session.");return}return E($,function(){var n={accessToken:void 0,accessTokenRefreshHandle:void 0,isActive:!0,authUrl:e};return L=n,w(en(e,t,n))})})))}),Y=k(function(){return w(ee(k(function(e){return e.endAuthSession()}),k(function(){return ec("'endAuthSession'".concat(B)),E($,x,void 0)})))}),K={beginAuthSession:q,endAuthSession:Y,uploadFile:k(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ec("'uploadFile'".concat(B));var n=[],r=function(e){n.push(e)},i=function(){return n.forEach(function(e){return e()})};return void 0!==t.onBegin&&t.onBegin({cancel:i}),T(function(){return P(X(e,t,r))},function(e){throw i(),e})}),url:function(e,t){var n,r="string"==typeof t?{transformation:t}:t;return"".concat(R,"/").concat(j,"/").concat(null!==(n=null==r?void 0:r.transformation)&&void 0!==n?n:"raw").concat(e).concat((null==r?void 0:r.auth)===!0?"?_auth=true":"")}},$=k(function(){return w(N.safe(k(function(){if(void 0!==L){var e=L;return L=void 0,void 0!==e.accessTokenRefreshHandle&&clearTimeout(e.accessTokenRefreshHandle),e.isActive=!1,E(Z,x,void 0)}})))}),X=k(function(e,t,n){var r=(0,s.ProgressSmoother)({maxValue:e.size,teardownTime:1e3,minDelayUntilFirstValue:2e3,valueIncreaseDelta:204800,valueIncreaseRatePerSecond:51200,averageTimeBetweenValues:1e3});return Q(100,function(n){if(void 0===t.onProgress)n();else{var i=r.smoothedValue(),o=e.size;i===o&&n(),t.onProgress({bytesSent:i,bytesTotal:o,progress:Math.round(i/o*100)})}},k(function(){var o={path:t.path,metadata:t.metadata,mime:es(e.type),originalFileName:e.name,protocol:"1.1",size:e.size,tags:t.tags};return ec("Initiating file upload. Params = ".concat(JSON.stringify(o))),P((0,i.beginMultipartUpload)(eu(),j,o),function(t){var o,l,a=el(t);ec("Initiated file upload. Metadata = ".concat(JSON.stringify(a)));var u=(o=0,function(){if(o!==a.uploadParts.count-1)return++o}),s=[a.uploadParts.first],c=k(function(e){var t=s.pop();if(void 0!==t)return ec("Dequeued part ".concat(t.uploadPartIndex,"."),e),t;var n=u();if(void 0===n){ec("No parts remaining.",e);return}return ec("Fetching metadata for part ".concat(n,"."),e),P((0,i.getUploadPart)(eu(),j,a.uploadId,n),el)}),f=[];return P(Promise.all(((function(e){if(Array.isArray(e))return b(e)})(l=[,,,,,].keys())||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(t){return P(function t(i){return P(c(i),function(o){return D(function(){if(void 0!==o){var l=0;return P(G(e,o,function(e){var t=e.bytesSent;void 0===f[i]?f[i]=t:(f[i]-=l,f[i]+=t),l=t;var n=f.reduce(function(e,t){return e+t});r.setValue(n)},n,i),function(){return w(t(i))})}})})}(t))})),function(){var t=Object.assign({accountId:j,file:e},a.file);return ec("File upload completed."),t})})}))}),J=k(function(e,t,n,r){var i=new XMLHttpRequest,o=!0;return r(function(){o&&i.abort()}),_(function(){return P(new Promise(function(r,o){i.upload.addEventListener("progress",function(e){e.lengthComputable&&n({bytesSent:e.loaded,bytesTotal:e.total})}
5,!1),i.addEventListener("load",function(){if(n({bytesSent:t.size,bytesTotal:t.size}),2===Math.floor(i.status/100)){var e=i.getResponseHeader("etag");null==e?o(Error("File upload error: no etag header in upload response.")):r({etag:e})}else o(Error("File upload error: status code ".concat(i.status)))}),i.onabort=function(){return o(Error("File upload cancelled."))},i.onerror=function(){return o(Error("File upload error."))},i.ontimeout=function(){return o(Error("File upload timeout."))},i.open("PUT",e),i.send(t)}))},function(e,t){return o=!1,y(e,t)})}),G=k(function(e,t,n,r,o){var l=-1===t.range.inclusiveEnd?new Blob:e.slice(t.range.inclusiveStart,t.range.inclusiveEnd+1);return ec("Uploading part ".concat(t.uploadPartIndex,"."),o),P(J(t.uploadUrl,l,n,r),function(e){var n=e.etag;return P((0,i.completeUploadPart)(eu(),j,t.uploadId,t.uploadPartIndex,{etag:n}),function(e){el(e),ec("Uploaded part ".concat(t.uploadPartIndex,"."),o)})})}),Q=k(function(e,t,n){var r,i=new Promise(function(e){r=e}),o=!0,l=function(){o&&(r(),clearInterval(a),o=!1)},a=setInterval(function(){return t(l)},e);return _(function(){return E(n,function(e){return P(i,function(){return e})})},function(e,t){return l(),y(e,t)})}),Z=k(function(){return w(eo(V,{},!0))}),ee=k(function(e,t){var n=et();return D(function(){return n!==K?w(e(n)):E(t,x,void 0)})}),et=function(){var e="uploadJsAuthInstance",t=window[e];return void 0===t&&(t=K,window[e]=K),t},en=k(function(e,t,n){return function(e){if(e&&e.then)return e.then(x)}(T(function(){return w(N.safe(k(function(){if(n.isActive)return E(t,function(r){return P(ei(e,r),function(r){return P(er(V,{},{accessToken:r},!0),function(r){var i=r.ttlSeconds-20;i<10&&ed("JWT expiration is too short: waiting for ".concat(10," seconds before refreshing.")),n.accessToken=r.accessToken,n.accessTokenRefreshHandle=window.setTimeout(function(){en(e,t,n).then(function(){},function(e){return ef("Permanent error when refreshing access token: ".concat(e))})},1e3*Math.max(10,i))})})})})))},function(r){return ef("Error when refreshing access token: ".concat(r)),P(new Promise(function(e){return setTimeout(e,5e3)}),function(){return w(en(e,t,n))})}))}),er=k(function(e,t,n,r){return P(ea({method:"PUT",path:e,headers:t,body:n},r),function(e){return P(el(e))})}),ei=k(function(e,t){var n="Your auth API endpoint";return P(ea({method:"GET",path:e,headers:t},!1),function(e){if(!e.ok)throw Error("".concat(A).concat(n," returned a failed response. Please ensure the endpoint's status code is 200."));var t=e.body;if("string"!=typeof t)throw Error("".concat(A).concat(n," returned an unsupported response. Please ensure: 1) 'Content-Type: text/plain' is in the HTTP response headers 2) the status code is 200."));if(0===t.length)throw Error("".concat(A).concat(n," returned an empty string. Please return a valid JWT instead."));if(t.trim().length!==t.length)throw Error("".concat(A).concat(n," returned whitespace around the JWT, please remove it."));return t})}),eo=k(function(e,t,n){return P(ea({method:"DELETE",path:e,headers:t},n),function(e){el(e)})}),el=function(e){if(e.ok)return e.body;var t,n=e.body;if("string"==typeof(null===(t=null==n?void 0:n.error)||void 0===t?void 0:t.code))throw new v(n);throw Error("".concat(A,"Unexpected API error."))},ea=k(function(e,t){return(0,i.request)({BASE:e.path,WITH_CREDENTIALS:t},Object.assign(Object.assign({},e),{path:""}))}),eu=function(){var t={BASE:H,WITH_CREDENTIALS:!0};z&&(t.USERNAME="apikey",t.PASSWORD=e.apiKey);var n=null==L?void 0:L.accessToken;return(void 0!==W||void 0!==n)&&(t.HEADERS=k(function(){return P(void 0===W?{}:W(),function(e){var t=null==L?void 0:L.accessToken;return Object.assign(Object.assign({},e),void 0===t?{}:{"authorization-token":t})},void 0===W)})),t},es=function(e){var t=e.toLowerCase();return/^[a-z0-9]+\/[a-z0-9+\-._]+(?:;[^=]+=[^;]+)*$/.test(t)?t:void 0},ec=function(e,t){U&&console.log("".concat(A).concat(e).concat(void 0!==t?" (Worker ".concat(t,")"):""))},ef=function(e){console.error("".concat(A).concat(e))},ed=function(e){console.warn("".concat(A).concat(e))};return K}}
5},t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}return r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r("./src/index.ts")}()},15721:function(e,t,n){"use strict";n.d(t,{d:function(){return o},z:function(){return l}});var r=n(26245),i=n(67294);function o(e){let{loading:t,src:n,srcSet:o,onLoad:l,onError:a,crossOrigin:u,sizes:s,ignoreFallback:c}=e,[f,d]=(0,i.useState)("pending");(0,i.useEffect)(()=>{d(n?"loading":"pending")},[n]);let h=(0,i.useRef)(),p=(0,i.useCallback)(()=>{if(!n)return;g();let e=new Image;e.src=n,u&&(e.crossOrigin=u),o&&(e.srcset=o),s&&(e.sizes=s),t&&(e.loading=t),e.onload=e=>{g(),d("loaded"),null==l||l(e)},e.onerror=e=>{g(),d("failed"),null==a||a(e)},h.current=e},[n,u,o,s,l,a,t]),g=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return(0,r.G)(()=>{if(!c)return"loading"===f&&p(),()=>{g()}},[f,p,c]),c?"loaded":f}var l=(e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t},81941:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var r=n(35059),i=n(85893),o=(0,r.G)(function(e,t){let{htmlWidth:n,htmlHeight:r,alt:o,...l}=e;return(0,i.jsx)("img",{width:n,height:r,ref:t,alt:o,...l})});o.displayName="NativeImage";var l=n(15721),a=n(82504),u=(0,r.G)(function(e,t){let{fallbackSrc:n,fallback:r,src:u,srcSet:s,align:c,fit:f,loading:d,ignoreFallback:h,crossOrigin:p,fallbackStrategy:g="beforeLoadOrError",referrerPolicy:m,...v}=e,y=null!=d||h||!(void 0!==n||void 0!==r),_=(0,l.d)({...e,crossOrigin:p,ignoreFallback:y}),b=(0,l.z)(_,g),x={ref:t,objectFit:f,objectPosition:c,...y?v:function(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}(v,["onError","onLoad"])};return b?r||(0,i.jsx)(a.m.img,{as:o,className:"chakra-image__placeholder",src:n,...x}):(0,i.jsx)(a.m.img,{as:o,src:u,srcSet:s,crossOrigin:p,loading:d,referrerPolicy:m,className:"chakra-image",...x})});u.displayName="Image"},41689:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(35059),i=n(91639),o=n(33179),l=n(82504),a=n(25432),u=n(85893),s=(0,r.G)(function(e,t){let n=(0,i.mq)("Badge",e),{className:r,...s}=(0,o.Lr)(e);return(0,u.jsx)(l.m.span,{ref:t,className:(0,a.cx)("chakra-badge",e.className),...s,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...n}})});s.displayName="Badge"},78133:function(e,t,n){"use strict";n.d(t,{Y:function(){return g}});var r=n(41052),i=n(70654),o=n(25432),l=n(46256),a=n(67294),u={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function s(e){e.preventDefault(),e.stopPropagation()}var c=n(35059),f=n(91639),d=n(33179),h=n(82504),p=n(85893),g=(0,c.G)((e,t)=>{var n;let c=(0,r.X)(),{onChange:g,value:m}=e,v=(0,f.jC)("Radio",{...c,...e}),y=(0,d.Lr)(e),{spacing:_="0.5rem",children:b,isDisabled:x=null==c?void 0:c.isDisabled,isFocusable:w=null==c?void 0:c.isFocusable,inputProps:k,...S}=y,P=e.isChecked;(null==c?void 0:c.value)!=null&&null!=m&&(P=c.value===m);let C=g;(null==c?void 0:c.onChange)&&null!=m&&(C=(0,o.PP)(c.onChange,g));let E=null!=(n=null==e?void 0:e.name)?n:null==c?void 0:c.name,{getInputProps:T,getCheckboxProps:D,getLabelProps:A,getRootProps:I,htmlProps:O}=function(e={}){let{defaultChecked:t,isChecked:n,isFocusable:c,isDisabled:f,isReadOnly:d,isRequired:h,onChange:p,isInvalid:g,name:m,value:v,id:y,"data-radiogroup":_,"aria-describedby":b,...x}=e,w=`radio-${(0,a.useId)()}`,k=(0,i.NJ)(),S=(0,r.X)(),P=k&&!(S||_)?k.id:w;P=null!=y?y:P;let C=null!=f?f:null==k?void 0:k.isDisabled,E=null!=d?d:null==k?void 0:k.isReadOnly,T=null!=h?h:null==k?void 0:k.isRequired,D=null!=g?g:null==k?void 0:k.isInvalid,[A,I]=(0,a.useState)(!1),[O,F]=(0,a.useState)(!1),[M,j]=(0,a.useState)(!1),[L,N]=(0,a.useState)(!1),[H,R]=(0,a.useState)(!!t),z=void 0!==n,W=z?n:H;(0,a.useEffect)(()=>(0,l.BT)(I),[]);let U=(0,a.useCallback)(e=>{if(E||C){e.preventDefault();return}z||R(e.target.checked),null==p||p(e)},[z,C,E,p]),B=(0,a.useCallback)(e=>{" "===e.key&&N(!0)},[N]),V=(0,a.useCallback)(e=>{" "===e.key&&N(!1)},[N]),q=(0,a.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":(0,o.PB)(L),"data-hover":(0,o.PB)(M),"data-disabled":(0,o.PB)(C),"data-invalid":(0,o.PB)(D),"data-checked":(0,o.PB)(W),"data-focus":(0,o.PB)(O),"data-focus-visible":(0,o.PB)(O&&A),"data-readonly":(0,o.PB)(E),"aria-hidden":!0,onMouseDown:(0,o.v0)(e.onMouseDown,()=>N(!0)),onMouseUp:(0,o.v0)(e.onMouseUp,()=>N(!1)),onMouseEnter:(0,o.v0)(e.onMouseEnter,()=>j(!0)),onMouseLeave:(0,o.v0)(e.onMouseLeave,()=>j(!1))}),[L,M,C,D,W,O,E,A]),{onFocus:Y,onBlur:K}=null!=k?k:{},$=(0,a.useCallback)((e={},t=null)=>{let n=C&&!c;
5return{...e,id:P,ref:t,type:"radio",name:m,value:v,onChange:(0,o.v0)(e.onChange,U),onBlur:(0,o.v0)(K,e.onBlur,()=>F(!1)),onFocus:(0,o.v0)(Y,e.onFocus,()=>F(!0)),onKeyDown:(0,o.v0)(e.onKeyDown,B),onKeyUp:(0,o.v0)(e.onKeyUp,V),checked:W,disabled:n,readOnly:E,required:T,"aria-invalid":(0,o.Qm)(D),"aria-disabled":(0,o.Qm)(n),"aria-required":(0,o.Qm)(T),"data-readonly":(0,o.PB)(E),"aria-describedby":b,style:u}},[C,c,P,m,v,U,K,Y,B,V,W,E,T,D,b]),X=(e={},t=null)=>({...e,ref:t,onMouseDown:(0,o.v0)(e.onMouseDown,s),"data-disabled":(0,o.PB)(C),"data-checked":(0,o.PB)(W),"data-invalid":(0,o.PB)(D)}),J=(e,t=null)=>({...e,ref:t,"data-disabled":(0,o.PB)(C),"data-checked":(0,o.PB)(W),"data-invalid":(0,o.PB)(D)});return{state:{isInvalid:D,isFocused:O,isChecked:W,isActive:L,isHovered:M,isDisabled:C,isReadOnly:E,isRequired:T},getCheckboxProps:q,getRadioProps:q,getInputProps:$,getLabelProps:X,getRootProps:J,htmlProps:x}}({...S,isChecked:P,isFocusable:w,isDisabled:x,onChange:C,name:E}),[F,M]=function(e,t){let n={},r={};for(let[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}(O,d.oE),j=D(M),L=T(k,t),N=A(),H=Object.assign({},F,I()),R={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...v.container},z={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...v.control},W={userSelect:"none",marginStart:_,...v.label};return(0,p.jsxs)(h.m.label,{className:"chakra-radio",...H,__css:R,children:[(0,p.jsx)("input",{className:"chakra-radio__input",...L}),(0,p.jsx)(h.m.span,{className:"chakra-radio__control",...j,__css:z}),b&&(0,p.jsx)(h.m.span,{className:"chakra-radio__label",...N,__css:W,children:b})]})});g.displayName="Radio"},41052:function(e,t,n){"use strict";n.d(t,{E:function(){return d},X:function(){return f}});var r=n(25432),i=n(81103),o=n(67294),l=n(35059),a=n(82504),u=n(55227),s=n(85893),[c,f]=(0,u.k)({name:"RadioGroupContext",strict:!1}),d=(0,l.G)((e,t)=>{let{colorScheme:n,size:l,variant:u,children:f,className:d,isDisabled:h,isFocusable:p,...g}=e,{value:m,onChange:v,getRootProps:y,name:_,htmlProps:b}=function(e={}){let{onChange:t,value:n,defaultValue:l,name:a,isDisabled:u,isFocusable:s,isNative:c,...f}=e,[d,h]=(0,o.useState)(l||""),p=void 0!==n,g=p?n:d,m=(0,o.useRef)(null),v=(0,o.useCallback)(()=>{let e=m.current;if(!e)return;let t="input:not(:disabled):checked",n=e.querySelector(t);if(n){n.focus();return}t="input:not(:disabled)";let r=e.querySelector(t);null==r||r.focus()},[]),y=(0,o.useId)(),_=`radio-${y}`,b=a||_,x=(0,o.useCallback)(e=>{let n=e&&(0,r.Kn)(e)&&(0,r.Kn)(e.target)?e.target.value:e;p||h(n),null==t||t(String(n))},[t,p]),w=(0,o.useCallback)((e={},t=null)=>({...e,ref:(0,i.lq)(t,m),role:"radiogroup"}),[]),k=(0,o.useCallback)((e={},t=null)=>({...e,ref:t,name:b,[c?"checked":"isChecked"]:null!=g?e.value===g:void 0,onChange(e){x(e)},"data-radiogroup":!0}),[c,b,x,g]);return{getRootProps:w,getRadioProps:k,name:b,ref:m,focus:v,setValue:h,value:g,onChange:x,isDisabled:u,isFocusable:s,htmlProps:f}}(g),x=(0,o.useMemo)(()=>({name:_,size:l,onChange:v,colorScheme:n,value:m,variant:u,isDisabled:h,isFocusable:p}),[_,l,v,n,m,u,h,p]);return(0,s.jsx)(c,{value:x,children:(0,s.jsx)(a.m.div,{...y(b,t),className:(0,r.cx)("chakra-radio-group",d),children:f})})});d.displayName="RadioGroup"},18691:function(e,t,n){"use strict";n.d(t,{P:function(){return d}});var r=n(25432),i=n(35059),o=n(82504),l=n(85893),a=(0,i.G)(function(e,t){let{children:n,placeholder:i,className:a,...u}=e;return(0,l.jsxs)(o.m.select,{...u,ref:t,className:(0,r.cx)("chakra-select",a),children:[i&&(0,l.jsx)("option",{value:"",children:i}),n]})});a.displayName="SelectField";var u=n(74939),s=n(91639),c=n(33179),f=n(67294),d=(0,i.G)((e,t)=>{var n;let i=(0,s.jC)("Select",e),{rootProps:f,placeholder:d,icon:h,color:p,height:m,h:v,minH:y,minHeight:_,iconColor:b,iconSize:x,...w}=(0,c.Lr)(e),[k,S]=function(e,t){let n={},r={};for(let[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}(w,c.oE),P=(0,u.Y)(S),C={paddingEnd:"2rem",...i.field,_focus:{zIndex:"unset",...null==(n=i.field)?void 0:n._focus}};return(0,l.jsxs)(o.m.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:p},...k,...f,children:[(0,l.jsx)(a,{ref:t,height:null!=v?v:m,minH:null!=y?y:_,placeholder:d,...P,__css:C,children:e.children}),(0,l.jsx)(g,{"data-disabled":(0,r.PB)(P.disabled),...(b||p)&&{color:b||p},__css:i.icon,...x&&{fontSize:x},children:h})]})});d.displayName="Select";var h=e=>(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),p=(0,o.m)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),g=e=>{let{children:t=(0,l.jsx)(h,{}),...n}=e,r=(0,f.cloneElement)(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,l.jsx)(p,{...n,className:"chakra-select__icon-wrapper",children:(0,f.isValidElement)(t)?r:null})};g.displayName="SelectIcon"},76060:function(e,t,n){"use strict";n.d(t,{r:function(){return f}});var r=n(71450),i=n(35059),o=n(91639),l=n(33179),a=n(82504),u=n(25432),s=n(67294),c=n(85893),f=(0,i.G)(function(e,t){let n=(0,o.jC)("Switch",e),{spacing:i="0.5rem",children:f,...d}=(0,l.Lr)(e),{state:h,getInputProps:p,getCheckboxProps:g,getRootProps:m,getLabelProps:v}=(0,r.O)(d),y=(0,s.useMemo)(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...n.container}),[n.container]),_=(0,s.useMemo)(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...n.track}),[n.track]),b=(0,s.useMemo)(()=>({userSelect:"none",marginStart:i,...n.label}),[i,n.label]);return(0,c.jsxs)(a.m.label,{...m(),className:(0,u.cx)("chakra-switch",e.className),__css:y,children:[(0,c.jsx)("input",{className:"chakra-switch__input",...p({},t)}),(0,c.jsx)(a.m.span,{...g(),className:"chakra-switch__track",__css:_,children:(0,c.jsx)(a.m.span,{__css:n.thumb,className:"chakra-switch__thumb","data-checked":(0,u.PB)(h.isChecked),"data-hover":(0,u.PB)(h.isHovered)})}),f&&(0,c.jsx)(a.m.span,{className:"chakra-switch__label",...v(),__css:b,children:f})]})});f.displayName="Switch"},41753:function(e,t,n){"use strict";n.d(t,{g:function(){return f}});var r=n(74939),i=n(35059),o=n(91639),l=n(33179),a=n(82504),u=n(25432),s=n(85893),c=["h","minH","height","minHeight"],f=(0,i.G)((e,t)=>{let n=(0,o.mq)("Textarea",e),{className:i,rows:f,...d}=(0,l.Lr)(e),h=(0,r.Y)(d),p=f?function(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}(n,c):n;return(0,s.jsx)(a.m.textarea,{ref:t,rows:f,...h,className:(0,u.cx)("chakra-textarea",i),__css:p})});f.displayName="Textarea"},30333:function(e,t,n){"use strict";n.d(t,{U:function(){return d}});var r=n(99155),i=n(25432),o=n(51526),l=n(8419),a=n(67294),u=n(85893),s=e=>null!=e&&parseInt(e.toString(),10)>0,c={exit:{height:{duration:.2,ease:r.Lj.ease},opacity:{duration:.3,ease:r.Lj.ease}},enter:{height:{duration:.3,ease:r.Lj.ease},opacity:{duration:.4,ease:r.Lj.ease}}},f={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:i,delay:o})=>{var l;return{...e&&{opacity:s(t)?1:0},height:t,transitionEnd:null==i?void 0:i.exit,transition:null!=(l=null==n?void 0:n.exit)?l:r.p$.exit(c.exit,o)}},enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:i,delay:o})=>{var l;return{...e&&{opacity:1},height:t,transitionEnd:null==i?void 0:i.enter,transition:null!=(l=null==n?void 0:n.enter)?l:r.p$.enter(c.enter,o)}}},d=(0,a.forwardRef)((e,t)=>{let{in:n,unmountOnExit:r,animateOpacity:s=!0,startingHeight:c=0,endingHeight:d="auto",style:h,className:p,transition:g,transitionEnd:m,...v}=e,[y,_]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=setTimeout(()=>{_(!0)});return()=>clearTimeout(e)},[]),(0,i.ZK)({condition:Number(c)>0&&!!r,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});let b=parseFloat(c.toString())>0,x={startingHeight:c,endingHeight:d,animateOpacity:s,transition:y?g:{enter:{duration:0}},transitionEnd:{enter:null==m?void 0:m.enter,exit:r?null==m?void 0:m.exit:{...null==m?void 0:m.exit,display:b?"block":"none"}}};return(0,u.jsx)(o.M,{initial:!1,custom:x,children:(!r||n)&&(0,u.jsx)(l.E.div,{ref:t,...v,className:(0,i.cx)("chakra-collapse",p),style:{overflow:"hidden",display:"block",...h},custom:x,variants:f,initial:!!r&&"exit",animate:n||r?"enter":"exit",exit:"exit"})})});d.displayName="Collapse"},40011:function(e,t,n){"use strict";n.d(t,{U:function(){return nJ}});var r={};n.r(r),n.d(r,{boolean:function(){return m},booleanish:function(){return v},commaOrSpaceSeparated:function(){return w},commaSeparated:function(){return x},number:function(){return _},overloadedBoolean:function(){return y},spaceSeparated:function(){return b}});var i={};n.r(i),n.d(i,{attentionMarkers:function(){return tN},contentInitial:function(){return tI},disable:function(){return tH},document:function(){return tA},flow:function(){return tF},flowInitial:function(){return tO},insideSpan:function(){return tL},string:function(){return tM},text:function(){return tj}});let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function u(e,t){let n=(t||a).jsx?l:o;return n.test(e)}let s=/[ \t\n\f\r]/g;function c(e){return""===e.replace(s,"")}class f{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function d(e,t){let n={},r={},i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new f(n,r,t)}function h(e){return e.toLowerCase()}f.prototype.property={},f.prototype.normal={},f.prototype.space=null;class p{constructor(e,t){this.property=e,this.attribute=t}}p.prototype.space=null,p.prototype.boolean=!1,p.prototype.booleanish=!1,p.prototype.overloadedBoolean=!1,p.prototype.number=!1,p.prototype.commaSeparated=!1,p.prototype.spaceSeparated=!1,p.prototype.commaOrSpaceSeparated=!1,p.prototype.mustUseProperty=!1,p.prototype.defined=!1;let g=0,m=k(),v=k(),y=k(),_=k(),b=k(),x=k(),w=k();function k(){return 2**++g}let S=Object.keys(r);class P extends p{constructor(e,t,n,i){var o,l,a,u;let s=-1;if(super(e,t),o=this,i&&(o.space=i),"number"==typeof n)for(;++s<S.length;){let e=S[s];l=this,a=S[s],(u=(n&r[e])===r[e])&&(l[a]=u)}}}P.prototype.defined=!0;let C={}.hasOwnProperty;function E(e){let t;let n={},r={};for(t in e.properties)if(C.call(e.properties,t)){let i=e.properties[t],o=new P(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(o.mustUseProperty=!0),n[t]=o,r[h(t)]=t,r[h(o.attribute)]=t}return new f(n,r,e.space)}let T=E({space:"xlink",transform:(e,t)=>
vendor: 4,172 bytes, line 5
5"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),D=E({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function A(e,t){return t in e?e[t]:t}function I(e,t){return A(e,t.toLowerCase())}let O=E({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:I,properties:{xmlns:null,xmlnsXLink:null}}),F=E({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:_,ariaColIndex:_,ariaColSpan:_,ariaControls:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:v,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:b,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:_,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:_,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:b,ariaRowCount:_,ariaRowIndex:_,ariaRowSpan:_,ariaSelected:v,ariaSetSize:_,ariaSort:null,ariaValueMax:_,ariaValueMin:_,ariaValueNow:_,ariaValueText:null,role:null}}),M=E({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:I,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:x,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:m,allowPaymentRequest:m,allowUserMedia:m,alt:null,as:null,async:m,autoCapitalize:null,autoComplete:b,autoFocus:m,autoPlay:m,capture:m,charSet:null,checked:m,cite:null,className:b,cols:_,colSpan:null,content:null,contentEditable:v,controls:m,controlsList:b,coords:_|x,crossOrigin:null,data:null,dateTime:null,decoding:null,default:m,defer:m,dir:null,dirName:null,disabled:m,download:y,draggable:v,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:m,formTarget:null,headers:b,height:_,hidden:m,high:_,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:m,itemId:null,itemProp:b,itemRef:b,itemScope:m,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:m,low:_,manifest:null,max:null,maxLength:_,media:null,method:null,min:null,minLength:_,multiple:m,muted:m,name:null,nonce:null,noModule:m,noValidate:m,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:m,optimum:_,pattern:null,ping:b,placeholder:null,playsInline:m,poster:null,preload:null,readOnly:m,referrerPolicy:null,rel:b,required:m,reversed:m,rows:_,rowSpan:_,s
5andbox:b,scope:null,scoped:m,seamless:m,selected:m,shape:null,size:_,sizes:null,slot:null,span:_,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:_,step:null,style:null,tabIndex:_,target:null,title:null,translate:null,type:null,typeMustMatch:m,useMap:null,value:v,width:_,wrap:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:_,borderColor:null,bottomMargin:_,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:m,declare:m,event:null,face:null,frame:null,frameBorder:null,hSpace:_,leftMargin:_,link:null,longDesc:null,lowSrc:null,marginHeight:_,marginWidth:_,noResize:m,noHref:m,noShade:m,noWrap:m,object:null,profile:null,prompt:null,rev:null,rightMargin:_,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:_,valueType:null,version:null,vAlign:null,vLink:null,vSpace:_,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:m,disableRemotePlayback:m,prefix:null,property:null,results:_,security:null,unselectable:null}}),j=E({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
5-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:A,properties:{about:w,accentHeight:_,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:_,amplitude:_,arabicForm:null,ascent:_,attributeName:null,attributeType:null,azimuth:_,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:_,by:null,calcMode:null,capHeight:_,className:b,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:_,diffuseConstant:_,direction:null,display:null,dur:null,divisor:_,dominantBaseline:null,download:m,dx:null,dy:null,edgeMode:null,editable:null,elevation:_,enableBackground:null,end:null,event:null,exponent:_,externalResourcesRequired:null,fill:null,fillOpacity:_,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:x,g2:x,glyphName:x,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:_,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:_,horizOriginX:_,horizOriginY:_,id:null,ideographic:_,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:_,k:_,k1:_,k2:_,k3:_,k4:_,kernelMatrix:w,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:_,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:_,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
5Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:_,overlineThickness:_,paintOrder:null,panose1:null,path:null,pathLength:_,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:_,pointsAtY:_,pointsAtZ:_,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:w,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:w,rev:w,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:w,requiredFeatures:w,requiredFonts:w,requiredFormats:w,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:_,specularExponent:_,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:_,strikethroughThickness:_,string:null,stroke:null,strokeDashArray:w,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:_,strokeOpacity:_,strokeWidth:null,style:null,surfaceScale:_,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:w,tabIndex:_,tableValues:null,target:null,targetX:_,targetY:_,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:w,to:null,transform:null,u1:null,u2:null,underlinePosition:_,underlineThickness:_,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:_,values:null,vAlphabetic:_,vMathematical:_,vectorEffect:null,vHanging:_,vIdeographic:_,version:null,vertAdvY:_,vertOriginX:_,vertOriginY:_,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:_,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),L=d([D,T,O,F,M],"html"),N=d([D,T,O,F,j],"svg"),H=/^data[-\w.:]+$/i,R=/-[a-z]/g,z=/[A-Z]/g;function W(e){return"-"+e.toLowerCase()}function U(e){return e.charAt(1).toUpperCase()}let B={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var V=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,q=/\n/g,Y=/^\s*/,K=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,$=/^:\s*/,X=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,J=/^[;\s]*/,G=/^\s+|\s+$/g;function Q(e){return e?e.replace(G,""):""}let Z=et("end"),ee=et("start");function et(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function en(e){return ei(e&&e.line)+":"+ei(e&&e.column)}function er(e){return en(e&&e.start)+"-"+en(e&&e.end)}function ei(e){return e&&"number"==typeof e?e:1}
5class eo extends Error{constructor(e,t,n){var r;super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},l=!1;if(t&&(o="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!o.cause&&e&&(l=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){let e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=((r=o.place)&&"object"==typeof r?"position"in r||"type"in r?er(r.position):"start"in r||"end"in r?er(r):"line"in r||"column"in r?en(r):"":"")||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}eo.prototype.file="",eo.prototype.name="",eo.prototype.reason="",eo.prototype.message="",eo.prototype.stack="",eo.prototype.column=void 0,eo.prototype.line=void 0,eo.prototype.ancestors=void 0,eo.prototype.cause=void 0,eo.prototype.fatal=void 0,eo.prototype.place=void 0,eo.prototype.ruleId=void 0,eo.prototype.source=void 0;let el={}.hasOwnProperty,ea=new Map,eu=/[A-Z]/g,es=/-([a-z])/g,ec=new Set(["table","tbody","thead","tfoot","tr"]),ef=new Set(["td","th"]),ed="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eh(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=N,e.schema=i),e.ancestors.push(t);let o=ev(e,t.tagName,!1),l=function(e,t){let n,r;let i={};for(r in t.properties)if("children"!==r&&el.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=h(t),r=t,i=p;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&H.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(R,U);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!R.test(e)){let n=e.replace(z,W);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=P}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){let n={};try{!function(e,t){let n=null;if(!e||"string"!=typeof e)return;let r=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(e){var t=e.match(q);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function o(){var e={line:n,column:r};return function(t){return t.position=new l(e),u(Y),t}}function l(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function a(i){var o=Error(t.source+":"+n+":"+r+": "+i);if(o.reason=i,o.filename=t.source,o.line=n,o.column=r,o.source=e,t.silent);else throw o}function u(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function s(e){var t;for(e=e||[];t=c();)!1!==t&&e.push(t);return e}function c(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return a("End of comment missing");var l=e.slice(2,n-2);return r+=2,i(l),e=e.slice(n),r+=2,t({type:"comment",comment:l})}}return l.prototype.content=e,u(Y),function(){var e,t=[];for(s(t);e=function(){var e=o(),t=u(K);if(t){if(c(),!u($))return a("property missing ':'");var n=u(X),r=e({type:"declaration",property:Q(t[0].replace(V,"")),value:n?Q(n[0].replace(V,"")):""});return u(J),r}}();)!1!==e&&(t.push(e),s(t));return t}()}(e),i="function"==typeof t;r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:o}=e;i?t(r,o,e):o&&((n=n||{})[r]=o)})}(t,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(es,e_)),n[r]=t})}catch(t){if(!e.ignoreInvalidStyle){let n=new eo("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ed+"#cannot-parse-style-attribute",n}}return n}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t;let n={};for(t in e)el.call(e,t)&&(n[function(e){let t=e.replace(eu,eb);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?B[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,l]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof l&&ef.has(t.tagName)?n=l:i[r]=l}}if(n){let t=i.style||(i.style={});t["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n}return i}(e,t),a=em(e,t);return ec.has(t.tagName)&&(a=a.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),ep(e,l,o,t),eg(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}
5(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree,r=n.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}ey(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.name&&"html"===r.space&&(i=N,e.schema=i),e.ancestors.push(t);let o=null===t.name?e.Fragment:ev(e,t.name,!0),l=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type){if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree,i=t.body[0];i.type;let o=i.expression;o.type;let l=o.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else ey(e,t.position)}else{let i;let o=r.name;if(r.value&&"object"==typeof r.value){if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree,n=t.body[0];n.type,i=e.evaluater.evaluateExpression(n.expression)}else ey(e,t.position)}else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=em(e,t);return ep(e,l,o,t),eg(l,a),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ey(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return eg(r,em(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function ep(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function eg(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function em(e,t){let n=[],r=-1,i=e.passKeys?new Map:ea;for(;++r<t.children.length;){let o;let l=t.children[r];if(e.passKeys){let e="element"===l.type?l.tagName:"mdxJsxFlowElement"===l.type||"mdxJsxTextElement"===l.type?l.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let a=eh(e,l,o);void 0!==a&&n.push(a)}return n}function ev(e,t,n){let r;if(n){if(t.includes(".")){let e;let n=t.split("."),i=-1;for(;++i<n.length;){let t=u(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}r=e}else r=u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t}}else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return el.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);ey(e)}function ey(e,t){let n=new eo("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ed+"#cannot-handle-mdx-estrees-without-createevaluater",n}function e_(e,t){return t.toUpperCase()}function eb(e){return"-"+e.toLowerCase()}let ex={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ew=n(85893);let ek={};function eS(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return eP(e.children,t,n)}return Array.isArray(e)?eP(e,t,n):""}function eP(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=eS(e[i],t,n);return r.join("")}function eC(e,t,n,r){let i;let o=e.length,l=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l<r.length;)(i=r.slice(l,l+1e4)).unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function eE(e,t){return e.length>0?(eC(e,e.length,0,t),e):t}class eT{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&eD(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),eD(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eD(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);eD(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);eD(this.left,t.reverse())}}}}function eD(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function eA(e){let t,n,r,i,o,l,a;let u={},s=-1,c=new eT(e);for(;++s<c.length;){for(;
5(s in u);)s=u[s];if(t=c.get(s),s&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(s-1)[1].type&&(l=t[1]._tokenizer.events,(r=0)<l.length&&"lineEndingBlank"===l[r][1].type&&(r+=2),r<l.length&&"content"===l[r][1].type))for(;++r<l.length&&"content"!==l[r][1].type;)"chunkText"===l[r][1].type&&(l[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r;let i=e.get(t)[1],o=e.get(t)[2],l=t-1,a=[],u=i._tokenizer;!u&&(u=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let s=u.events,c=[],f={},d=-1,h=i,p=0,g=0,m=[g];for(;h;){for(;e.get(++l)[1]!==h;);a.push(l),!h._tokenizer&&(n=o.sliceStream(h),h.next||n.push(null),r&&u.defineSkip(h.start),h._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),h._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(g=d+1,m.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(u.events=[],h?(h._tokenizer=void 0,h.previous=void 0):m.pop(),d=m.length;d--;){let t=s.slice(m[d],m[d+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),d=-1;++d<c.length;)f[p+c[d][0]]=p+c[d][1],p+=c[d][1]-c[d][0]-1;return f}(c,s)),s=u[s],a=!0);else if(t[1]._container){for(r=s,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,s)).unshift(t),c.splice(n,s-n+1,o))}}return eC(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!a}let eI={}.hasOwnProperty,eO=eV(/[A-Za-z]/),eF=eV(/[\dA-Za-z]/),eM=eV(/[#-'*+\--9=?A-Z^-~]/);function ej(e){return null!==e&&(e<32||127===e)}let eL=eV(/\d/),eN=eV(/[\dA-Fa-f]/),eH=eV(/[!-/:-@[-`{-~]/);function eR(e){return null!==e&&e<-2}function ez(e){return null!==e&&(e<0||32===e)}function eW(e){return -2===e||-1===e||32===e}let eU=eV(/\p{P}|\p{S}/u),eB=eV(/\s/);function eV(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function eq(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return eW(r)?(e.enter(n),function r(l){return eW(l)&&o++<i?(e.consume(l),r):(e.exit(n),t(l))}(r)):t(r)}}let eY={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eq(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return eR(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eK={tokenize:function(e){let t,n,r;let i=this,o=[],l=0;return a;function a(t){if(l<o.length){let n=o[l];return i.containerState=n[1],e.attempt(n[0].continuation,u,s)(t)}return s(t)}function u(e){if(l++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&v();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}m(l);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return eC(i.events,o+1,0,i.events.slice(r)),i.events.length=a,s(e)}return a(e)}function s(n){if(l===o.length){if(!t)return d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(e$,c,f)(n)}function c(e){return t&&v(),m(l),d(e)}function f(e){return i.parser.lazy[i.now().line]=l!==o.length,r=i.now().offset,p(e)}function d(t){return i.containerState={},e.attempt(e$,h,p)(t)}function h(e){return l++,o.push([i.currentConstruct,i.containerState]),d(e)}function p(r){if(null===r){t&&v(),m(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){g(e.exit("chunkFlow"),!0),m(0),e.consume(n);return}return eR(n)?(e.consume(n),g(e.exit("chunkFlow")),l=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function g(e,o){let a=i.sliceStream(e);
5if(o&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let a=i.events.length,u=a;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(m(l),o=a;o<i.events.length;)i.events[o][1].end={...n},o++;eC(i.events,u+1,0,i.events.slice(a)),i.events.length=o}}function m(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},e$={tokenize:function(e,t,n){return eq(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},eX={partial:!0,tokenize:function(e,t,n){return function(t){return eW(t)?eq(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eR(e)?t(e):n(e)}}},eJ={resolve:function(e){return eA(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):eR(t)?e.check(eG,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eG={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eq(e,i,"linePrefix")};function i(i){if(null===i||eR(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eQ={tokenize:function(e){let t=this,n=e.attempt(eX,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,eq(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eJ,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},eZ={resolveAll:e5()},e0=e2("string"),e1=e2("text");function e2(e){return{resolveAll:e5("text"===e?e3:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return u(e)?i(e):l(e)}function l(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),a}function a(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function e5(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function e3(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],o=t.sliceStream(i),l=o.length,a=-1,u=0;for(;l--;){let e=o[l];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,line:i.end.line,column:i.end.column-u,offset:i.end.offset-u},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let e4={name:"thematicBreak",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("thematicBreak"),function o(l){return l===i?(e.enter("thematicBreakSequence"),function t(n){return n===i?(e.consume(n),r++,t):(e.exit("thematicBreakSequence"),eW(n)?eq(e,o,"whitespace")(n):o(n))}(l)):r>=3&&(null===l||eR(l))?(e.exit("thematicBreak"),t(l)):n(l)}(i)}}},e6={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(eX,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eq(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eW(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
5=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(e7,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,eq(e,e.attempt(e6,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:eL(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(e4,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eL(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(eX,r.interrupt?n:u,e.attempt(e9,c,s))}
5function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function s(t){return eW(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},e9={partial:!0,tokenize:function(e,t,n){let r=this;return eq(e,function(e){let i=r.events[r.events.length-1];return!eW(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},e7={partial:!0,tokenize:function(e,t,n){let r=this;return eq(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},e8={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eW(t)?eq(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(e8,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return eW(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function te(e,t,n,r,i,o,l,a,u){let s=u||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||ej(t)?n(t):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||eR(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(i){return!c&&(null===i||41===i||ez(i))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(i)):c<s&&40===i?(e.consume(i),c++,p):41===i?(e.consume(i),c--,p):null===i||32===i||40===i||ej(i)?n(i):(e.consume(i),92===i?g:p)}function g(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function tt(e,t,n,r,i,o){let l;let a=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),s};function s(f){return u>999||null===f||91===f||93===f&&!l||94===f&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):eR(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||eR(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),l||(l=!eW(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function tn(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,a):n(t)};function a(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===l?(e.exit(o),a(l)):null===t?n(t):eR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eq(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===l||null===t||eR(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===l||92===t?(e.consume(t),s):s(t)}}function tr(e,t){let n;return function r(i){return eR(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eW(i)?eq(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function ti(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let to={partial:!0,tokenize:function(e,t,n){return function(t){return ez(t)?tr(e,r)(t):n(t)};function r(t){return tn(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eW(t)?eq(e,o,"whitespace")(t):o(t)}function o(e){return null===e||eR(e)?t(e):n(e)}}},tl={name:"codeIndented",tokenize:function(e,t,n){let r=this;
5return function(t){return e.enter("codeIndented"),eq(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):eR(n)?e.attempt(ta,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eR(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},ta={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):eq(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):eR(e)?i(e):n(e)}}},tu={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r=this;return function(t){let o,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){o="paragraph"===r.events[l][1].type;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),function n(r){return r===t?(e.consume(r),n):(e.exit("setextHeadingLineSequence"),eW(r)?eq(e,i,"lineSuffix")(r):i(r))}(t)):n(t)};function i(r){return null===r||eR(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},ts=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tc=["pre","script","style","textarea"],tf={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(eX,t,n)}}},td={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eR(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},th={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tp={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),eW(t)?eq(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),eW(i)?eq(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||eR(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,a=0;return function(t){return function(t){let o=i.events[i.events.length-1];return l=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),eW(i)?eq(e,u,"whitespace")(i):u(i))}(t)}(t)};function u(o){return null===o||eR(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(th,c,p)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eR(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):eW(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eq(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}
5function s(t){return null===t||eR(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eR(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,p,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return l>0&&eW(t)?eq(e,h,"linePrefix",l+1)(t):h(t)}function h(t){return null===t||eR(t)?e.check(th,c,p)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eR(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("codeFenced"),t(n)}}},tg=document.createElement("i");function tm(e){let t="&"+e+";";tg.innerHTML=t;let n=tg.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tv={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,i=eF,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eN,s):(e.enter("characterReferenceValue"),r=7,i=eL,s(t))}function s(a){if(59===a&&l){let r=e.exit("characterReferenceValue");return i!==eF||tm(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&l++<r?(e.consume(a),s):n(a)}}},ty={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return eH(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},t_={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),eq(e,t,"linePrefix")}}};function tb(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let tx={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&eC(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,l=e.length,a=0;for(;l--;)if(n=e[l][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[l][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[l][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=l,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=l);let u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=eE(o=[["enter",u,t],["enter",s,t]],e.slice(r+1,r+a+3)),o=eE(o,[["enter",c,t]]),o=eE(o,tb(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=eE(o,[["exit",c,t],e[i-2],e[i-1],["exit",s,t]]),o=eE(o,e.slice(i+1)),o=eE(o,[["exit",u,t]]),eC(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i;let o=this,l=o.events.length;for(;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){r=o.events[l][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(ti(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(tw,s,i?s:c)(t):91===t?e.attempt(tk,s,i?u:c)(t):i?s(t):c(t)}function u(t){return e.attempt(tS,s,c)(t)}function s(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tw={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return ez(t)?tr(e,i)(t):i(t)}function i(t){return 41===t?s(t):te(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return ez(t)?tr(e,a)(t):s(t)}function l(e){return n(e)}function a(t){return 34===t||39===t||40===t?tn(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function u(t){return ez(t)?tr(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tk={tokenize:function(e,t,n){let r=this;return function(t){return tt.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(ti(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},tS={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},tP={name:"labelStartImage",resolveAll:tx.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function tC(e){return null===e||ez(e)||eB(e)?1:eU(e)?2:void 0}let tE={name:"attention",resolveAll:function(e,t){let n,r,i,o,l,a,u,s,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
5n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f={...e[n][1].end},d={...e[c][1].start};tT(f,-a),tT(d,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},l={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:d},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[c][1].start={...l.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=eE(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=eE(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=eE(u,tb(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=eE(u,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=eE(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,eC(e,n-1,c-n+3,u),c=n+u.length-s-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=tC(r);return function(o){return e.enter("attentionSequence"),function l(a){if(a===o)return e.consume(a),l;let u=e.exit("attentionSequence"),s=tC(a),c=!s||2===s&&i||n.includes(a),f=!i||2===i&&s||n.includes(r);return u._open=!!(42===o?c:c&&(i||!f)),u._close=!!(42===o?f:f&&(s||!c)),t(a)}(o)}}};function tT(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tD={name:"labelStartLink",resolveAll:tx.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tA={42:e6,43:e6,45:e6,48:e6,49:e6,50:e6,51:e6,52:e6,53:e6,54:e6,55:e6,56:e6,57:e6,62:e8},tI={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),tt.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=ti(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return ez(t)?tr(e,a)(t):a(t)}function a(t){return te(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(to,s,s)(t)}function s(t){return eW(t)?eq(e,c,"whitespace")(t):c(t)}function c(o){return null===o||eR(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},tO={[-2]:tl,[-1]:tl,32:tl},tF={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},eC(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||ez(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||eR(r)?(e.exit("atxHeading"),t(r)):eW(r)?eq(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||ez(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(i)}}},42:e4,45:[tu,e4],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,l,a;let u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s};function s(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,h):63===l?(e.consume(l),r=3,u.interrupt?t:O):eO(l)?(e.consume(l),o=String.fromCharCode(l),p):n(l)}function c(i){return 45===i?(e.consume(i),r=2,f):91===i?(e.consume(i),r=5,l=0,d):eO(i)?(e.consume(i),r=4,u.interrupt?t:O):n(i)}function f(r){return 45===r?(e.consume(r),u.interrupt?t:O):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?u.interrupt?t:S:d:n(r)}function h(t){return eO(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}function p(l){if(null===l||47===l||62===l||ez(l)){let a=47===l,s=o.toLowerCase();return!a&&!i&&tc.includes(s)?(r=1,u.interrupt?t(l):S(l)):ts.includes(o.toLowerCase())?(r=6,a)?(e.consume(l),g):u.interrupt?t(l):S(l):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(l):i?function t(n){return eW(n)?(e.consume(n),t):w(n)}(l):m(l))}return 45===l||eF(l)?(e.consume(l),o+=String.fromCharCode(l),p):n(l)}function g(r){return 62===r?(e.consume(r),u.interrupt?t:S):n(r)}function m(t){return 47===t?(e.consume(t),w):58===t||95===t||eO(t)?(e.consume(t),v):eW(t)?(e.consume(t),m):w(t)}function v(t){return 45===t||46===t||58===t||95===t||eF(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),_):eW(t)?(e.consume(t),y):m(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,b):eW(t)?(e.consume(t),_):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||ez(n)?y(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,x):null===t||eR(t)?n(t):(e.consume(t),b)}function x(e){return 47===e||62===e||eW(e)?m(e):n(e)}function w(t){return 62===t?(e.consume(t),k):n(t)}function k(t){return null===t||eR(t)?S(t):eW(t)?(e.consume(t),k):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),F):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),I):eR(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tf,M,P)(t)):null===t||eR(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),S)}function P(t){return e.check(td,C,M)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),E}function E(t){return null===t||eR(t)?P(t):(e.enter("htmlFlowData"),S(t))}function T(t){return 45===t?(e.consume(t),O):S(t)}function D(t){return 47===t?(e.consume(t),o="",A):S(t)}function A(t){if(62===t){let n=o.toLowerCase();return tc.includes(n)?(e.consume(t),F):S(t)}return eO(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):S(t)}function I(t){return 93===t?(e.consume(t),O):S(t)}function O(t){return 62===t?(e.consume(t),F):45===t&&2===r?(e.consume(t),O):S(t)}function F(t){return null===t||eR(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),F)}function M(n){return e.exit("htmlFlow"),t(n)}}},61:tu,95:e4,96:tp,126:tp},tM={38:tv,92:ty},tj={[-5]:t_,[-4]:t_,[-3]:t_,33:tP,38:tv,42:tE,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return eO(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||eF(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||eF(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||ej(r)?n(r):(e.consume(r),l)}function a(t){return 64===t?(e.consume(t),u):eM(t)?(e.consume(t),a):n(t)}function u(i){return eF(i)?function i(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){return(45===o||eF(o))&&r++<63?(e.consume(o),45===o?t:i):n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),b):63===t?(e.consume(t),y):eO(t)?(e.consume(t),w):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,h):eO(t)?(e.consume(t),v):n(t)}function s(t){return 45===t?(e.consume(t),d):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):eR(t)?(o=c,A(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),d):c(t)}function d(e){return 62===e?D(e):45===e?f(e):c(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),g):eR(t)?(o=p,A(t)):(e.consume(t),p)}function g(t){return 93===t?(e.consume(t),m):p(t)}function m(t){return 62===t?D(t):93===t?(e.consume(t),m):p(t)}function v(t){return null===t||62===t?D(t):eR(t)?(o=v,A(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),_):eR(t)?(o=y,A(t)):(e.consume(t),y)}function _(e){return 62===e?D(e):y(e)}function b(t){return eO(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||eF(t)?(e.consume(t),x):function t(n){return eR(n)?(o=t,A(n)):eW(n)?(e.consume(n),t):D(n)}(t)}function w(t){return 45===t||eF(t)?(e.consume(t),w):47===t||62===t||ez(t)?k(t):n(t)}function k(t){return 47===t?(e.consume(t),D):58===t||95===t||eO(t)?(e.consume(t),S):eR(t)?(o=k,A(t)):eW(t)?(e.consume(t),k):D(t)}function S(t){return 45===t||46===t||58===t||95===t||eF(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),P):eR(n)?(o=t,A(n)):eW(n)?(e.consume(n),t):k(n)}(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):eR(t)?(o=P,A(t)):eW(t)?(e.consume(t),P):(e.consume(t),E)}function C(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):eR(t)?(o=C,A(t)):(e.consume(t),C)}function E(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||ez(t)?k(t):(e.consume(t),E)}function T(e){return 47===e||62===e||ez(e)?k(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return eW(t)?eq(e,O,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),o(t)}}}],91:tD,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eR(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},ty],93:tx,95:tE,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;
5return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),l):96===u?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",a(l))}(u)):eR(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||eR(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),a)}}}},tL={null:[tE,eZ]},tN={null:[42,95]},tH={null:[]},tR=/[\0\t\n\r]/g;function tz(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tW=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tU(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return tz(n.slice(t?2:1),t?16:10)}return tm(n)||e}function tB(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function tV(e){return e&&"object"==typeof e?"position"in e||"type"in e?tY(e.position):"start"in e||"end"in e?tY(e):"line"in e||"column"in e?tq(e):"":""}function tq(e){return tK(e&&e.line)+":"+tK(e&&e.column)}function tY(e){return tq(e&&e.start)+"-"+tq(e&&e.end)}function tK(e){return e&&"number"==typeof e?e:1}let t$={}.hasOwnProperty;function tX(e){return{line:e.line,column:e.column,offset:e.offset}}function tJ(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+tV({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tV({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+tV({start:t.start,end:t.end})+") is still open")}function tG(e){let t=this;t.parser=function(n){var r,o;let l,a,u,s;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(v),autolinkProtocol:s,autolinkEmail:s,atxHeading:r(p),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:s,characterReference:s,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:s,data:s,codeFlowValue:s,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(m,i),htmlFlowData:s,htmlText:r(m,i),htmlTextData:s,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(v),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(p),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:l(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:l(),autolinkEmail:function(e){c.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:l(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=tz(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=tm(n);t=e}let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=tX(e.end)},codeFenced:l(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:c,codeIndented:l(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:l(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:c,data:c,definition:l(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tB(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:l(),hardBreakEscape:l(f),hardBreakTrailing:l(f),htmlFlow:l(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:c,htmlText:l(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:c,image:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tW,tU),n.identifier=tB(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=tX(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
5ype)&&(s.call(this,e),c.call(this,e))},link:l(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tB(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:l(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:l(),thematicBreak:l()}};(function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(t$.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}})(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},l={stack:[r],tokenStack:[],config:t,enter:o,exit:a,buffer:i,resume:u,data:n},s=[],c=-1;for(;++c<e.length;)if("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type){if("enter"===e[c][0])s.push(c);else{let t=s.pop();c=function(e,t,n){let r,i,o,l,a=t-1,u=-1,s=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||u||o||(o=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=a;for(i=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",i=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,l=!0}}}return e[t][1]._spread=s,n}(e,t,c)}}for(c=-1;++c<e.length;){let n=t[e[c][0]];t$.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},l),e[c][1])}if(l.tokenStack.length>0){let e=l.tokenStack[l.tokenStack.length-1],t=e[1]||tJ;t.call(l,void 0,e[0])}for(r.position={start:tX(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tX(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){let r=this.stack[this.stack.length-1],i=r.children;i.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tX(t.start),end:void 0}}function l(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r){if(r[0].type!==e.type){if(t)t.call(this,e,r[0]);else{let t=r[1]||tJ;t.call(this,e,r[0])}}}else throw Error("Cannot close `"+e.type+"` ("+tV({start:e.start,end:e.end})+"): it’s not open");n.position.end=tX(e.end)}function u(){return function(e,t){let n="boolean"!=typeof ek.includeImageAlt||ek.includeImageAlt,r="boolean"!=typeof ek.includeHtml||ek.includeHtml;return eS(e,n,r)}(this.stack.pop())}function s(e){let t=this.stack[this.stack.length-1],n=t.children,r=n[n.length-1];r&&"text"===r.type||((r={type:"text",value:""}).position={start:tX(e.start),end:void 0},n.push(r)),this.stack.push(r)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tX(e.end)}function f(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function p(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function m(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;
5!eA(e););return e}((function(e){let t=function(e){let t={},n=-1;for(;++n<e.length;)(function(e,t){let n;for(n in t){let r;let i=eI.call(e,n)?e[n]:void 0,o=i||(e[n]={}),l=t[n];if(l)for(r in l){eI.call(o,r)||(o[r]=[]);let e=l[r];(function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);eC(e,0,0,r)})(o[r],Array.isArray(e)?e:e?[e]:[])}}})(t,e[n]);return t}([i,...(e||{}).extensions||[]]),n={constructs:t,content:r(eY),defined:[],document:r(eK),flow:r(eQ),lazy:{},string:r(e0),text:r(e1)};return n;function r(e){return function(t){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],l=[],a=[],u={attempt:p(function(e,t){g(e,t.from)}),check:p(h),consume:function(e){eR(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,m()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=d(),s.events.push(["enter",n,s]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=d(),s.events.push(["exit",t,s]),t},interrupt:p(h,{interrupt:!0})},s={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,m()},events:[],now:d,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o;let l=e[r];if("string"==typeof l)o=l;else switch(l){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":"	";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(l)}n=-2===l,i.push(o)}return i.join("")}(f(e),t)},sliceStream:f,write:function(e){return(l=eE(l,e),function(){let e;for(;r._index<l.length;){var t;let n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)c=c(n.charCodeAt(r._bufferIndex));else c=c(n)}}(),null!==l[l.length-1])?[]:(g(t,0),s.events=tb(o,s.events,s),s.events)}},c=t.tokenize.call(s,u);return t.resolveAll&&o.push(t),s;function f(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,l)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(l,e)}function d(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function h(e,t){t.restore()}function p(e,t){return function(n,i,o){let l,c,f,h;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,i=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return p(i)(e)};function p(e){return(l=e,c=0,0===e.length)?o:g(e[c])}function g(e){return function(n){return(h=function(){let e=d(),t=s.previous,n=s.currentConstruct,i=s.events.length,o=Array.from(a);return{from:i,restore:function(){r=e,s.previous=t,s.currentConstruct=n,s.events.length=i,a=o,m()}}}(),f=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(s),t):s,u,v,y)(n)}}function v(t){return e(f,h),i}function y(e){return(h.restore(),++c<l.length)?g(l[c]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&eC(s.events,t,s.events.length-t,e.resolve(s.events.slice(t),s)),e.resolveTo&&(s.events=e.resolveTo(s.events,s))}function m(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(n,e,t)}}})(o).document().write((a=1,u="",s=!0,function(e,t,n){let r,i,o,c,f;let d=[];for(e=u+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,u="",s&&(65279===e.charCodeAt(0)&&o++,s=void 0);o<e.length;){if(tR.lastIndex=o,c=(r=tR.exec(e))&&void 0!==r.index?r.index:e.length,f=e.charCodeAt(c),!r){u=e.slice(o);break}if(10===f&&o===c&&l)d.push(-3),l=void 0;else switch(l&&(d.push(-5),l=void 0),o<c&&(d.push(e.slice(o,c)),a+=c-o),f){case 0:d.push(65533),a++;break;case 9:for(i=4*Math.ceil(a/4),d.push(-2);a++<i;)d.push(-1);break;case 10:d.push(-4),a=1;break;default:l=!0,a=1}o=c+1}return n&&(l&&d.push(-5),u&&d.push(u),d.push(null)),d})(n,r,!0))))}}let tQ="object"==typeof self?self:globalThis,tZ=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[o,l]=t[i];switch(o){case 0:case -1:return n(l,i);case 1:{let e=n([],i);for(let t of l)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of l)e[r(t)]=r(n);return e}case 3:return n(new Date(l),i);case 4:{let{source:e,flags:t}=l;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of l)e.set(r(t),r(n));return e}
5case 6:{let e=n(new Set,i);for(let t of l)e.add(r(t));return e}case 7:{let{name:e,message:t}=l;return n(new tQ[e](t),i)}case 8:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i)}return n(new tQ[o](l),i)};return r},t0=e=>tZ(new Map,e)(0),{toString:t1}={},{keys:t2}=Object,t5=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=t1.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},t3=([e,t])=>0===e&&("function"===t||"symbol"===t),t4=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[l,a]=t5(r);switch(l){case 0:{let t=r;switch(a){case"bigint":l=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+a);t=null;break;case"undefined":return i([-1],r)}return i([l,t],r)}case 1:{if(a)return i([a,[...r]],r);let e=[],t=i([l,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(a)switch(a){case"BigInt":return i([a,r.toString()],r);case"Boolean":case"Number":case"String":return i([a,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],u=i([l,n],r);for(let t of t2(r))(e||!t3(t5(r[t])))&&n.push([o(t),o(r[t])]);return u}case 3:return i([l,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([l,{source:e,flags:t}],r)}case 5:{let t=[],n=i([l,t],r);for(let[n,i]of r)(e||!(t3(t5(n))||t3(t5(i))))&&t.push([o(n),o(i)]);return n}case 6:{let t=[],n=i([l,t],r);for(let n of r)(e||!t3(t5(n)))&&t.push(o(n));return n}}let{message:u}=r;return i([l,{name:a,message:u}],r)};return o},t6=(e,{json:t,lossy:n}={})=>{let r=[];return t4(!(t||n),!!t,new Map,r)(e),r};var t9="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?t0(t6(e,t)):structuredClone(e):(e,t)=>t0(t6(e,t));t8(/[A-Za-z]/);let t7=t8(/[\dA-Za-z]/);function t8(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ne(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),l="";if(37===o&&t7(e.charCodeAt(n+1))&&t7(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(l=String.fromCharCode(o,t),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function nt(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function nn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}t8(/[#-'*+\--9=?A-Z^-~]/),t8(/\d/),t8(/[\dA-Fa-f]/),t8(/[!-/:-@[-`{-~]/),t8(/\p{P}|\p{S}/u),t8(/\s/);let nr=function(e,t,n,r,i){let o=ni(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw Error("Expected positive finite index");if(null!=r&&(!nr(r)||!r.children))throw Error("Expected parent node");if(null==r!=(null==n))throw Error("Expected both parent and index");return!!na(e)&&o.call(i,e,n,r)},ni=function(e){if(null==e)return nl;if("function"==typeof e)return no(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=ni(e[n]);return no(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):no(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return no(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function no(e){return function(t,n,r){return!!(na(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function nl(){return!0}function na(e){return null!==e&&"object"==typeof e&&"type"in e}let nu=[];function ns(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let o=ni(i),l=r?-1:1;(function e(i,a,u){let s=i&&"object"==typeof i?i:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var s;let c,f,d,h=nu;if((!t||o(i,a,u[u.length-1]||void 0))&&!1===(h=Array.isArray(s=n(i,u))?s:"number"==typeof s?[!0,s]:null==s?nu:[s])[0])return h;if("children"in i&&i.children&&i.children&&"skip"!==h[0])for(f=(r?i.children.length:-1)+l,d=u.concat(i);f>-1&&f<i.children.length;){let t=i.children[f];if(!1===(c=e(t,f,d)())[0])return c;f="number"==typeof c[1]?c[1]:f+l}return h}})(e,void 0,[])()}function nc(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let l=i[i.length-1];return l&&"text"===l.type?l.value+=r:i.push({type:"text",value:r}),i}function nf(e){let t=e.spread;return null==t?e.children.length>1:t}
5function nd(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let nh={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=ne(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=l+1,a+=1,e.footnoteCounts.set(i,a);let u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,u);let s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nc(e,t);let i={src:ne(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:ne(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nc(e,t);let i={href:ne(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:ne(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=nf(n[r])}return t}(n):nf(t),o={},l=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&l.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?l.push(e):l.push(...e.children)}let u=r[r.length-1];u&&(i||"element"!==u.type||"p"!==u.tagName)&&l.push({type:"text",value:"\n"});let s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=ee(t.children[1]),l=Z(t.children[t.children.length-1]);o&&l&&(r.position={start:o,end:l}),i.push(r)}let o={type:"element",tagName:"table",properties:{}
5,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=r?r.indexOf(t):1,o=0===i?"th":"td",l=n&&"table"===n.type?n.align:void 0,a=l?l.length:t.children.length,u=-1,s=[];for(;++u<a;){let n=t.children[u],r={},i=l?l[u]:void 0;i&&(r.align=i);let a={type:"element",tagName:o,properties:r,children:[]};n&&(a.children=e.all(n),e.patch(n,a),a=e.applyData(n,a)),s.push(a)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(nd(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(nd(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:np,yaml:np,definition:np,footnoteDefinition:np};function np(){}let ng={}.hasOwnProperty,nm={};function nv(e,t){e.position&&(t.position=function(e){let t=ee(e),n=Z(e);if(t&&n)return{start:t,end:n}}(e))}function ny(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;if("string"==typeof t){if("element"===n.type)n.tagName=t;else{let e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}"element"===n.type&&i&&Object.assign(n.properties,t9(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function n_(e,t){let n=t.data||{},r="value"in t&&!(ng.call(n,"hProperties")||ng.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function nb(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function nx(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function nw(e,t){let n=function(e,t){var n,r;let i,o,l;let a=t||nm,u=new Map,s=new Map,c=new Map,f={...nh,...a.handlers},d={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=d.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=nx(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=nx(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:ny,definitionById:u,footnoteById:s,footnoteCounts:c,footnoteOrder:[],handlers:f,one:function(e,t){let n=e.type,r=d.handlers[n];if(ng.call(d.handlers,n)&&r)return r(d,e,t);if(d.options.passThrough&&d.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=t9(n);return r.children=d.all(e),r}return t9(e)}let i=d.options.unknownHandler||n_;return i(d,e,t)},options:a,patch:nv,wrap:nb};return"function"==typeof(n=function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?u:s,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})&&"function"!=typeof r?(o=void 0,l=n,i=r):(o=n,l=r,i=void 0),ns(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return l(e,r,n)},i),d}(e,t),r=n.one(e,void 0),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||nt,r=e.options.footnoteBackLabel||nn,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],u=-1;for(;++u<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[u]);if(!i)continue;let o=e.all(i),l=String(i.identifier).toUpperCase(),s=ne(l.toLowerCase()),c=0,f=[],d=e.footnoteCounts.get(l);for(;void 0!==d&&++c<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,c);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else o.push(...f);let p={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(o,!0)};e.patch(i,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...t9(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
5,{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function nk(e,t){return e&&"run"in e?async function(n,r){let i=nw(n,{file:r,...t});await e.run(i,r)}:function(n,r){return nw(n,{file:r,...e||t})}}function nS(e){if(e)throw e}var nP=n(94470);function nC(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let nE={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');nT(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let l=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(i=o):(a=-1,i=l));return r===i?i=l:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(nT(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;nT(e);let n=e.length,r=-1,i=0,o=-1,l=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==l&&(l=1):o>-1&&(l=-1)}return o<0||r<0||0===l||1===l&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)nT(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){nT(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",o=0,l=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else if(47===n)break;else n=47;if(47===n){if(l===u-1||1===a);else if(l!==u-1&&2===a){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=u,a=0;continue}}else if(i.length>0){i="",o=0,l=u,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(l+1,u):i=e.slice(l+1,u),o=u-l-1;l=u,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function nT(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let nD={cwd:function(){return"/"}};function nA(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let nI=["history","path","basename","stem","extname","dirname"];class nO{constructor(e){let t,n;t=e?nA(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":nD.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<nI.length;){let e=nI[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)nI.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?nE.basename(this.path):void 0}set basename(e){nM(e,"basename"),nF(e,"basename"),this.path=nE.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nE.dirname(this.path):void 0}set dirname(e){nj(this.basename,"dirname"),this.path=nE.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?nE.extname(this.path):void 0}set extname(e){if(nF(e,"extname"),nj(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=nE.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nA(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nA(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),nM(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nE.basename(this.path,this.extname):void 0}set stem(e){nM(e,"stem"),nF(e,"stem"),this.path=nE.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new eo(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;let t=new TextDecoder(e||void 0);return t.decode(this.value)}}function nF(e,t){if(e&&e.includes(nE.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+nE.sep+"`")}function nM(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nj(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let nL=function(e){let t=this.constructor,n=t.prototype,r=n[e],i=function(){return r.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},nN={}.hasOwnProperty;
5class nH extends nL{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function i(o,...l){let a=e[++n],u=-1;if(o){r(o);return}for(;++u<t.length;)(null===l[u]||void 0===l[u])&&(l[u]=t[u]);t=l,a?(function(e,t){let n;return function(...t){let o;let l=e.length>t.length;l&&t.push(r);try{o=e.apply(this,t)}catch(e){if(l&&n)throw e;return r(e)}l||(o instanceof Promise?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(a,i)(...l):r(null,...l)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new nH,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(nP(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(nU("data",this.frozen),this.namespace[e]=t,this):nN.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nU("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=nq(e),n=this.parser||this.Parser;return nz("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),nz("process",this.parser||this.Parser),nW("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let o=nq(e),l=n.parse(o);function a(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(l,o,function(e,t,r){if(e||!t||!r)return a(e);let i=n.stringify(t,r);"string"==typeof i||i&&"object"==typeof i&&"byteLength"in i&&"byteOffset"in i?r.value=i:r.result=i,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),nz("processSync",this.parser||this.Parser),nW("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,nS(e),t=r}),nV("processSync","process",n),t}run(e,t,n){nB(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){let l=nq(t);r.run(e,l,function(t,r,l){let a=r||e;t?o(t):i?i(a):n(void 0,a,l)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){nS(e),n=t,r=!0}),nV("runSync","run",r),n}stringify(e,t){this.freeze();let n=nq(t),r=this.compiler||this.Compiler;return nW("stringify",r),nB(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nU("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=nP(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){let n=e[t];!function(e){if("function"==typeof e)l(e,[]);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;l(t,n)}else i(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function l(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,l=n[i][1];nC(l)&&nC(r)&&(r=nP(!0,l,r)),n[i]=[e,r,...o]}}}}let nR=new nH().freeze();function nz(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nW(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nU(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nB(e){if(!nC(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nV(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nq(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new nO(e)}let nY=[],nK={allowDangerousHtml:!0},n$=/^(https?|ircs?|mailto|xmpp)$/i,nX=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nJ(e){var t,n,r;let i,o,l;let a=e.allowedElements,u=e.allowElement,s=e.children||"",c=e.className,f=e.components,d=e.disallowedElements,h=e.rehypePlugins||nY,p=e.remarkPlugins||nY,g=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nK}:nK,m=e.skipHtml,v=e.unwrapDisallowed,y=e.urlTransform||nG,_=nR().use(tG).use(p).use(nk,g).use(h),b=new nO;for(let t of("string"==typeof s&&(b.value=s),nX))Object.hasOwn(e,t.from)&&(t.from,t.to&&t.to,t.id);let x=_.parse(b),w=_.runSync(x,b);return c&&(w={type:"element",tagName:"div",properties:{className:c},children:"root"===w.type?w.children:[w]}),t=w,"function"==typeof(n=function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return m?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ex)if(Object.hasOwn(ex,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ex[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=y(String(n||""),t,e))}}if("element"===e.type){let r=a?!a.includes(e.tagName):!!d&&d.includes(e.tagName);if(!r&&u&&"number"==typeof t&&(r=!u(e,t,n)),r&&n&&"number"==typeof t)return v&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}})&&"function"!=typeof r?(o=void 0,l=n,i=r):(o=n,l=r,i=void 0),ns(t,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return l(e,r,n)},i),function(e,t){var n,r,i;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let l=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,o=function(e,t,r,i){let o=Array.isArray(r.children),a=ee(e);return n(t,r,i,o,{columnNumber:a?a.column-1:void 0,fileName:l,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
5if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,i=t.jsxs,o=function(e,t,n,o){let l=Array.isArray(n.children),a=l?i:r;return o?a(t,n,o):a(t,n)}}let a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?N:L,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=eh(a,e,void 0);return u&&"string"!=typeof u?u:a.create(e,a.Fragment,{children:u||void 0},void 0)}(w,{Fragment:ew.Fragment,components:f,ignoreInvalidStyle:!0,jsx:ew.jsx,jsxs:ew.jsxs,passKeys:!0,passNode:!0})}function nG(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||n$.test(e.slice(0,t))?e:""}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.